<?php

/* HVCSiteBundle:Public:consulterC.html.twig */
class __TwigTemplate_cc510e948df4d6691ca7a31b07379d00910aa5f4d6b73ea7e93f56b620eeb192 extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        // line 1
        $this->parent = $this->loadTemplate("HVCSiteBundle:Public:layout.html.twig", "HVCSiteBundle:Public:consulterC.html.twig", 1);
        $this->blocks = array(
            'menu' => array($this, 'block_menu'),
            'title' => array($this, 'block_title'),
            'content' => array($this, 'block_content'),
        );
    }

    protected function doGetParent(array $context)
    {
        return "HVCSiteBundle:Public:layout.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        $__internal_37a5042ff310ae049be478e745a647f74574b9b370e737b93b793656ecc3bb75 = $this->env->getExtension("native_profiler");
        $__internal_37a5042ff310ae049be478e745a647f74574b9b370e737b93b793656ecc3bb75->enter($__internal_37a5042ff310ae049be478e745a647f74574b9b370e737b93b793656ecc3bb75_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "HVCSiteBundle:Public:consulterC.html.twig"));

        $this->parent->display($context, array_merge($this->blocks, $blocks));
        
        $__internal_37a5042ff310ae049be478e745a647f74574b9b370e737b93b793656ecc3bb75->leave($__internal_37a5042ff310ae049be478e745a647f74574b9b370e737b93b793656ecc3bb75_prof);

    }

    // line 3
    public function block_menu($context, array $blocks = array())
    {
        $__internal_911b0096f1e4b9a923bf89c7180fee348a5be3aca9d1fba4977c5bed6846640a = $this->env->getExtension("native_profiler");
        $__internal_911b0096f1e4b9a923bf89c7180fee348a5be3aca9d1fba4977c5bed6846640a->enter($__internal_911b0096f1e4b9a923bf89c7180fee348a5be3aca9d1fba4977c5bed6846640a_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "menu"));

        // line 4
        echo "    <a href=\"#\">Accueil</a>
    <p class=\"soustitre\">Fiche de frais</p>
    <p class=\"sousp\">
        <a href=\"";
        // line 7
        echo $this->env->getExtension('routing')->getPath("hvc_site_consulterC");
        echo "\">Consulter</a>
        <br>
        <a href=\"";
        // line 9
        echo $this->env->getExtension('routing')->getPath("hvc_site_recherche_fiche");
        echo "\">Rechercher Fiche</a>
        <br>
    </p>

";
        
        $__internal_911b0096f1e4b9a923bf89c7180fee348a5be3aca9d1fba4977c5bed6846640a->leave($__internal_911b0096f1e4b9a923bf89c7180fee348a5be3aca9d1fba4977c5bed6846640a_prof);

    }

    // line 15
    public function block_title($context, array $blocks = array())
    {
        $__internal_8ebb4ca404c8fd4b05e9635d806effc74f939cc50f1cbc5a5c24818979dae51d = $this->env->getExtension("native_profiler");
        $__internal_8ebb4ca404c8fd4b05e9635d806effc74f939cc50f1cbc5a5c24818979dae51d->enter($__internal_8ebb4ca404c8fd4b05e9635d806effc74f939cc50f1cbc5a5c24818979dae51d_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "title"));

        // line 16
        echo "    <h1>Consulter notes de frais</h1>
";
        
        $__internal_8ebb4ca404c8fd4b05e9635d806effc74f939cc50f1cbc5a5c24818979dae51d->leave($__internal_8ebb4ca404c8fd4b05e9635d806effc74f939cc50f1cbc5a5c24818979dae51d_prof);

    }

    // line 20
    public function block_content($context, array $blocks = array())
    {
        $__internal_f9ae0d54b0d2d5ded70d9e03214573b6e6d8f2ec8d4489a8531ee6bd69d51972 = $this->env->getExtension("native_profiler");
        $__internal_f9ae0d54b0d2d5ded70d9e03214573b6e6d8f2ec8d4489a8531ee6bd69d51972->enter($__internal_f9ae0d54b0d2d5ded70d9e03214573b6e6d8f2ec8d4489a8531ee6bd69d51972_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "content"));

        // line 21
        echo "    <div class=\"content\">
        <br>

        <h2>La liste des fiches frais </h2>

        <div class=\"table\">

            <div class=\"row header blue\">
                <div class=\"cell\">
                    Mois
                </div>
                <div class=\"cell\">
                    Année
                </div>
                <div class=\"cell\">
                    UserName
                </div>
                <div class=\"cell\">
                    Nom
                </div>
                <div class=\"cell\">
                    Prénom
                </div>
                <div class=\"cell\">
                    Etat
                </div>
                <div class=\"cell\">
                    Action
                </div>

            </div>
            ";
        // line 52
        if (((isset($context["lesfiches"]) ? $context["lesfiches"] : $this->getContext($context, "lesfiches")) == null)) {
            // line 53
            echo "                <div class=\"cell\">
                    PAS DE FICHE FRAIS
                </div>
            ";
        } else {
            // line 57
            echo "
                ";
            // line 58
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable((isset($context["lesfiches"]) ? $context["lesfiches"] : $this->getContext($context, "lesfiches")));
            foreach ($context['_seq'] as $context["_key"] => $context["uneFiche"]) {
                // line 59
                echo "                    <div class=\"row\">
                        <div class=\"cell\">
                            ";
                // line 61
                echo twig_escape_filter($this->env, $this->getAttribute($context["uneFiche"], "mois", array()), "html", null, true);
                echo "
                        </div>
                        <div class=\"cell\">
                            ";
                // line 64
                echo twig_escape_filter($this->env, $this->getAttribute($context["uneFiche"], "annee", array()), "html", null, true);
                echo "
                        </div>
                        <div class=\"cell\">
                            ";
                // line 67
                echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["uneFiche"], "compte", array()), "username", array()), "html", null, true);
                echo "
                        </div>
                        <div class=\"cell\">
                            ";
                // line 70
                echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["uneFiche"], "compte", array()), "nom", array()), "html", null, true);
                echo "
                        </div>
                        <div class=\"cell\">
                            ";
                // line 73
                echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["uneFiche"], "compte", array()), "prenom", array()), "html", null, true);
                echo "
                        </div>
                        <div class=\"cell\">
                            ";
                // line 76
                echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["uneFiche"], "idetat", array()), "libelle", array()), "html", null, true);
                echo "
                        </div>

                        <div>
                            <a style=\"margin-right: 15px; margin-left: 15px;\"
                               href=\"";
                // line 81
                echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("hvc_site_consulter_fiche", array("idfichefrais" => $this->getAttribute($context["uneFiche"], "id", array()))), "html", null, true);
                echo "\">
                                Consulter</a>
                        </div>

                    </div>
                ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['uneFiche'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 87
            echo "            ";
        }
        // line 88
        echo "        </div>

    </div>


";
        
        $__internal_f9ae0d54b0d2d5ded70d9e03214573b6e6d8f2ec8d4489a8531ee6bd69d51972->leave($__internal_f9ae0d54b0d2d5ded70d9e03214573b6e6d8f2ec8d4489a8531ee6bd69d51972_prof);

    }

    public function getTemplateName()
    {
        return "HVCSiteBundle:Public:consulterC.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  189 => 88,  186 => 87,  174 => 81,  166 => 76,  160 => 73,  154 => 70,  148 => 67,  142 => 64,  136 => 61,  132 => 59,  128 => 58,  125 => 57,  119 => 53,  117 => 52,  84 => 21,  78 => 20,  70 => 16,  64 => 15,  52 => 9,  47 => 7,  42 => 4,  36 => 3,  11 => 1,);
    }
}
/* {% extends 'HVCSiteBundle:Public:layout.html.twig' %}*/
/* */
/* {% block menu %}*/
/*     <a href="#">Accueil</a>*/
/*     <p class="soustitre">Fiche de frais</p>*/
/*     <p class="sousp">*/
/*         <a href="{{ path('hvc_site_consulterC') }}">Consulter</a>*/
/*         <br>*/
/*         <a href="{{ path('hvc_site_recherche_fiche') }}">Rechercher Fiche</a>*/
/*         <br>*/
/*     </p>*/
/* */
/* {% endblock %}*/
/* */
/* {% block title %}*/
/*     <h1>Consulter notes de frais</h1>*/
/* {% endblock %}*/
/* */
/* */
/* {% block content %}*/
/*     <div class="content">*/
/*         <br>*/
/* */
/*         <h2>La liste des fiches frais </h2>*/
/* */
/*         <div class="table">*/
/* */
/*             <div class="row header blue">*/
/*                 <div class="cell">*/
/*                     Mois*/
/*                 </div>*/
/*                 <div class="cell">*/
/*                     Année*/
/*                 </div>*/
/*                 <div class="cell">*/
/*                     UserName*/
/*                 </div>*/
/*                 <div class="cell">*/
/*                     Nom*/
/*                 </div>*/
/*                 <div class="cell">*/
/*                     Prénom*/
/*                 </div>*/
/*                 <div class="cell">*/
/*                     Etat*/
/*                 </div>*/
/*                 <div class="cell">*/
/*                     Action*/
/*                 </div>*/
/* */
/*             </div>*/
/*             {% if lesfiches  == NULL %}*/
/*                 <div class="cell">*/
/*                     PAS DE FICHE FRAIS*/
/*                 </div>*/
/*             {% else %}*/
/* */
/*                 {% for uneFiche in lesfiches %}*/
/*                     <div class="row">*/
/*                         <div class="cell">*/
/*                             {{ uneFiche.mois }}*/
/*                         </div>*/
/*                         <div class="cell">*/
/*                             {{ uneFiche.annee }}*/
/*                         </div>*/
/*                         <div class="cell">*/
/*                             {{ uneFiche.compte.username }}*/
/*                         </div>*/
/*                         <div class="cell">*/
/*                             {{ uneFiche.compte.nom }}*/
/*                         </div>*/
/*                         <div class="cell">*/
/*                             {{ uneFiche.compte.prenom }}*/
/*                         </div>*/
/*                         <div class="cell">*/
/*                             {{ uneFiche.idetat.libelle }}*/
/*                         </div>*/
/* */
/*                         <div>*/
/*                             <a style="margin-right: 15px; margin-left: 15px;"*/
/*                                href="{{ path('hvc_site_consulter_fiche', {'idfichefrais': uneFiche.id }) }}">*/
/*                                 Consulter</a>*/
/*                         </div>*/
/* */
/*                     </div>*/
/*                 {% endfor %}*/
/*             {% endif %}*/
/*         </div>*/
/* */
/*     </div>*/
/* */
/* */
/* {% endblock %}*/
