var/cache/dev/twig/56/56c0edc607d4b797bc0b83d59192da12587d62a6f77dfe87ed15b5fa9cd02400.php line 33

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* default/exportPdf.html.twig */
  14. class __TwigTemplate_f6d6db9c3a691196364a06ad68f739fe09596a13e34ba07ecf747ae3552c5444 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""default/exportPdf.html.twig"));
  31.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""default/exportPdf.html.twig"));
  33.         // line 1
  34.         echo "<h1>Export des achats sans paiements en ligne</h1>
  35. <table border=\"1\">
  36.     <tr>
  37.         <td style=\"font-weight:bold\">Events</td>
  38.         <td style=\"font-weight:bold\">Nom + prénom</td>
  39.         <td style=\"font-weight:bold\">Téléphone</td>
  40.         <td style=\"font-weight:bold\">Quantité(s)</td>
  41.         <td style=\"font-weight:bold\">Date</td>
  42.         <td style=\"font-weight:bold\">Type</td>
  43.         <td style=\"font-weight:bold\">Total</td>
  44.     </tr>
  45.     ";
  46.         // line 13
  47.         $context['_parent'] = $context;
  48.         $context['_seq'] = twig_ensure_traversable((isset($context["resaPayer"]) || array_key_exists("resaPayer"$context) ? $context["resaPayer"] : (function () { throw new RuntimeError('Variable "resaPayer" does not exist.'13$this->source); })()));
  49.         foreach ($context['_seq'] as $context["_key"] => $context["res"]) {
  50.             // line 14
  51.             echo "      <tr>
  52.         <td>";
  53.             // line 15
  54.             if (twig_get_attribute($this->env$this->source$context["res"], "evenements", [], "any"falsefalsefalse15)) {
  55.                 // line 16
  56.                 echo "            ";
  57.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["res"], "evenements", [], "any"falsefalsefalse16), "titre", [], "any"falsefalsefalse16), "html"nulltrue);
  58.                 echo "
  59.         ";
  60.             }
  61.             // line 18
  62.             echo "        </td>
  63.         <td>";
  64.             // line 19
  65.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["res"], "user", [], "any"falsefalsefalse19), "nom", [], "any"falsefalsefalse19), "html"nulltrue);
  66.             echo " - ";
  67.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["res"], "user", [], "any"falsefalsefalse19), "prenom", [], "any"falsefalsefalse19), "html"nulltrue);
  68.             echo "</td>
  69.         <td>";
  70.             // line 20
  71.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["res"], "user", [], "any"falsefalsefalse20), "telephone", [], "any"falsefalsefalse20), "html"nulltrue);
  72.             echo "</td>
  73.         <td>";
  74.             // line 21
  75.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["res"], "nbPlaces", [], "any"falsefalsefalse21), "html"nulltrue);
  76.             echo "</td>
  77.         <td>";
  78.             // line 22
  79.             echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["res"], "created", [], "any"falsefalsefalse22), "d-m-Y"), "html"nulltrue);
  80.             echo "</td>
  81.         <td>";
  82.             // line 23
  83.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["res"], "type", [], "any"falsefalsefalse23), "html"nulltrue);
  84.             echo "</td>
  85.         <td>";
  86.             // line 24
  87.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["res"], "total", [], "any"falsefalsefalse24), "html"nulltrue);
  88.             echo " €</td>
  89.     </tr>
  90.     ";
  91.         }
  92.         $_parent $context['_parent'];
  93.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['res'], $context['_parent'], $context['loop']);
  94.         $context array_intersect_key($context$_parent) + $_parent;
  95.         // line 27
  96.         echo "
  97. </table>
  98. <h1>Export des achats avec paiements en ligne</h1>
  99. <table border=\"1\">
  100.     <tr>
  101.         <td style=\"font-weight:bold\">Events</td>
  102.         <td style=\"font-weight:bold\">Nom + prénom</td>
  103.         <td style=\"font-weight:bold\">Téléphone</td>
  104.         <td style=\"font-weight:bold\">Quantité(s)</td>
  105.         <td style=\"font-weight:bold\">Date</td>
  106.         <td style=\"font-weight:bold\">Type</td>
  107.         <td style=\"font-weight:bold\">Total</td>
  108.     </tr>
  109.     ";
  110.         // line 42
  111.         $context['_parent'] = $context;
  112.         $context['_seq'] = twig_ensure_traversable((isset($context["resaPayer2"]) || array_key_exists("resaPayer2"$context) ? $context["resaPayer2"] : (function () { throw new RuntimeError('Variable "resaPayer2" does not exist.'42$this->source); })()));
  113.         foreach ($context['_seq'] as $context["_key"] => $context["res"]) {
  114.             // line 43
  115.             echo "      <tr>
  116.         <td>";
  117.             // line 44
  118.             if (twig_get_attribute($this->env$this->source$context["res"], "evenements", [], "any"falsefalsefalse44)) {
  119.                 // line 45
  120.                 echo "            ";
  121.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["res"], "evenements", [], "any"falsefalsefalse45), "titre", [], "any"falsefalsefalse45), "html"nulltrue);
  122.                 echo "
  123.         ";
  124.             }
  125.             // line 47
  126.             echo "        </td>
  127.         <td>";
  128.             // line 48
  129.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["res"], "user", [], "any"falsefalsefalse48), "nom", [], "any"falsefalsefalse48), "html"nulltrue);
  130.             echo " - ";
  131.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["res"], "user", [], "any"falsefalsefalse48), "prenom", [], "any"falsefalsefalse48), "html"nulltrue);
  132.             echo "</td>
  133.         <td>";
  134.             // line 49
  135.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["res"], "user", [], "any"falsefalsefalse49), "telephone", [], "any"falsefalsefalse49), "html"nulltrue);
  136.             echo "</td>
  137.         <td>";
  138.             // line 50
  139.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["res"], "nbPlaces", [], "any"falsefalsefalse50), "html"nulltrue);
  140.             echo "</td>
  141.         <td>";
  142.             // line 51
  143.             echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["res"], "created", [], "any"falsefalsefalse51), "d-m-Y"), "html"nulltrue);
  144.             echo "</td>
  145.         <td>";
  146.             // line 52
  147.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["res"], "type", [], "any"falsefalsefalse52), "html"nulltrue);
  148.             echo "</td>
  149.         <td>";
  150.             // line 53
  151.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["res"], "total", [], "any"falsefalsefalse53), "html"nulltrue);
  152.             echo " €</td>
  153.     </tr>
  154.     ";
  155.         }
  156.         $_parent $context['_parent'];
  157.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['res'], $context['_parent'], $context['loop']);
  158.         $context array_intersect_key($context$_parent) + $_parent;
  159.         // line 56
  160.         echo "
  161. </table>";
  162.         
  163.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  164.         
  165.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  166.     }
  167.     public function getTemplateName()
  168.     {
  169.         return "default/exportPdf.html.twig";
  170.     }
  171.     public function isTraitable()
  172.     {
  173.         return false;
  174.     }
  175.     public function getDebugInfo()
  176.     {
  177.         return array (  172 => 56,  163 => 53,  159 => 52,  155 => 51,  151 => 50,  147 => 49,  141 => 48,  138 => 47,  132 => 45,  130 => 44,  127 => 43,  123 => 42,  106 => 27,  97 => 24,  93 => 23,  89 => 22,  85 => 21,  81 => 20,  75 => 19,  72 => 18,  66 => 16,  64 => 15,  61 => 14,  57 => 13,  43 => 1,);
  178.     }
  179.     public function getSourceContext()
  180.     {
  181.         return new Source("<h1>Export des achats sans paiements en ligne</h1>
  182. <table border=\"1\">
  183.     <tr>
  184.         <td style=\"font-weight:bold\">Events</td>
  185.         <td style=\"font-weight:bold\">Nom + prénom</td>
  186.         <td style=\"font-weight:bold\">Téléphone</td>
  187.         <td style=\"font-weight:bold\">Quantité(s)</td>
  188.         <td style=\"font-weight:bold\">Date</td>
  189.         <td style=\"font-weight:bold\">Type</td>
  190.         <td style=\"font-weight:bold\">Total</td>
  191.     </tr>
  192.     {% for res in resaPayer %}
  193.       <tr>
  194.         <td>{% if res.evenements %}
  195.             {{res.evenements.titre}}
  196.         {% endif %}
  197.         </td>
  198.         <td>{{res.user.nom}} - {{res.user.prenom}}</td>
  199.         <td>{{res.user.telephone}}</td>
  200.         <td>{{res.nbPlaces}}</td>
  201.         <td>{{res.created|date('d-m-Y')}}</td>
  202.         <td>{{res.type}}</td>
  203.         <td>{{res.total}} €</td>
  204.     </tr>
  205.     {% endfor %}
  206. </table>
  207. <h1>Export des achats avec paiements en ligne</h1>
  208. <table border=\"1\">
  209.     <tr>
  210.         <td style=\"font-weight:bold\">Events</td>
  211.         <td style=\"font-weight:bold\">Nom + prénom</td>
  212.         <td style=\"font-weight:bold\">Téléphone</td>
  213.         <td style=\"font-weight:bold\">Quantité(s)</td>
  214.         <td style=\"font-weight:bold\">Date</td>
  215.         <td style=\"font-weight:bold\">Type</td>
  216.         <td style=\"font-weight:bold\">Total</td>
  217.     </tr>
  218.     {% for res in resaPayer2 %}
  219.       <tr>
  220.         <td>{% if res.evenements %}
  221.             {{res.evenements.titre}}
  222.         {% endif %}
  223.         </td>
  224.         <td>{{res.user.nom}} - {{res.user.prenom}}</td>
  225.         <td>{{res.user.telephone}}</td>
  226.         <td>{{res.nbPlaces}}</td>
  227.         <td>{{res.created|date('d-m-Y')}}</td>
  228.         <td>{{res.type}}</td>
  229.         <td>{{res.total}} €</td>
  230.     </tr>
  231.     {% endfor %}
  232. </table>""default/exportPdf.html.twig""/home/clients/f5f18e1c12eb94b017fc21ce592a0855/web/templates/default/exportPdf.html.twig");
  233.     }
  234. }