<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* default/exportPdf.html.twig */
class __TwigTemplate_f6d6db9c3a691196364a06ad68f739fe09596a13e34ba07ecf747ae3552c5444 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "default/exportPdf.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "default/exportPdf.html.twig"));
// line 1
echo "<h1>Export des achats sans paiements en ligne</h1>
<table border=\"1\">
<tr>
<td style=\"font-weight:bold\">Events</td>
<td style=\"font-weight:bold\">Nom + prénom</td>
<td style=\"font-weight:bold\">Téléphone</td>
<td style=\"font-weight:bold\">Quantité(s)</td>
<td style=\"font-weight:bold\">Date</td>
<td style=\"font-weight:bold\">Type</td>
<td style=\"font-weight:bold\">Total</td>
</tr>
";
// line 13
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["res"]) {
// line 14
echo " <tr>
<td>";
// line 15
if (twig_get_attribute($this->env, $this->source, $context["res"], "evenements", [], "any", false, false, false, 15)) {
// line 16
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["res"], "evenements", [], "any", false, false, false, 16), "titre", [], "any", false, false, false, 16), "html", null, true);
echo "
";
}
// line 18
echo " </td>
<td>";
// line 19
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["res"], "user", [], "any", false, false, false, 19), "nom", [], "any", false, false, false, 19), "html", null, true);
echo " - ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["res"], "user", [], "any", false, false, false, 19), "prenom", [], "any", false, false, false, 19), "html", null, true);
echo "</td>
<td>";
// line 20
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["res"], "user", [], "any", false, false, false, 20), "telephone", [], "any", false, false, false, 20), "html", null, true);
echo "</td>
<td>";
// line 21
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["res"], "nbPlaces", [], "any", false, false, false, 21), "html", null, true);
echo "</td>
<td>";
// line 22
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["res"], "created", [], "any", false, false, false, 22), "d-m-Y"), "html", null, true);
echo "</td>
<td>";
// line 23
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["res"], "type", [], "any", false, false, false, 23), "html", null, true);
echo "</td>
<td>";
// line 24
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["res"], "total", [], "any", false, false, false, 24), "html", null, true);
echo " €</td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['res'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 27
echo "
</table>
<h1>Export des achats avec paiements en ligne</h1>
<table border=\"1\">
<tr>
<td style=\"font-weight:bold\">Events</td>
<td style=\"font-weight:bold\">Nom + prénom</td>
<td style=\"font-weight:bold\">Téléphone</td>
<td style=\"font-weight:bold\">Quantité(s)</td>
<td style=\"font-weight:bold\">Date</td>
<td style=\"font-weight:bold\">Type</td>
<td style=\"font-weight:bold\">Total</td>
</tr>
";
// line 42
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["res"]) {
// line 43
echo " <tr>
<td>";
// line 44
if (twig_get_attribute($this->env, $this->source, $context["res"], "evenements", [], "any", false, false, false, 44)) {
// line 45
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["res"], "evenements", [], "any", false, false, false, 45), "titre", [], "any", false, false, false, 45), "html", null, true);
echo "
";
}
// line 47
echo " </td>
<td>";
// line 48
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["res"], "user", [], "any", false, false, false, 48), "nom", [], "any", false, false, false, 48), "html", null, true);
echo " - ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["res"], "user", [], "any", false, false, false, 48), "prenom", [], "any", false, false, false, 48), "html", null, true);
echo "</td>
<td>";
// line 49
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["res"], "user", [], "any", false, false, false, 49), "telephone", [], "any", false, false, false, 49), "html", null, true);
echo "</td>
<td>";
// line 50
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["res"], "nbPlaces", [], "any", false, false, false, 50), "html", null, true);
echo "</td>
<td>";
// line 51
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["res"], "created", [], "any", false, false, false, 51), "d-m-Y"), "html", null, true);
echo "</td>
<td>";
// line 52
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["res"], "type", [], "any", false, false, false, 52), "html", null, true);
echo "</td>
<td>";
// line 53
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["res"], "total", [], "any", false, false, false, 53), "html", null, true);
echo " €</td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['res'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 56
echo "
</table>";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "default/exportPdf.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("<h1>Export des achats sans paiements en ligne</h1>
<table border=\"1\">
<tr>
<td style=\"font-weight:bold\">Events</td>
<td style=\"font-weight:bold\">Nom + prénom</td>
<td style=\"font-weight:bold\">Téléphone</td>
<td style=\"font-weight:bold\">Quantité(s)</td>
<td style=\"font-weight:bold\">Date</td>
<td style=\"font-weight:bold\">Type</td>
<td style=\"font-weight:bold\">Total</td>
</tr>
{% for res in resaPayer %}
<tr>
<td>{% if res.evenements %}
{{res.evenements.titre}}
{% endif %}
</td>
<td>{{res.user.nom}} - {{res.user.prenom}}</td>
<td>{{res.user.telephone}}</td>
<td>{{res.nbPlaces}}</td>
<td>{{res.created|date('d-m-Y')}}</td>
<td>{{res.type}}</td>
<td>{{res.total}} €</td>
</tr>
{% endfor %}
</table>
<h1>Export des achats avec paiements en ligne</h1>
<table border=\"1\">
<tr>
<td style=\"font-weight:bold\">Events</td>
<td style=\"font-weight:bold\">Nom + prénom</td>
<td style=\"font-weight:bold\">Téléphone</td>
<td style=\"font-weight:bold\">Quantité(s)</td>
<td style=\"font-weight:bold\">Date</td>
<td style=\"font-weight:bold\">Type</td>
<td style=\"font-weight:bold\">Total</td>
</tr>
{% for res in resaPayer2 %}
<tr>
<td>{% if res.evenements %}
{{res.evenements.titre}}
{% endif %}
</td>
<td>{{res.user.nom}} - {{res.user.prenom}}</td>
<td>{{res.user.telephone}}</td>
<td>{{res.nbPlaces}}</td>
<td>{{res.created|date('d-m-Y')}}</td>
<td>{{res.type}}</td>
<td>{{res.total}} €</td>
</tr>
{% endfor %}
</table>", "default/exportPdf.html.twig", "/home/clients/f5f18e1c12eb94b017fc21ce592a0855/web/templates/default/exportPdf.html.twig");
}
}