<?php

/* HVCSiteBundle:Public:saisirhorsfrais.html.twig */
class __TwigTemplate_9cc4ed908380525592f920541e4b315b3e775cb31f68b9b256348449624ac5a8 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:saisirhorsfrais.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_7186c8ffd36b1e316d38fdbefeac75423b13f8bf8b412303b71fcff90efb83b2 = $this->env->getExtension("native_profiler");
        $__internal_7186c8ffd36b1e316d38fdbefeac75423b13f8bf8b412303b71fcff90efb83b2->enter($__internal_7186c8ffd36b1e316d38fdbefeac75423b13f8bf8b412303b71fcff90efb83b2_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "HVCSiteBundle:Public:saisirhorsfrais.html.twig"));

        $this->parent->display($context, array_merge($this->blocks, $blocks));
        
        $__internal_7186c8ffd36b1e316d38fdbefeac75423b13f8bf8b412303b71fcff90efb83b2->leave($__internal_7186c8ffd36b1e316d38fdbefeac75423b13f8bf8b412303b71fcff90efb83b2_prof);

    }

    public function block_menu($context, array $blocks = array())
    {
        $__internal_b9c3f0b0df4f1c8335e428864e42f17fd1d38164b2c10532ba164bb7670dded6 = $this->env->getExtension("native_profiler");
        $__internal_b9c3f0b0df4f1c8335e428864e42f17fd1d38164b2c10532ba164bb7670dded6->enter($__internal_b9c3f0b0df4f1c8335e428864e42f17fd1d38164b2c10532ba164bb7670dded6_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_saisirV");
        echo "\">Saisir frais forfait</a>
        <br>
        <a href=\"";
        // line 7
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("hvc_site_SuiviC", array("mois" => 4, "annee" => 2016)), "html", null, true);
        echo "\">Suivi</a>
        <br>


    </p>

    <p class=\"soustitre\">
        Total fiche de frais hors frais:
        ";
        // line 15
        $context["totallignefrais"] = 0;
        // line 16
        echo "
        ";
        // line 17
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["listeLignefraishorsfrais"]) ? $context["listeLignefraishorsfrais"] : $this->getContext($context, "listeLignefraishorsfrais")));
        foreach ($context['_seq'] as $context["_key"] => $context["Lignefraishorsfrais"]) {
            // line 18
            echo "            ";
            if (($this->getAttribute($this->getAttribute($context["Lignefraishorsfrais"], "idetat", array()), "id", array()) == 2)) {
                // line 19
                echo "                ";
                $context["totallignefrais"] = ((isset($context["totallignefrais"]) ? $context["totallignefrais"] : $this->getContext($context, "totallignefrais")) + $this->getAttribute($context["Lignefraishorsfrais"], "montant", array()));
                // line 20
                echo "            ";
            }
            // line 21
            echo "        ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Lignefraishorsfrais'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 22
        echo "
        ";
        // line 23
        echo twig_escape_filter($this->env, (isset($context["totallignefrais"]) ? $context["totallignefrais"] : $this->getContext($context, "totallignefrais")), "html", null, true);
        echo " €
    </p>


";
        
        $__internal_b9c3f0b0df4f1c8335e428864e42f17fd1d38164b2c10532ba164bb7670dded6->leave($__internal_b9c3f0b0df4f1c8335e428864e42f17fd1d38164b2c10532ba164bb7670dded6_prof);

    }

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

        // line 28
        echo "    <h1>Saisir notes de frais</h1> ";
        
        $__internal_48325d640d7b8532268945c4a779570e0adece834c9df84f4d114568405e6bc5->leave($__internal_48325d640d7b8532268945c4a779570e0adece834c9df84f4d114568405e6bc5_prof);

    }

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

        // line 29
        echo "    <br>

    <div class=\"content\">
        <div style=\"height:100px; width:100%;\">
            <h2>Hors forfaits</h2> ";
        // line 33
        echo         $this->env->getExtension('form')->renderer->renderBlock((isset($context["formLignefraishorsfrais"]) ? $context["formLignefraishorsfrais"] : $this->getContext($context, "formLignefraishorsfrais")), 'form_start');
        echo " ";
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["formLignefraishorsfrais"]) ? $context["formLignefraishorsfrais"] : $this->getContext($context, "formLignefraishorsfrais")), 'widget');
        echo " ";
        echo         $this->env->getExtension('form')->renderer->renderBlock((isset($context["formLignefraishorsfrais"]) ? $context["formLignefraishorsfrais"] : $this->getContext($context, "formLignefraishorsfrais")), 'form_end');
        echo "
        </div>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        

        <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>
                <div class=\"cell\">
                    Action
                </div>

            </div>

            ";
        // line 69
        if (((isset($context["listeLignefraishorsfrais"]) ? $context["listeLignefraishorsfrais"] : $this->getContext($context, "listeLignefraishorsfrais")) == null)) {
            // line 70
            echo "                <div class=\"cell\">
                    PAS DE FICHE FRAIS
                </div>
            ";
        }
        // line 74
        echo "
            ";
        // line 75
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["listeLignefraishorsfrais"]) ? $context["listeLignefraishorsfrais"] : $this->getContext($context, "listeLignefraishorsfrais")));
        foreach ($context['_seq'] as $context["_key"] => $context["Lignefraishorsfrais"]) {
            // line 76
            echo "                <div class=\"row\">
                    <div class=\"cell\">
                        ";
            // line 78
            echo twig_escape_filter($this->env, $this->getAttribute($context["Lignefraishorsfrais"], "montant", array()), "html", null, true);
            echo " €
                    </div>
                    <div class=\"cell\">
                        ";
            // line 81
            echo twig_escape_filter($this->env, $this->getAttribute($context["Lignefraishorsfrais"], "libelle", array()), "html", null, true);
            echo "
                    </div>
                    <div class=\"cell\">
                        ";
            // line 84
            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 87
            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 90
            echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["Lignefraishorsfrais"], "idetat", array()), "libelle", array()), "html", null, true);
            echo "
                    </div>
                    <div class=\"cell\">
                        <a href=\"";
            // line 93
            echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("hvc_site_saisirhorsfrais_supprimer", array("idLigne" => $this->getAttribute($context["Lignefraishorsfrais"], "id", array()))), "html", null, true);
            echo "\" > supprimer</a>
                        <a href=\"";
            // line 94
            echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("hvc_site_saisirhorsfrais_modifier", array("idLigne" => $this->getAttribute($context["Lignefraishorsfrais"], "id", array()))), "html", null, true);
            echo "\" > modifier</a>
                    </div>
                </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 98
        echo "        </div>
    </div>

";
        
        $__internal_319c2774a2e6c1fca4d58a68aedd77392c4320b0915f452886164642a978d68d->leave($__internal_319c2774a2e6c1fca4d58a68aedd77392c4320b0915f452886164642a978d68d_prof);

    }

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  231 => 98,  221 => 94,  217 => 93,  211 => 90,  205 => 87,  199 => 84,  193 => 81,  187 => 78,  183 => 76,  179 => 75,  176 => 74,  170 => 70,  168 => 69,  125 => 33,  119 => 29,  107 => 28,  101 => 27,  89 => 23,  86 => 22,  80 => 21,  77 => 20,  74 => 19,  71 => 18,  67 => 17,  64 => 16,  62 => 15,  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_saisirV') }}">Saisir frais forfait</a>*/
/*         <br>*/
/*         <a href="{{ path('hvc_site_SuiviC', {'mois':4,'annee':2016} )}}">Suivi</a>*/
/*         <br>*/
/* */
/* */
/*     </p>*/
/* */
/*     <p class="soustitre">*/
/*         Total fiche de frais hors frais:*/
/*         {% set totallignefrais =0 %}*/
/* */
/*         {% for Lignefraishorsfrais in listeLignefraishorsfrais %}*/
/*             {% if Lignefraishorsfrais.idetat.id==2 %}*/
/*                 {% set totallignefrais = totallignefrais + Lignefraishorsfrais.montant %}*/
/*             {% endif %}*/
/*         {% endfor %}*/
/* */
/*         {{ totallignefrais }} €*/
/*     </p>*/
/* */
/* */
/* {% endblock %} {% block title %}*/
/*     <h1>Saisir notes de frais</h1> {% endblock %} {% block content %}*/
/*     <br>*/
/* */
/*     <div class="content">*/
/*         <div style="height:100px; width:100%;">*/
/*             <h2>Hors forfaits</h2> {{ form_start(formLignefraishorsfrais) }} {{ form_widget(formLignefraishorsfrais) }} {{ form_end(formLignefraishorsfrais) }}*/
/*         </div>*/
/*         <br>*/
/*         <br>*/
/*         <br>*/
/*         <br>*/
/*         <br>*/
/*         <br>*/
/*         <br>*/
/*         <br>*/
/*         */
/* */
/*         <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>*/
/*                 <div class="cell">*/
/*                     Action*/
/*                 </div>*/
/* */
/*             </div>*/
/* */
/*             {% if listeLignefraishorsfrais  == NULL  %}*/
/*                 <div class="cell">*/
/*                     PAS DE FICHE FRAIS*/
/*                 </div>*/
/*             {% endif %}*/
/* */
/*             {% for Lignefraishorsfrais in listeLignefraishorsfrais %}*/
/*                 <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>*/
/*                     <div class="cell">*/
/*                         <a href="{{ path('hvc_site_saisirhorsfrais_supprimer',{ 'idLigne': Lignefraishorsfrais.id } ) }}" > supprimer</a>*/
/*                         <a href="{{ path('hvc_site_saisirhorsfrais_modifier',{ 'idLigne': Lignefraishorsfrais.id } ) }}" > modifier</a>*/
/*                     </div>*/
/*                 </div>*/
/*             {% endfor %}*/
/*         </div>*/
/*     </div>*/
/* */
/* {% endblock %}*/
