<?php

/* HVCSiteBundle:Public:rechercher_fiche.html.twig */
class __TwigTemplate_095578bf9e172a465e1e8258beaf71da82b8f6ea63c5d281a386212d010a8bfe 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:rechercher_fiche.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_0b1642f8ec7e5ba71ef1f5506dc129c84aa9315cfb60f22b970fce4b86f56a18 = $this->env->getExtension("native_profiler");
        $__internal_0b1642f8ec7e5ba71ef1f5506dc129c84aa9315cfb60f22b970fce4b86f56a18->enter($__internal_0b1642f8ec7e5ba71ef1f5506dc129c84aa9315cfb60f22b970fce4b86f56a18_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "HVCSiteBundle:Public:rechercher_fiche.html.twig"));

        $this->parent->display($context, array_merge($this->blocks, $blocks));
        
        $__internal_0b1642f8ec7e5ba71ef1f5506dc129c84aa9315cfb60f22b970fce4b86f56a18->leave($__internal_0b1642f8ec7e5ba71ef1f5506dc129c84aa9315cfb60f22b970fce4b86f56a18_prof);

    }

    public function block_menu($context, array $blocks = array())
    {
        $__internal_57709e82facfff916282dd497e710b0c81266808fc69c537df1162e9873095b1 = $this->env->getExtension("native_profiler");
        $__internal_57709e82facfff916282dd497e710b0c81266808fc69c537df1162e9873095b1->enter($__internal_57709e82facfff916282dd497e710b0c81266808fc69c537df1162e9873095b1_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "menu"));

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

    }

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

        // line 11
        echo "    <h1>Consulter notes de frais</h1> ";
        
        $__internal_93bba894394e07d37a4d128c57456d4b3d8401f558e9ad23c7c61919aa45af18->leave($__internal_93bba894394e07d37a4d128c57456d4b3d8401f558e9ad23c7c61919aa45af18_prof);

    }

    public function block_content($context, array $blocks = array())
    {
        $__internal_02d004a2c5a2f6ab3033d9596b3dda651ee57e58be064400f5aabc3c737e1485 = $this->env->getExtension("native_profiler");
        $__internal_02d004a2c5a2f6ab3033d9596b3dda651ee57e58be064400f5aabc3c737e1485->enter($__internal_02d004a2c5a2f6ab3033d9596b3dda651ee57e58be064400f5aabc3c737e1485_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "content"));

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

    <h2>Recherche de la fiche frais </h2> ";
        // line 15
        echo         $this->env->getExtension('form')->renderer->renderBlock((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), 'form');
        echo "

    ";
        // line 17
        if (array_key_exists("lafichefrais", $context)) {
            // line 18
            echo "    <div style=\"\">

        <h2>Frais aux forfaits</h2>

        <div class=\"table\">

            <div class=\"row header blue\">
                <div class=\"cell\">
                    Quantitée repas midi
                </div>
                <div class=\"cell\">
                    Quantitée relais étape
                </div>
                <div class=\"cell\">
                    Quantitée nuitée
                </div>
                <div class=\"cell\">
                    Distance
                </div>
                <div class=\"cell\">
                    Date création
                </div>
                <div class=\"cell\">
                    Libelle
                </div>

                <div class=\"cell\">
                    Action
                </div>

            </div>


            ";
            // line 51
            if ((null === (isset($context["lafichefrais"]) ? $context["lafichefrais"] : $this->getContext($context, "lafichefrais")))) {
                // line 52
                echo "            <div class=\"cell\">
                PAS DE FICHE FRAIS
            </div>

            ";
            } else {
                // line 57
                echo "

            ";
                // line 59
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["lafichefrais"]) ? $context["lafichefrais"] : $this->getContext($context, "lafichefrais")), "lignefraisforfait", array()));
                foreach ($context['_seq'] as $context["_key"] => $context["Lignefraisforfait"]) {
                    // line 60
                    echo "            <div class=\"row\">
                <div class=\"cell\">
                    ";
                    // line 62
                    echo twig_escape_filter($this->env, $this->getAttribute($context["Lignefraisforfait"], "quantiterepasmidi", array()), "html", null, true);
                    echo "
                </div>
                <div class=\"cell\">
                    ";
                    // line 65
                    echo twig_escape_filter($this->env, $this->getAttribute($context["Lignefraisforfait"], "quantiterelaisetape", array()), "html", null, true);
                    echo "
                </div>
                <div class=\"cell\">
                    ";
                    // line 68
                    echo twig_escape_filter($this->env, $this->getAttribute($context["Lignefraisforfait"], "quantitenuitee", array()), "html", null, true);
                    echo "
                </div>
                <div class=\"cell\">
                    ";
                    // line 71
                    echo twig_escape_filter($this->env, $this->getAttribute($context["Lignefraisforfait"], "distance", array()), "html", null, true);
                    echo "
                </div>
                <div class=\"cell\">
                    ";
                    // line 74
                    echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["Lignefraisforfait"], "datecreation", array()), "d-M-Y"), "html", null, true);
                    echo "
                </div>
                <div class=\"cell\">
                    ";
                    // line 77
                    echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["Lignefraisforfait"], "idetat", array()), "libelle", array()), "html", null, true);
                    echo "
                </div>
                <div class=\"cell\">
                    <a style=\"margin-right: 15px; margin-left: 15px;\" href=\"";
                    // line 80
                    echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("hvc_site_consulter_fiche", array("idfichefrais" => $this->getAttribute((isset($context["lafichefrais"]) ? $context["lafichefrais"] : $this->getContext($context, "lafichefrais")), "id", array()))), "html", null, true);
                    echo "\">Consulter</a>
                </div>

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


        <!-----------------------------------------------------------------------//
        //---------------ACTION DE LA PAGE HORS FRAIS FORFAIT--------------------//
        //----------------------------------------------------------------------->
        <div style=\"\">
            <h2>Hors forfaits</h2>

            <div class=\"table\">

                <div class=\"row header blue\">
                    <div class=\"cell\">
                        Montant
                    </div>
                    <div class=\"cell\">
                        Type
                    </div>
                    <div class=\"cell\">
                        Date
                    </div>
                    <div class=\"cell\">
                        Date création
                    </div>
                    <div class=\"cell\">
                        Libelle
                    </div>

                    ";
            // line 114
            if ($this->env->getExtension('security')->isGranted("ROLE_COMPTABLE")) {
                // line 115
                echo "                        <div class=\"cell\">
                            Action
                        </div>
                    ";
            }
            // line 119
            echo "                </div>
                ";
            // line 120
            if ((null === (isset($context["lafichefrais"]) ? $context["lafichefrais"] : $this->getContext($context, "lafichefrais")))) {
                // line 121
                echo "                    <div class=\"cell\">
                        PAS DE FICHE FRAIS
                    </div>
                ";
            } else {
                // line 124
                echo " ";
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["lafichefrais"]) ? $context["lafichefrais"] : $this->getContext($context, "lafichefrais")), "lignefraishorsfrais", array()));
                foreach ($context['_seq'] as $context["_key"] => $context["Lignefraishorsfrais"]) {
                    // line 125
                    echo "                    <div class=\"row\">
                        <div class=\"cell\">
                            ";
                    // line 127
                    echo twig_escape_filter($this->env, $this->getAttribute($context["Lignefraishorsfrais"], "montant", array()), "html", null, true);
                    echo "
                        </div>
                        <div class=\"cell\">
                            ";
                    // line 130
                    echo twig_escape_filter($this->env, $this->getAttribute($context["Lignefraishorsfrais"], "libelle", array()), "html", null, true);
                    echo "
                        </div>
                        <div class=\"cell\">
                            ";
                    // line 133
                    echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["Lignefraishorsfrais"], "date", array()), "d-M-Y"), "html", null, true);
                    echo "
                        </div>
                        <div class=\"cell\">
                            ";
                    // line 136
                    echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["Lignefraishorsfrais"], "datecreation", array()), "d-M-Y"), "html", null, true);
                    echo "
                        </div>
                        <div class=\"cell\">
                            ";
                    // line 139
                    echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["Lignefraishorsfrais"], "idetat", array()), "libelle", array()), "html", null, true);
                    echo "
                        </div>
                        ";
                    // line 141
                    if ($this->env->getExtension('security')->isGranted("ROLE_COMPTABLE")) {
                        // line 142
                        echo "
                            <div>
                                <a style=\"margin-right: 15px; margin-left: 15px;\" href=\"";
                        // line 144
                        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("hvc_site_consulter_fiche", array("idfichefrais" => $this->getAttribute((isset($context["lafichefrais"]) ? $context["lafichefrais"] : $this->getContext($context, "lafichefrais")), "id", array()))), "html", null, true);
                        echo "\">Consulter</a>
                            </div>
                        ";
                    }
                    // line 147
                    echo "                    </div>
                ";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Lignefraishorsfrais'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 148
                echo " ";
            }
            // line 149
            echo "            </div>
        </div>




        ";
        }
        // line 156
        echo "    </div>
";
        
        $__internal_02d004a2c5a2f6ab3033d9596b3dda651ee57e58be064400f5aabc3c737e1485->leave($__internal_02d004a2c5a2f6ab3033d9596b3dda651ee57e58be064400f5aabc3c737e1485_prof);

    }

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  316 => 156,  307 => 149,  304 => 148,  297 => 147,  291 => 144,  287 => 142,  285 => 141,  280 => 139,  274 => 136,  268 => 133,  262 => 130,  256 => 127,  252 => 125,  247 => 124,  241 => 121,  239 => 120,  236 => 119,  230 => 115,  228 => 114,  198 => 86,  195 => 85,  184 => 80,  178 => 77,  172 => 74,  166 => 71,  160 => 68,  154 => 65,  148 => 62,  144 => 60,  140 => 59,  136 => 57,  129 => 52,  127 => 51,  92 => 18,  90 => 17,  85 => 15,  80 => 12,  68 => 11,  62 => 10,  51 => 7,  46 => 5,  41 => 2,  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>Recherche de la fiche frais </h2> {{ form(form) }}*/
/* */
/*     {% if lafichefrais is defined %}*/
/*     <div style="">*/
/* */
/*         <h2>Frais aux forfaits</h2>*/
/* */
/*         <div class="table">*/
/* */
/*             <div class="row header blue">*/
/*                 <div class="cell">*/
/*                     Quantitée repas midi*/
/*                 </div>*/
/*                 <div class="cell">*/
/*                     Quantitée relais étape*/
/*                 </div>*/
/*                 <div class="cell">*/
/*                     Quantitée nuitée*/
/*                 </div>*/
/*                 <div class="cell">*/
/*                     Distance*/
/*                 </div>*/
/*                 <div class="cell">*/
/*                     Date création*/
/*                 </div>*/
/*                 <div class="cell">*/
/*                     Libelle*/
/*                 </div>*/
/* */
/*                 <div class="cell">*/
/*                     Action*/
/*                 </div>*/
/* */
/*             </div>*/
/* */
/* */
/*             {% if lafichefrais is null %}*/
/*             <div class="cell">*/
/*                 PAS DE FICHE FRAIS*/
/*             </div>*/
/* */
/*             {% else %}*/
/* */
/* */
/*             {% for Lignefraisforfait in lafichefrais.lignefraisforfait %}*/
/*             <div class="row">*/
/*                 <div class="cell">*/
/*                     {{ Lignefraisforfait.quantiterepasmidi }}*/
/*                 </div>*/
/*                 <div class="cell">*/
/*                     {{ Lignefraisforfait.quantiterelaisetape }}*/
/*                 </div>*/
/*                 <div class="cell">*/
/*                     {{ Lignefraisforfait.quantitenuitee }}*/
/*                 </div>*/
/*                 <div class="cell">*/
/*                     {{ Lignefraisforfait.distance }}*/
/*                 </div>*/
/*                 <div class="cell">*/
/*                     {{ Lignefraisforfait.datecreation | date ('d-M-Y') }}*/
/*                 </div>*/
/*                 <div class="cell">*/
/*                     {{ Lignefraisforfait.idetat.libelle }}*/
/*                 </div>*/
/*                 <div class="cell">*/
/*                     <a style="margin-right: 15px; margin-left: 15px;" href="{{ path('hvc_site_consulter_fiche', {'idfichefrais': lafichefrais.id }) }}">Consulter</a>*/
/*                 </div>*/
/* */
/*             </div>*/
/*             {% endfor %}*/
/*             {% endif %}*/
/*         </div>*/
/* */
/* */
/*         <!-----------------------------------------------------------------------//*/
/*         //---------------ACTION DE LA PAGE HORS FRAIS FORFAIT--------------------//*/
/*         //----------------------------------------------------------------------->*/
/*         <div style="">*/
/*             <h2>Hors forfaits</h2>*/
/* */
/*             <div class="table">*/
/* */
/*                 <div class="row header blue">*/
/*                     <div class="cell">*/
/*                         Montant*/
/*                     </div>*/
/*                     <div class="cell">*/
/*                         Type*/
/*                     </div>*/
/*                     <div class="cell">*/
/*                         Date*/
/*                     </div>*/
/*                     <div class="cell">*/
/*                         Date création*/
/*                     </div>*/
/*                     <div class="cell">*/
/*                         Libelle*/
/*                     </div>*/
/* */
/*                     {% if is_granted('ROLE_COMPTABLE') %}*/
/*                         <div class="cell">*/
/*                             Action*/
/*                         </div>*/
/*                     {% endif %}*/
/*                 </div>*/
/*                 {% if lafichefrais is null %}*/
/*                     <div class="cell">*/
/*                         PAS DE FICHE FRAIS*/
/*                     </div>*/
/*                 {% else %} {% for Lignefraishorsfrais in lafichefrais.lignefraishorsfrais %}*/
/*                     <div class="row">*/
/*                         <div class="cell">*/
/*                             {{ Lignefraishorsfrais.montant }}*/
/*                         </div>*/
/*                         <div class="cell">*/
/*                             {{ Lignefraishorsfrais.libelle }}*/
/*                         </div>*/
/*                         <div class="cell">*/
/*                             {{ Lignefraishorsfrais.date | date ('d-M-Y') }}*/
/*                         </div>*/
/*                         <div class="cell">*/
/*                             {{ Lignefraishorsfrais.datecreation | date ('d-M-Y') }}*/
/*                         </div>*/
/*                         <div class="cell">*/
/*                             {{ Lignefraishorsfrais.idetat.libelle }}*/
/*                         </div>*/
/*                         {% if is_granted('ROLE_COMPTABLE') %}*/
/* */
/*                             <div>*/
/*                                 <a style="margin-right: 15px; margin-left: 15px;" href="{{ path('hvc_site_consulter_fiche', {'idfichefrais': lafichefrais.id }) }}">Consulter</a>*/
/*                             </div>*/
/*                         {% endif %}*/
/*                     </div>*/
/*                 {% endfor %} {% endif %}*/
/*             </div>*/
/*         </div>*/
/* */
/* */
/* */
/* */
/*         {% endif %}*/
/*     </div>*/
/* {% endblock %}*/
