var/cache/dev/twig/81/81bbfa6f712d11f0b95b103b5ec0ee6eea7df16f993a4d9121fba5d712a1f993.php line 41

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. /* MDS/GreenPatioBundle/reservations/invoice-new-invoice.html.twig */
  14. class __TwigTemplate_96592eba2f1293a9393c580c65a5adab709323d85625399348dfdd69327f372e 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->blocks = [
  23.             'pagetitleinterno' => [$this'block_pagetitleinterno'],
  24.             'breadcrumbs' => [$this'block_breadcrumbs'],
  25.             'contentProposal' => [$this'block_contentProposal'],
  26.             'javascripts' => [$this'block_javascripts'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "MDS/GreenPatioBundle/base-events.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""MDS/GreenPatioBundle/reservations/invoice-new-invoice.html.twig"));
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""MDS/GreenPatioBundle/reservations/invoice-new-invoice.html.twig"));
  41.         $this->parent $this->loadTemplate("MDS/GreenPatioBundle/base-events.html.twig""MDS/GreenPatioBundle/reservations/invoice-new-invoice.html.twig"1);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  45.         
  46.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  47.     }
  48.     // line 3
  49.     public function block_pagetitleinterno($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pagetitleinterno"));
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pagetitleinterno"));
  56.         // line 4
  57.         echo "        <div class=\"page-title\">
  58.             <h4><i class=\"icon-calendar3 position-left\"></i> <span class=\"text-semibold\">";
  59.         // line 5
  60.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Events", [], "messages");
  61.         echo "</span> - ";
  62.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Proposal", [], "messages");
  63.         echo "</h4>
  64.         </div>
  65.     ";
  66.         
  67.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  68.         
  69.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  70.     }
  71.     // line 9
  72.     public function block_breadcrumbs($context, array $blocks = [])
  73.     {
  74.         $macros $this->macros;
  75.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  76.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcrumbs"));
  77.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  78.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcrumbs"));
  79.         // line 10
  80.         echo "        <ul class=\"breadcrumb\">
  81.             <li><a href=\"/\"><i class=\"icon-home2 position-left\"></i>";
  82.         // line 11
  83.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Home", [], "messages");
  84.         echo "</a></li>
  85.             <li class=\"active\"><i class=\"icon-file-text2 position-left\"></i>";
  86.         // line 12
  87.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Deposit Invoice", [], "messages");
  88.         echo "</li>
  89.         </ul>
  90.     ";
  91.         
  92.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  93.         
  94.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  95.     }
  96.     // line 16
  97.     public function block_contentProposal($context, array $blocks = [])
  98.     {
  99.         $macros $this->macros;
  100.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  101.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""contentProposal"));
  102.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  103.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""contentProposal"));
  104.         // line 17
  105.         echo "        ";
  106.         $context['_parent'] = $context;
  107.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'17$this->source); })()), "session", [], "any"falsefalsefalse17), "flashbag", [], "any"falsefalsefalse17), "get", ["mensajeinvoicedepositservices"], "method"falsefalsefalse17));
  108.         foreach ($context['_seq'] as $context["_key"] => $context["flashMessage"]) {
  109.             // line 18
  110.             echo "            <div class=\"hidden alertFlashMensaje\" data-mensaje=\"";
  111.             echo twig_escape_filter($this->env$context["flashMessage"], "html"nulltrue);
  112.             echo "\"></div>
  113.         ";
  114.         }
  115.         $_parent $context['_parent'];
  116.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flashMessage'], $context['_parent'], $context['loop']);
  117.         $context array_intersect_key($context$_parent) + $_parent;
  118.         // line 20
  119.         echo "        ";
  120.         $context['_parent'] = $context;
  121.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'20$this->source); })()), "session", [], "any"falsefalsefalse20), "flashbag", [], "any"falsefalsefalse20), "get", ["mensajeinvoicedepositserviceserror"], "method"falsefalsefalse20));
  122.         foreach ($context['_seq'] as $context["_key"] => $context["flashMessage"]) {
  123.             // line 21
  124.             echo "            <div class=\"hidden alertFlashMensajeError\" data-mensajeerror=\"";
  125.             echo twig_escape_filter($this->env$context["flashMessage"], "html"nulltrue);
  126.             echo "\"></div>
  127.         ";
  128.         }
  129.         $_parent $context['_parent'];
  130.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flashMessage'], $context['_parent'], $context['loop']);
  131.         $context array_intersect_key($context$_parent) + $_parent;
  132.         // line 23
  133.         echo "
  134.         <div class=\"row proposals\" id=\"proposal-invoice-deposit\">
  135.             <div class=\"container\">
  136.                 <div class=\"row\">
  137.                     <div class=\"col-xs-12\">
  138.                         <div class=\"panel\">
  139.                             <div class=\"panel-heading bg-teal-300\">
  140.                                 <h5 class=\"panel-title\">
  141.                                     <a href=\"#\" class=\"btn btn-link btn-float has-text\" data-toggle=\"modal\" data-target=\"#modal_number_admin_invoiced\">
  142.                                         ";
  143.         // line 32
  144.         if ((=== twig_compare((isset($context["type"]) || array_key_exists("type"$context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.'32$this->source); })()), "Invoice Rec"))) {
  145.             // line 33
  146.             echo "                                            ";
  147.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((isset($context["type"]) || array_key_exists("type"$context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.'33$this->source); })())), "html"nulltrue);
  148.             echo " No.: R";
  149.             echo twig_escape_filter($this->env, (isset($context["number"]) || array_key_exists("number"$context) ? $context["number"] : (function () { throw new RuntimeError('Variable "number" does not exist.'33$this->source); })()), "html"nulltrue);
  150.             echo "
  151.                                         ";
  152.         } else {
  153.             // line 35
  154.             echo "                                            ";
  155.             if ((!== twig_compare((isset($context["number"]) || array_key_exists("number"$context) ? $context["number"] : (function () { throw new RuntimeError('Variable "number" does not exist.'35$this->source); })()), 275))) {
  156.                 // line 36
  157.                 echo "                                                ";
  158.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((isset($context["type"]) || array_key_exists("type"$context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.'36$this->source); })())), "html"nulltrue);
  159.                 echo " No.: ";
  160.                 echo twig_escape_filter($this->env, (isset($context["number"]) || array_key_exists("number"$context) ? $context["number"] : (function () { throw new RuntimeError('Variable "number" does not exist.'36$this->source); })()), "html"nulltrue);
  161.                 echo "
  162.                                             ";
  163.             } else {
  164.                 // line 38
  165.                 echo "                                                ";
  166.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((isset($context["type"]) || array_key_exists("type"$context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.'38$this->source); })())), "html"nulltrue);
  167.                 echo " No.: 273
  168.                                             ";
  169.             }
  170.             // line 40
  171.             echo "                                        ";
  172.         }
  173.         // line 41
  174.         echo "                                    </a>
  175.                                 </h5>
  176.                                 <div class=\"heading-elements\">
  177.                                     <ul class=\"icons-list\">
  178.                                         <li class=\"dropdown\">
  179.                                             ";
  180.         // line 46
  181.         if ((=== twig_compare((isset($context["type"]) || array_key_exists("type"$context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.'46$this->source); })()), "Proforma"))) {
  182.             // line 47
  183.             echo "                                                <a class=\"label label-transparent text-white padding-3\" href=\"#\" data-toggle=\"dropdown\" aria-expanded=\"true\">
  184.                                                     ";
  185.             // line 48
  186.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Proformas Disponibles", [], "messages");
  187.             echo " <i class=\"icon-menu9 position-right\"></i>
  188.                                                 </a>
  189.                                             ";
  190.         } else {
  191.             // line 51
  192.             echo "                                                <a class=\"label label-transparent text-white padding-3\" href=\"#\" data-toggle=\"dropdown\" aria-expanded=\"true\">
  193.                                                     ";
  194.             // line 52
  195.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Available Invoices", [], "messages");
  196.             echo " <i class=\"icon-menu9 position-right\"></i>
  197.                                                 </a>
  198.                                             ";
  199.         }
  200.         // line 55
  201.         echo "
  202.                                             <ul class=\"dropdown-menu dropdown-menu-right bg-teal-400\">
  203.                                                 ";
  204.         // line 57
  205.         if ((=== twig_compare((isset($context["type"]) || array_key_exists("type"$context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.'57$this->source); })()), "Proforma"))) {
  206.             // line 58
  207.             echo "                                                    ";
  208.             $context['_parent'] = $context;
  209.             $context['_seq'] = twig_ensure_traversable((isset($context["proformas"]) || array_key_exists("proformas"$context) ? $context["proformas"] : (function () { throw new RuntimeError('Variable "proformas" does not exist.'58$this->source); })()));
  210.             foreach ($context['_seq'] as $context["_key"] => $context["pro"]) {
  211.                 // line 59
  212.                 echo "                                                        <li><a href=\"/reservations-greenpatio/reservations/invoice/viewnewprof/";
  213.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["pro"], "id", [], "any"falsefalsefalse59), "html"nulltrue);
  214.                 echo "\"><i class=\"icon-file-eye2 pull-right\"></i>";
  215.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Proforma", [], "messages");
  216.                 echo ": ";
  217.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["pro"], "prefix", [], "any"falsefalsefalse59), "html"nulltrue);
  218.                 echo "-";
  219.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["pro"], "id", [], "any"falsefalsefalse59), "html"nulltrue);
  220.                 echo "</a></li>
  221.                                                     ";
  222.             }
  223.             $_parent $context['_parent'];
  224.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['pro'], $context['_parent'], $context['loop']);
  225.             $context array_intersect_key($context$_parent) + $_parent;
  226.             // line 61
  227.             echo "                                                ";
  228.         } else {
  229.             // line 62
  230.             echo "                                                    ";
  231.             $context['_parent'] = $context;
  232.             $context['_seq'] = twig_ensure_traversable((isset($context["invoice"]) || array_key_exists("invoice"$context) ? $context["invoice"] : (function () { throw new RuntimeError('Variable "invoice" does not exist.'62$this->source); })()));
  233.             foreach ($context['_seq'] as $context["_key"] => $context["inv"]) {
  234.                 // line 63
  235.                 echo "                                                        ";
  236.                 if ((=== twig_compare(twig_get_attribute($this->env$this->source$context["inv"], "type", [], "any"falsefalsefalse63), "Invoice"))) {
  237.                     // line 64
  238.                     echo "                                                            <li><a href=\"/reservations-greenpatio/reservations/invoice/viewnew/";
  239.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["inv"], "id", [], "any"falsefalsefalse64), "html"nulltrue);
  240.                     echo "\"><i class=\"icon-file-eye2 pull-right\"></i>";
  241.                     echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Invoice", [], "messages");
  242.                     echo ": ";
  243.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["inv"], "number", [], "any"falsefalsefalse64), "html"nulltrue);
  244.                     echo "</a></li>
  245.                                                         ";
  246.                 } else {
  247.                     // line 66
  248.                     echo "                                                            <li><a href=\"/reservations-greenpatio/reservations/invoice/viewrec/";
  249.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["inv"], "id", [], "any"falsefalsefalse66), "html"nulltrue);
  250.                     echo "\"><i class=\"icon-file-check2 pull-right\"></i>";
  251.                     echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Corrective Invoice", [], "messages");
  252.                     echo ": ";
  253.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["inv"], "number", [], "any"falsefalsefalse66), "html"nulltrue);
  254.                     echo "</a></li>
  255.                                                         ";
  256.                 }
  257.                 // line 68
  258.                 echo "                                                    ";
  259.             }
  260.             $_parent $context['_parent'];
  261.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['inv'], $context['_parent'], $context['loop']);
  262.             $context array_intersect_key($context$_parent) + $_parent;
  263.             // line 69
  264.             echo "                                                ";
  265.         }
  266.         // line 70
  267.         echo "                                            </ul>
  268.                                         </li>
  269.                                     </ul>
  270.                                     <ul class=\"icons-list\" style=\"margin-top: 0px;\">
  271.                                         <li>
  272.                                             <a class=\"btn bg-brown-600 btn-block\" href=\"/reservations-greenpatio/selinvoice/";
  273.         // line 75
  274.         echo twig_escape_filter($this->env, (isset($context["id"]) || array_key_exists("id"$context) ? $context["id"] : (function () { throw new RuntimeError('Variable "id" does not exist.'75$this->source); })()), "html"nulltrue);
  275.         echo "\">";
  276.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("CotizaciĂłn", [], "messages");
  277.         echo "</a>
  278.                                         </li>
  279.                                         <li>
  280.                                             <a class=\"btn bg-success-800 btn-block\" href=\"/reservations-greenpatio/editsimple/";
  281.         // line 79
  282.         echo twig_escape_filter($this->env, (isset($context["id"]) || array_key_exists("id"$context) ? $context["id"] : (function () { throw new RuntimeError('Variable "id" does not exist.'79$this->source); })()), "html"nulltrue);
  283.         echo "\">";
  284.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Volver a Reserva", [], "messages");
  285.         echo "</a>
  286.                                         </li>
  287.                                         ";
  288.         // line 82
  289.         if (( !(null === (isset($context["fid"]) || array_key_exists("fid"$context) ? $context["fid"] : (function () { throw new RuntimeError('Variable "fid" does not exist.'82$this->source); })())) && ((=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'82$this->source); })()), "session", [], "any"falsefalsefalse82), "get", ["_modules"], "method"falsefalsefalse82), "madmin", [], "any"falsefalsefalse82), 1)) || $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN")))) {
  290.             // line 83
  291.             echo "                                            ";
  292.             if ((isset($context["boolToRec"]) || array_key_exists("boolToRec"$context) ? $context["boolToRec"] : (function () { throw new RuntimeError('Variable "boolToRec" does not exist.'83$this->source); })())) {
  293.                 echo " ";
  294.                 // line 84
  295.                 echo "                                                <li>
  296.                                                     <a class=\"btn bg-danger-800 btn-block\" href=\"/reservations-greenpatio/invoicerec/";
  297.                 // line 85
  298.                 echo twig_escape_filter($this->env, (isset($context["fid"]) || array_key_exists("fid"$context) ? $context["fid"] : (function () { throw new RuntimeError('Variable "fid" does not exist.'85$this->source); })()), "html"nulltrue);
  299.                 echo "\">";
  300.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Rectificar Factura", [], "messages");
  301.                 echo "</a>
  302.                                                 </li>
  303.                                             ";
  304.             }
  305.             // line 88
  306.             echo "                                        ";
  307.         }
  308.         // line 89
  309.         echo "
  310.                                         <li>
  311.                                             ";
  312.         // line 91
  313.         if ((=== twig_compare((isset($context["type"]) || array_key_exists("type"$context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.'91$this->source); })()), "Proforma"))) {
  314.             // line 92
  315.             echo "                                                <a target=\"_blank\" class=\"btn bg-danger-300 btn-block\" href=\"/pdf/greenpatioinvprof/P/";
  316.             echo twig_escape_filter($this->env, (isset($context["fid"]) || array_key_exists("fid"$context) ? $context["fid"] : (function () { throw new RuntimeError('Variable "fid" does not exist.'92$this->source); })()), "html"nulltrue);
  317.             echo "\">";
  318.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Pdf Proforma", [], "messages");
  319.             echo "</a>
  320.                                             ";
  321.         } else {
  322.             // line 94
  323.             echo "                                                ";
  324.             if ((=== twig_compare((isset($context["type"]) || array_key_exists("type"$context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.'94$this->source); })()), "Invoice"))) {
  325.                 // line 95
  326.                 echo "                                                    <a target=\"_blank\" class=\"btn bg-danger-300 btn-block\" href=\"/pdf/greenpatioinvprof/I/";
  327.                 echo twig_escape_filter($this->env, (isset($context["fid"]) || array_key_exists("fid"$context) ? $context["fid"] : (function () { throw new RuntimeError('Variable "fid" does not exist.'95$this->source); })()), "html"nulltrue);
  328.                 echo "\">";
  329.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Pdf Invoice", [], "messages");
  330.                 echo "</a>
  331.                                                 ";
  332.             } else {
  333.                 // line 97
  334.                 echo "                                                    <a target=\"_blank\" class=\"btn bg-danger-300 btn-block\" href=\"/pdf/greenpatioinvprof/R/";
  335.                 echo twig_escape_filter($this->env, (isset($context["fid"]) || array_key_exists("fid"$context) ? $context["fid"] : (function () { throw new RuntimeError('Variable "fid" does not exist.'97$this->source); })()), "html"nulltrue);
  336.                 echo "\">";
  337.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Pdf Rectificativa", [], "messages");
  338.                 echo "</a>
  339.                                                 ";
  340.             }
  341.             // line 99
  342.             echo "                                            ";
  343.         }
  344.         // line 100
  345.         echo "                                        </li>
  346.                                         <li>
  347.                                             ";
  348.         // line 102
  349.         if ((=== twig_compare((isset($context["type"]) || array_key_exists("type"$context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.'102$this->source); })()), "Proforma"))) {
  350.             // line 103
  351.             echo "                                                <a target=\"_blank\" class=\"btn bg-orange-300 btn-block\" href=\"/reservations-greenpatio/reservations/invoice/invoice-proforma/print/P/";
  352.             echo twig_escape_filter($this->env, (isset($context["fid"]) || array_key_exists("fid"$context) ? $context["fid"] : (function () { throw new RuntimeError('Variable "fid" does not exist.'103$this->source); })()), "html"nulltrue);
  353.             echo "\">";
  354.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Print Proforma", [], "messages");
  355.             echo "</a>
  356.                                             ";
  357.         } else {
  358.             // line 105
  359.             echo "                                                ";
  360.             if ((=== twig_compare((isset($context["type"]) || array_key_exists("type"$context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.'105$this->source); })()), "Invoice Rec"))) {
  361.                 // line 106
  362.                 echo "                                                    <a target=\"_blank\" class=\"btn bg-orange-300 btn-block\" href=\"/reservations-greenpatio/reservations/invoice/invoice-proforma/print/R/";
  363.                 echo twig_escape_filter($this->env, (isset($context["fid"]) || array_key_exists("fid"$context) ? $context["fid"] : (function () { throw new RuntimeError('Variable "fid" does not exist.'106$this->source); })()), "html"nulltrue);
  364.                 echo "\">";
  365.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Print Invoice", [], "messages");
  366.                 echo "</a>
  367.                                                 ";
  368.             } else {
  369.                 // line 108
  370.                 echo "                                                    ";
  371.                 if ((=== twig_compare((isset($context["type"]) || array_key_exists("type"$context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.'108$this->source); })()), "Invoice"))) {
  372.                     // line 109
  373.                     echo "                                                        <a target=\"_blank\" class=\"btn bg-orange-300 btn-block\" href=\"/reservations-greenpatio/reservations/invoice/invoice-proforma/print/I/";
  374.                     echo twig_escape_filter($this->env, (isset($context["fid"]) || array_key_exists("fid"$context) ? $context["fid"] : (function () { throw new RuntimeError('Variable "fid" does not exist.'109$this->source); })()), "html"nulltrue);
  375.                     echo "\">";
  376.                     echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Print Invoice", [], "messages");
  377.                     echo "</a>
  378.                                                     ";
  379.                 }
  380.                 // line 111
  381.                 echo "                                                ";
  382.             }
  383.             // line 112
  384.             echo "                                            ";
  385.         }
  386.         // line 113
  387.         echo "                                        </li>
  388.                                         ";
  389.         // line 115
  390.         if ((((=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'115$this->source); })()), "session", [], "any"falsefalsefalse115), "get", ["_modules"], "method"falsefalsefalse115), "madmin", [], "any"falsefalsefalse115), 1)) || $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN")) || (=== twig_compare(twig_get_attribute($this->env$this->source, (isset($context["user"]) || array_key_exists("user"$context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.'115$this->source); })()), "id", [], "any"falsefalsefalse115), 82)))) {
  391.             echo "     ";
  392.             // line 116
  393.             echo "                                            ";
  394.             // line 117
  395.             echo "                                                ";
  396.             // line 118
  397.             echo "                                            ";
  398.             // line 119
  399.             echo "                                        ";
  400.         }
  401.         // line 120
  402.         echo "                                    </ul>
  403.                                 </div>
  404.                             </div>
  405.                         </div>
  406.                         <br>
  407.                         ";
  408.         // line 125
  409.         if (((twig_get_attribute($this->env$this->source, ($context["datasupplier"] ?? null), "lounge", [], "any"truetruefalse125) || twig_get_attribute($this->env$this->source, ($context["datasupplier"] ?? null), "service", [], "any"truetruefalse125)) || twig_get_attribute($this->env$this->source, ($context["datasupplier"] ?? null), "payment", [], "any"truetruefalse125))) {
  410.             // line 126
  411.             echo "                            <div class=\"panel\">
  412.                                 <div class=\"panel-body\">
  413.                                     <div class=\"col-xs-2\">
  414.                                         <img class=\"img-responsive center-block\" src=\"/";
  415.             // line 129
  416.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'129$this->source); })()), "picture", [], "any"falsefalsefalse129), "html"nulltrue);
  417.             echo "\" alt=\"\">
  418.                                     </div>
  419.                                     <div class=\"col-xs-4 margen-15\">
  420.                                         <div class=\"col-xs-12\"><b>";
  421.             // line 132
  422.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'132$this->source); })()), "company", [], "any"falsefalsefalse132), "html"nulltrue);
  423.             echo "</b></div>
  424.                                         <div class=\"col-xs-12\"><b>CIF.: ";
  425.             // line 133
  426.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'133$this->source); })()), "idDocument", [], "any"falsefalsefalse133), "html"nulltrue);
  427.             echo "</b></div>
  428.                                         <div class=\"col-xs-12\"><b>";
  429.             // line 134
  430.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Date", [], "messages");
  431.             echo ": ";
  432.             echo twig_escape_filter($this->envtwig_date_format_filter($this->env, (isset($context["date"]) || array_key_exists("date"$context) ? $context["date"] : (function () { throw new RuntimeError('Variable "date" does not exist.'134$this->source); })()), "d/m/Y"), "html"nulltrue);
  433.             echo "</b></div>
  434.                                         <div class=\"col-xs-12\"><b>
  435.                                             ";
  436.             // line 136
  437.             if ((=== twig_compare((isset($context["type"]) || array_key_exists("type"$context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.'136$this->source); })()), "Invoice"))) {
  438.                 // line 137
  439.                 echo "                                                ";
  440.                 // line 138
  441.                 echo "                                                ";
  442.                 // line 139
  443.                 echo "                                                ";
  444.                 if ((!== twig_compare((isset($context["number"]) || array_key_exists("number"$context) ? $context["number"] : (function () { throw new RuntimeError('Variable "number" does not exist.'139$this->source); })()), 275))) {
  445.                     // line 140
  446.                     echo "                                                    ";
  447.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((isset($context["type"]) || array_key_exists("type"$context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.'140$this->source); })())), "html"nulltrue);
  448.                     echo " No.: ";
  449.                     echo twig_escape_filter($this->env, (isset($context["number"]) || array_key_exists("number"$context) ? $context["number"] : (function () { throw new RuntimeError('Variable "number" does not exist.'140$this->source); })()), "html"nulltrue);
  450.                     echo "
  451.                                                 ";
  452.                 } else {
  453.                     // line 142
  454.                     echo "                                                    ";
  455.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((isset($context["type"]) || array_key_exists("type"$context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.'142$this->source); })())), "html"nulltrue);
  456.                     echo " No.: 273
  457.                                                 ";
  458.                 }
  459.                 // line 144
  460.                 echo "                                            ";
  461.             } else {
  462.                 // line 145
  463.                 echo "                                                ";
  464.                 if ((=== twig_compare((isset($context["type"]) || array_key_exists("type"$context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.'145$this->source); })()), "Invoice Rec"))) {
  465.                     // line 146
  466.                     echo "                                                    ";
  467.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((isset($context["type"]) || array_key_exists("type"$context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.'146$this->source); })())), "html"nulltrue);
  468.                     echo ", No.: R";
  469.                     echo twig_escape_filter($this->env, (isset($context["number"]) || array_key_exists("number"$context) ? $context["number"] : (function () { throw new RuntimeError('Variable "number" does not exist.'146$this->source); })()), "html"nulltrue);
  470.                     echo "
  471.                                                     <br>
  472.                                                     <a>";
  473.                     // line 148
  474.                     echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("This invoice rectifies the invoice", [], "messages");
  475.                     echo " No.: ";
  476.                     echo twig_escape_filter($this->env, (isset($context["invoiceIdToRec"]) || array_key_exists("invoiceIdToRec"$context) ? $context["invoiceIdToRec"] : (function () { throw new RuntimeError('Variable "invoiceIdToRec" does not exist.'148$this->source); })()), "html"nulltrue);
  477.                     echo "</a>
  478.                                                 ";
  479.                 } else {
  480.                     // line 150
  481.                     echo "                                                    ";
  482.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((isset($context["type"]) || array_key_exists("type"$context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.'150$this->source); })())), "html"nulltrue);
  483.                     echo " No.: ";
  484.                     echo twig_escape_filter($this->env, (isset($context["number"]) || array_key_exists("number"$context) ? $context["number"] : (function () { throw new RuntimeError('Variable "number" does not exist.'150$this->source); })()), "html"nulltrue);
  485.                     echo "
  486.                                                 ";
  487.                 }
  488.                 // line 152
  489.                 echo "                                            ";
  490.             }
  491.             // line 153
  492.             echo "                                            </b>
  493.                                         </div>
  494.                                     </div>
  495.                                     <div class=\"col-xs-6 margen-10 border-esp redondo padding-3\">
  496.                                         ";
  497.             // line 158
  498.             echo "                                            ";
  499.             // line 159
  500.             echo "                                            ";
  501.             // line 160
  502.             echo "                                            ";
  503.             // line 161
  504.             echo "                                        ";
  505.             // line 162
  506.             echo "
  507.                                         <div class=\"col-xs-12\"><b>";
  508.             // line 163
  509.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Client", [], "messages");
  510.             echo ": ";
  511.             echo twig_escape_filter($this->env, (isset($context["clientName"]) || array_key_exists("clientName"$context) ? $context["clientName"] : (function () { throw new RuntimeError('Variable "clientName" does not exist.'163$this->source); })()), "html"nulltrue);
  512.             echo "</b></div>
  513.                                         <div class=\"col-xs-12\"><b>";
  514.             // line 164
  515.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Address", [], "messages");
  516.             echo ":  ";
  517.             echo twig_escape_filter($this->env, (isset($context["clientAddress"]) || array_key_exists("clientAddress"$context) ? $context["clientAddress"] : (function () { throw new RuntimeError('Variable "clientAddress" does not exist.'164$this->source); })()), "html"nulltrue);
  518.             echo "</b></div>
  519.                                         <div class=\"col-xs-12\"><b>";
  520.             // line 165
  521.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Document", [], "messages");
  522.             echo ": ";
  523.             echo twig_escape_filter($this->env, (isset($context["clientDocument"]) || array_key_exists("clientDocument"$context) ? $context["clientDocument"] : (function () { throw new RuntimeError('Variable "clientDocument" does not exist.'165$this->source); })()), "html"nulltrue);
  524.             echo "</b></div>
  525.                                     </div>
  526.                                 </div>
  527.                             </div>
  528.                             ";
  529.             // line 170
  530.             if (twig_get_attribute($this->env$this->source, ($context["datasupplier"] ?? null), "lounge", [], "any"truetruefalse170)) {
  531.                 // line 171
  532.                 echo "                                <div class=\"panel\">
  533.                                     <div class=\"panel-heading\">
  534.                                         <div class=\"panel-title\">
  535.                                             <h5><b>";
  536.                 // line 174
  537.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Lounge", [], "messages");
  538.                 echo "</b></h5>
  539.                                         </div>
  540.                                     </div>
  541.                                     <div class=\"panel-body\">
  542.                                         <table class=\"table table-striped\">
  543.                                             <thead>
  544.                                             <tr>
  545.                                                 ";
  546.                 // line 182
  547.                 echo "                                                <th class=\"text-center\">";
  548.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Name", [], "messages");
  549.                 echo "</th>
  550.                                                 <th class=\"text-center\">";
  551.                 // line 183
  552.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Unit Price", [], "messages");
  553.                 echo "</th>
  554.                                                 <th class=\"text-center\">";
  555.                 // line 184
  556.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Units", [], "messages");
  557.                 echo "</th>
  558.                                                 ";
  559.                 // line 186
  560.                 echo "                                                <th class=\"text-center\">";
  561.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Date", [], "messages");
  562.                 echo "</th>
  563.                                                 <th class=\"text-center\">";
  564.                 // line 187
  565.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Price", [], "messages");
  566.                 echo "</th>
  567.                                                 <th class=\"text-center\">";
  568.                 // line 188
  569.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Vat", [], "messages");
  570.                 echo "</th>
  571.                                                 <th class=\"text-center\">";
  572.                 // line 189
  573.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Total", [], "messages");
  574.                 echo "</th>
  575.                                             </tr>
  576.                                             </thead>
  577.                                             <tbody>
  578.                                                 ";
  579.                 // line 193
  580.                 $context['_parent'] = $context;
  581.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["datasupplier"]) || array_key_exists("datasupplier"$context) ? $context["datasupplier"] : (function () { throw new RuntimeError('Variable "datasupplier" does not exist.'193$this->source); })()), "lounge", [], "any"falsefalsefalse193));
  582.                 foreach ($context['_seq'] as $context["_key"] => $context["itemslounge"]) {
  583.                     // line 194
  584.                     echo "                                                <tr>
  585.                                                     <td class=\"text-center\">";
  586.                     // line 195
  587.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["itemslounge"], "loungeName", [], "any"falsefalsefalse195), "html"nulltrue);
  588.                     echo "
  589.                                                         ";
  590.                     // line 196
  591.                     if ( !(null === twig_get_attribute($this->env$this->source$context["itemslounge"], "type", [], "any"falsefalsefalse196))) {
  592.                         // line 197
  593.                         echo "                                                            ( ";
  594.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["itemslounge"], "type", [], "any"falsefalsefalse197), "html"nulltrue);
  595.                         echo " )
  596.                                                         ";
  597.                     }
  598.                     // line 199
  599.                     echo "                                                    </td>
  600.                                                     <td class=\"text-center\">
  601.                                                         ";
  602.                     // line 202
  603.                     echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->source$context["itemslounge"], "servicePrice", [], "any"falsefalsefalse202), 2"."","), "html"nulltrue);
  604.                     echo " ";
  605.                     echo twig_escape_filter($this->env, (isset($context["currency"]) || array_key_exists("currency"$context) ? $context["currency"] : (function () { throw new RuntimeError('Variable "currency" does not exist.'202$this->source); })()), "html"nulltrue);
  606.                     echo "
  607.                                                     </td>
  608.                                                     <td class=\"text-center\">
  609.                                                         ";
  610.                     // line 206
  611.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["itemslounge"], "qty", [], "any"falsefalsefalse206), "html"nulltrue);
  612.                     echo "
  613.                                                     </td>
  614.                                                     <td class=\"text-center\">
  615.                                                         ";
  616.                     // line 210
  617.                     echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["itemslounge"], "dateStart", [], "any"falsefalsefalse210), "d/m/Y"), "html"nulltrue);
  618.                     echo " - ";
  619.                     echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["itemslounge"], "dateEnd", [], "any"falsefalsefalse210), "d/m/Y"), "html"nulltrue);
  620.                     echo "
  621.                                                     </td>
  622.                                                     <td class=\"text-center\">
  623.                                                         <label style=\"padding-top: 7px\" id=\"loungesPrice_";
  624.                     // line 214
  625.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["itemslounge"], "id", [], "any"falsefalsefalse214), "html"nulltrue);
  626.                     echo "\">";
  627.                     echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->source$context["itemslounge"], "servicePrice", [], "any"falsefalsefalse214), 2"."","), "html"nulltrue);
  628.                     echo "</label> ";
  629.                     echo twig_escape_filter($this->env, (isset($context["currency"]) || array_key_exists("currency"$context) ? $context["currency"] : (function () { throw new RuntimeError('Variable "currency" does not exist.'214$this->source); })()), "html"nulltrue);
  630.                     echo "
  631.                                                     </td>
  632.                                                     <td class=\"text-center\">
  633.                                                         <label style=\"padding-top: 7px\" id=\"loungesVat_";
  634.                     // line 218
  635.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["itemslounge"], "id", [], "any"falsefalsefalse218), "html"nulltrue);
  636.                     echo "\">";
  637.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["itemslounge"], "iva", [], "any"falsefalsefalse218), "html"nulltrue);
  638.                     echo "</label> %
  639.                                                     </td>
  640.                                                     <td class=\"text-center\">
  641.                                                         <label style=\"padding-top: 7px\" id=\"loungesSubtotal_";
  642.                     // line 222
  643.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["itemslounge"], "id", [], "any"falsefalsefalse222), "html"nulltrue);
  644.                     echo "\">";
  645.                     echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->source$context["itemslounge"], "subtotalLounge", [], "any"falsefalsefalse222), 2"."","), "html"nulltrue);
  646.                     echo "</label> ";
  647.                     echo twig_escape_filter($this->env, (isset($context["currency"]) || array_key_exists("currency"$context) ? $context["currency"] : (function () { throw new RuntimeError('Variable "currency" does not exist.'222$this->source); })()), "html"nulltrue);
  648.                     echo "
  649.                                                     </td>
  650.                                                 </tr>
  651.                                             ";
  652.                 }
  653.                 $_parent $context['_parent'];
  654.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['itemslounge'], $context['_parent'], $context['loop']);
  655.                 $context array_intersect_key($context$_parent) + $_parent;
  656.                 // line 226
  657.                 echo "                                            </tbody>
  658.                                         </table>
  659.                                     </div>
  660.                                     <div class=\"panel-footer\">
  661.                                         <div class=\"col-xs-12 text-center\">
  662.                                             ";
  663.                 // line 231
  664.                 if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["datasupplier"]) || array_key_exists("datasupplier"$context) ? $context["datasupplier"] : (function () { throw new RuntimeError('Variable "datasupplier" does not exist.'231$this->source); })()), "lounge", [], "any"falsefalsefalse231))) {
  665.                     // line 232
  666.                     echo "                                                <div class=\"col-xs-offset-7 col-xs-3\">
  667.                                                     <b class=\"text-success\">";
  668.                     // line 233
  669.                     echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Net Amount", [], "messages");
  670.                     echo "</b>
  671.                                                     <br>
  672.                                                     <b>
  673.                                                         <label id=\"netAmountLounge\"> <strong>";
  674.                     // line 236
  675.                     echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["datasupplier"]) || array_key_exists("datasupplier"$context) ? $context["datasupplier"] : (function () { throw new RuntimeError('Variable "datasupplier" does not exist.'236$this->source); })()), "loungeSubTotal", [], "any"falsefalsefalse236), "neto", [], "any"falsefalsefalse236), 2"."","), "html"nulltrue);
  676.                     echo "</strong></label>
  677.                                                         ";
  678.                     // line 237
  679.                     echo twig_escape_filter($this->env, (isset($context["currency"]) || array_key_exists("currency"$context) ? $context["currency"] : (function () { throw new RuntimeError('Variable "currency" does not exist.'237$this->source); })()), "html"nulltrue);
  680.                     echo "
  681.                                                     </b>
  682.                                                 </div>
  683.                                                 <div class=\"col-xs-2 col-xs-3\">
  684.                                                     <b class=\"text-success\">";
  685.                     // line 242
  686.                     echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Total", [], "messages");
  687.                     echo "</b>
  688.                                                     <br>
  689.                                                     <b>
  690.                                                         <label id=\"totalAmountLounge\"> <strong>";
  691.                     // line 245
  692.                     echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["datasupplier"]) || array_key_exists("datasupplier"$context) ? $context["datasupplier"] : (function () { throw new RuntimeError('Variable "datasupplier" does not exist.'245$this->source); })()), "loungeSubTotal", [], "any"falsefalsefalse245), "sumSubT", [], "any"falsefalsefalse245), 2"."","), "html"nulltrue);
  693.                     echo "</strong></label>
  694.                                                         ";
  695.                     // line 246
  696.                     echo twig_escape_filter($this->env, (isset($context["currency"]) || array_key_exists("currency"$context) ? $context["currency"] : (function () { throw new RuntimeError('Variable "currency" does not exist.'246$this->source); })()), "html"nulltrue);
  697.                     echo "
  698.                                                     </b>
  699.                                                 </div>
  700.                                             ";
  701.                 }
  702.                 // line 250
  703.                 echo "                                        </div>
  704.                                     </div>
  705.                                 </div>
  706.                             ";
  707.             }
  708.             // line 254
  709.             echo "
  710.                             ";
  711.             // line 255
  712.             if (twig_get_attribute($this->env$this->source, ($context["datasupplier"] ?? null), "service", [], "any"truetruefalse255)) {
  713.                 // line 256
  714.                 echo "                                <div class=\"panel\">
  715.                                     <div class=\"panel-heading\">
  716.                                         <div class=\"panel-title\">
  717.                                             <h5><b>";
  718.                 // line 259
  719.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Services", [], "messages");
  720.                 echo "</b></h5>
  721.                                         </div>
  722.                                     </div>
  723.                                     <div class=\"panel-body\">
  724.                                         <table class=\"table table-striped\">
  725.                                             <thead>
  726.                                             <tr>
  727.                                                 <th class=\"text-center\">";
  728.                 // line 266
  729.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Name", [], "messages");
  730.                 echo "</th>
  731.                                                 <th class=\"text-center\">";
  732.                 // line 267
  733.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Type", [], "messages");
  734.                 echo "</th>
  735.                                                 <th class=\"text-center\">";
  736.                 // line 268
  737.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Unit Price", [], "messages");
  738.                 echo "</th>
  739.                                                 <th class=\"text-center\">";
  740.                 // line 269
  741.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Units", [], "messages");
  742.                 echo "</th>
  743.                                                 <th class=\"text-center\">";
  744.                 // line 270
  745.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Pax", [], "messages");
  746.                 echo "</th>
  747.                                                 <th class=\"text-center\">";
  748.                 // line 271
  749.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Date", [], "messages");
  750.                 echo "</th>
  751.                                                 <th class=\"text-center\">";
  752.                 // line 272
  753.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Price", [], "messages");
  754.                 echo "</th>
  755.                                                 <th class=\"text-center\">";
  756.                 // line 273
  757.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Vat", [], "messages");
  758.                 echo "</th>
  759.                                                 <th class=\"text-center\">";
  760.                 // line 274
  761.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Total", [], "messages");
  762.                 echo "</th>
  763.                                             </tr>
  764.                                             </thead>
  765.                                             <tbody>
  766.                                             ";
  767.                 // line 278
  768.                 $context['_parent'] = $context;
  769.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["datasupplier"]) || array_key_exists("datasupplier"$context) ? $context["datasupplier"] : (function () { throw new RuntimeError('Variable "datasupplier" does not exist.'278$this->source); })()), "service", [], "any"falsefalsefalse278));
  770.                 foreach ($context['_seq'] as $context["_key"] => $context["itemsservice"]) {
  771.                     // line 279
  772.                     echo "                                                <tr>
  773.                                                     <td class=\"text-center\">";
  774.                     // line 280
  775.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["itemsservice"], "serviceName", [], "any"falsefalsefalse280), "html"nulltrue);
  776.                     echo "</td>
  777.                                                     <td class=\"text-center\">";
  778.                     // line 282
  779.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["itemsservice"], "serviceType", [], "any"falsefalsefalse282), "html"nulltrue);
  780.                     echo "</td>
  781.                                                     <td class=\"text-center\">";
  782.                     // line 284
  783.                     echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->source$context["itemsservice"], "precioUnit", [], "any"falsefalsefalse284), 2"."","), "html"nulltrue);
  784.                     echo " ";
  785.                     echo twig_escape_filter($this->env, (isset($context["currency"]) || array_key_exists("currency"$context) ? $context["currency"] : (function () { throw new RuntimeError('Variable "currency" does not exist.'284$this->source); })()), "html"nulltrue);
  786.                     echo "</td>
  787.                                                     <td class=\"text-center\">";
  788.                     // line 286
  789.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["itemsservice"], "qty", [], "any"falsefalsefalse286), "html"nulltrue);
  790.                     echo "</td>
  791.                                                     <td class=\"text-center\">";
  792.                     // line 288
  793.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["itemsservice"], "pax", [], "any"falsefalsefalse288), "html"nulltrue);
  794.                     echo "</td>
  795.                                                     <td class=\"text-center\">";
  796.                     // line 290
  797.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["itemsservice"], "date", [], "any"falsefalsefalse290), "html"nulltrue);
  798.                     echo "</td>
  799.                                                     <td class=\"text-center\">
  800.                                                         <label style=\"padding-top: 7px\" id=\"servicePrice_";
  801.                     // line 293
  802.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["itemsservice"], "id", [], "any"falsefalsefalse293), "html"nulltrue);
  803.                     echo "\">";
  804.                     echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->source$context["itemsservice"], "subneto", [], "any"falsefalsefalse293), 2"."","), "html"nulltrue);
  805.                     echo "</label> ";
  806.                     echo twig_escape_filter($this->env, (isset($context["currency"]) || array_key_exists("currency"$context) ? $context["currency"] : (function () { throw new RuntimeError('Variable "currency" does not exist.'293$this->source); })()), "html"nulltrue);
  807.                     echo "
  808.                                                     </td>
  809.                                                     <td class=\"text-center\">
  810.                                                         <label style=\"padding-top: 7px\" id=\"serviceVat_";
  811.                     // line 297
  812.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["itemsservice"], "id", [], "any"falsefalsefalse297), "html"nulltrue);
  813.                     echo "\">";
  814.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["itemsservice"], "iva", [], "any"falsefalsefalse297), "html"nulltrue);
  815.                     echo "</label>%
  816.                                                     </td>
  817.                                                     <td class=\"text-center\">
  818.                                                         <label style=\"padding-top: 7px\" id=\"serviceSubtotal_";
  819.                     // line 301
  820.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["itemsservice"], "id", [], "any"falsefalsefalse301), "html"nulltrue);
  821.                     echo "\">";
  822.                     echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->source$context["itemsservice"], "subtotal", [], "any"falsefalsefalse301), 2"."","), "html"nulltrue);
  823.                     echo "</label> ";
  824.                     echo twig_escape_filter($this->env, (isset($context["currency"]) || array_key_exists("currency"$context) ? $context["currency"] : (function () { throw new RuntimeError('Variable "currency" does not exist.'301$this->source); })()), "html"nulltrue);
  825.                     echo "
  826.                                                     </td>
  827.                                                 </tr>
  828.                                             ";
  829.                 }
  830.                 $_parent $context['_parent'];
  831.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['itemsservice'], $context['_parent'], $context['loop']);
  832.                 $context array_intersect_key($context$_parent) + $_parent;
  833.                 // line 305
  834.                 echo "                                            </tbody>
  835.                                         </table>
  836.                                     </div>
  837.                                     <div class=\"panel-footer\">
  838.                                         <div class=\"col-xs-12 text-center\">
  839.                                             ";
  840.                 // line 310
  841.                 if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["datasupplier"]) || array_key_exists("datasupplier"$context) ? $context["datasupplier"] : (function () { throw new RuntimeError('Variable "datasupplier" does not exist.'310$this->source); })()), "service", [], "any"falsefalsefalse310))) {
  842.                     // line 311
  843.                     echo "                                                <div class=\"col-xs-offset-7 col-xs-3\">
  844.                                                     <b class=\"text-success\">";
  845.                     // line 312
  846.                     echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Net Amount", [], "messages");
  847.                     echo "</b>
  848.                                                     <br>
  849.                                                     <b>
  850.                                                         <label id=\"netAmountService\"> <strong>";
  851.                     // line 315
  852.                     echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["datasupplier"]) || array_key_exists("datasupplier"$context) ? $context["datasupplier"] : (function () { throw new RuntimeError('Variable "datasupplier" does not exist.'315$this->source); })()), "serviceSubTotal", [], "any"falsefalsefalse315), "neto", [], "any"falsefalsefalse315), 2"."","), "html"nulltrue);
  853.                     echo "</strong></label>
  854.                                                         ";
  855.                     // line 316
  856.                     echo twig_escape_filter($this->env, (isset($context["currency"]) || array_key_exists("currency"$context) ? $context["currency"] : (function () { throw new RuntimeError('Variable "currency" does not exist.'316$this->source); })()), "html"nulltrue);
  857.                     echo "
  858.                                                     </b>
  859.                                                 </div>
  860.                                                 <div class=\"col-xs-2\">
  861.                                                     <b class=\"text-success\">";
  862.                     // line 320
  863.                     echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Total", [], "messages");
  864.                     echo "</b>
  865.                                                     <br>
  866.                                                     <b>
  867.                                                         <label id=\"totalAmountService\"> <strong>";
  868.                     // line 323
  869.                     echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["datasupplier"]) || array_key_exists("datasupplier"$context) ? $context["datasupplier"] : (function () { throw new RuntimeError('Variable "datasupplier" does not exist.'323$this->source); })()), "serviceSubTotal", [], "any"falsefalsefalse323), "sumSubT", [], "any"falsefalsefalse323), 2"."","), "html"nulltrue);
  870.                     echo "</strong></label>
  871.                                                         ";
  872.                     // line 324
  873.                     echo twig_escape_filter($this->env, (isset($context["currency"]) || array_key_exists("currency"$context) ? $context["currency"] : (function () { throw new RuntimeError('Variable "currency" does not exist.'324$this->source); })()), "html"nulltrue);
  874.                     echo "
  875.                                                     </b>
  876.                                                 </div>
  877.                                             ";
  878.                 }
  879.                 // line 328
  880.                 echo "                                        </div>
  881.                                     </div>
  882.                                 </div>
  883.                             ";
  884.             }
  885.             // line 332
  886.             echo "
  887.                             ";
  888.             // line 333
  889.             if (twig_get_attribute($this->env$this->source, ($context["datasupplier"] ?? null), "payment", [], "any"truetruefalse333)) {
  890.                 // line 334
  891.                 echo "                                <div class=\"panel\">
  892.                                     <div class=\"panel-body\">
  893.                                         <div class=\"panel-title\">
  894.                                             <h5><b>";
  895.                 // line 337
  896.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Payments of Invoice", [], "messages");
  897.                 echo "</b></h5>
  898.                                         </div>
  899.                                         <table class=\"table table-striped\">
  900.                                             <thead>
  901.                                             <tr>
  902.                                                 <th class=\"text-center\">";
  903.                 // line 342
  904.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Way to pay", [], "messages");
  905.                 echo "</th>
  906.                                                 <th class=\"text-center\">";
  907.                 // line 343
  908.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Date payment", [], "messages");
  909.                 echo "</th>
  910.                                                 <th class=\"text-center\">";
  911.                 // line 344
  912.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Net", [], "messages");
  913.                 echo "</th>
  914.                                                 <th class=\"text-center\">";
  915.                 // line 345
  916.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Vat", [], "messages");
  917.                 echo "</th>
  918.                                                 <th class=\"text-center\">";
  919.                 // line 346
  920.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Total", [], "messages");
  921.                 echo "</th>
  922.                                             </tr>
  923.                                             </thead>
  924.                                             <tbody>
  925.                                                 ";
  926.                 // line 350
  927.                 $context['_parent'] = $context;
  928.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["datasupplier"]) || array_key_exists("datasupplier"$context) ? $context["datasupplier"] : (function () { throw new RuntimeError('Variable "datasupplier" does not exist.'350$this->source); })()), "payment", [], "any"falsefalsefalse350));
  929.                 foreach ($context['_seq'] as $context["_key"] => $context["itemsPayment"]) {
  930.                     // line 351
  931.                     echo "                                                    <tr>
  932.                                                         <td class=\"text-center\">";
  933.                     // line 352
  934.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["itemsPayment"], "wayToPay", [], "any"falsefalsefalse352), "html"nulltrue);
  935.                     echo "</td>
  936.                                                         <td class=\"text-center\">";
  937.                     // line 353
  938.                     echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["itemsPayment"], "datePayAt", [], "any"falsefalsefalse353), "d/m/Y"), "html"nulltrue);
  939.                     echo "</td>
  940.                                                         <td class=\"text-center\">
  941.                                                             <label style=\"padding-top: 7px\" id=\"netAmountPayment_";
  942.                     // line 355
  943.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["itemsPayment"], "id", [], "any"falsefalsefalse355), "html"nulltrue);
  944.                     echo "\">";
  945.                     echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->source$context["itemsPayment"], "amount", [], "any"falsefalsefalse355), 2"."","), "html"nulltrue);
  946.                     echo "</label> ";
  947.                     echo twig_escape_filter($this->env, (isset($context["currency"]) || array_key_exists("currency"$context) ? $context["currency"] : (function () { throw new RuntimeError('Variable "currency" does not exist.'355$this->source); })()), "html"nulltrue);
  948.                     echo "
  949.                                                         </td>
  950.                                                         <td class=\"text-center\">";
  951.                     // line 357
  952.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["itemsPayment"], "vat", [], "any"falsefalsefalse357), "html"nulltrue);
  953.                     echo "</td>
  954.                                                         <td class=\"text-center\">";
  955.                     // line 358
  956.                     echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->source$context["itemsPayment"], "amountTotal", [], "any"falsefalsefalse358), 2"."","), "html"nulltrue);
  957.                     echo "</td>
  958.                                                     </tr>
  959.                                                 ";
  960.                 }
  961.                 $_parent $context['_parent'];
  962.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['itemsPayment'], $context['_parent'], $context['loop']);
  963.                 $context array_intersect_key($context$_parent) + $_parent;
  964.                 // line 361
  965.                 echo "                                            </tbody>
  966.                                         </table>
  967.                                     </div>
  968.                                     <div class=\"panel-footer\">
  969.                                         <div class=\"col-xs-12 text-center\">
  970.                                             ";
  971.                 // line 366
  972.                 if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["datasupplier"]) || array_key_exists("datasupplier"$context) ? $context["datasupplier"] : (function () { throw new RuntimeError('Variable "datasupplier" does not exist.'366$this->source); })()), "payment", [], "any"falsefalsefalse366))) {
  973.                     // line 367
  974.                     echo "                                                <div class=\"col-xs-9\"></div>
  975.                                                 <div class=\"col-xs-2\"><b class=\"text-success\">";
  976.                     // line 368
  977.                     echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Total", [], "messages");
  978.                     echo "</b><br>
  979.                                                     ";
  980.                     // line 369
  981.                     if ((=== twig_compare((isset($context["type"]) || array_key_exists("type"$context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.'369$this->source); })()), "Invoice Rec"))) {
  982.                         // line 370
  983.                         echo "                                                        <b>
  984.                                                             <label id=\"totalAmountPayment\"> <strong>";
  985.                         // line 371
  986.                         echo twig_escape_filter($this->envtwig_number_format_filter($this->envabs(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["datasupplier"]) || array_key_exists("datasupplier"$context) ? $context["datasupplier"] : (function () { throw new RuntimeError('Variable "datasupplier" does not exist.'371$this->source); })()), "paymentSubTotal", [], "any"falsefalsefalse371), "sumSubT", [], "any"falsefalsefalse371)), 2"."","), "html"nulltrue);
  987.                         echo "</strong></label>
  988.                                                             ";
  989.                         // line 372
  990.                         echo twig_escape_filter($this->env, (isset($context["currency"]) || array_key_exists("currency"$context) ? $context["currency"] : (function () { throw new RuntimeError('Variable "currency" does not exist.'372$this->source); })()), "html"nulltrue);
  991.                         echo "
  992.                                                         </b>
  993.                                                     ";
  994.                     } else {
  995.                         // line 375
  996.                         echo "                                                        <b>
  997.                                                             <label id=\"totalAmountPayment\"> <strong>";
  998.                         // line 376
  999.                         echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["datasupplier"]) || array_key_exists("datasupplier"$context) ? $context["datasupplier"] : (function () { throw new RuntimeError('Variable "datasupplier" does not exist.'376$this->source); })()), "paymentSubTotal", [], "any"falsefalsefalse376), "sumSubT", [], "any"falsefalsefalse376), 2"."","), "html"nulltrue);
  1000.                         echo "</strong></label>
  1001.                                                             ";
  1002.                         // line 377
  1003.                         echo twig_escape_filter($this->env, (isset($context["currency"]) || array_key_exists("currency"$context) ? $context["currency"] : (function () { throw new RuntimeError('Variable "currency" does not exist.'377$this->source); })()), "html"nulltrue);
  1004.                         echo "
  1005.                                                         </b>
  1006.                                                     ";
  1007.                     }
  1008.                     // line 380
  1009.                     echo "                                                </div>
  1010.                                             ";
  1011.                 }
  1012.                 // line 382
  1013.                 echo "                                        </div>
  1014.                                     </div>
  1015.                                 </div>
  1016.                             ";
  1017.             }
  1018.             // line 386
  1019.             echo "
  1020.                             <div class=\"panel\">
  1021.                                 <div class=\"panel-body\">
  1022.                                     <div class=\"col-xs-12 \">
  1023.                                         <div class=\"col-xs-12 \">
  1024.                                             <div class=\"col-xs-8 text-right\"><b class=\"text-success\">";
  1025.             // line 391
  1026.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Total Before Vat", [], "messages");
  1027.             echo ":</b></div>
  1028.                                             <div class=\"col-xs-4 text-right alert-info\"><b>";
  1029.             // line 392
  1030.             echo twig_escape_filter($this->envtwig_number_format_filter($this->env, (isset($context["totales_neto"]) || array_key_exists("totales_neto"$context) ? $context["totales_neto"] : (function () { throw new RuntimeError('Variable "totales_neto" does not exist.'392$this->source); })()), 2"."","), "html"nulltrue);
  1031.             echo twig_escape_filter($this->env, (isset($context["currency"]) || array_key_exists("currency"$context) ? $context["currency"] : (function () { throw new RuntimeError('Variable "currency" does not exist.'392$this->source); })()), "html"nulltrue);
  1032.             echo "</b></div>
  1033.                                         </div>
  1034.                                         <div class=\"col-xs-12\">
  1035.                                             <hr>
  1036.                                         </div>
  1037.                                         <div class=\"col-xs-12\">
  1038.                                             <div class=\"col-xs-10 text-right\"><b class=\"text-success\">";
  1039.             // line 398
  1040.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Vat", [], "messages");
  1041.             echo "%:</b></div>
  1042.                                             <div class=\"col-xs-2 text-right\"><b class=\"text-success\">";
  1043.             // line 399
  1044.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Vat", [], "messages");
  1045.             echo ":</b></div>
  1046.                                         </div>
  1047.                                         <div class=\"col-xs-12\">
  1048.                                             ";
  1049.             // line 402
  1050.             if (twig_get_attribute($this->env$this->source, ($context["bases_imponibles"] ?? null), "ivaMontoVeintiUno", [], "any"truetruefalse402)) {
  1051.                 // line 403
  1052.                 echo "                                                <div class=\"col-xs-10 text-right\"><b>21 % :</b></div>
  1053.                                                 <div class=\"col-xs-2 text-right\"><b>";
  1054.                 // line 404
  1055.                 echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["bases_imponibles"]) || array_key_exists("bases_imponibles"$context) ? $context["bases_imponibles"] : (function () { throw new RuntimeError('Variable "bases_imponibles" does not exist.'404$this->source); })()), "ivaMontoVeintiUno", [], "any"falsefalsefalse404), 2"."","), "html"nulltrue);
  1056.                 echo twig_escape_filter($this->env, (isset($context["currency"]) || array_key_exists("currency"$context) ? $context["currency"] : (function () { throw new RuntimeError('Variable "currency" does not exist.'404$this->source); })()), "html"nulltrue);
  1057.                 echo "</b></div>
  1058.                                             ";
  1059.             }
  1060.             // line 406
  1061.             echo "
  1062.                                             ";
  1063.             // line 407
  1064.             if (twig_get_attribute($this->env$this->source, ($context["bases_imponibles"] ?? null), "ivaMontoDiez", [], "any"truetruefalse407)) {
  1065.                 // line 408
  1066.                 echo "                                                <div class=\"col-xs-10 text-right\"><b>10 % :</b></div>
  1067.                                                 <div class=\"col-xs-2 text-right\"><b>";
  1068.                 // line 409
  1069.                 echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["bases_imponibles"]) || array_key_exists("bases_imponibles"$context) ? $context["bases_imponibles"] : (function () { throw new RuntimeError('Variable "bases_imponibles" does not exist.'409$this->source); })()), "ivaMontoDiez", [], "any"falsefalsefalse409), 2"."","), "html"nulltrue);
  1070.                 echo twig_escape_filter($this->env, (isset($context["currency"]) || array_key_exists("currency"$context) ? $context["currency"] : (function () { throw new RuntimeError('Variable "currency" does not exist.'409$this->source); })()), "html"nulltrue);
  1071.                 echo "</b></div>
  1072.                                             ";
  1073.             }
  1074.             // line 411
  1075.             echo "                                        </div>
  1076.                                         <div class=\"col-xs-12\">
  1077.                                             <hr>
  1078.                                         </div>
  1079.                                         <div class=\"col-xs-12\">
  1080.                                             <div class=\"col-xs-8 text-right\"><b class=\"text-success\">";
  1081.             // line 416
  1082.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Total", [], "messages");
  1083.             echo ":</b></div>
  1084.                                             <div class=\"col-xs-4 text-right alert-info\"><b>";
  1085.             // line 417
  1086.             echo twig_escape_filter($this->envtwig_number_format_filter($this->env, (isset($context["totales"]) || array_key_exists("totales"$context) ? $context["totales"] : (function () { throw new RuntimeError('Variable "totales" does not exist.'417$this->source); })()), 2"."","), "html"nulltrue);
  1087.             echo twig_escape_filter($this->env, (isset($context["currency"]) || array_key_exists("currency"$context) ? $context["currency"] : (function () { throw new RuntimeError('Variable "currency" does not exist.'417$this->source); })()), "html"nulltrue);
  1088.             echo "</b></div>
  1089.                                         </div>
  1090.                                         <div class=\"col-xs-12\">
  1091.                                             <hr>
  1092.                                         </div>
  1093.                                     </div>
  1094.                                 </div>
  1095.                             </div>
  1096.                             <div class=\"panel\">
  1097.                                 <div class=\"panel-body\">
  1098.                                     <div class=\"col-xs-12 text-center\">";
  1099.             // line 428
  1100.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'428$this->source); })()), "registry", [], "any"falsefalsefalse428), "html"nulltrue);
  1101.             echo "</div>
  1102.                                     <div class=\"col-xs-12 text-center\"><hr></div>
  1103.                                     <div class=\"col-xs-12 text-justify\">
  1104.                                         ";
  1105.             // line 432
  1106.             echo "                                            ";
  1107.             echo twig_get_attribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'432$this->source); })()), "note", [], "any"falsefalsefalse432);
  1108.             echo "
  1109.                                         ";
  1110.             // line 434
  1111.             echo "                                    </div>
  1112.                                     <div class=\"col-xs-12 text-center\"><hr></div>
  1113.                                     <div class=\"col-xs-12 text-center\"><b>";
  1114.             // line 436
  1115.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'436$this->source); })()), "address", [], "any"falsefalsefalse436), "html"nulltrue);
  1116.             echo " ";
  1117.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'436$this->source); })()), "zipCode", [], "any"falsefalsefalse436), "html"nulltrue);
  1118.             echo " | ";
  1119.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'436$this->source); })()), "telephone", [], "any"falsefalsefalse436), "html"nulltrue);
  1120.             echo " ";
  1121.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'436$this->source); })()), "email", [], "any"falsefalsefalse436), "html"nulltrue);
  1122.             echo "</b></div>
  1123.                                 </div>
  1124.                             </div>
  1125.                         ";
  1126.         } else {
  1127.             // line 440
  1128.             echo "                            <div class=\"text-center content-group\">
  1129.                                 <h1 class=\"error-title offline-title\">";
  1130.             // line 441
  1131.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((isset($context["type"]) || array_key_exists("type"$context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.'441$this->source); })())), "html"nulltrue);
  1132.             echo " is Empty</h1>
  1133.                                 <h5>";
  1134.             // line 442
  1135.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Sorry, there's nothing to invoice", [], "messages");
  1136.             echo "</h5>
  1137.                             </div>
  1138.                         ";
  1139.         }
  1140.         // line 445
  1141.         echo "                    </div>
  1142.                 </div>
  1143.             </div>
  1144.         </div>
  1145.         <!-- Modal Services -->
  1146.         <div id=\"modal_number_admin_invoiced\" class=\"modal fade\">
  1147.             <div class=\"modal-dialog modal-lg\">
  1148.                 <div class=\"modal-content\">
  1149.                     <div class=\"modal-header bg-teal\">
  1150.                         <button type=\"button\" class=\"close\" data-dismiss=\"modal\">&times;</button>
  1151.                         <h5 class=\"modal-title\">";
  1152.         // line 456
  1153.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Edit Number Invoice", [], "messages");
  1154.         echo "</h5>
  1155.                     </div>
  1156.                     <div id=\"modal-spinner\" class=\"modal-body\">
  1157.                         <form name=\"ProposalSupplierSearch\" method=\"post\" action=\"/reservations-greenpatio/reservations/invoicedeposit/number/updated/";
  1158.         // line 459
  1159.         echo twig_escape_filter($this->env, (isset($context["id"]) || array_key_exists("id"$context) ? $context["id"] : (function () { throw new RuntimeError('Variable "id" does not exist.'459$this->source); })()), "html"nulltrue);
  1160.         echo "/";
  1161.         echo twig_escape_filter($this->env, (isset($context["cid"]) || array_key_exists("cid"$context) ? $context["cid"] : (function () { throw new RuntimeError('Variable "cid" does not exist.'459$this->source); })()), "html"nulltrue);
  1162.         echo "\" class=\"form-horizontal\" autocomplete=\"off\">
  1163.                             <div class=\"col-md-8\">
  1164.                                 <div class=\"form-group form-group-material\">
  1165.                                     <input type=\"text\" id=\"invoice_number\" name=\"invoice[number]\" class=\"form-control input-sombra input-lg\" value=\"";
  1166.         // line 462
  1167.         echo twig_escape_filter($this->env, (isset($context["numberadmin"]) || array_key_exists("numberadmin"$context) ? $context["numberadmin"] : (function () { throw new RuntimeError('Variable "numberadmin" does not exist.'462$this->source); })()), "html"nulltrue);
  1168.         echo "\" placeholder=\"NÂș Invoice\">
  1169.                                 </div>
  1170.                             </div>
  1171.                             <div class=\"col-md-4\">
  1172.                                 <div class=\"form-group form-group-material\">
  1173.                                     <button type=\"submit\" id=\"invoice_number_sumit\" name=\"invoice[send]\" class=\"btn btn-info btn-block btn-lg\">";
  1174.         // line 467
  1175.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Save", [], "messages");
  1176.         echo "</button>
  1177.                                 </div>
  1178.                             </div>
  1179.                         </form>
  1180.                     </div>
  1181.                     <div class=\"modal-footer text-center\">
  1182.                     </div>
  1183.                 </div>
  1184.             </div>
  1185.         </div>
  1186.         <!-- /Modal Services -->
  1187.     ";
  1188.         
  1189.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1190.         
  1191.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1192.     }
  1193.     // line 480
  1194.     public function block_javascripts($context, array $blocks = [])
  1195.     {
  1196.         $macros $this->macros;
  1197.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1198.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  1199.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1200.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  1201.         // line 481
  1202.         echo "        ";
  1203.         $this->displayParentBlock("javascripts"$context$blocks);
  1204.         echo "
  1205.         <script type=\"text/javascript\" src=\"";
  1206.         // line 482
  1207.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/plugins/editors/summernote/summernote.min.js"), "html"nulltrue);
  1208.         echo "\"></script>
  1209.         <script type=\"text/javascript\" src=\"";
  1210.         // line 483
  1211.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/plugins/forms/styling/switchery.min.js"), "html"nulltrue);
  1212.         echo "\"></script>
  1213.         <script type=\"text/javascript\" src=\"";
  1214.         // line 484
  1215.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/pages/proposal/switchery-proposal.js"), "html"nulltrue);
  1216.         echo "\"></script>
  1217.         <script type=\"text/javascript\" src=\"";
  1218.         // line 485
  1219.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/plugins/forms/selects/select2.min.js"), "html"nulltrue);
  1220.         echo "\"></script>
  1221.         <script type=\"text/javascript\" src=\"";
  1222.         // line 486
  1223.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/pages/components_popups.js"), "html"nulltrue);
  1224.         echo "\"></script>
  1225.         <script type=\"text/javascript\" src=\"";
  1226.         // line 487
  1227.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/plugins/notifications/sweet_alert.min.js"), "html"nulltrue);
  1228.         echo "\"></script>
  1229.     ";
  1230.         
  1231.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1232.         
  1233.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1234.     }
  1235.     /**
  1236.      * @codeCoverageIgnore
  1237.      */
  1238.     public function getTemplateName()
  1239.     {
  1240.         return "MDS/GreenPatioBundle/reservations/invoice-new-invoice.html.twig";
  1241.     }
  1242.     /**
  1243.      * @codeCoverageIgnore
  1244.      */
  1245.     public function isTraitable()
  1246.     {
  1247.         return false;
  1248.     }
  1249.     /**
  1250.      * @codeCoverageIgnore
  1251.      */
  1252.     public function getDebugInfo()
  1253.     {
  1254.         return array (  1278 => 487,  1274 => 486,  1270 => 485,  1266 => 484,  1262 => 483,  1258 => 482,  1253 => 481,  1243 => 480,  1220 => 467,  1212 => 462,  1204 => 459,  1198 => 456,  1185 => 445,  1179 => 442,  1175 => 441,  1172 => 440,  1159 => 436,  1155 => 434,  1150 => 432,  1144 => 428,  1129 => 417,  1125 => 416,  1118 => 411,  1112 => 409,  1109 => 408,  1107 => 407,  1104 => 406,  1098 => 404,  1095 => 403,  1093 => 402,  1087 => 399,  1083 => 398,  1073 => 392,  1069 => 391,  1062 => 386,  1056 => 382,  1052 => 380,  1046 => 377,  1042 => 376,  1039 => 375,  1033 => 372,  1029 => 371,  1026 => 370,  1024 => 369,  1020 => 368,  1017 => 367,  1015 => 366,  1008 => 361,  999 => 358,  995 => 357,  986 => 355,  981 => 353,  977 => 352,  974 => 351,  970 => 350,  963 => 346,  959 => 345,  955 => 344,  951 => 343,  947 => 342,  939 => 337,  934 => 334,  932 => 333,  929 => 332,  923 => 328,  916 => 324,  912 => 323,  906 => 320,  899 => 316,  895 => 315,  889 => 312,  886 => 311,  884 => 310,  877 => 305,  863 => 301,  854 => 297,  843 => 293,  837 => 290,  832 => 288,  827 => 286,  820 => 284,  815 => 282,  810 => 280,  807 => 279,  803 => 278,  796 => 274,  792 => 273,  788 => 272,  784 => 271,  780 => 270,  776 => 269,  772 => 268,  768 => 267,  764 => 266,  754 => 259,  749 => 256,  747 => 255,  744 => 254,  738 => 250,  731 => 246,  727 => 245,  721 => 242,  713 => 237,  709 => 236,  703 => 233,  700 => 232,  698 => 231,  691 => 226,  677 => 222,  668 => 218,  657 => 214,  648 => 210,  641 => 206,  632 => 202,  627 => 199,  621 => 197,  619 => 196,  615 => 195,  612 => 194,  608 => 193,  601 => 189,  597 => 188,  593 => 187,  588 => 186,  584 => 184,  580 => 183,  575 => 182,  565 => 174,  560 => 171,  558 => 170,  548 => 165,  542 => 164,  536 => 163,  533 => 162,  531 => 161,  529 => 160,  527 => 159,  525 => 158,  519 => 153,  516 => 152,  508 => 150,  501 => 148,  493 => 146,  490 => 145,  487 => 144,  481 => 142,  473 => 140,  470 => 139,  468 => 138,  466 => 137,  464 => 136,  457 => 134,  453 => 133,  449 => 132,  443 => 129,  438 => 126,  436 => 125,  429 => 120,  426 => 119,  424 => 118,  422 => 117,  420 => 116,  417 => 115,  413 => 113,  410 => 112,  407 => 111,  399 => 109,  396 => 108,  388 => 106,  385 => 105,  377 => 103,  375 => 102,  371 => 100,  368 => 99,  360 => 97,  352 => 95,  349 => 94,  341 => 92,  339 => 91,  335 => 89,  332 => 88,  324 => 85,  321 => 84,  317 => 83,  315 => 82,  307 => 79,  298 => 75,  291 => 70,  288 => 69,  282 => 68,  272 => 66,  262 => 64,  259 => 63,  254 => 62,  251 => 61,  236 => 59,  231 => 58,  229 => 57,  225 => 55,  219 => 52,  216 => 51,  210 => 48,  207 => 47,  205 => 46,  198 => 41,  195 => 40,  189 => 38,  181 => 36,  178 => 35,  170 => 33,  168 => 32,  157 => 23,  148 => 21,  143 => 20,  134 => 18,  129 => 17,  119 => 16,  106 => 12,  102 => 11,  99 => 10,  89 => 9,  74 => 5,  71 => 4,  61 => 3,  38 => 1,);
  1255.     }
  1256.     public function getSourceContext()
  1257.     {
  1258.         return new Source("{% extends 'MDS/GreenPatioBundle/base-events.html.twig' %}
  1259.     {% block pagetitleinterno %}
  1260.         <div class=\"page-title\">
  1261.             <h4><i class=\"icon-calendar3 position-left\"></i> <span class=\"text-semibold\">{% trans %}Events{% endtrans %}</span> - {% trans %}Proposal{% endtrans %}</h4>
  1262.         </div>
  1263.     {% endblock %}
  1264.     {% block breadcrumbs %}
  1265.         <ul class=\"breadcrumb\">
  1266.             <li><a href=\"/\"><i class=\"icon-home2 position-left\"></i>{% trans %}Home{% endtrans %}</a></li>
  1267.             <li class=\"active\"><i class=\"icon-file-text2 position-left\"></i>{% trans %}Deposit Invoice{% endtrans %}</li>
  1268.         </ul>
  1269.     {% endblock %}
  1270. \t{% block contentProposal %}
  1271.         {% for flashMessage in app.session.flashbag.get('mensajeinvoicedepositservices') %}
  1272.             <div class=\"hidden alertFlashMensaje\" data-mensaje=\"{{ flashMessage }}\"></div>
  1273.         {% endfor %}
  1274.         {% for flashMessage in app.session.flashbag.get('mensajeinvoicedepositserviceserror') %}
  1275.             <div class=\"hidden alertFlashMensajeError\" data-mensajeerror=\"{{ flashMessage }}\"></div>
  1276.         {% endfor %}
  1277.         <div class=\"row proposals\" id=\"proposal-invoice-deposit\">
  1278.             <div class=\"container\">
  1279.                 <div class=\"row\">
  1280.                     <div class=\"col-xs-12\">
  1281.                         <div class=\"panel\">
  1282.                             <div class=\"panel-heading bg-teal-300\">
  1283.                                 <h5 class=\"panel-title\">
  1284.                                     <a href=\"#\" class=\"btn btn-link btn-float has-text\" data-toggle=\"modal\" data-target=\"#modal_number_admin_invoiced\">
  1285.                                         {% if type == 'Invoice Rec' %}
  1286.                                             {{ type|trans }} No.: R{{ number }}
  1287.                                         {% else %}
  1288.                                             {% if number != 275 %}
  1289.                                                 {{ type|trans }} No.: {{ number }}
  1290.                                             {% else %}
  1291.                                                 {{ type|trans }} No.: 273
  1292.                                             {% endif %}
  1293.                                         {% endif %}
  1294.                                     </a>
  1295.                                 </h5>
  1296.                                 <div class=\"heading-elements\">
  1297.                                     <ul class=\"icons-list\">
  1298.                                         <li class=\"dropdown\">
  1299.                                             {% if type == 'Proforma'%}
  1300.                                                 <a class=\"label label-transparent text-white padding-3\" href=\"#\" data-toggle=\"dropdown\" aria-expanded=\"true\">
  1301.                                                     {% trans %}Proformas Disponibles{% endtrans %} <i class=\"icon-menu9 position-right\"></i>
  1302.                                                 </a>
  1303.                                             {% else %}
  1304.                                                 <a class=\"label label-transparent text-white padding-3\" href=\"#\" data-toggle=\"dropdown\" aria-expanded=\"true\">
  1305.                                                     {% trans %}Available Invoices{% endtrans %} <i class=\"icon-menu9 position-right\"></i>
  1306.                                                 </a>
  1307.                                             {% endif %}
  1308.                                             <ul class=\"dropdown-menu dropdown-menu-right bg-teal-400\">
  1309.                                                 {% if type == 'Proforma'%}
  1310.                                                     {% for pro in proformas %}
  1311.                                                         <li><a href=\"/reservations-greenpatio/reservations/invoice/viewnewprof/{{ pro.id }}\"><i class=\"icon-file-eye2 pull-right\"></i>{% trans %}Proforma{% endtrans %}: {{ pro.prefix }}-{{ pro.id }}</a></li>
  1312.                                                     {% endfor %}
  1313.                                                 {% else %}
  1314.                                                     {% for inv in invoice %}
  1315.                                                         {% if inv.type == 'Invoice' %}
  1316.                                                             <li><a href=\"/reservations-greenpatio/reservations/invoice/viewnew/{{ inv.id }}\"><i class=\"icon-file-eye2 pull-right\"></i>{% trans %}Invoice{% endtrans %}: {{ inv.number }}</a></li>
  1317.                                                         {% else %}
  1318.                                                             <li><a href=\"/reservations-greenpatio/reservations/invoice/viewrec/{{ inv.id }}\"><i class=\"icon-file-check2 pull-right\"></i>{% trans %}Corrective Invoice{% endtrans %}: {{ inv.number }}</a></li>
  1319.                                                         {% endif %}
  1320.                                                     {% endfor %}
  1321.                                                 {% endif %}
  1322.                                             </ul>
  1323.                                         </li>
  1324.                                     </ul>
  1325.                                     <ul class=\"icons-list\" style=\"margin-top: 0px;\">
  1326.                                         <li>
  1327.                                             <a class=\"btn bg-brown-600 btn-block\" href=\"/reservations-greenpatio/selinvoice/{{ id }}\">{% trans %}CotizaciĂłn{% endtrans %}</a>
  1328.                                         </li>
  1329.                                         <li>
  1330.                                             <a class=\"btn bg-success-800 btn-block\" href=\"/reservations-greenpatio/editsimple/{{ id }}\">{% trans %}Volver a Reserva{% endtrans %}</a>
  1331.                                         </li>
  1332.                                         {% if fid is not null and (app.session.get('_modules').madmin == 1 or is_granted('ROLE_ADMIN')) %}
  1333.                                             {% if boolToRec %} {# Solo se puede hacer 1 factura rectificativa #}
  1334.                                                 <li>
  1335.                                                     <a class=\"btn bg-danger-800 btn-block\" href=\"/reservations-greenpatio/invoicerec/{{ fid }}\">{% trans %}Rectificar Factura{% endtrans %}</a>
  1336.                                                 </li>
  1337.                                             {% endif %}
  1338.                                         {% endif %}
  1339.                                         <li>
  1340.                                             {% if type == 'Proforma'%}
  1341.                                                 <a target=\"_blank\" class=\"btn bg-danger-300 btn-block\" href=\"/pdf/greenpatioinvprof/P/{{ fid }}\">{% trans %}Pdf Proforma{% endtrans %}</a>
  1342.                                             {% else %}
  1343.                                                 {% if type == 'Invoice'%}
  1344.                                                     <a target=\"_blank\" class=\"btn bg-danger-300 btn-block\" href=\"/pdf/greenpatioinvprof/I/{{ fid }}\">{% trans %}Pdf Invoice{% endtrans %}</a>
  1345.                                                 {% else %}
  1346.                                                     <a target=\"_blank\" class=\"btn bg-danger-300 btn-block\" href=\"/pdf/greenpatioinvprof/R/{{ fid }}\">{% trans %}Pdf Rectificativa{% endtrans %}</a>
  1347.                                                 {% endif %}
  1348.                                             {% endif %}
  1349.                                         </li>
  1350.                                         <li>
  1351.                                             {% if type == 'Proforma'%}
  1352.                                                 <a target=\"_blank\" class=\"btn bg-orange-300 btn-block\" href=\"/reservations-greenpatio/reservations/invoice/invoice-proforma/print/P/{{ fid }}\">{% trans %}Print Proforma{% endtrans %}</a>
  1353.                                             {% else %}
  1354.                                                 {% if type == 'Invoice Rec'%}
  1355.                                                     <a target=\"_blank\" class=\"btn bg-orange-300 btn-block\" href=\"/reservations-greenpatio/reservations/invoice/invoice-proforma/print/R/{{ fid }}\">{% trans %}Print Invoice{% endtrans %}</a>
  1356.                                                 {% else %}
  1357.                                                     {% if type == 'Invoice'%}
  1358.                                                         <a target=\"_blank\" class=\"btn bg-orange-300 btn-block\" href=\"/reservations-greenpatio/reservations/invoice/invoice-proforma/print/I/{{ fid }}\">{% trans %}Print Invoice{% endtrans %}</a>
  1359.                                                     {% endif %}
  1360.                                                 {% endif %}
  1361.                                             {% endif %}
  1362.                                         </li>
  1363.                                         {% if app.session.get('_modules').madmin == 1 or is_granted('ROLE_ADMIN') or user.id == 82 %}     {# ********************* MODIFICAR EL 82 POR EL GRUPO DE GREENPATIO ********************* #}
  1364.                                             {#<li>#}
  1365.                                                 {#<a class=\"btn bg-danger-800 btn-block\" href=\"/reservations-greenpatio/reservations/invoicedepositdelete/invoice/{{ id }}/{{ fid }}\">{% trans %}Delete Invoice{% endtrans %}</a>#}
  1366.                                             {#</li>#}
  1367.                                         {% endif %}
  1368.                                     </ul>
  1369.                                 </div>
  1370.                             </div>
  1371.                         </div>
  1372.                         <br>
  1373.                         {% if (datasupplier.lounge is defined) or (datasupplier.service is defined) or (datasupplier.payment is defined) %}
  1374.                             <div class=\"panel\">
  1375.                                 <div class=\"panel-body\">
  1376.                                     <div class=\"col-xs-2\">
  1377.                                         <img class=\"img-responsive center-block\" src=\"/{{ company.picture }}\" alt=\"\">
  1378.                                     </div>
  1379.                                     <div class=\"col-xs-4 margen-15\">
  1380.                                         <div class=\"col-xs-12\"><b>{{ company.company }}</b></div>
  1381.                                         <div class=\"col-xs-12\"><b>CIF.: {{ company.idDocument }}</b></div>
  1382.                                         <div class=\"col-xs-12\"><b>{% trans %}Date{% endtrans %}: {{ date|date(\"d/m/Y\") }}</b></div>
  1383.                                         <div class=\"col-xs-12\"><b>
  1384.                                             {% if type == 'Invoice' %}
  1385.                                                 {#{{ type|trans }} No.: {{ number }}#}
  1386.                                                 {#Por orden de Esteban Rincon se hace esta modificacion, debido a un error del agente Gabriela Bracho se necesitan 2 facturas con el #273#}
  1387.                                                 {% if number != 275 %}
  1388.                                                     {{ type|trans }} No.: {{ number }}
  1389.                                                 {% else %}
  1390.                                                     {{ type|trans }} No.: 273
  1391.                                                 {% endif %}
  1392.                                             {% else %}
  1393.                                                 {% if type == 'Invoice Rec' %}
  1394.                                                     {{ type|trans }}, No.: R{{ number }}
  1395.                                                     <br>
  1396.                                                     <a>{% trans %}This invoice rectifies the invoice{% endtrans %} No.: {{ invoiceIdToRec }}</a>
  1397.                                                 {% else %}
  1398.                                                     {{ type|trans }} No.: {{ number }}
  1399.                                                 {% endif %}
  1400.                                             {% endif %}
  1401.                                             </b>
  1402.                                         </div>
  1403.                                     </div>
  1404.                                     <div class=\"col-xs-6 margen-10 border-esp redondo padding-3\">
  1405.                                         {#{% for client in clients %}#}
  1406.                                             {#<div class=\"col-xs-12\"><b>{% trans %}Client{% endtrans %}: {{ client.name }}</b></div>#}
  1407.                                             {#<div class=\"col-xs-12\"><b>{% trans %}Address{% endtrans %}:  {{ client.address }}, {{ client.addressNumber }} {{ client.region.region }} {{ client.population.city }} - {{ client.zipCode }}, {{ client.country.country }}</b></div>#}
  1408.                                             {#<div class=\"col-xs-12\"><b>{% trans %}Document{% endtrans %}: {{ client.typeDocument }}: {{ client.idDocument }}</b></div>#}
  1409.                                         {#{% endfor %}#}
  1410.                                         <div class=\"col-xs-12\"><b>{% trans %}Client{% endtrans %}: {{ clientName }}</b></div>
  1411.                                         <div class=\"col-xs-12\"><b>{% trans %}Address{% endtrans %}:  {{ clientAddress }}</b></div>
  1412.                                         <div class=\"col-xs-12\"><b>{% trans %}Document{% endtrans %}: {{ clientDocument }}</b></div>
  1413.                                     </div>
  1414.                                 </div>
  1415.                             </div>
  1416.                             {% if datasupplier.lounge is defined %}
  1417.                                 <div class=\"panel\">
  1418.                                     <div class=\"panel-heading\">
  1419.                                         <div class=\"panel-title\">
  1420.                                             <h5><b>{% trans %}Lounge{% endtrans %}</b></h5>
  1421.                                         </div>
  1422.                                     </div>
  1423.                                     <div class=\"panel-body\">
  1424.                                         <table class=\"table table-striped\">
  1425.                                             <thead>
  1426.                                             <tr>
  1427.                                                 {#<th class=\"text-center\">{% trans %}Facturar{% endtrans %}</th>#}
  1428.                                                 <th class=\"text-center\">{% trans %}Name{% endtrans %}</th>
  1429.                                                 <th class=\"text-center\">{% trans %}Unit Price{% endtrans %}</th>
  1430.                                                 <th class=\"text-center\">{% trans %}Units{% endtrans %}</th>
  1431.                                                 {#<th class=\"text-center\">{% trans %}Pax{% endtrans %}</th>#}
  1432.                                                 <th class=\"text-center\">{% trans %}Date{% endtrans %}</th>
  1433.                                                 <th class=\"text-center\">{% trans %}Price{% endtrans %}</th>
  1434.                                                 <th class=\"text-center\">{% trans %}Vat{% endtrans %}</th>
  1435.                                                 <th class=\"text-center\">{% trans %}Total{% endtrans %}</th>
  1436.                                             </tr>
  1437.                                             </thead>
  1438.                                             <tbody>
  1439.                                                 {% for itemslounge in datasupplier.lounge %}
  1440.                                                 <tr>
  1441.                                                     <td class=\"text-center\">{{ itemslounge.loungeName }}
  1442.                                                         {% if itemslounge.type is not null %}
  1443.                                                             ( {{ itemslounge.type }} )
  1444.                                                         {% endif %}
  1445.                                                     </td>
  1446.                                                     <td class=\"text-center\">
  1447.                                                         {{ itemslounge.servicePrice|number_format(2, '.', ',')  }} {{ currency }}
  1448.                                                     </td>
  1449.                                                     <td class=\"text-center\">
  1450.                                                         {{ itemslounge.qty }}
  1451.                                                     </td>
  1452.                                                     <td class=\"text-center\">
  1453.                                                         {{ itemslounge.dateStart|date('d/m/Y') }} - {{  itemslounge.dateEnd|date('d/m/Y') }}
  1454.                                                     </td>
  1455.                                                     <td class=\"text-center\">
  1456.                                                         <label style=\"padding-top: 7px\" id=\"loungesPrice_{{ itemslounge.id }}\">{{ itemslounge.servicePrice|number_format(2, '.', ',') }}</label> {{ currency }}
  1457.                                                     </td>
  1458.                                                     <td class=\"text-center\">
  1459.                                                         <label style=\"padding-top: 7px\" id=\"loungesVat_{{ itemslounge.id }}\">{{ itemslounge.iva }}</label> %
  1460.                                                     </td>
  1461.                                                     <td class=\"text-center\">
  1462.                                                         <label style=\"padding-top: 7px\" id=\"loungesSubtotal_{{ itemslounge.id }}\">{{ itemslounge.subtotalLounge|number_format(2, '.', ',') }}</label> {{ currency }}
  1463.                                                     </td>
  1464.                                                 </tr>
  1465.                                             {% endfor %}
  1466.                                             </tbody>
  1467.                                         </table>
  1468.                                     </div>
  1469.                                     <div class=\"panel-footer\">
  1470.                                         <div class=\"col-xs-12 text-center\">
  1471.                                             {% if datasupplier.lounge is not empty %}
  1472.                                                 <div class=\"col-xs-offset-7 col-xs-3\">
  1473.                                                     <b class=\"text-success\">{% trans %}Net Amount{% endtrans %}</b>
  1474.                                                     <br>
  1475.                                                     <b>
  1476.                                                         <label id=\"netAmountLounge\"> <strong>{{ datasupplier.loungeSubTotal.neto|number_format(2, '.', ',') }}</strong></label>
  1477.                                                         {{ currency }}
  1478.                                                     </b>
  1479.                                                 </div>
  1480.                                                 <div class=\"col-xs-2 col-xs-3\">
  1481.                                                     <b class=\"text-success\">{% trans %}Total{% endtrans %}</b>
  1482.                                                     <br>
  1483.                                                     <b>
  1484.                                                         <label id=\"totalAmountLounge\"> <strong>{{ datasupplier.loungeSubTotal.sumSubT|number_format(2, '.', ',') }}</strong></label>
  1485.                                                         {{ currency }}
  1486.                                                     </b>
  1487.                                                 </div>
  1488.                                             {% endif %}
  1489.                                         </div>
  1490.                                     </div>
  1491.                                 </div>
  1492.                             {% endif %}
  1493.                             {% if datasupplier.service is defined %}
  1494.                                 <div class=\"panel\">
  1495.                                     <div class=\"panel-heading\">
  1496.                                         <div class=\"panel-title\">
  1497.                                             <h5><b>{% trans %}Services{% endtrans %}</b></h5>
  1498.                                         </div>
  1499.                                     </div>
  1500.                                     <div class=\"panel-body\">
  1501.                                         <table class=\"table table-striped\">
  1502.                                             <thead>
  1503.                                             <tr>
  1504.                                                 <th class=\"text-center\">{% trans %}Name{% endtrans %}</th>
  1505.                                                 <th class=\"text-center\">{% trans %}Type{% endtrans %}</th>
  1506.                                                 <th class=\"text-center\">{% trans %}Unit Price{% endtrans %}</th>
  1507.                                                 <th class=\"text-center\">{% trans %}Units{% endtrans %}</th>
  1508.                                                 <th class=\"text-center\">{% trans %}Pax{% endtrans %}</th>
  1509.                                                 <th class=\"text-center\">{% trans %}Date{% endtrans %}</th>
  1510.                                                 <th class=\"text-center\">{% trans %}Price{% endtrans %}</th>
  1511.                                                 <th class=\"text-center\">{% trans %}Vat{% endtrans %}</th>
  1512.                                                 <th class=\"text-center\">{% trans %}Total{% endtrans %}</th>
  1513.                                             </tr>
  1514.                                             </thead>
  1515.                                             <tbody>
  1516.                                             {% for itemsservice in datasupplier.service %}
  1517.                                                 <tr>
  1518.                                                     <td class=\"text-center\">{{ itemsservice.serviceName }}</td>
  1519.                                                     <td class=\"text-center\">{{ itemsservice.serviceType }}</td>
  1520.                                                     <td class=\"text-center\">{{ itemsservice.precioUnit|number_format(2, '.', ',')  }} {{ currency }}</td>
  1521.                                                     <td class=\"text-center\">{{ itemsservice.qty }}</td>
  1522.                                                     <td class=\"text-center\">{{ itemsservice.pax }}</td>
  1523.                                                     <td class=\"text-center\">{{ itemsservice.date }}</td>
  1524.                                                     <td class=\"text-center\">
  1525.                                                         <label style=\"padding-top: 7px\" id=\"servicePrice_{{ itemsservice.id }}\">{{ itemsservice.subneto|number_format(2, '.', ',') }}</label> {{ currency }}
  1526.                                                     </td>
  1527.                                                     <td class=\"text-center\">
  1528.                                                         <label style=\"padding-top: 7px\" id=\"serviceVat_{{ itemsservice.id }}\">{{ itemsservice.iva }}</label>%
  1529.                                                     </td>
  1530.                                                     <td class=\"text-center\">
  1531.                                                         <label style=\"padding-top: 7px\" id=\"serviceSubtotal_{{ itemsservice.id }}\">{{ itemsservice.subtotal|number_format(2, '.', ',') }}</label> {{ currency }}
  1532.                                                     </td>
  1533.                                                 </tr>
  1534.                                             {% endfor %}
  1535.                                             </tbody>
  1536.                                         </table>
  1537.                                     </div>
  1538.                                     <div class=\"panel-footer\">
  1539.                                         <div class=\"col-xs-12 text-center\">
  1540.                                             {% if datasupplier.service is not empty %}
  1541.                                                 <div class=\"col-xs-offset-7 col-xs-3\">
  1542.                                                     <b class=\"text-success\">{% trans %}Net Amount{% endtrans %}</b>
  1543.                                                     <br>
  1544.                                                     <b>
  1545.                                                         <label id=\"netAmountService\"> <strong>{{ datasupplier.serviceSubTotal.neto|number_format(2, '.', ',') }}</strong></label>
  1546.                                                         {{ currency }}
  1547.                                                     </b>
  1548.                                                 </div>
  1549.                                                 <div class=\"col-xs-2\">
  1550.                                                     <b class=\"text-success\">{% trans %}Total{% endtrans %}</b>
  1551.                                                     <br>
  1552.                                                     <b>
  1553.                                                         <label id=\"totalAmountService\"> <strong>{{ datasupplier.serviceSubTotal.sumSubT|number_format(2, '.', ',') }}</strong></label>
  1554.                                                         {{ currency }}
  1555.                                                     </b>
  1556.                                                 </div>
  1557.                                             {% endif %}
  1558.                                         </div>
  1559.                                     </div>
  1560.                                 </div>
  1561.                             {% endif %}
  1562.                             {% if datasupplier.payment is defined %}
  1563.                                 <div class=\"panel\">
  1564.                                     <div class=\"panel-body\">
  1565.                                         <div class=\"panel-title\">
  1566.                                             <h5><b>{% trans %}Payments of Invoice{% endtrans %}</b></h5>
  1567.                                         </div>
  1568.                                         <table class=\"table table-striped\">
  1569.                                             <thead>
  1570.                                             <tr>
  1571.                                                 <th class=\"text-center\">{% trans %}Way to pay{% endtrans %}</th>
  1572.                                                 <th class=\"text-center\">{% trans %}Date payment{% endtrans %}</th>
  1573.                                                 <th class=\"text-center\">{% trans %}Net{% endtrans %}</th>
  1574.                                                 <th class=\"text-center\">{% trans %}Vat{% endtrans %}</th>
  1575.                                                 <th class=\"text-center\">{% trans %}Total{% endtrans %}</th>
  1576.                                             </tr>
  1577.                                             </thead>
  1578.                                             <tbody>
  1579.                                                 {% for itemsPayment in datasupplier.payment %}
  1580.                                                     <tr>
  1581.                                                         <td class=\"text-center\">{{ itemsPayment.wayToPay }}</td>
  1582.                                                         <td class=\"text-center\">{{ itemsPayment.datePayAt|date('d/m/Y') }}</td>
  1583.                                                         <td class=\"text-center\">
  1584.                                                             <label style=\"padding-top: 7px\" id=\"netAmountPayment_{{ itemsPayment.id }}\">{{ itemsPayment.amount|number_format(2, '.', ',') }}</label> {{ currency }}
  1585.                                                         </td>
  1586.                                                         <td class=\"text-center\">{{ itemsPayment.vat }}</td>
  1587.                                                         <td class=\"text-center\">{{ itemsPayment.amountTotal|number_format(2, '.', ',') }}</td>
  1588.                                                     </tr>
  1589.                                                 {% endfor %}
  1590.                                             </tbody>
  1591.                                         </table>
  1592.                                     </div>
  1593.                                     <div class=\"panel-footer\">
  1594.                                         <div class=\"col-xs-12 text-center\">
  1595.                                             {% if datasupplier.payment is not empty %}
  1596.                                                 <div class=\"col-xs-9\"></div>
  1597.                                                 <div class=\"col-xs-2\"><b class=\"text-success\">{% trans %}Total{% endtrans %}</b><br>
  1598.                                                     {% if type == 'Invoice Rec' %}
  1599.                                                         <b>
  1600.                                                             <label id=\"totalAmountPayment\"> <strong>{{ datasupplier.paymentSubTotal.sumSubT|abs|number_format(2, '.', ',') }}</strong></label>
  1601.                                                             {{ currency }}
  1602.                                                         </b>
  1603.                                                     {% else %}
  1604.                                                         <b>
  1605.                                                             <label id=\"totalAmountPayment\"> <strong>{{ datasupplier.paymentSubTotal.sumSubT|number_format(2, '.', ',') }}</strong></label>
  1606.                                                             {{ currency }}
  1607.                                                         </b>
  1608.                                                     {% endif %}
  1609.                                                 </div>
  1610.                                             {% endif %}
  1611.                                         </div>
  1612.                                     </div>
  1613.                                 </div>
  1614.                             {% endif %}
  1615.                             <div class=\"panel\">
  1616.                                 <div class=\"panel-body\">
  1617.                                     <div class=\"col-xs-12 \">
  1618.                                         <div class=\"col-xs-12 \">
  1619.                                             <div class=\"col-xs-8 text-right\"><b class=\"text-success\">{% trans %}Total Before Vat{% endtrans %}:</b></div>
  1620.                                             <div class=\"col-xs-4 text-right alert-info\"><b>{{ totales_neto|number_format(2, '.', ',')  }}{{ currency }}</b></div>
  1621.                                         </div>
  1622.                                         <div class=\"col-xs-12\">
  1623.                                             <hr>
  1624.                                         </div>
  1625.                                         <div class=\"col-xs-12\">
  1626.                                             <div class=\"col-xs-10 text-right\"><b class=\"text-success\">{% trans %}Vat{% endtrans %}%:</b></div>
  1627.                                             <div class=\"col-xs-2 text-right\"><b class=\"text-success\">{% trans %}Vat{% endtrans %}:</b></div>
  1628.                                         </div>
  1629.                                         <div class=\"col-xs-12\">
  1630.                                             {% if bases_imponibles.ivaMontoVeintiUno is defined %}
  1631.                                                 <div class=\"col-xs-10 text-right\"><b>21 % :</b></div>
  1632.                                                 <div class=\"col-xs-2 text-right\"><b>{{ bases_imponibles.ivaMontoVeintiUno|number_format(2, '.', ',')  }}{{ currency }}</b></div>
  1633.                                             {% endif %}
  1634.                                             {% if bases_imponibles.ivaMontoDiez is defined %}
  1635.                                                 <div class=\"col-xs-10 text-right\"><b>10 % :</b></div>
  1636.                                                 <div class=\"col-xs-2 text-right\"><b>{{ bases_imponibles.ivaMontoDiez|number_format(2, '.', ',')  }}{{ currency }}</b></div>
  1637.                                             {% endif %}
  1638.                                         </div>
  1639.                                         <div class=\"col-xs-12\">
  1640.                                             <hr>
  1641.                                         </div>
  1642.                                         <div class=\"col-xs-12\">
  1643.                                             <div class=\"col-xs-8 text-right\"><b class=\"text-success\">{% trans %}Total{% endtrans %}:</b></div>
  1644.                                             <div class=\"col-xs-4 text-right alert-info\"><b>{{ totales|number_format(2, '.', ',')  }}{{ currency }}</b></div>
  1645.                                         </div>
  1646.                                         <div class=\"col-xs-12\">
  1647.                                             <hr>
  1648.                                         </div>
  1649.                                     </div>
  1650.                                 </div>
  1651.                             </div>
  1652.                             <div class=\"panel\">
  1653.                                 <div class=\"panel-body\">
  1654.                                     <div class=\"col-xs-12 text-center\">{{ company.registry }}</div>
  1655.                                     <div class=\"col-xs-12 text-center\"><hr></div>
  1656.                                     <div class=\"col-xs-12 text-justify\">
  1657.                                         {% autoescape %}
  1658.                                             {{ company.note|raw }}
  1659.                                         {% endautoescape %}
  1660.                                     </div>
  1661.                                     <div class=\"col-xs-12 text-center\"><hr></div>
  1662.                                     <div class=\"col-xs-12 text-center\"><b>{{ company.address }} {{ company.zipCode }} | {{ company.telephone }} {{ company.email }}</b></div>
  1663.                                 </div>
  1664.                             </div>
  1665.                         {% else %}
  1666.                             <div class=\"text-center content-group\">
  1667.                                 <h1 class=\"error-title offline-title\">{{ type|trans }} is Empty</h1>
  1668.                                 <h5>{% trans %}Sorry, there's nothing to invoice{% endtrans %}</h5>
  1669.                             </div>
  1670.                         {% endif %}
  1671.                     </div>
  1672.                 </div>
  1673.             </div>
  1674.         </div>
  1675.         <!-- Modal Services -->
  1676.         <div id=\"modal_number_admin_invoiced\" class=\"modal fade\">
  1677.             <div class=\"modal-dialog modal-lg\">
  1678.                 <div class=\"modal-content\">
  1679.                     <div class=\"modal-header bg-teal\">
  1680.                         <button type=\"button\" class=\"close\" data-dismiss=\"modal\">&times;</button>
  1681.                         <h5 class=\"modal-title\">{% trans %}Edit Number Invoice{% endtrans %}</h5>
  1682.                     </div>
  1683.                     <div id=\"modal-spinner\" class=\"modal-body\">
  1684.                         <form name=\"ProposalSupplierSearch\" method=\"post\" action=\"/reservations-greenpatio/reservations/invoicedeposit/number/updated/{{ id }}/{{ cid }}\" class=\"form-horizontal\" autocomplete=\"off\">
  1685.                             <div class=\"col-md-8\">
  1686.                                 <div class=\"form-group form-group-material\">
  1687.                                     <input type=\"text\" id=\"invoice_number\" name=\"invoice[number]\" class=\"form-control input-sombra input-lg\" value=\"{{ numberadmin }}\" placeholder=\"NÂș Invoice\">
  1688.                                 </div>
  1689.                             </div>
  1690.                             <div class=\"col-md-4\">
  1691.                                 <div class=\"form-group form-group-material\">
  1692.                                     <button type=\"submit\" id=\"invoice_number_sumit\" name=\"invoice[send]\" class=\"btn btn-info btn-block btn-lg\">{% trans %}Save{% endtrans %}</button>
  1693.                                 </div>
  1694.                             </div>
  1695.                         </form>
  1696.                     </div>
  1697.                     <div class=\"modal-footer text-center\">
  1698.                     </div>
  1699.                 </div>
  1700.             </div>
  1701.         </div>
  1702.         <!-- /Modal Services -->
  1703.     {% endblock %}
  1704.     {% block javascripts %}
  1705.         {{ parent() }}
  1706.         <script type=\"text/javascript\" src=\"{{ asset('assets/js/plugins/editors/summernote/summernote.min.js') }}\"></script>
  1707.         <script type=\"text/javascript\" src=\"{{ asset('assets/js/plugins/forms/styling/switchery.min.js') }}\"></script>
  1708.         <script type=\"text/javascript\" src=\"{{ asset('assets/js/pages/proposal/switchery-proposal.js') }}\"></script>
  1709.         <script type=\"text/javascript\" src=\"{{ asset('assets/js/plugins/forms/selects/select2.min.js') }}\"></script>
  1710.         <script type=\"text/javascript\" src=\"{{ asset('assets/js/pages/components_popups.js') }}\"></script>
  1711.         <script type=\"text/javascript\" src=\"{{ asset('assets/js/plugins/notifications/sweet_alert.min.js') }}\"></script>
  1712.     {% endblock %}
  1713. ""MDS/GreenPatioBundle/reservations/invoice-new-invoice.html.twig""/var/www/vhosts/inout.mante.solutions/httpdocs/templates/MDS/GreenPatioBundle/reservations/invoice-new-invoice.html.twig");
  1714.     }
  1715. }