<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;

/* dashboard/index.html.twig */
class __TwigTemplate_bc08a9424b632ab40d4a770f926f17ba44b733d7c10e02556b6567c42217e8f2 extends Template
{
    private $source;
    private $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->blocks = [
            'title' => [$this, 'block_title'],
            'body' => [$this, 'block_body'],
        ];
    }

    protected function doGetParent(array $context)
    {
        // line 1
        return "template.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $macros = $this->macros;
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "dashboard/index.html.twig"));

        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "dashboard/index.html.twig"));

        $this->parent = $this->loadTemplate("template.html.twig", "dashboard/index.html.twig", 1);
        $this->parent->display($context, array_merge($this->blocks, $blocks));
        
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);

        
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);

    }

    // line 3
    public function block_title($context, array $blocks = [])
    {
        $macros = $this->macros;
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));

        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));

        // line 4
        echo "
Dashboard - ";
        // line 5
        $this->displayParentBlock("title", $context, $blocks);
        echo "

";
        
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);

        
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);

    }

    // line 9
    public function block_body($context, array $blocks = [])
    {
        $macros = $this->macros;
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));

        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));

        // line 10
        echo "
        <div class=\"app-page-title\">
                <div style=\"color:black; font-weight:bold; font-size:20px; text-align: center;\">
                   Welcome to Leave Management System.                   
                </div>
        </div>    
                        
  \t\t\t\t
\t\t\t\t\t <!-- Title End  --> 
\t\t\t\t\t\t
\t\t\t\t\t\t<!-- Tab Start  --> 
                        <div class=\"tab-content\">

                            <ul class=\"body-tabs body-tabs-layout tabs-animated body-tabs-animated nav\" >
                            
                            <li class=\"nav-item\">
                                <a role=\"tab\" class=\"nav-link active\"  href=\"";
        // line 26
        echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_leave_application_new");
        echo "\">
                                    <span><i class=\"fa fa-plus\"> New Leave</i></span>
                                </a>
                            </li>
                        </ul>
\t\t\t\t\t\t
\t\t\t\t\t\t    <!-- Table Tab Start  --> 
                            <div class=\"tab-pane tabs-animation fade show active\" id=\"tab-content-0\" role=\"tabpanel\" >
                               
                                    <div class=\"divider mt-0\" style=\"margin-bottom: 30px;\"></div>
                                    <div class=\"row\">
                                       ";
        // line 37
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable($context["leaveInfo"]);
        foreach ($context['_seq'] as $context["_key"] => $context["leaveInfo"]) {
            // line 38
            echo "                                        <div class=\"col-lg-6 col-xl-4\">
                                            <div class=\"card mb-3 widget-content bg-arielle-smile\">
                                                <div class=\"widget-content-wrapper text-white\">
                                                    <div class=\"widget-content-left\">
                                                        <div class=\"widget-heading\">Casual Leave</div>
                                                        <div class=\"widget-subheading\">";
            // line 43
            echo twig_escape_filter($this->env, (isset($context["year"]) || array_key_exists("year", $context) ? $context["year"] : (function () { throw new RuntimeError('Variable "year" does not exist.', 43, $this->source); })()), "html", null, true);
            echo "</div>
                                                    </div>
                                                    <div class=\"widget-content-right\">
                                                        <div class=\"widget-numbers text-white\"><span>";
            // line 46
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["leaveInfo"], "CasualLeave", [], "any", false, false, false, 46), "html", null, true);
            echo "</span></div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class=\"col-lg-6 col-xl-4\">
                                            <div class=\"card mb-3 widget-content bg-premium-dark\">
                                                <div class=\"widget-content-wrapper text-white\">
                                                    <div class=\"widget-content-left\">
                                                        <div class=\"widget-heading\">Sick Leave</div>
                                                        <div class=\"widget-subheading\">";
            // line 56
            echo twig_escape_filter($this->env, (isset($context["year"]) || array_key_exists("year", $context) ? $context["year"] : (function () { throw new RuntimeError('Variable "year" does not exist.', 56, $this->source); })()), "html", null, true);
            echo "</div>
                                                    </div>
                                                    <div class=\"widget-content-right\">
                                                        <div class=\"widget-numbers text-warning\"><span>";
            // line 59
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["leaveInfo"], "SickLeave", [], "any", false, false, false, 59), "html", null, true);
            echo "</span></div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class=\"col-lg-6 col-xl-4\">
                                            <div class=\"card mb-3 widget-content bg-happy-green\">
                                                <div class=\"widget-content-wrapper text-white\">
                                                    <div class=\"widget-content-left\">
                                                        <div class=\"widget-heading\">Annual Leave</div>
                                                        <div class=\"widget-subheading\">";
            // line 69
            echo twig_escape_filter($this->env, (isset($context["year"]) || array_key_exists("year", $context) ? $context["year"] : (function () { throw new RuntimeError('Variable "year" does not exist.', 69, $this->source); })()), "html", null, true);
            echo "</div>
                                                    </div>
                                                    <div class=\"widget-content-right\">
                                                        <div class=\"widget-numbers text-dark\"><span>";
            // line 72
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["leaveInfo"], "AnnualLeave", [], "any", false, false, false, 72), "html", null, true);
            echo "</span></div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['leaveInfo'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 78
        echo "                                    </div>
                                    <div class=\"divider mt-0\" style=\"margin-bottom: 30px;\"></div>

                            </div> <!-- Table Tab End  --> 
\t\t\t\t\t\t\t\t\t\t\t\t\t\t
                        </div> <!-- Tab End  --> 

";
        
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);

        
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);

    }

    public function getTemplateName()
    {
        return "dashboard/index.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  194 => 78,  182 => 72,  176 => 69,  163 => 59,  157 => 56,  144 => 46,  138 => 43,  131 => 38,  127 => 37,  113 => 26,  95 => 10,  85 => 9,  72 => 5,  69 => 4,  59 => 3,  36 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("{% extends 'template.html.twig' %}

{% block title %}

Dashboard - {{ parent() }}

{% endblock %}

{% block body %}

        <div class=\"app-page-title\">
                <div style=\"color:black; font-weight:bold; font-size:20px; text-align: center;\">
                   Welcome to Leave Management System.                   
                </div>
        </div>    
                        
  \t\t\t\t
\t\t\t\t\t <!-- Title End  --> 
\t\t\t\t\t\t
\t\t\t\t\t\t<!-- Tab Start  --> 
                        <div class=\"tab-content\">

                            <ul class=\"body-tabs body-tabs-layout tabs-animated body-tabs-animated nav\" >
                            
                            <li class=\"nav-item\">
                                <a role=\"tab\" class=\"nav-link active\"  href=\"{{ path('app_leave_application_new') }}\">
                                    <span><i class=\"fa fa-plus\"> New Leave</i></span>
                                </a>
                            </li>
                        </ul>
\t\t\t\t\t\t
\t\t\t\t\t\t    <!-- Table Tab Start  --> 
                            <div class=\"tab-pane tabs-animation fade show active\" id=\"tab-content-0\" role=\"tabpanel\" >
                               
                                    <div class=\"divider mt-0\" style=\"margin-bottom: 30px;\"></div>
                                    <div class=\"row\">
                                       {% for leaveInfo in leaveInfo %}
                                        <div class=\"col-lg-6 col-xl-4\">
                                            <div class=\"card mb-3 widget-content bg-arielle-smile\">
                                                <div class=\"widget-content-wrapper text-white\">
                                                    <div class=\"widget-content-left\">
                                                        <div class=\"widget-heading\">Casual Leave</div>
                                                        <div class=\"widget-subheading\">{{ year }}</div>
                                                    </div>
                                                    <div class=\"widget-content-right\">
                                                        <div class=\"widget-numbers text-white\"><span>{{ leaveInfo.CasualLeave }}</span></div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class=\"col-lg-6 col-xl-4\">
                                            <div class=\"card mb-3 widget-content bg-premium-dark\">
                                                <div class=\"widget-content-wrapper text-white\">
                                                    <div class=\"widget-content-left\">
                                                        <div class=\"widget-heading\">Sick Leave</div>
                                                        <div class=\"widget-subheading\">{{ year }}</div>
                                                    </div>
                                                    <div class=\"widget-content-right\">
                                                        <div class=\"widget-numbers text-warning\"><span>{{ leaveInfo.SickLeave }}</span></div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class=\"col-lg-6 col-xl-4\">
                                            <div class=\"card mb-3 widget-content bg-happy-green\">
                                                <div class=\"widget-content-wrapper text-white\">
                                                    <div class=\"widget-content-left\">
                                                        <div class=\"widget-heading\">Annual Leave</div>
                                                        <div class=\"widget-subheading\">{{ year }}</div>
                                                    </div>
                                                    <div class=\"widget-content-right\">
                                                        <div class=\"widget-numbers text-dark\"><span>{{ leaveInfo.AnnualLeave }}</span></div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        {% endfor %}
                                    </div>
                                    <div class=\"divider mt-0\" style=\"margin-bottom: 30px;\"></div>

                            </div> <!-- Table Tab End  --> 
\t\t\t\t\t\t\t\t\t\t\t\t\t\t
                        </div> <!-- Tab End  --> 

{% endblock %}
", "dashboard/index.html.twig", "C:\\Apache24\\htdocs\\cwlms\\templates\\dashboard\\index.html.twig");
    }
}
