Holiday Allowance
";
// line 57
if ((array_key_exists("mode", $context) && ((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 57, $this->source); })()) == "view"))) {
// line 58
yield "
";
// line 59
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 59, $this->source); })()), "holiday_allowance", [], "any", false, false, false, 59) != 0)) {
// line 60
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 60, $this->source); })()), "holiday_allowance", [], "any", false, false, false, 60), "html", null, true);
yield "
";
} else {
// line 62
yield " Not provided
";
}
// line 64
yield "
";
} elseif (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 65
($context["user"] ?? null), "roles", [], "any", false, true, false, 65), "ROLE_SUPERADMIN", [], "any", true, true, false, 65)) {
// line 66
yield "
env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 66, $this->source); })()), "holiday_allowance", [], "any", false, false, false, 66), "html", null, true);
yield "\">
";
} else {
// line 68
yield "
env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 68, $this->source); })()), "holiday_allowance", [], "any", false, false, false, 68), "html", null, true);
yield "\" disabled>
";
}
// line 70
yield "
Holiday Refresh Month
";
// line 77
if (((array_key_exists("mode", $context) && ((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 77, $this->source); })()) == "view")) || !CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["user"] ?? null), "roles", [], "any", false, true, false, 77), "ROLE_SUPERADMIN", [], "any", true, true, false, 77))) {
// line 78
yield "
";
} elseif (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 79
($context["user"] ?? null), "roles", [], "any", false, true, false, 79), "ROLE_SUPERADMIN", [], "any", true, true, false, 79)) {
// line 80
yield "
";
}
// line 82
yield "
env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 84, $this->source); })()), "holiday_refresh_month", [], "any", false, false, false, 84) == 1)) {
yield "selected";
}
yield ">
January
env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 87, $this->source); })()), "holiday_refresh_month", [], "any", false, false, false, 87) == 2)) {
yield "selected";
}
yield ">
Febuary
env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 90, $this->source); })()), "holiday_refresh_month", [], "any", false, false, false, 90) == 3)) {
yield "selected";
}
yield ">
March
env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 93, $this->source); })()), "holiday_refresh_month", [], "any", false, false, false, 93) == 4)) {
yield "selected";
}
yield ">
April
env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 96, $this->source); })()), "holiday_refresh_month", [], "any", false, false, false, 96) == 5)) {
yield "selected";
}
yield ">
May
env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 99, $this->source); })()), "holiday_refresh_month", [], "any", false, false, false, 99) == 6)) {
yield "selected";
}
yield ">
June
env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 102, $this->source); })()), "holiday_refresh_month", [], "any", false, false, false, 102) == 7)) {
yield "selected";
}
yield ">
July
env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 105, $this->source); })()), "holiday_refresh_month", [], "any", false, false, false, 105) == 8)) {
yield "selected";
}
yield ">
August
env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 108, $this->source); })()), "holiday_refresh_month", [], "any", false, false, false, 108) == 9)) {
yield "selected";
}
yield ">
September
env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 111, $this->source); })()), "holiday_refresh_month", [], "any", false, false, false, 111) == 10)) {
yield "selected";
}
yield ">
October
env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 114, $this->source); })()), "holiday_refresh_month", [], "any", false, false, false, 114) == 11)) {
yield "selected";
}
yield ">
November
env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 117, $this->source); })()), "holiday_refresh_month", [], "any", false, false, false, 117) == 12)) {
yield "selected";
}
yield ">
December