<?php

/* HVCSiteBundle:Public:saisirV.html.twig */
class __TwigTemplate_6f1bad516294051fae1a3d8952c9be3b8774f5b4911eaa37fe1b701100c362dd 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:saisirV.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_a7ad5c01445d5b169d86b662289ffebaae39fbf39e25ab78fe032badd9bd85f3 = $this->env->getExtension("native_profiler");
        $__internal_a7ad5c01445d5b169d86b662289ffebaae39fbf39e25ab78fe032badd9bd85f3->enter($__internal_a7ad5c01445d5b169d86b662289ffebaae39fbf39e25ab78fe032badd9bd85f3_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "HVCSiteBundle:Public:saisirV.html.twig"));

        $this->parent->display($context, array_merge($this->blocks, $blocks));
        
        $__internal_a7ad5c01445d5b169d86b662289ffebaae39fbf39e25ab78fe032badd9bd85f3->leave($__internal_a7ad5c01445d5b169d86b662289ffebaae39fbf39e25ab78fe032badd9bd85f3_prof);

    }

    public function block_menu($context, array $blocks = array())
    {
        $__internal_a5faa289ce8a3daf18e83b3d3588e3a3d3c4b3c9c088a0bc8f4b0d95d2434466 = $this->env->getExtension("native_profiler");
        $__internal_a5faa289ce8a3daf18e83b3d3588e3a3d3c4b3c9c088a0bc8f4b0d95d2434466->enter($__internal_a5faa289ce8a3daf18e83b3d3588e3a3d3c4b3c9c088a0bc8f4b0d95d2434466_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_saisirhorsfrais");
        echo "\">Saisir hors frais</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:
    ";
        // line 14
        $context["totallignefrais"] = 0;
        // line 15
        echo "    ";
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["listeLignefraisforfait"]) ? $context["listeLignefraisforfait"] : $this->getContext($context, "listeLignefraisforfait")));
        foreach ($context['_seq'] as $context["_key"] => $context["Lignefraisforfait"]) {
            // line 16
            echo "        ";
            if (($this->getAttribute($this->getAttribute($context["Lignefraisforfait"], "idetat", array()), "id", array()) == 2)) {
                // line 17
                echo "            ";
                $context["totallignefrais"] = (((((isset($context["totallignefrais"]) ? $context["totallignefrais"] : $this->getContext($context, "totallignefrais")) + ($this->getAttribute($context["Lignefraisforfait"], "quantiterepasmidi", array()) * 3)) + ($this->getAttribute($context["Lignefraisforfait"], "quantiterelaisetape", array()) * 5)) + ($this->getAttribute($context["Lignefraisforfait"], "quantitenuitee", array()) * 10)) + ($this->getAttribute($context["Lignefraisforfait"], "distance", array()) * 0.5));
                // line 18
                echo "        ";
            }
            // line 19
            echo "    ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Lignefraisforfait'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 20
        echo "
    ";
        // line 21
        echo twig_escape_filter($this->env, (isset($context["totallignefrais"]) ? $context["totallignefrais"] : $this->getContext($context, "totallignefrais")), "html", null, true);
        echo " €
</p>
";
        
        $__internal_a5faa289ce8a3daf18e83b3d3588e3a3d3c4b3c9c088a0bc8f4b0d95d2434466->leave($__internal_a5faa289ce8a3daf18e83b3d3588e3a3d3c4b3c9c088a0bc8f4b0d95d2434466_prof);

    }

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

        // line 24
        echo "    <h1>Saisir notes de frais</h1> ";
        
        $__internal_d1ca712ca7fbdde983b1268247dd57cacb95937939302f1b2106ea5275f39fdc->leave($__internal_d1ca712ca7fbdde983b1268247dd57cacb95937939302f1b2106ea5275f39fdc_prof);

    }

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

        // line 25
        echo "    <br>

    <div class=\"content\">

        <div style=\"height:100px; width:100%;\">

            <h2>Frais Forfait</h2> ";
        // line 31
        echo         $this->env->getExtension('form')->renderer->renderBlock((isset($context["formLignefraisforfait"]) ? $context["formLignefraisforfait"] : $this->getContext($context, "formLignefraisforfait")), 'form_start');
        echo " ";
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["formLignefraisforfait"]) ? $context["formLignefraisforfait"] : $this->getContext($context, "formLignefraisforfait")), 'widget');
        echo " ";
        echo         $this->env->getExtension('form')->renderer->renderBlock((isset($context["formLignefraisforfait"]) ? $context["formLignefraisforfait"] : $this->getContext($context, "formLignefraisforfait")), 'form_end');
        echo "

            <br>

            <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 (km)
                    </div>
                    <div class=\"cell\">
                        Total de la ligne
                    </div>
                    <div class=\"cell\">
                        Date création
                    </div>
                    <div class=\"cell\">
                        Libelle
                    </div>
                    <div class=\"cell\">
                        Action
                    </div>

                </div>

                ";
        // line 65
        if (((isset($context["listeLignefraisforfait"]) ? $context["listeLignefraisforfait"] : $this->getContext($context, "listeLignefraisforfait")) == null)) {
            // line 66
            echo "                    <div class=\"cell\">
                        PAS DE FICHE FRAIS
                    </div>
                ";
        }
        // line 70
        echo "
                ";
        // line 71
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["listeLignefraisforfait"]) ? $context["listeLignefraisforfait"] : $this->getContext($context, "listeLignefraisforfait")));
        foreach ($context['_seq'] as $context["_key"] => $context["Lignefraisforfait"]) {
            // line 72
            echo "                    <div class=\"row\">
                        <div class=\"cell\">
                            ";
            // line 74
            echo twig_escape_filter($this->env, $this->getAttribute($context["Lignefraisforfait"], "quantiterepasmidi", array()), "html", null, true);
            echo "
                        </div>
                        <div class=\"cell\">
                            ";
            // line 77
            echo twig_escape_filter($this->env, $this->getAttribute($context["Lignefraisforfait"], "quantiterelaisetape", array()), "html", null, true);
            echo "
                        </div>
                        <div class=\"cell\">
                            ";
            // line 80
            echo twig_escape_filter($this->env, $this->getAttribute($context["Lignefraisforfait"], "quantitenuitee", array()), "html", null, true);
            echo "
                        </div>
                        <div class=\"cell\">
                            ";
            // line 83
            echo twig_escape_filter($this->env, $this->getAttribute($context["Lignefraisforfait"], "distance", array()), "html", null, true);
            echo "
                        </div>
                        <div class=\"cell\">
                            <div style=\"color: red\">";
            // line 86
            echo twig_escape_filter($this->env, ($this->getAttribute($context["Lignefraisforfait"], "quantiterepasmidi", array()) * 3), "html", null, true);
            echo "€+";
            echo twig_escape_filter($this->env, ($this->getAttribute($context["Lignefraisforfait"], "quantiterelaisetape", array()) * 5), "html", null, true);
            echo "€+";
            echo twig_escape_filter($this->env, ($this->getAttribute($context["Lignefraisforfait"], "quantiterepasmidi", array()) * 3), "html", null, true);
            echo "€+";
            echo twig_escape_filter($this->env, ($this->getAttribute($context["Lignefraisforfait"], "distance", array()) * 0.5), "html", null, true);
            echo "€</div>

                            ";
            // line 88
            echo twig_escape_filter($this->env, (((($this->getAttribute($context["Lignefraisforfait"], "quantiterepasmidi", array()) * 3) + ($this->getAttribute($context["Lignefraisforfait"], "quantiterelaisetape", array()) * 5)) + ($this->getAttribute($context["Lignefraisforfait"], "quantitenuitee", array()) * 10)) + ($this->getAttribute($context["Lignefraisforfait"], "distance", array()) * 0.5)), "html", null, true);
            echo "€
                        </div>
                        <div class=\"cell\">
                            ";
            // line 91
            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 94
            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 href=\"";
            // line 97
            echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("hvc_site_SuiviV_supprimer", array("idLigne" => $this->getAttribute($context["Lignefraisforfait"], "id", array()))), "html", null, true);
            echo "\" > supprimer</a>
                            <a href=\"";
            // line 98
            echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("hvc_site_SuiviV_modifier", array("idLigne" => $this->getAttribute($context["Lignefraisforfait"], "id", array()))), "html", null, true);
            echo "\" > modifier</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 102
        echo "            </div>
        </div>
        <div style=\"position: absolute; left: 500px;\">

        </div>
    </div>

    <br>
    <br>
    <br>



    </div>

    ";
        
        $__internal_ba9a50da634120d2622fda2546364df3b1f910092a653ae0002e50741a84f617->leave($__internal_ba9a50da634120d2622fda2546364df3b1f910092a653ae0002e50741a84f617_prof);

    }

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  249 => 102,  239 => 98,  235 => 97,  229 => 94,  223 => 91,  217 => 88,  206 => 86,  200 => 83,  194 => 80,  188 => 77,  182 => 74,  178 => 72,  174 => 71,  171 => 70,  165 => 66,  163 => 65,  122 => 31,  114 => 25,  102 => 24,  96 => 23,  86 => 21,  83 => 20,  77 => 19,  74 => 18,  71 => 17,  68 => 16,  63 => 15,  61 => 14,  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_saisirhorsfrais')}}">Saisir hors frais</a>*/
/*         <br>*/
/*         <a href="{{ path('hvc_site_SuiviC', {'mois':4,'annee':2016} )}}">Suivi</a>*/
/*         <br>*/
/*     </p>*/
/* */
/* */
/* <p class="soustitre">*/
/*     Total fiche de frais:*/
/*     {% set totallignefrais =0 %}*/
/*     {% for Lignefraisforfait in listeLignefraisforfait %}*/
/*         {% if Lignefraisforfait.idetat.id==2 %}*/
/*             {% set totallignefrais = totallignefrais + Lignefraisforfait.quantiterepasmidi*3 + Lignefraisforfait.quantiterelaisetape*5 + Lignefraisforfait.quantitenuitee*10 + Lignefraisforfait.distance *0.5 %}*/
/*         {% 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>Frais Forfait</h2> {{ form_start(formLignefraisforfait) }} {{ form_widget(formLignefraisforfait) }} {{ form_end(formLignefraisforfait) }}*/
/* */
/*             <br>*/
/* */
/*             <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 (km)*/
/*                     </div>*/
/*                     <div class="cell">*/
/*                         Total de la ligne*/
/*                     </div>*/
/*                     <div class="cell">*/
/*                         Date création*/
/*                     </div>*/
/*                     <div class="cell">*/
/*                         Libelle*/
/*                     </div>*/
/*                     <div class="cell">*/
/*                         Action*/
/*                     </div>*/
/* */
/*                 </div>*/
/* */
/*                 {% if listeLignefraisforfait  == NULL  %}*/
/*                     <div class="cell">*/
/*                         PAS DE FICHE FRAIS*/
/*                     </div>*/
/*                 {% endif %}*/
/* */
/*                 {% for Lignefraisforfait in listeLignefraisforfait %}*/
/*                     <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">*/
/*                             <div style="color: red">{{ Lignefraisforfait.quantiterepasmidi*3 }}€+{{ Lignefraisforfait.quantiterelaisetape *5 }}€+{{ Lignefraisforfait.quantiterepasmidi*3 }}€+{{ Lignefraisforfait.distance *0.5 }}€</div>*/
/* */
/*                             {{ Lignefraisforfait.quantiterepasmidi*3 + Lignefraisforfait.quantiterelaisetape*5 + Lignefraisforfait.quantitenuitee*10 + Lignefraisforfait.distance *0.5 }}€*/
/*                         </div>*/
/*                         <div class="cell">*/
/*                             {{ Lignefraisforfait.datecreation | date ('d-M-Y') }}*/
/*                         </div>*/
/*                         <div class="cell">*/
/*                             {{ Lignefraisforfait.idetat.libelle }}*/
/*                         </div>*/
/*                         <div class="cell">*/
/*                             <a href="{{ path('hvc_site_SuiviV_supprimer',{ 'idLigne': Lignefraisforfait.id } ) }}" > supprimer</a>*/
/*                             <a href="{{ path('hvc_site_SuiviV_modifier',{ 'idLigne': Lignefraisforfait.id } ) }}" > modifier</a>*/
/*                         </div>*/
/*                     </div>*/
/*                 {% endfor %}*/
/*             </div>*/
/*         </div>*/
/*         <div style="position: absolute; left: 500px;">*/
/* */
/*         </div>*/
/*     </div>*/
/* */
/*     <br>*/
/*     <br>*/
/*     <br>*/
/* */
/* */
/* */
/*     </div>*/
/* */
/*     {% endblock %}*/
