var/cache/dev/twig/0b/0b8dd911007cfcbf1a39510c85951855.php line 106

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. /* pdfComanda.html.twig */
  14. class __TwigTemplate_803ffc6ccd2350793c676631537cf8db 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_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""pdfComanda.html.twig"));
  31.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""pdfComanda.html.twig"));
  33.         // line 1
  34.         echo "<html>
  35.     <head><title>abonament</title></head>
  36.     <tbody>
  37.         <div style=\"width: 100%;\">
  38.             <div style=\"text-align: left; font-size: 18px; margin: 0px 0 5px 0; padding: 5px; font-weight: bold; background: #eee;\">
  39.                 <table border=\"0\" cellpadding=\"1\" cellspacing=\"0\" summary=\"\" style=\"width:100%; margin-bottom: 0px;\">
  40.                     <tbody>
  41.                         <tr>
  42.                             <td>
  43.                                 <img src=\"https://www.masella.com/images/logo_masella-black.png\" alt=\"Masella\" style=\"width:160px;\">
  44.                             </td>
  45.                             <td style=\"text-align:left; font-size:17px; padding: 0 10px; background: #a0d5ff;\">
  46.                                 <strong>";
  47.         // line 13
  48.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Resum de la compra"), "html"nulltrue);
  49.         echo "</strong> 
  50.                             </td>
  51.                             <td style=\"text-align:left; font-size:14px; padding: 0 10px; background: #a0d5ff;\">
  52.                                 ";
  53.         // line 16
  54.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Lloc:"), "html"nulltrue);
  55.         echo " <strong>";
  56.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'16$this->source); })()), "getLlocVenda", [], "method"falsefalsefalse16), "html"nulltrue);
  57.         echo "</strong><br/>
  58.                                 ";
  59.         // line 17
  60.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Data:"), "html"nulltrue);
  61.         echo " <strong>";
  62.         echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'17$this->source); })()), "getData", [], "method"falsefalsefalse17), "d-m-Y"), "html"nulltrue);
  63.         echo "</strong><br/>
  64.                                 ";
  65.         // line 18
  66.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Localitzador:"), "html"nulltrue);
  67.         echo " <strong>";
  68.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'18$this->source); })()), "getLocalitzador", [], "method"falsefalsefalse18), "html"nulltrue);
  69.         echo "</strong><br/>
  70.                                 ";
  71.         // line 19
  72.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Codi client:"), "html"nulltrue);
  73.         echo " <strong>";
  74.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'19$this->source); })()), "getConsumers", [], "any"falsefalsefalse19), "getId", [], "method"falsefalsefalse19), "html"nulltrue);
  75.         echo "</strong></span>
  76.                             </td>
  77.                         </tr>
  78.                 </table>
  79.             </div>    
  80.             <div style=\"padding:10px;\">
  81.                 <table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" summary=\"\" style=\"width:100%; margin-bottom: 20px;\">
  82.                     <tbody>
  83.                         <tr>
  84.                             <td colspan=\"3\" style=\"text-align:left; font-size:14px; margin: 15px 0 15px 0; font-weight:bold;\">";
  85.         // line 28
  86.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Dades del comprador:"), "html"nulltrue);
  87.         echo "</td>
  88.                         </tr>
  89.                         <tr>
  90.                             <td style=\"font-size: 14px; border-bottom:solid 1px #ccc; \">";
  91.         // line 32
  92.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Nom"), "html"nulltrue);
  93.         echo ":<br/>
  94.                                 <strong>";
  95.         // line 33
  96.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'33$this->source); })()), "consumers", [], "any"falsefalsefalse33), "nom", [], "any"falsefalsefalse33), "html"nulltrue);
  97.         echo "</strong>
  98.                             </td>
  99.                             <!--
  100.                             <td style=\"font-size: 14px; border-bottom:solid 1px #ccc; \">";
  101.         // line 36
  102.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Cognoms"), "html"nulltrue);
  103.         echo ":<br/>
  104.                                 <strong>";
  105.         // line 37
  106.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'37$this->source); })()), "consumers", [], "any"falsefalsefalse37), "cognoms", [], "any"falsefalsefalse37), "html"nulltrue);
  107.         echo "</strong>
  108.                             </td>
  109.                             -->
  110.                             <td style=\"font-size: 14px; border-bottom:solid 1px #ccc; \">";
  111.         // line 40
  112.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Cognom1"), "html"nulltrue);
  113.         echo ":<br/>
  114.                                 <strong>";
  115.         // line 41
  116.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'41$this->source); })()), "consumers", [], "any"falsefalsefalse41), "cognom1", [], "any"falsefalsefalse41), "html"nulltrue);
  117.         echo "</strong>
  118.                             </td>
  119.                             <td style=\"font-size: 14px; border-bottom:solid 1px #ccc; \">";
  120.         // line 43
  121.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Cognom2"), "html"nulltrue);
  122.         echo ":<br/>
  123.                                 <strong>";
  124.         // line 44
  125.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'44$this->source); })()), "consumers", [], "any"falsefalsefalse44), "cognom2", [], "any"falsefalsefalse44), "html"nulltrue);
  126.         echo "</strong>
  127.                             </td>
  128.                             <td style=\"font-size: 14px; border-bottom:solid 1px #ccc; \">";
  129.         // line 47
  130.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("DNI"), "html"nulltrue);
  131.         echo ":<br/>
  132.                                 <strong>";
  133.         // line 48
  134.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'48$this->source); })()), "consumers", [], "any"falsefalsefalse48), "dni", [], "any"falsefalsefalse48), "html"nulltrue);
  135.         echo "</strong>
  136.                             </td>
  137.                         </tr>
  138.                         <tr>
  139.                             <td style=\"font-size: 14px; border-bottom:solid 1px #ccc; padding-top:10px;\">";
  140.         // line 53
  141.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Adreça"), "html"nulltrue);
  142.         echo ":<br/>
  143.                                 <strong>";
  144.         // line 54
  145.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'54$this->source); })()), "consumers", [], "any"falsefalsefalse54), "direccio", [], "any"falsefalsefalse54), "html"nulltrue);
  146.         echo "</strong>
  147.                             </td>
  148.                             <td style=\"font-size: 14px; border-bottom:solid 1px #ccc; padding-top:10px;\">";
  149.         // line 56
  150.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("C.Postal"), "html"nulltrue);
  151.         echo ":<br/>
  152.                                 <strong>";
  153.         // line 57
  154.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'57$this->source); })()), "consumers", [], "any"falsefalsefalse57), "cp", [], "any"falsefalsefalse57), "html"nulltrue);
  155.         echo "</strong>
  156.                             </td>
  157.                             <td style=\"font-size: 14px; border-bottom:solid 1px #ccc; padding-top:10px;\">";
  158.         // line 59
  159.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Població"), "html"nulltrue);
  160.         echo ":<br/>
  161.                                 <strong>";
  162.         // line 60
  163.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'60$this->source); })()), "consumers", [], "any"falsefalsefalse60), "poblacio", [], "any"falsefalsefalse60), "html"nulltrue);
  164.         echo "</strong>
  165.                             </td>
  166.                         </tr>
  167.                         <tr>
  168.                             <td style=\"font-size: 14px; border-bottom:solid 1px #ccc; padding-top:10px;\">";
  169.         // line 64
  170.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("D. naixement"), "html"nulltrue);
  171.         echo ":<br/>
  172.                                 <strong>";
  173.         // line 65
  174.         echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'65$this->source); })()), "consumers", [], "any"falsefalsefalse65), "dataNaixement", [], "any"falsefalsefalse65), "d-m-Y"), "html"nulltrue);
  175.         echo "</strong>
  176.                             </td>
  177.                             <td style=\"font-size: 14px; border-bottom:solid 1px #ccc; padding-top:10px;\">";
  178.         // line 67
  179.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("E-mail"), "html"nulltrue);
  180.         echo ":<br/>
  181.                                 <strong>";
  182.         // line 68
  183.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'68$this->source); })()), "consumers", [], "any"falsefalsefalse68), "email", [], "any"falsefalsefalse68), "html"nulltrue);
  184.         echo "</strong>
  185.                             </td>
  186.                             <td style=\"font-size: 14px; border-bottom:solid 1px #ccc; padding-top:10px;\">";
  187.         // line 70
  188.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Telèfon"), "html"nulltrue);
  189.         echo ":<br/>
  190.                                 <strong>";
  191.         // line 71
  192.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'71$this->source); })()), "consumers", [], "any"falsefalsefalse71), "telefon", [], "any"falsefalsefalse71), "html"nulltrue);
  193.         echo "</strong>
  194.                             </td>
  195.                         </tr>
  196.                         <tr>
  197.                             <td style=\"font-size: 14px; border-bottom:solid 1px #ccc; padding-top:10px;\">";
  198.         // line 76
  199.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Forma de pagament"), "html"nulltrue);
  200.         echo ":<br/>
  201.                                 <strong>";
  202.         // line 77
  203.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'77$this->source); })()), "getFormaPagament", [], "method"falsefalsefalse77), "html"nulltrue);
  204.         echo "</strong>
  205.                             </td>
  206.                             <td colspan=\"2\" style=\"font-size: 14px; border-bottom:solid 1px #ccc; padding-top:10px;\">";
  207.         // line 79
  208.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Vol factura?"), "html"nulltrue);
  209.         echo ":<br/>
  210.                                 <strong>";
  211.         // line 80
  212.         if ((twig_get_attribute($this->env$this->source, (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'80$this->source); })()), "factura", [], "any"falsefalsefalse80) == 1)) {
  213.             echo " Si ";
  214.         } else {
  215.             echo " No ";
  216.         }
  217.         echo "</strong>
  218.                             </td>
  219.                         </tr>
  220.                         ";
  221.         // line 83
  222.         if ((((twig_get_attribute($this->env$this->source, (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'83$this->source); })()), "getFormaPagament", [], "method"falsefalsefalse83) == "Mixt") && (twig_get_attribute($this->env$this->source,         // line 84
  223. (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'84$this->source); })()), "getPagamentTargeta", [], "method"falsefalsefalse84) > 0)) && (twig_get_attribute($this->env$this->source,         // line 85
  224. (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'85$this->source); })()), "getPagamentEfectiu", [], "method"falsefalsefalse85) > 0))) {
  225.             // line 86
  226.             echo "                            <tr>
  227.                                 <td style=\"font-size: 14px; border-bottom:solid 1px #ccc; padding-top:10px;\">";
  228.             // line 87
  229.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Pagament targeta"), "html"nulltrue);
  230.             echo ":<br/>
  231.                                     <strong>";
  232.             // line 88
  233.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'88$this->source); })()), "getPagamentTargeta", [], "method"falsefalsefalse88), "html"nulltrue);
  234.             echo "</strong>
  235.                                 </td>
  236.                                 <td colspan=\"1\" style=\"font-size: 14px; border-bottom:solid 1px #ccc; padding-top:10px;\">";
  237.             // line 90
  238.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Pagament efectiu"), "html"nulltrue);
  239.             echo ":<br/>
  240.                                     <strong>";
  241.             // line 91
  242.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'91$this->source); })()), "getPagamentEfectiu", [], "method"falsefalsefalse91), "html"nulltrue);
  243.             echo "</strong>
  244.                                 </td>
  245.                             </tr>
  246.                             
  247.                         ";
  248.         }
  249.         // line 96
  250.         echo "
  251.                         <!--
  252.                         <tr>
  253.                             <td colspan=\"3\" >
  254.                         ";
  255.         // line 100
  256.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Acceptació RGPD*"), "html"nulltrue);
  257.         echo " Si  
  258.                             </td>
  259.                         </tr>
  260.                         -->
  261.                     </tbody>
  262.                 </table>
  263.                 <table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" summary=\"\" style=\"width:100%; border:solid 1px #a0d5ff; margin-bottom: 20px;\">
  264.                     <thead>
  265.                         <tr>
  266.                             <th colspan=\"7\" style=\"text-align:left; font-size:17px; font-weight:bold; padding: 10px; background: #a0d5ff;\">";
  267.         // line 110
  268.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Productes"), "html"nulltrue);
  269.         echo "</th>
  270.                         </tr>
  271.                         <tr>
  272.                             <th style=\"text-align:left; font-size:14px; font-weight:bold; padding: 5px 10px; border-right:solid 1px #a0d5ff; border-bottom:solid 2px #a0d5ff;\">";
  273.         // line 113
  274.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Nom"), "html"nulltrue);
  275.         echo "</th>
  276.                             <th style=\"text-align:center; font-size:14px; font-weight:bold; padding: 5px 10px; border-right:solid 1px #a0d5ff; border-bottom:solid 2px #a0d5ff;\">";
  277.         // line 114
  278.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Data naixement"), "html"nulltrue);
  279.         echo "</th>
  280.                             <th style=\"text-align:center; font-size:14px; font-weight:bold; padding: 5px 10px; border-right:solid 1px #a0d5ff; border-bottom:solid 2px #a0d5ff;\">";
  281.         // line 115
  282.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("RGPD*"), "html"nulltrue);
  283.         echo "</th>
  284.                             <th style=\"text-align:center; font-size:14px; font-weight:bold; padding: 5px 10px; border-right:solid 1px #a0d5ff; border-bottom:solid 2px #a0d5ff;\">";
  285.         // line 116
  286.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Quantitat"), "html"nulltrue);
  287.         echo "</th>
  288.                             <th style=\"text-align:center; font-size:14px; font-weight:bold; padding: 5px 10px; border-right:solid 1px #a0d5ff; border-bottom:solid 2px #a0d5ff;\">";
  289.         // line 117
  290.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Tipus d'abonament"), "html"nulltrue);
  291.         echo "</th>
  292.                             <th style=\"text-align:center; font-size:14px; font-weight:bold; padding: 5px 10px; border-right:solid 1px #a0d5ff; border-bottom:solid 2px #a0d5ff;\">";
  293.         // line 118
  294.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("WTP"), "html"nulltrue);
  295.         echo "</th>
  296.                             ";
  297.         // line 119
  298.         if ((((twig_get_attribute($this->env$this->source, (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'119$this->source); })()), "getFormaPagament", [], "method"falsefalsefalse119) == "Mixt") && (twig_get_attribute($this->env$this->source,         // line 120
  299. (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'120$this->source); })()), "getPagamentTargeta", [], "method"falsefalsefalse120) == 0)) && (twig_get_attribute($this->env$this->source,         // line 121
  300. (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'121$this->source); })()), "getPagamentEfectiu", [], "method"falsefalsefalse121) == 0))) {
  301.             // line 122
  302.             echo "                            <th style=\"text-align:center; font-size:14px; font-weight:bold; padding: 5px 10px; border-right:solid 1px #a0d5ff; border-bottom:solid 2px #a0d5ff;\">";
  303.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Pagament targeta"), "html"nulltrue);
  304.             echo "</th>
  305.                             <th style=\"text-align:center; font-size:14px; font-weight:bold; padding: 5px 10px; border-right:solid 1px #a0d5ff; border-bottom:solid 2px #a0d5ff;\">";
  306.             // line 123
  307.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Pagament efectiu"), "html"nulltrue);
  308.             echo "</th>
  309.                             ";
  310.         }
  311.         // line 125
  312.         echo "                            <th style=\"text-align:center; font-size:14px; font-weight:bold; padding: 5px 10px; border-bottom:solid 2px #a0d5ff;\">";
  313.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Preu"), "html"nulltrue);
  314.         echo "</th>
  315.                             
  316.                         </tr>
  317.                     </thead>
  318.                     <tbody>
  319.                         ";
  320.         // line 130
  321.         $context["descompte"] = 0;
  322.         // line 131
  323.         echo "                        ";
  324.         $context['_parent'] = $context;
  325.         $context['_seq'] = twig_ensure_traversable((isset($context["objComandesLinies"]) || array_key_exists("objComandesLinies"$context) ? $context["objComandesLinies"] : (function () { throw new RuntimeError('Variable "objComandesLinies" does not exist.'131$this->source); })()));
  326.         foreach ($context['_seq'] as $context["_key"] => $context["linies"]) {
  327.             // line 132
  328.             echo "                            ";
  329.             if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["linies"], "abonaments", [], "any"falsefalsefalse132), "estacio", [], "any"falsefalsefalse132) != "Extra")) {
  330.                 // line 133
  331.                 echo "                                ";
  332.                 $context["descompte"] = ((isset($context["descompte"]) || array_key_exists("descompte"$context) ? $context["descompte"] : (function () { throw new RuntimeError('Variable "descompte" does not exist.'133$this->source); })()) + twig_get_attribute($this->env$this->source$context["linies"], "descompte", [], "any"falsefalsefalse133));
  333.                 // line 134
  334.                 echo "                                <tr>
  335.                                     <td style=\"text-align:left; font-size:14px; padding: 5px 10px; border-right:solid 1px #a0d5ff; border-bottom:solid 1px #a0d5ff;\">";
  336.                 // line 135
  337.                 echo twig_escape_filter($this->env, ((((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["linies"], "consumers", [], "any"falsefalsefalse135), "nom", [], "any"falsefalsefalse135) . " ") . twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["linies"], "consumers", [], "any"falsefalsefalse135), "cognom1", [], "any"falsefalsefalse135)) . " ") . twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["linies"], "consumers", [], "any"falsefalsefalse135), "cognom2", [], "any"falsefalsefalse135)), "html"nulltrue);
  338.                 echo "</td>
  339.                                     <td style=\"text-align:center; font-size:14px; padding: 5px 10px; border-right:solid 1px #a0d5ff; border-bottom:solid 1px #a0d5ff;\">";
  340.                 // line 136
  341.                 if ((twig_get_attribute($this->env$this->source$context["linies"], "dataNaixement", [], "any"falsefalsefalse136) != "")) {
  342.                     echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["linies"], "dataNaixement", [], "any"falsefalsefalse136), "d-m-Y"), "html"nulltrue);
  343.                 }
  344.                 echo "</td>                                    
  345.                                     <td style=\"text-align:center; font-size:14px; padding: 5px 10px; border-right:solid 1px #a0d5ff; border-bottom:solid 1px #a0d5ff;\"><div style=\"border-radius: 50%; background: green; color: #fff; width: 20px; height: 20px; font-size: 20px;text-align:center; margin:0 auto;\" > &#10004;</div></td>
  346.                                     <td style=\"text-align:center; font-size:14px; padding: 5px 10px; border-right:solid 1px #a0d5ff; border-bottom:solid 1px #a0d5ff;\">";
  347.                 // line 138
  348.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["linies"], "quantitat", [], "any"falsefalsefalse138), "html"nulltrue);
  349.                 echo "</td>
  350.                                     <td style=\"text-align:center; font-size:14px; padding: 5px 10px; border-right:solid 1px #a0d5ff; border-bottom:solid 1px #a0d5ff;\">
  351.                                         ";
  352.                 // line 140
  353.                 echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source$context["linies"], "abonamentsTipus", [], "any"falsefalsefalse140) . " ") . twig_get_attribute($this->env$this->source$context["linies"], "detall", [], "any"falsefalsefalse140)), "html"nulltrue);
  354.                 echo "
  355.                                         ";
  356.                 // line 141
  357.                 $context["preuSuplement"] = 0;
  358.                 // line 142
  359.                 echo "                                        ";
  360.                 $context['_parent'] = $context;
  361.                 $context['_seq'] = twig_ensure_traversable((isset($context["objComandesLiniesSuplement"]) || array_key_exists("objComandesLiniesSuplement"$context) ? $context["objComandesLiniesSuplement"] : (function () { throw new RuntimeError('Variable "objComandesLiniesSuplement" does not exist.'142$this->source); })()));
  362.                 foreach ($context['_seq'] as $context["_key"] => $context["suplement"]) {
  363.                     // line 143
  364.                     echo "                                            ";
  365.                     if (twig_in_filter(((twig_get_attribute($this->env$this->source$context["linies"], "id", [], "any"falsefalsefalse143) . "-") . twig_get_attribute($this->env$this->source$context["suplement"], "id", [], "any"falsefalsefalse143)), (isset($context["aSuplements"]) || array_key_exists("aSuplements"$context) ? $context["aSuplements"] : (function () { throw new RuntimeError('Variable "aSuplements" does not exist.'143$this->source); })()))) {
  366.                         // line 144
  367.                         echo "                                                <br>
  368.                                                 ";
  369.                         // line 145
  370.                         echo twig_escape_filter($this->env, ((((twig_get_attribute($this->env$this->source$context["suplement"], "quantitat", [], "any"falsefalsefalse145) . " ") . twig_get_attribute($this->env$this->source$context["suplement"], "abonamentsTipus", [], "any"falsefalsefalse145)) . " ") . twig_get_attribute($this->env$this->source$context["suplement"], "detall", [], "any"falsefalsefalse145)), "html"nulltrue);
  371.                         echo "
  372.                                                 ";
  373.                         // line 146
  374.                         $context["preuSuplement"] = twig_get_attribute($this->env$this->source$context["suplement"], "total", [], "any"falsefalsefalse146);
  375.                         // line 147
  376.                         echo "                                            ";
  377.                     }
  378.                     // line 148
  379.                     echo "                                        ";
  380.                 }
  381.                 $_parent $context['_parent'];
  382.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['suplement'], $context['_parent'], $context['loop']);
  383.                 $context array_intersect_key($context$_parent) + $_parent;
  384.                 // line 149
  385.                 echo "
  386.                                     </td>
  387.                                     <td style=\"text-align:center; font-size:14px; padding: 5px 10px; border-right:solid 1px #a0d5ff; border-bottom:solid 1px #a0d5ff;\">
  388.                                         ";
  389.                 // line 152
  390.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["linies"], "xipIntroduitClient", [], "any"falsefalsefalse152), "html"nulltrue);
  391.                 echo "
  392.                                     </td>
  393.                                     ";
  394.                 // line 154
  395.                 if ((((twig_get_attribute($this->env$this->source, (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'154$this->source); })()), "getFormaPagament", [], "method"falsefalsefalse154) == "Mixt") && (twig_get_attribute($this->env$this->source,                 // line 155
  396. (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'155$this->source); })()), "getPagamentTargeta", [], "method"falsefalsefalse155) == 0)) && (twig_get_attribute($this->env$this->source,                 // line 156
  397. (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'156$this->source); })()), "getPagamentEfectiu", [], "method"falsefalsefalse156) == 0))) {
  398.                     // line 157
  399.                     echo "                                    <td style=\"text-align:center; font-size:14px; padding: 5px 10px; text-align:right; border-bottom:solid 1px #a0d5ff;\">
  400.                                         ";
  401.                     // line 158
  402.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["linies"], "pagamentTargeta", [], "any"falsefalsefalse158), "html"nulltrue);
  403.                     echo "
  404.                                     </td>    
  405.                                     <td style=\"text-align:center; font-size:14px; padding: 5px 10px; text-align:right; border-bottom:solid 1px #a0d5ff;\">
  406.                                         ";
  407.                     // line 161
  408.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["linies"], "pagamentEfectiu", [], "any"falsefalsefalse161), "html"nulltrue);
  409.                     echo "
  410.                                     </td>
  411.                                     ";
  412.                 }
  413.                 // line 164
  414.                 echo "                                    <td style=\"text-align:center; font-size:14px; padding: 5px 10px; text-align:right; border-bottom:solid 1px #a0d5ff;\">
  415.                                         ";
  416.                 // line 165
  417.                 echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->source$context["linies"], "total", [], "any"falsefalsefalse165), 2"."","), "html"nulltrue);
  418.                 echo "€
  419.                                         ";
  420.                 // line 166
  421.                 if (((isset($context["preuSuplement"]) || array_key_exists("preuSuplement"$context) ? $context["preuSuplement"] : (function () { throw new RuntimeError('Variable "preuSuplement" does not exist.'166$this->source); })()) > 0)) {
  422.                     // line 167
  423.                     echo "                                            <br>";
  424.                     echo twig_escape_filter($this->env, (isset($context["preuSuplement"]) || array_key_exists("preuSuplement"$context) ? $context["preuSuplement"] : (function () { throw new RuntimeError('Variable "preuSuplement" does not exist.'167$this->source); })()), "html"nulltrue);
  425.                     echo "€
  426.                                         ";
  427.                 }
  428.                 // line 169
  429.                 echo "                                    </td>
  430.                                 </tr>
  431.                             ";
  432.             }
  433.             // line 172
  434.             echo "                        ";
  435.         }
  436.         $_parent $context['_parent'];
  437.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['linies'], $context['_parent'], $context['loop']);
  438.         $context array_intersect_key($context$_parent) + $_parent;
  439.         // line 173
  440.         echo "                        </tbody>
  441.                 </table>
  442.                 ";
  443.         // line 175
  444.         $context["head"] = 1;
  445.         // line 176
  446.         echo "                ";
  447.         $context["guardaesquis"] = 0;
  448.         // line 177
  449.         echo "                ";
  450.         $context['_parent'] = $context;
  451.         $context['_seq'] = twig_ensure_traversable((isset($context["objComandesLinies"]) || array_key_exists("objComandesLinies"$context) ? $context["objComandesLinies"] : (function () { throw new RuntimeError('Variable "objComandesLinies" does not exist.'177$this->source); })()));
  452.         foreach ($context['_seq'] as $context["_key"] => $context["linies"]) {
  453.             // line 178
  454.             echo "                    ";
  455.             if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["linies"], "abonaments", [], "any"falsefalsefalse178), "estacio", [], "any"falsefalsefalse178) == "Extra")) {
  456.                 // line 179
  457.                 echo "                        
  458.                         ";
  459.                 // line 180
  460.                 if (((isset($context["head"]) || array_key_exists("head"$context) ? $context["head"] : (function () { throw new RuntimeError('Variable "head" does not exist.'180$this->source); })()) == 1)) {
  461.                     echo "    
  462.                             <table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" summary=\"\" style=\"width:100%; border:solid 1px #a0d5ff; margin-bottom: 20px;\">
  463.                                 <thead>
  464.                                     <tr>
  465.                                         <th colspan=\"4\" style=\"text-align:left; font-size:17px; font-weight:bold; padding: 10px; background: #a0d5ff;\">Extres</th>
  466.                                         <th style=\"text-align:center; font-size:14px; padding: 10px; background: #a0d5ff;\">";
  467.                     // line 185
  468.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("RGPD*"), "html"nulltrue);
  469.                     echo "</th>
  470.                                         <th style=\"text-align:center; font-size:14px; padding: 10px; background: #a0d5ff;\">";
  471.                     // line 186
  472.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Preu"), "html"nulltrue);
  473.                     echo "</th>
  474.                                     </tr>
  475.                                 </thead>
  476.                                 ";
  477.                     // line 189
  478.                     $context["head"] = 0;
  479.                     // line 190
  480.                     echo "                            ";
  481.                 }
  482.                 // line 191
  483.                 echo "                            
  484.                             <tr>
  485.                                 <td style=\"text-align:left; font-size:14px; padding: 5px 10px; border-right:solid 1px #a0d5ff; border-bottom:solid 1px #a0d5ff;\">";
  486.                 // line 193
  487.                 echo twig_escape_filter($this->env, ((((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["linies"], "consumers", [], "any"falsefalsefalse193), "nom", [], "any"falsefalsefalse193) . " ") . twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["linies"], "consumers", [], "any"falsefalsefalse193), "cognom1", [], "any"falsefalsefalse193)) . " ") . twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["linies"], "consumers", [], "any"falsefalsefalse193), "cognom2", [], "any"falsefalsefalse193)), "html"nulltrue);
  488.                 echo "</td>
  489.                                 <td style=\"text-align:left; font-size:14px; padding: 5px 10px; border-right:solid 1px #a0d5ff; border-bottom:solid 1px #a0d5ff;\"></td>
  490.                                 <td style=\"text-align:left; font-size:14px; padding: 5px 10px; border-right:solid 1px #a0d5ff; border-bottom:solid 1px #a0d5ff;\">";
  491.                 // line 195
  492.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["linies"], "quantitat", [], "any"falsefalsefalse195), "html"nulltrue);
  493.                 echo "</td>
  494.                                 <td style=\"text-align:left; font-size:14px; padding: 5px 10px; border-right:solid 1px #a0d5ff; border-bottom:solid 1px #a0d5ff;\">
  495.                                     ";
  496.                 // line 197
  497.                 echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source$context["linies"], "abonamentsTipus", [], "any"falsefalsefalse197) . " ") . twig_get_attribute($this->env$this->source$context["linies"], "detall", [], "any"falsefalsefalse197)), "html"nulltrue);
  498.                 echo "
  499.                                     ";
  500.                 // line 198
  501.                 if (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["linies"], "abonaments", [], "any"falsefalsefalse198), "estacio", [], "any"falsefalsefalse198) == "Extra") && (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["linies"], "abonaments", [], "any"falsefalsefalse198), "id", [], "any"falsefalsefalse198) == 64))) {
  502.                     // line 199
  503.                     echo "                                        ";
  504.                     $context["guardaesquis"] = 1;
  505.                     // line 200
  506.                     echo "                                        ";
  507.                     if (((twig_get_attribute($this->env$this->source$context["linies"], "taquilla", [], "any"falsefalsefalse200) == "0") || (twig_get_attribute($this->env$this->source$context["linies"], "taquilla", [], "any"falsefalsefalse200) == ""))) {
  508.                         // line 201
  509.                         echo "                                            ";
  510.                         echo twig_escape_filter($this->env, (" " "taquilla sense assignar"), "html"nulltrue);
  511.                         echo "
  512.                                         ";
  513.                     } else {
  514.                         // line 203
  515.                         echo "                                            ";
  516.                         echo twig_escape_filter($this->env, (((" " "taquilla nº") . " ") . twig_get_attribute($this->env$this->source$context["linies"], "taquilla", [], "any"falsefalsefalse203)), "html"nulltrue);
  517.                         echo "
  518.                                         ";
  519.                     }
  520.                     // line 205
  521.                     echo "                                    ";
  522.                 }
  523.                 // line 206
  524.                 echo "                                    ";
  525.                 $context["preuSuplement"] = 0;
  526.                 // line 207
  527.                 echo "                                    ";
  528.                 $context['_parent'] = $context;
  529.                 $context['_seq'] = twig_ensure_traversable((isset($context["objComandesLiniesSuplement"]) || array_key_exists("objComandesLiniesSuplement"$context) ? $context["objComandesLiniesSuplement"] : (function () { throw new RuntimeError('Variable "objComandesLiniesSuplement" does not exist.'207$this->source); })()));
  530.                 foreach ($context['_seq'] as $context["_key"] => $context["suplement"]) {
  531.                     // line 208
  532.                     echo "                                        ";
  533.                     if (twig_in_filter(((twig_get_attribute($this->env$this->source$context["linies"], "id", [], "any"falsefalsefalse208) . "-") . twig_get_attribute($this->env$this->source$context["suplement"], "id", [], "any"falsefalsefalse208)), (isset($context["aSuplements"]) || array_key_exists("aSuplements"$context) ? $context["aSuplements"] : (function () { throw new RuntimeError('Variable "aSuplements" does not exist.'208$this->source); })()))) {
  534.                         // line 209
  535.                         echo "                                            <br>
  536.                                             ";
  537.                         // line 210
  538.                         echo twig_escape_filter($this->env, ((((twig_get_attribute($this->env$this->source$context["suplement"], "quantitat", [], "any"falsefalsefalse210) . " ") . twig_get_attribute($this->env$this->source$context["suplement"], "abonamentsTipus", [], "any"falsefalsefalse210)) . " ") . twig_get_attribute($this->env$this->source$context["suplement"], "detall", [], "any"falsefalsefalse210)), "html"nulltrue);
  539.                         echo "
  540.                                             ";
  541.                         // line 211
  542.                         $context["preuSuplement"] = twig_get_attribute($this->env$this->source$context["suplement"], "total", [], "any"falsefalsefalse211);
  543.                         // line 212
  544.                         echo "                                        ";
  545.                     }
  546.                     // line 213
  547.                     echo "                                    ";
  548.                 }
  549.                 $_parent $context['_parent'];
  550.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['suplement'], $context['_parent'], $context['loop']);
  551.                 $context array_intersect_key($context$_parent) + $_parent;
  552.                 // line 214
  553.                 echo "
  554.                                 </td>
  555.                                 <td style=\"text-align:center; font-size:14px; padding: 5px 10px; border-right:solid 1px #a0d5ff; border-bottom:solid 1px #a0d5ff;\"><div style=\"border-radius: 50%; background: green; color: #fff; width: 20px; height: 20px; font-size: 20px;text-align:center; margin:0 auto;\" > &#10004;</div></td>
  556.                                 <td style=\"text-align:right; font-size:14px; padding: 5px 10px; border-bottom:solid 1px #a0d5ff;\">
  557.                                     ";
  558.                 // line 218
  559.                 echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->source$context["linies"], "total", [], "any"falsefalsefalse218), 2"."","), "html"nulltrue);
  560.                 echo "€
  561.                                     ";
  562.                 // line 219
  563.                 if (((isset($context["preuSuplement"]) || array_key_exists("preuSuplement"$context) ? $context["preuSuplement"] : (function () { throw new RuntimeError('Variable "preuSuplement" does not exist.'219$this->source); })()) > 0)) {
  564.                     // line 220
  565.                     echo "                                        <br>";
  566.                     echo twig_escape_filter($this->env, (isset($context["preuSuplement"]) || array_key_exists("preuSuplement"$context) ? $context["preuSuplement"] : (function () { throw new RuntimeError('Variable "preuSuplement" does not exist.'220$this->source); })()), "html"nulltrue);
  567.                     echo "€
  568.                                     ";
  569.                 }
  570.                 // line 222
  571.                 echo "                                </td>
  572.                             </tr>
  573.                         ";
  574.             }
  575.             // line 225
  576.             echo "                    ";
  577.         }
  578.         $_parent $context['_parent'];
  579.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['linies'], $context['_parent'], $context['loop']);
  580.         $context array_intersect_key($context$_parent) + $_parent;
  581.         // line 226
  582.         echo "                </table>
  583.                 ";
  584.         // line 227
  585.         if ((twig_get_attribute($this->env$this->source, (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'227$this->source); })()), "factura", [], "any"falsefalsefalse227) == 1)) {
  586.             // line 228
  587.             echo "                    ";
  588.             if (((twig_get_attribute($this->env$this->source, (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'228$this->source); })()), "getNomEmpresa", [], "method"falsefalsefalse228) != "") || (twig_get_attribute($this->env$this->source, (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'228$this->source); })()), "getNifEmpresa", [], "method"falsefalsefalse228) != ""))) {
  589.                 // line 229
  590.                 echo "                        <table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" summary=\"\" style=\"width:100%; border:solid 2px #a0d5ff;\">
  591.                             <tbody>
  592.                                 <tr>
  593.                                     <th colspan=\"4\" style=\"text-align:left; font-size:14px; font-weight:bold; padding: 10px; background: #a0d5ff;\">";
  594.                 // line 232
  595.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Factura"), "html"nulltrue);
  596.                 echo "</th>
  597.                                 </tr>
  598.                                 <tr>
  599.                                     <td style=\"font-size: 14px; width:50%; border-right:solid 1px #a0d5ff; border-bottom:solid 1px #a0d5ff; padding-top:10px;\">";
  600.                 // line 235
  601.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Nom empresa"), "html"nulltrue);
  602.                 echo ":<br/>
  603.                                         <strong>";
  604.                 // line 236
  605.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'236$this->source); })()), "getNomEmpresa", [], "method"falsefalsefalse236), "html"nulltrue);
  606.                 echo "
  607.                                     </td>
  608.                                     <td style=\"font-size: 14px; width:50%; border-bottom:solid 1px #a0d5ff; padding-top:10px;\">";
  609.                 // line 238
  610.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Nif empresa"), "html"nulltrue);
  611.                 echo ":<br/>
  612.                                         <strong>";
  613.                 // line 239
  614.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'239$this->source); })()), "getNifEmpresa", [], "method"falsefalsefalse239), "html"nulltrue);
  615.                 echo "</strong>
  616.                                     </td>
  617.                                 </tr>
  618.                             ";
  619.             }
  620.             // line 243
  621.             echo "                            ";
  622.             if ((twig_get_attribute($this->env$this->source, (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'243$this->source); })()), "getDireccioEmpresa", [], "method"falsefalsefalse243) != "")) {
  623.                 // line 244
  624.                 echo "                                <tr>
  625.                                     <td  colspan=\"2\" style=\"font-size: 14px; border-bottom:solid 1px #a0d5ff; width:100%; padding-top:10px;\">";
  626.                 // line 245
  627.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Adreça empresa"), "html"nulltrue);
  628.                 echo ":<br/>
  629.                                         <strong>";
  630.                 // line 246
  631.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'246$this->source); })()), "getDireccioEmpresa", [], "method"falsefalsefalse246), "html"nulltrue);
  632.                 echo "</strong>
  633.                                     </td>
  634.                                 </tr>
  635.                             ";
  636.             }
  637.             // line 250
  638.             echo "                            ";
  639.             if (((twig_get_attribute($this->env$this->source, (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'250$this->source); })()), "getCpEmpresa", [], "method"falsefalsefalse250) != "") || (twig_get_attribute($this->env$this->source, (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'250$this->source); })()), "getPoblacioEmpresa", [], "method"falsefalsefalse250) != ""))) {
  640.                 // line 251
  641.                 echo "                                <tr>
  642.                                     <td style=\"font-size: 14px; border-right:solid 1px #a0d5ff; border-bottom:solid 1px #a0d5ff; width:50%; padding-top:10px;\">";
  643.                 // line 252
  644.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("C.Postal"), "html"nulltrue);
  645.                 echo ":<br/>
  646.                                         <strong>";
  647.                 // line 253
  648.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'253$this->source); })()), "getCpEmpresa", [], "method"falsefalsefalse253), "html"nulltrue);
  649.                 echo "</strong>
  650.                                     </td>
  651.                                     <td style=\"font-size: 14px; border-bottom:solid 1px #ccc; width:20%; padding-top:10px;\">";
  652.                 // line 255
  653.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Població"), "html"nulltrue);
  654.                 echo ":<br/>
  655.                                         <strong>";
  656.                 // line 256
  657.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'256$this->source); })()), "getPoblacioEmpresa", [], "method"falsefalsefalse256), "html"nulltrue);
  658.                 echo "</strong>
  659.                                     </td>
  660.                                 </tr>
  661.                             </tbody>
  662.                         </table>
  663.                     ";
  664.             }
  665.             // line 262
  666.             echo "                ";
  667.         }
  668.         // line 263
  669.         echo "
  670.                 <div style=\"clear: both;\"></div>
  671.                 <div style=\"text-align:right; font-size:17px; font-weight:bold; margin: 10px 10px 0 0;  height: 25px; float: right; min-width: 80px;\">";
  672.         // line 266
  673.         echo twig_escape_filter($this->envtwig_number_format_filter($this->env, ((isset($context["total_cistella"]) || array_key_exists("total_cistella"$context) ? $context["total_cistella"] : (function () { throw new RuntimeError('Variable "total_cistella" does not exist.'266$this->source); })()) + (isset($context["descompte"]) || array_key_exists("descompte"$context) ? $context["descompte"] : (function () { throw new RuntimeError('Variable "descompte" does not exist.'266$this->source); })())), 2"."","), "html"nulltrue);
  674.         echo "€</div>
  675.                 <div style=\"width: 260px; text-align:right; font-size:14px; margin: 15px 5px 0 0; float: right;\">";
  676.         // line 267
  677.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("TOTAL"), "html"nulltrue);
  678.         echo ":</div>
  679.                 ";
  680.         // line 269
  681.         $context["totalComanda"] = (isset($context["total_cistella"]) || array_key_exists("total_cistella"$context) ? $context["total_cistella"] : (function () { throw new RuntimeError('Variable "total_cistella" does not exist.'269$this->source); })());
  682.         // line 270
  683.         echo "                ";
  684.         if ((((twig_get_attribute($this->env$this->source, (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'270$this->source); })()), "getDescompte", [], "method"falsefalsefalse270) != "") && (twig_get_attribute($this->env$this->source,         // line 271
  685. (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'271$this->source); })()), "getDescompte", [], "method"falsefalsefalse271) > 0.0)) || ((        // line 272
  686. (isset($context["descompte"]) || array_key_exists("descompte"$context) ? $context["descompte"] : (function () { throw new RuntimeError('Variable "descompte" does not exist.'272$this->source); })()) != "") && ((isset($context["descompte"]) || array_key_exists("descompte"$context) ? $context["descompte"] : (function () { throw new RuntimeError('Variable "descompte" does not exist.'272$this->source); })()) > 0.0)))) {
  687.             // line 273
  688.             echo "                    ";
  689.             if (((twig_get_attribute($this->env$this->source, (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'273$this->source); })()), "getDescompte", [], "method"falsefalsefalse273) != "") && (twig_get_attribute($this->env$this->source,             // line 274
  690. (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'274$this->source); })()), "getDescompte", [], "method"falsefalsefalse274) > 0.0))) {
  691.                 // line 275
  692.                 echo "                        ";
  693.                 $context["descompte"] = twig_get_attribute($this->env$this->source, (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'275$this->source); })()), "getDescompte", [], "method"falsefalsefalse275);
  694.                 // line 276
  695.                 echo "                        ";
  696.                 $context["totalComanda"] = ((isset($context["total_cistella"]) || array_key_exists("total_cistella"$context) ? $context["total_cistella"] : (function () { throw new RuntimeError('Variable "total_cistella" does not exist.'276$this->source); })()) - (isset($context["descompte"]) || array_key_exists("descompte"$context) ? $context["descompte"] : (function () { throw new RuntimeError('Variable "descompte" does not exist.'276$this->source); })()));
  697.                 // line 277
  698.                 echo "                    ";
  699.             }
  700.             // line 278
  701.             echo "                    <div style=\"clear: both;\"></div>
  702.                     <div style=\"text-align:right; font-size:17px; font-weight:bold; margin: 0px 10px 0 0;  height: 25px; float: right; min-width: 80px;\">";
  703.             // line 279
  704.             echo twig_escape_filter($this->envtwig_number_format_filter($this->env, (isset($context["descompte"]) || array_key_exists("descompte"$context) ? $context["descompte"] : (function () { throw new RuntimeError('Variable "descompte" does not exist.'279$this->source); })()), 2"."","), "html"nulltrue);
  705.             echo "€</div>
  706.                     <div style=\"width: 260px; text-align:right; font-size:11px; margin: 0px 5px 0 0; float: right;\">";
  707.             // line 280
  708.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Descompte"), "html"nulltrue);
  709.             echo ":</div>
  710.                     <div style=\"clear: both;\"></div>
  711.                     <div style=\"text-align:right; font-size:17px; font-weight:bold; margin: 0px 10px 0 0;  height: 25px; float: right; min-width: 80px;\">";
  712.             // line 283
  713.             echo twig_escape_filter($this->envtwig_number_format_filter($this->env, (isset($context["totalComanda"]) || array_key_exists("totalComanda"$context) ? $context["totalComanda"] : (function () { throw new RuntimeError('Variable "totalComanda" does not exist.'283$this->source); })()), 2"."","), "html"nulltrue);
  714.             echo "€</div>
  715.                     <div style=\"width: 260px; text-align:right; font-size:14px; margin: 0px 5px 0 0; float: right;\">";
  716.             // line 284
  717.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("TOTAL amb descompte"), "html"nulltrue);
  718.             echo ":</div>
  719.                 ";
  720.         }
  721.         // line 286
  722.         echo "
  723.                 <div style=\"clear: both;\"></div>
  724.                 <div style=\"width: 200px; text-align:right; font-size:14px; margin: 0 10px 20px 0; float: right;\">";
  725.         // line 288
  726.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("(Preus amb IVA inclòs)"), "html"nulltrue);
  727.         echo "</div>
  728.                 <div style=\"clear: both;\"></div>
  729.                 ";
  730.         // line 290
  731.         if (((isset($context["guardaesquis"]) || array_key_exists("guardaesquis"$context) ? $context["guardaesquis"] : (function () { throw new RuntimeError('Variable "guardaesquis" does not exist.'290$this->source); })()) == 1)) {
  732.             // line 291
  733.             echo "                    <div style=\"width: 440px; font-size: 14px; margin:17px 0 0 0; float: left;\"><span style=\"font-weight:bold;\" >";
  734.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("INFORMACIÓ GUARDAESQUÍS"), "html"nulltrue);
  735.             echo ":</span><br />
  736.                         <span style=\"font-size: 9px;\">";
  737.             // line 292
  738.             echo twig_get_attribute($this->env$this->source, (isset($context["enGeneral"]) || array_key_exists("enGeneral"$context) ? $context["enGeneral"] : (function () { throw new RuntimeError('Variable "enGeneral" does not exist.'292$this->source); })()), "getRebutGuardaesquisCa", [], "method"falsefalsefalse292);
  739.             echo "</span>
  740.                     </div>
  741.                 ";
  742.         }
  743.         // line 295
  744.         echo "                <!--<div style=\"width: 200px; padding-top: 110px; text-align: center; font-size:14px; margin: 0 0px 5px 0; float: right; border: solid 1px #666;\">";
  745.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Rebut no vàlid sense el segell"), "html"nulltrue);
  746.         echo "</div>-->
  747.                 ";
  748.         // line 296
  749.         if ((twig_get_attribute($this->env$this->source, (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'296$this->source); })()), "getFirmaCodi", [], "method"falsefalsefalse296) != "")) {
  750.             // line 297
  751.             echo "                <div style=\"width: 400px; text-align: center; font-size:14px; margin: 0 0px 5px 0; border: solid 1px #666;\"><img src=\"";
  752.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'297$this->source); })()), "getFirmaCodi", [], "method"falsefalsefalse297), "html"nulltrue);
  753.             echo "\" id=\"img_firma_codi\" name=\"img_firma_codi\" style=\"width: 150px;\">";
  754.             echo "</div>
  755.                 ";
  756.         }
  757.         // line 299
  758.         echo "                ";
  759.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Localitzador:"), "html"nulltrue);
  760.         echo " <strong>";
  761.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["objComandes"]) || array_key_exists("objComandes"$context) ? $context["objComandes"] : (function () { throw new RuntimeError('Variable "objComandes" does not exist.'299$this->source); })()), "getLocalitzador", [], "method"falsefalsefalse299), "html"nulltrue);
  762.         echo "</strong><br/>
  763.                 <img src=\"";
  764.         // line 300
  765.         echo twig_escape_filter($this->env, (isset($context["sImageCode"]) || array_key_exists("sImageCode"$context) ? $context["sImageCode"] : (function () { throw new RuntimeError('Variable "sImageCode" does not exist.'300$this->source); })()), "html"nulltrue);
  766.         echo "\" />
  767.                 <div style=\"clear: both;\"></div>
  768.                 <table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" summary=\"\" style=\"width:100%;\">
  769.                     <tbody>
  770.                         <tr>
  771.                             <td style=\"text-align:left;font-size: 14px;\">
  772.                                 <span style=\"font-weight:bold;\" >";
  773.         // line 306
  774.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("IMPORTANT"), "html"nulltrue);
  775.         echo ":</span><br/>
  776.                                 ";
  777.         // line 307
  778.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Aquest rebut servirà per retirar l’abonament/s i/o l’assegurança."), "html"nulltrue);
  779.         echo "<br/>
  780.                                 *RGPD: <a href=\"https://www.masella.com/ca/paginas/condicions-generals-abonaments-temporada\"> ";
  781.         // line 308
  782.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("He llegit i he acceptat la política de privacitat i les condicions dels Abonaments de Temporada"), "html"nulltrue);
  783.         echo "</a>
  784.                                 +info. <a href=\"https://www.masella.com/ca/paginas/condicions-generals-abonaments-temporada\">https://www.masella.com/ca/paginas/condicions-generals-abonaments-temporada</a>
  785.                             </td>
  786.                             <td style=\"text-align:right;\">
  787.                                 <img src=\"https://www.masella.com/images/qravislegal.png\" style=\"width:80px;\" alt=\"QR\">
  788.                             </td>
  789.                         </tr>
  790.                     </tbody>
  791.                 </table>
  792.                 <div style=\"clear: both;\"></div>
  793.                 <div style=\"text-align: center; font-size: 14px; margin:20px 0 0 0;\">
  794.                     TELESQUÍS DE LA TOSSA DE ALP, DAS Y URÚS, S.A. – CIF A17012824<br/>
  795.                     Av. Peu de Pista, s/n – 17538 MASELLA – ALP t. 972 144 000<br/>
  796.                     masella@masella.com – www.masella.com
  797.                 </div>
  798.             </div>
  799.         </div>
  800.     </tbody>
  801. </html>";
  802.         
  803.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  804.         
  805.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  806.     }
  807.     public function getTemplateName()
  808.     {
  809.         return "pdfComanda.html.twig";
  810.     }
  811.     public function isTraitable()
  812.     {
  813.         return false;
  814.     }
  815.     public function getDebugInfo()
  816.     {
  817.         return array (  799 => 308,  795 => 307,  791 => 306,  782 => 300,  775 => 299,  768 => 297,  766 => 296,  761 => 295,  755 => 292,  750 => 291,  748 => 290,  743 => 288,  739 => 286,  734 => 284,  730 => 283,  724 => 280,  720 => 279,  717 => 278,  714 => 277,  711 => 276,  708 => 275,  706 => 274,  704 => 273,  702 => 272,  701 => 271,  699 => 270,  697 => 269,  692 => 267,  688 => 266,  683 => 263,  680 => 262,  671 => 256,  667 => 255,  662 => 253,  658 => 252,  655 => 251,  652 => 250,  645 => 246,  641 => 245,  638 => 244,  635 => 243,  628 => 239,  624 => 238,  619 => 236,  615 => 235,  609 => 232,  604 => 229,  601 => 228,  599 => 227,  596 => 226,  590 => 225,  585 => 222,  579 => 220,  577 => 219,  573 => 218,  567 => 214,  561 => 213,  558 => 212,  556 => 211,  552 => 210,  549 => 209,  546 => 208,  541 => 207,  538 => 206,  535 => 205,  529 => 203,  523 => 201,  520 => 200,  517 => 199,  515 => 198,  511 => 197,  506 => 195,  501 => 193,  497 => 191,  494 => 190,  492 => 189,  486 => 186,  482 => 185,  474 => 180,  471 => 179,  468 => 178,  463 => 177,  460 => 176,  458 => 175,  454 => 173,  448 => 172,  443 => 169,  437 => 167,  435 => 166,  431 => 165,  428 => 164,  422 => 161,  416 => 158,  413 => 157,  411 => 156,  410 => 155,  409 => 154,  404 => 152,  399 => 149,  393 => 148,  390 => 147,  388 => 146,  384 => 145,  381 => 144,  378 => 143,  373 => 142,  371 => 141,  367 => 140,  362 => 138,  355 => 136,  351 => 135,  348 => 134,  345 => 133,  342 => 132,  337 => 131,  335 => 130,  326 => 125,  321 => 123,  316 => 122,  314 => 121,  313 => 120,  312 => 119,  308 => 118,  304 => 117,  300 => 116,  296 => 115,  292 => 114,  288 => 113,  282 => 110,  269 => 100,  263 => 96,  255 => 91,  251 => 90,  246 => 88,  242 => 87,  239 => 86,  237 => 85,  236 => 84,  235 => 83,  225 => 80,  221 => 79,  216 => 77,  212 => 76,  204 => 71,  200 => 70,  195 => 68,  191 => 67,  186 => 65,  182 => 64,  175 => 60,  171 => 59,  166 => 57,  162 => 56,  157 => 54,  153 => 53,  145 => 48,  141 => 47,  135 => 44,  131 => 43,  126 => 41,  122 => 40,  116 => 37,  112 => 36,  106 => 33,  102 => 32,  95 => 28,  81 => 19,  75 => 18,  69 => 17,  63 => 16,  57 => 13,  43 => 1,);
  818.     }
  819.     public function getSourceContext()
  820.     {
  821.         return new Source("<html>
  822.     <head><title>abonament</title></head>
  823.     <tbody>
  824.         <div style=\"width: 100%;\">
  825.             <div style=\"text-align: left; font-size: 18px; margin: 0px 0 5px 0; padding: 5px; font-weight: bold; background: #eee;\">
  826.                 <table border=\"0\" cellpadding=\"1\" cellspacing=\"0\" summary=\"\" style=\"width:100%; margin-bottom: 0px;\">
  827.                     <tbody>
  828.                         <tr>
  829.                             <td>
  830.                                 <img src=\"https://www.masella.com/images/logo_masella-black.png\" alt=\"Masella\" style=\"width:160px;\">
  831.                             </td>
  832.                             <td style=\"text-align:left; font-size:17px; padding: 0 10px; background: #a0d5ff;\">
  833.                                 <strong>{{\"Resum de la compra\" | trans}}</strong> 
  834.                             </td>
  835.                             <td style=\"text-align:left; font-size:14px; padding: 0 10px; background: #a0d5ff;\">
  836.                                 {{\"Lloc:\" | trans}} <strong>{{objComandes.getLlocVenda()}}</strong><br/>
  837.                                 {{\"Data:\" | trans}} <strong>{{objComandes.getData() | date('d-m-Y')}}</strong><br/>
  838.                                 {{\"Localitzador:\" | trans}} <strong>{{objComandes.getLocalitzador()}}</strong><br/>
  839.                                 {{\"Codi client:\" | trans}} <strong>{{objComandes.getConsumers.getId()}}</strong></span>
  840.                             </td>
  841.                         </tr>
  842.                 </table>
  843.             </div>    
  844.             <div style=\"padding:10px;\">
  845.                 <table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" summary=\"\" style=\"width:100%; margin-bottom: 20px;\">
  846.                     <tbody>
  847.                         <tr>
  848.                             <td colspan=\"3\" style=\"text-align:left; font-size:14px; margin: 15px 0 15px 0; font-weight:bold;\">{{\"Dades del comprador:\" | trans}}</td>
  849.                         </tr>
  850.                         <tr>
  851.                             <td style=\"font-size: 14px; border-bottom:solid 1px #ccc; \">{{\"Nom\" | trans}}:<br/>
  852.                                 <strong>{{objComandes.consumers.nom}}</strong>
  853.                             </td>
  854.                             <!--
  855.                             <td style=\"font-size: 14px; border-bottom:solid 1px #ccc; \">{{\"Cognoms\" | trans}}:<br/>
  856.                                 <strong>{{objComandes.consumers.cognoms}}</strong>
  857.                             </td>
  858.                             -->
  859.                             <td style=\"font-size: 14px; border-bottom:solid 1px #ccc; \">{{\"Cognom1\" | trans}}:<br/>
  860.                                 <strong>{{objComandes.consumers.cognom1}}</strong>
  861.                             </td>
  862.                             <td style=\"font-size: 14px; border-bottom:solid 1px #ccc; \">{{\"Cognom2\" | trans}}:<br/>
  863.                                 <strong>{{objComandes.consumers.cognom2}}</strong>
  864.                             </td>
  865.                             <td style=\"font-size: 14px; border-bottom:solid 1px #ccc; \">{{\"DNI\" | trans}}:<br/>
  866.                                 <strong>{{objComandes.consumers.dni}}</strong>
  867.                             </td>
  868.                         </tr>
  869.                         <tr>
  870.                             <td style=\"font-size: 14px; border-bottom:solid 1px #ccc; padding-top:10px;\">{{\"Adreça\" | trans}}:<br/>
  871.                                 <strong>{{objComandes.consumers.direccio}}</strong>
  872.                             </td>
  873.                             <td style=\"font-size: 14px; border-bottom:solid 1px #ccc; padding-top:10px;\">{{\"C.Postal\" | trans}}:<br/>
  874.                                 <strong>{{objComandes.consumers.cp}}</strong>
  875.                             </td>
  876.                             <td style=\"font-size: 14px; border-bottom:solid 1px #ccc; padding-top:10px;\">{{\"Població\" | trans}}:<br/>
  877.                                 <strong>{{objComandes.consumers.poblacio}}</strong>
  878.                             </td>
  879.                         </tr>
  880.                         <tr>
  881.                             <td style=\"font-size: 14px; border-bottom:solid 1px #ccc; padding-top:10px;\">{{\"D. naixement\" | trans}}:<br/>
  882.                                 <strong>{{objComandes.consumers.dataNaixement |date('d-m-Y')}}</strong>
  883.                             </td>
  884.                             <td style=\"font-size: 14px; border-bottom:solid 1px #ccc; padding-top:10px;\">{{\"E-mail\" | trans}}:<br/>
  885.                                 <strong>{{objComandes.consumers.email}}</strong>
  886.                             </td>
  887.                             <td style=\"font-size: 14px; border-bottom:solid 1px #ccc; padding-top:10px;\">{{\"Telèfon\" | trans}}:<br/>
  888.                                 <strong>{{objComandes.consumers.telefon}}</strong>
  889.                             </td>
  890.                         </tr>
  891.                         <tr>
  892.                             <td style=\"font-size: 14px; border-bottom:solid 1px #ccc; padding-top:10px;\">{{\"Forma de pagament\" | trans}}:<br/>
  893.                                 <strong>{{objComandes.getFormaPagament()}}</strong>
  894.                             </td>
  895.                             <td colspan=\"2\" style=\"font-size: 14px; border-bottom:solid 1px #ccc; padding-top:10px;\">{{\"Vol factura?\" | trans}}:<br/>
  896.                                 <strong>{% if (objComandes.factura == 1)%} Si {% else %} No {% endif %}</strong>
  897.                             </td>
  898.                         </tr>
  899.                         {% if objComandes.getFormaPagament() == 'Mixt' 
  900.                                 and objComandes.getPagamentTargeta() > 0
  901.                                 and objComandes.getPagamentEfectiu() > 0%}
  902.                             <tr>
  903.                                 <td style=\"font-size: 14px; border-bottom:solid 1px #ccc; padding-top:10px;\">{{\"Pagament targeta\" | trans}}:<br/>
  904.                                     <strong>{{objComandes.getPagamentTargeta()}}</strong>
  905.                                 </td>
  906.                                 <td colspan=\"1\" style=\"font-size: 14px; border-bottom:solid 1px #ccc; padding-top:10px;\">{{\"Pagament efectiu\" | trans}}:<br/>
  907.                                     <strong>{{objComandes.getPagamentEfectiu()}}</strong>
  908.                                 </td>
  909.                             </tr>
  910.                             
  911.                         {% endif %}
  912.                         <!--
  913.                         <tr>
  914.                             <td colspan=\"3\" >
  915.                         {{\"Acceptació RGPD*\" | trans}} Si  
  916.                             </td>
  917.                         </tr>
  918.                         -->
  919.                     </tbody>
  920.                 </table>
  921.                 <table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" summary=\"\" style=\"width:100%; border:solid 1px #a0d5ff; margin-bottom: 20px;\">
  922.                     <thead>
  923.                         <tr>
  924.                             <th colspan=\"7\" style=\"text-align:left; font-size:17px; font-weight:bold; padding: 10px; background: #a0d5ff;\">{{\"Productes\" | trans}}</th>
  925.                         </tr>
  926.                         <tr>
  927.                             <th style=\"text-align:left; font-size:14px; font-weight:bold; padding: 5px 10px; border-right:solid 1px #a0d5ff; border-bottom:solid 2px #a0d5ff;\">{{\"Nom\" | trans}}</th>
  928.                             <th style=\"text-align:center; font-size:14px; font-weight:bold; padding: 5px 10px; border-right:solid 1px #a0d5ff; border-bottom:solid 2px #a0d5ff;\">{{\"Data naixement\" | trans}}</th>
  929.                             <th style=\"text-align:center; font-size:14px; font-weight:bold; padding: 5px 10px; border-right:solid 1px #a0d5ff; border-bottom:solid 2px #a0d5ff;\">{{\"RGPD*\" | trans}}</th>
  930.                             <th style=\"text-align:center; font-size:14px; font-weight:bold; padding: 5px 10px; border-right:solid 1px #a0d5ff; border-bottom:solid 2px #a0d5ff;\">{{\"Quantitat\" | trans}}</th>
  931.                             <th style=\"text-align:center; font-size:14px; font-weight:bold; padding: 5px 10px; border-right:solid 1px #a0d5ff; border-bottom:solid 2px #a0d5ff;\">{{\"Tipus d'abonament\" | trans}}</th>
  932.                             <th style=\"text-align:center; font-size:14px; font-weight:bold; padding: 5px 10px; border-right:solid 1px #a0d5ff; border-bottom:solid 2px #a0d5ff;\">{{\"WTP\" | trans}}</th>
  933.                             {% if objComandes.getFormaPagament() == 'Mixt' 
  934.                                     and objComandes.getPagamentTargeta() == 0
  935.                                     and objComandes.getPagamentEfectiu() == 0%}
  936.                             <th style=\"text-align:center; font-size:14px; font-weight:bold; padding: 5px 10px; border-right:solid 1px #a0d5ff; border-bottom:solid 2px #a0d5ff;\">{{\"Pagament targeta\" | trans}}</th>
  937.                             <th style=\"text-align:center; font-size:14px; font-weight:bold; padding: 5px 10px; border-right:solid 1px #a0d5ff; border-bottom:solid 2px #a0d5ff;\">{{\"Pagament efectiu\" | trans}}</th>
  938.                             {% endif %}
  939.                             <th style=\"text-align:center; font-size:14px; font-weight:bold; padding: 5px 10px; border-bottom:solid 2px #a0d5ff;\">{{\"Preu\" | trans}}</th>
  940.                             
  941.                         </tr>
  942.                     </thead>
  943.                     <tbody>
  944.                         {% set descompte = 0 %}
  945.                         {% for linies in  objComandesLinies %}
  946.                             {% if linies.abonaments.estacio != 'Extra' %}
  947.                                 {% set descompte = descompte + linies.descompte %}
  948.                                 <tr>
  949.                                     <td style=\"text-align:left; font-size:14px; padding: 5px 10px; border-right:solid 1px #a0d5ff; border-bottom:solid 1px #a0d5ff;\">{{linies.consumers.nom~' '~linies.consumers.cognom1~' '~linies.consumers.cognom2}}</td>
  950.                                     <td style=\"text-align:center; font-size:14px; padding: 5px 10px; border-right:solid 1px #a0d5ff; border-bottom:solid 1px #a0d5ff;\">{% if linies.dataNaixement !='' %}{{linies.dataNaixement|date('d-m-Y')}}{% endif %}</td>                                    
  951.                                     <td style=\"text-align:center; font-size:14px; padding: 5px 10px; border-right:solid 1px #a0d5ff; border-bottom:solid 1px #a0d5ff;\"><div style=\"border-radius: 50%; background: green; color: #fff; width: 20px; height: 20px; font-size: 20px;text-align:center; margin:0 auto;\" > &#10004;</div></td>
  952.                                     <td style=\"text-align:center; font-size:14px; padding: 5px 10px; border-right:solid 1px #a0d5ff; border-bottom:solid 1px #a0d5ff;\">{{linies.quantitat}}</td>
  953.                                     <td style=\"text-align:center; font-size:14px; padding: 5px 10px; border-right:solid 1px #a0d5ff; border-bottom:solid 1px #a0d5ff;\">
  954.                                         {{linies.abonamentsTipus~' '~linies.detall}}
  955.                                         {% set preuSuplement = 0 %}
  956.                                         {% for suplement in objComandesLiniesSuplement %}
  957.                                             {% if ( linies.id~'-'~suplement.id in aSuplements  ) %}
  958.                                                 <br>
  959.                                                 {{suplement.quantitat~' '~suplement.abonamentsTipus~' '~suplement.detall}}
  960.                                                 {% set preuSuplement = suplement.total %}
  961.                                             {% endif %}
  962.                                         {% endfor %}
  963.                                     </td>
  964.                                     <td style=\"text-align:center; font-size:14px; padding: 5px 10px; border-right:solid 1px #a0d5ff; border-bottom:solid 1px #a0d5ff;\">
  965.                                         {{ linies.xipIntroduitClient }}
  966.                                     </td>
  967.                                     {% if objComandes.getFormaPagament() == 'Mixt' 
  968.                                             and objComandes.getPagamentTargeta() == 0
  969.                                             and objComandes.getPagamentEfectiu() == 0%}
  970.                                     <td style=\"text-align:center; font-size:14px; padding: 5px 10px; text-align:right; border-bottom:solid 1px #a0d5ff;\">
  971.                                         {{linies.pagamentTargeta}}
  972.                                     </td>    
  973.                                     <td style=\"text-align:center; font-size:14px; padding: 5px 10px; text-align:right; border-bottom:solid 1px #a0d5ff;\">
  974.                                         {{linies.pagamentEfectiu}}
  975.                                     </td>
  976.                                     {% endif %}
  977.                                     <td style=\"text-align:center; font-size:14px; padding: 5px 10px; text-align:right; border-bottom:solid 1px #a0d5ff;\">
  978.                                         {{linies.total|number_format(2, '.', ',')}}€
  979.                                         {% if (preuSuplement>0) %}
  980.                                             <br>{{preuSuplement}}€
  981.                                         {% endif %}
  982.                                     </td>
  983.                                 </tr>
  984.                             {% endif %}
  985.                         {% endfor %}
  986.                         </tbody>
  987.                 </table>
  988.                 {% set head = 1 %}
  989.                 {% set guardaesquis = 0 %}
  990.                 {% for linies in  objComandesLinies %}
  991.                     {% if linies.abonaments.estacio == 'Extra' %}
  992.                         
  993.                         {% if head == 1 %}    
  994.                             <table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" summary=\"\" style=\"width:100%; border:solid 1px #a0d5ff; margin-bottom: 20px;\">
  995.                                 <thead>
  996.                                     <tr>
  997.                                         <th colspan=\"4\" style=\"text-align:left; font-size:17px; font-weight:bold; padding: 10px; background: #a0d5ff;\">Extres</th>
  998.                                         <th style=\"text-align:center; font-size:14px; padding: 10px; background: #a0d5ff;\">{{\"RGPD*\" | trans}}</th>
  999.                                         <th style=\"text-align:center; font-size:14px; padding: 10px; background: #a0d5ff;\">{{\"Preu\" | trans}}</th>
  1000.                                     </tr>
  1001.                                 </thead>
  1002.                                 {% set head = 0 %}
  1003.                             {% endif %}
  1004.                             
  1005.                             <tr>
  1006.                                 <td style=\"text-align:left; font-size:14px; padding: 5px 10px; border-right:solid 1px #a0d5ff; border-bottom:solid 1px #a0d5ff;\">{{linies.consumers.nom~' '~linies.consumers.cognom1~' '~linies.consumers.cognom2}}</td>
  1007.                                 <td style=\"text-align:left; font-size:14px; padding: 5px 10px; border-right:solid 1px #a0d5ff; border-bottom:solid 1px #a0d5ff;\"></td>
  1008.                                 <td style=\"text-align:left; font-size:14px; padding: 5px 10px; border-right:solid 1px #a0d5ff; border-bottom:solid 1px #a0d5ff;\">{{linies.quantitat}}</td>
  1009.                                 <td style=\"text-align:left; font-size:14px; padding: 5px 10px; border-right:solid 1px #a0d5ff; border-bottom:solid 1px #a0d5ff;\">
  1010.                                     {{linies.abonamentsTipus~' '~linies.detall}}
  1011.                                     {% if linies.abonaments.estacio == 'Extra'  and linies.abonaments.id == 64 %}
  1012.                                         {% set guardaesquis = 1 %}
  1013.                                         {% if linies.taquilla == '0' or linies.taquilla == ''%}
  1014.                                             {{' ' ~ 'taquilla sense assignar'}}
  1015.                                         {% else %}
  1016.                                             {{' ' ~ 'taquilla nº' ~ ' ' ~ linies.taquilla }}
  1017.                                         {% endif %}
  1018.                                     {% endif %}
  1019.                                     {% set preuSuplement = 0 %}
  1020.                                     {% for suplement in objComandesLiniesSuplement %}
  1021.                                         {% if ( linies.id~'-'~suplement.id in aSuplements  ) %}
  1022.                                             <br>
  1023.                                             {{suplement.quantitat~' '~suplement.abonamentsTipus~' '~suplement.detall}}
  1024.                                             {% set preuSuplement = suplement.total %}
  1025.                                         {% endif %}
  1026.                                     {% endfor %}
  1027.                                 </td>
  1028.                                 <td style=\"text-align:center; font-size:14px; padding: 5px 10px; border-right:solid 1px #a0d5ff; border-bottom:solid 1px #a0d5ff;\"><div style=\"border-radius: 50%; background: green; color: #fff; width: 20px; height: 20px; font-size: 20px;text-align:center; margin:0 auto;\" > &#10004;</div></td>
  1029.                                 <td style=\"text-align:right; font-size:14px; padding: 5px 10px; border-bottom:solid 1px #a0d5ff;\">
  1030.                                     {{linies.total|number_format(2, '.', ',')}}€
  1031.                                     {% if (preuSuplement>0) %}
  1032.                                         <br>{{preuSuplement}}€
  1033.                                     {% endif %}
  1034.                                 </td>
  1035.                             </tr>
  1036.                         {% endif %}
  1037.                     {% endfor %}
  1038.                 </table>
  1039.                 {% if (objComandes.factura == 1)%}
  1040.                     {% if (objComandes.getNomEmpresa() != '' or objComandes.getNifEmpresa() != '')%}
  1041.                         <table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" summary=\"\" style=\"width:100%; border:solid 2px #a0d5ff;\">
  1042.                             <tbody>
  1043.                                 <tr>
  1044.                                     <th colspan=\"4\" style=\"text-align:left; font-size:14px; font-weight:bold; padding: 10px; background: #a0d5ff;\">{{\"Factura\" | trans}}</th>
  1045.                                 </tr>
  1046.                                 <tr>
  1047.                                     <td style=\"font-size: 14px; width:50%; border-right:solid 1px #a0d5ff; border-bottom:solid 1px #a0d5ff; padding-top:10px;\">{{\"Nom empresa\" | trans}}:<br/>
  1048.                                         <strong>{{objComandes.getNomEmpresa()}}
  1049.                                     </td>
  1050.                                     <td style=\"font-size: 14px; width:50%; border-bottom:solid 1px #a0d5ff; padding-top:10px;\">{{\"Nif empresa\" | trans}}:<br/>
  1051.                                         <strong>{{objComandes.getNifEmpresa()}}</strong>
  1052.                                     </td>
  1053.                                 </tr>
  1054.                             {% endif %}
  1055.                             {% if (objComandes.getDireccioEmpresa() != '')%}
  1056.                                 <tr>
  1057.                                     <td  colspan=\"2\" style=\"font-size: 14px; border-bottom:solid 1px #a0d5ff; width:100%; padding-top:10px;\">{{\"Adreça empresa\" | trans}}:<br/>
  1058.                                         <strong>{{objComandes.getDireccioEmpresa()}}</strong>
  1059.                                     </td>
  1060.                                 </tr>
  1061.                             {% endif %}
  1062.                             {% if (objComandes.getCpEmpresa() != '' or objComandes.getPoblacioEmpresa() != '')%}
  1063.                                 <tr>
  1064.                                     <td style=\"font-size: 14px; border-right:solid 1px #a0d5ff; border-bottom:solid 1px #a0d5ff; width:50%; padding-top:10px;\">{{\"C.Postal\" | trans}}:<br/>
  1065.                                         <strong>{{objComandes.getCpEmpresa()}}</strong>
  1066.                                     </td>
  1067.                                     <td style=\"font-size: 14px; border-bottom:solid 1px #ccc; width:20%; padding-top:10px;\">{{\"Població\" | trans}}:<br/>
  1068.                                         <strong>{{objComandes.getPoblacioEmpresa()}}</strong>
  1069.                                     </td>
  1070.                                 </tr>
  1071.                             </tbody>
  1072.                         </table>
  1073.                     {% endif %}
  1074.                 {% endif %}
  1075.                 <div style=\"clear: both;\"></div>
  1076.                 <div style=\"text-align:right; font-size:17px; font-weight:bold; margin: 10px 10px 0 0;  height: 25px; float: right; min-width: 80px;\">{{(total_cistella+descompte)|number_format(2, '.', ',') }}€</div>
  1077.                 <div style=\"width: 260px; text-align:right; font-size:14px; margin: 15px 5px 0 0; float: right;\">{{\"TOTAL\" | trans}}:</div>
  1078.                 {% set totalComanda = total_cistella %}
  1079.                 {% if (objComandes.getDescompte() != '' 
  1080.                         and objComandes.getDescompte() > 0.00) 
  1081.                         or (descompte != '' and descompte > 0.00)%}
  1082.                     {% if (objComandes.getDescompte() != '' 
  1083.                         and objComandes.getDescompte() > 0.00) %}
  1084.                         {% set descompte = objComandes.getDescompte() %}
  1085.                         {% set totalComanda = total_cistella - descompte %}
  1086.                     {% endif %}
  1087.                     <div style=\"clear: both;\"></div>
  1088.                     <div style=\"text-align:right; font-size:17px; font-weight:bold; margin: 0px 10px 0 0;  height: 25px; float: right; min-width: 80px;\">{{descompte|number_format(2, '.', ',') }}€</div>
  1089.                     <div style=\"width: 260px; text-align:right; font-size:11px; margin: 0px 5px 0 0; float: right;\">{{\"Descompte\" | trans}}:</div>
  1090.                     <div style=\"clear: both;\"></div>
  1091.                     <div style=\"text-align:right; font-size:17px; font-weight:bold; margin: 0px 10px 0 0;  height: 25px; float: right; min-width: 80px;\">{{totalComanda|number_format(2, '.', ',') }}€</div>
  1092.                     <div style=\"width: 260px; text-align:right; font-size:14px; margin: 0px 5px 0 0; float: right;\">{{\"TOTAL amb descompte\" | trans}}:</div>
  1093.                 {% endif %}
  1094.                 <div style=\"clear: both;\"></div>
  1095.                 <div style=\"width: 200px; text-align:right; font-size:14px; margin: 0 10px 20px 0; float: right;\">{{\"(Preus amb IVA inclòs)\" | trans}}</div>
  1096.                 <div style=\"clear: both;\"></div>
  1097.                 {% if guardaesquis == 1 %}
  1098.                     <div style=\"width: 440px; font-size: 14px; margin:17px 0 0 0; float: left;\"><span style=\"font-weight:bold;\" >{{\"INFORMACIÓ GUARDAESQUÍS\" | trans}}:</span><br />
  1099.                         <span style=\"font-size: 9px;\">{{enGeneral.getRebutGuardaesquisCa()|raw}}</span>
  1100.                     </div>
  1101.                 {% endif %}
  1102.                 <!--<div style=\"width: 200px; padding-top: 110px; text-align: center; font-size:14px; margin: 0 0px 5px 0; float: right; border: solid 1px #666;\">{{\"Rebut no vàlid sense el segell\" | trans}}</div>-->
  1103.                 {% if objComandes.getFirmaCodi() != '' %}
  1104.                 <div style=\"width: 400px; text-align: center; font-size:14px; margin: 0 0px 5px 0; border: solid 1px #666;\"><img src=\"{{objComandes.getFirmaCodi()}}\" id=\"img_firma_codi\" name=\"img_firma_codi\" style=\"width: 150px;\">{# {\"Signatura per la revolució de fiança\" | trans} #}</div>
  1105.                 {% endif %}
  1106.                 {{\"Localitzador:\" | trans}} <strong>{{objComandes.getLocalitzador()}}</strong><br/>
  1107.                 <img src=\"{{ sImageCode }}\" />
  1108.                 <div style=\"clear: both;\"></div>
  1109.                 <table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" summary=\"\" style=\"width:100%;\">
  1110.                     <tbody>
  1111.                         <tr>
  1112.                             <td style=\"text-align:left;font-size: 14px;\">
  1113.                                 <span style=\"font-weight:bold;\" >{{\"IMPORTANT\" | trans}}:</span><br/>
  1114.                                 {{\"Aquest rebut servirà per retirar l’abonament/s i/o l’assegurança.\" | trans}}<br/>
  1115.                                 *RGPD: <a href=\"https://www.masella.com/ca/paginas/condicions-generals-abonaments-temporada\"> {{ \"He llegit i he acceptat la política de privacitat i les condicions dels Abonaments de Temporada\" | trans }}</a>
  1116.                                 +info. <a href=\"https://www.masella.com/ca/paginas/condicions-generals-abonaments-temporada\">https://www.masella.com/ca/paginas/condicions-generals-abonaments-temporada</a>
  1117.                             </td>
  1118.                             <td style=\"text-align:right;\">
  1119.                                 <img src=\"https://www.masella.com/images/qravislegal.png\" style=\"width:80px;\" alt=\"QR\">
  1120.                             </td>
  1121.                         </tr>
  1122.                     </tbody>
  1123.                 </table>
  1124.                 <div style=\"clear: both;\"></div>
  1125.                 <div style=\"text-align: center; font-size: 14px; margin:20px 0 0 0;\">
  1126.                     TELESQUÍS DE LA TOSSA DE ALP, DAS Y URÚS, S.A. – CIF A17012824<br/>
  1127.                     Av. Peu de Pista, s/n – 17538 MASELLA – ALP t. 972 144 000<br/>
  1128.                     masella@masella.com – www.masella.com
  1129.                 </div>
  1130.             </div>
  1131.         </div>
  1132.     </tbody>
  1133. </html>""pdfComanda.html.twig""/var/www/vhosts/masella.com/httpdocs/templates/pdfComanda.html.twig");
  1134.     }
  1135. }