<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* MDS/GreenPatioBundle/reservations/invoice-new-invoice.html.twig */
class __TwigTemplate_96592eba2f1293a9393c580c65a5adab709323d85625399348dfdd69327f372e extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'pagetitleinterno' => [$this, 'block_pagetitleinterno'],
'breadcrumbs' => [$this, 'block_breadcrumbs'],
'contentProposal' => [$this, 'block_contentProposal'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "MDS/GreenPatioBundle/base-events.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "MDS/GreenPatioBundle/reservations/invoice-new-invoice.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "MDS/GreenPatioBundle/reservations/invoice-new-invoice.html.twig"));
$this->parent = $this->loadTemplate("MDS/GreenPatioBundle/base-events.html.twig", "MDS/GreenPatioBundle/reservations/invoice-new-invoice.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_pagetitleinterno($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "pagetitleinterno"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "pagetitleinterno"));
// line 4
echo " <div class=\"page-title\">
<h4><i class=\"icon-calendar3 position-left\"></i> <span class=\"text-semibold\">";
// line 5
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Events", [], "messages");
echo "</span> - ";
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Proposal", [], "messages");
echo "</h4>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 9
public function block_breadcrumbs($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "breadcrumbs"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "breadcrumbs"));
// line 10
echo " <ul class=\"breadcrumb\">
<li><a href=\"/\"><i class=\"icon-home2 position-left\"></i>";
// line 11
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Home", [], "messages");
echo "</a></li>
<li class=\"active\"><i class=\"icon-file-text2 position-left\"></i>";
// line 12
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Deposit Invoice", [], "messages");
echo "</li>
</ul>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 16
public function block_contentProposal($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "contentProposal"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "contentProposal"));
// line 17
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_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", false, false, false, 17), "flashbag", [], "any", false, false, false, 17), "get", ["mensajeinvoicedepositservices"], "method", false, false, false, 17));
foreach ($context['_seq'] as $context["_key"] => $context["flashMessage"]) {
// line 18
echo " <div class=\"hidden alertFlashMensaje\" data-mensaje=\"";
echo twig_escape_filter($this->env, $context["flashMessage"], "html", null, true);
echo "\"></div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flashMessage'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 20
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_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", false, false, false, 20), "flashbag", [], "any", false, false, false, 20), "get", ["mensajeinvoicedepositserviceserror"], "method", false, false, false, 20));
foreach ($context['_seq'] as $context["_key"] => $context["flashMessage"]) {
// line 21
echo " <div class=\"hidden alertFlashMensajeError\" data-mensajeerror=\"";
echo twig_escape_filter($this->env, $context["flashMessage"], "html", null, true);
echo "\"></div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flashMessage'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 23
echo "
<div class=\"row proposals\" id=\"proposal-invoice-deposit\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-xs-12\">
<div class=\"panel\">
<div class=\"panel-heading bg-teal-300\">
<h5 class=\"panel-title\">
<a href=\"#\" class=\"btn btn-link btn-float has-text\" data-toggle=\"modal\" data-target=\"#modal_number_admin_invoiced\">
";
// line 32
if ((0 === 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"))) {
// line 33
echo " ";
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", null, true);
echo " No.: R";
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", null, true);
echo "
";
} else {
// line 35
echo " ";
if ((0 !== 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))) {
// line 36
echo " ";
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", null, true);
echo " No.: ";
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", null, true);
echo "
";
} else {
// line 38
echo " ";
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", null, true);
echo " No.: 273
";
}
// line 40
echo " ";
}
// line 41
echo " </a>
</h5>
<div class=\"heading-elements\">
<ul class=\"icons-list\">
<li class=\"dropdown\">
";
// line 46
if ((0 === 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"))) {
// line 47
echo " <a class=\"label label-transparent text-white padding-3\" href=\"#\" data-toggle=\"dropdown\" aria-expanded=\"true\">
";
// line 48
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Proformas Disponibles", [], "messages");
echo " <i class=\"icon-menu9 position-right\"></i>
</a>
";
} else {
// line 51
echo " <a class=\"label label-transparent text-white padding-3\" href=\"#\" data-toggle=\"dropdown\" aria-expanded=\"true\">
";
// line 52
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Available Invoices", [], "messages");
echo " <i class=\"icon-menu9 position-right\"></i>
</a>
";
}
// line 55
echo "
<ul class=\"dropdown-menu dropdown-menu-right bg-teal-400\">
";
// line 57
if ((0 === 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"))) {
// line 58
echo " ";
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["pro"]) {
// line 59
echo " <li><a href=\"/reservations-greenpatio/reservations/invoice/viewnewprof/";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["pro"], "id", [], "any", false, false, false, 59), "html", null, true);
echo "\"><i class=\"icon-file-eye2 pull-right\"></i>";
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Proforma", [], "messages");
echo ": ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["pro"], "prefix", [], "any", false, false, false, 59), "html", null, true);
echo "-";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["pro"], "id", [], "any", false, false, false, 59), "html", null, true);
echo "</a></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['pro'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 61
echo " ";
} else {
// line 62
echo " ";
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["inv"]) {
// line 63
echo " ";
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["inv"], "type", [], "any", false, false, false, 63), "Invoice"))) {
// line 64
echo " <li><a href=\"/reservations-greenpatio/reservations/invoice/viewnew/";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["inv"], "id", [], "any", false, false, false, 64), "html", null, true);
echo "\"><i class=\"icon-file-eye2 pull-right\"></i>";
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Invoice", [], "messages");
echo ": ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["inv"], "number", [], "any", false, false, false, 64), "html", null, true);
echo "</a></li>
";
} else {
// line 66
echo " <li><a href=\"/reservations-greenpatio/reservations/invoice/viewrec/";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["inv"], "id", [], "any", false, false, false, 66), "html", null, true);
echo "\"><i class=\"icon-file-check2 pull-right\"></i>";
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Corrective Invoice", [], "messages");
echo ": ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["inv"], "number", [], "any", false, false, false, 66), "html", null, true);
echo "</a></li>
";
}
// line 68
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['inv'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 69
echo " ";
}
// line 70
echo " </ul>
</li>
</ul>
<ul class=\"icons-list\" style=\"margin-top: 0px;\">
<li>
<a class=\"btn bg-brown-600 btn-block\" href=\"/reservations-greenpatio/selinvoice/";
// line 75
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", null, true);
echo "\">";
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("CotizaciĂłn", [], "messages");
echo "</a>
</li>
<li>
<a class=\"btn bg-success-800 btn-block\" href=\"/reservations-greenpatio/editsimple/";
// line 79
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", null, true);
echo "\">";
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Volver a Reserva", [], "messages");
echo "</a>
</li>
";
// line 82
if (( !(null === (isset($context["fid"]) || array_key_exists("fid", $context) ? $context["fid"] : (function () { throw new RuntimeError('Variable "fid" does not exist.', 82, $this->source); })())) && ((0 === twig_compare(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_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", false, false, false, 82), "get", ["_modules"], "method", false, false, false, 82), "madmin", [], "any", false, false, false, 82), 1)) || $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN")))) {
// line 83
echo " ";
if ((isset($context["boolToRec"]) || array_key_exists("boolToRec", $context) ? $context["boolToRec"] : (function () { throw new RuntimeError('Variable "boolToRec" does not exist.', 83, $this->source); })())) {
echo " ";
// line 84
echo " <li>
<a class=\"btn bg-danger-800 btn-block\" href=\"/reservations-greenpatio/invoicerec/";
// line 85
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", null, true);
echo "\">";
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Rectificar Factura", [], "messages");
echo "</a>
</li>
";
}
// line 88
echo " ";
}
// line 89
echo "
<li>
";
// line 91
if ((0 === 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"))) {
// line 92
echo " <a target=\"_blank\" class=\"btn bg-danger-300 btn-block\" href=\"/pdf/greenpatioinvprof/P/";
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", null, true);
echo "\">";
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Pdf Proforma", [], "messages");
echo "</a>
";
} else {
// line 94
echo " ";
if ((0 === 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"))) {
// line 95
echo " <a target=\"_blank\" class=\"btn bg-danger-300 btn-block\" href=\"/pdf/greenpatioinvprof/I/";
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", null, true);
echo "\">";
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Pdf Invoice", [], "messages");
echo "</a>
";
} else {
// line 97
echo " <a target=\"_blank\" class=\"btn bg-danger-300 btn-block\" href=\"/pdf/greenpatioinvprof/R/";
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", null, true);
echo "\">";
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Pdf Rectificativa", [], "messages");
echo "</a>
";
}
// line 99
echo " ";
}
// line 100
echo " </li>
<li>
";
// line 102
if ((0 === 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"))) {
// line 103
echo " <a target=\"_blank\" class=\"btn bg-orange-300 btn-block\" href=\"/reservations-greenpatio/reservations/invoice/invoice-proforma/print/P/";
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", null, true);
echo "\">";
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Print Proforma", [], "messages");
echo "</a>
";
} else {
// line 105
echo " ";
if ((0 === 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"))) {
// line 106
echo " <a target=\"_blank\" class=\"btn bg-orange-300 btn-block\" href=\"/reservations-greenpatio/reservations/invoice/invoice-proforma/print/R/";
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", null, true);
echo "\">";
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Print Invoice", [], "messages");
echo "</a>
";
} else {
// line 108
echo " ";
if ((0 === 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"))) {
// line 109
echo " <a target=\"_blank\" class=\"btn bg-orange-300 btn-block\" href=\"/reservations-greenpatio/reservations/invoice/invoice-proforma/print/I/";
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", null, true);
echo "\">";
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Print Invoice", [], "messages");
echo "</a>
";
}
// line 111
echo " ";
}
// line 112
echo " ";
}
// line 113
echo " </li>
";
// line 115
if ((((0 === twig_compare(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_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", false, false, false, 115), "get", ["_modules"], "method", false, false, false, 115), "madmin", [], "any", false, false, false, 115), 1)) || $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN")) || (0 === 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", false, false, false, 115), 82)))) {
echo " ";
// line 116
echo " ";
// line 117
echo " ";
// line 118
echo " ";
// line 119
echo " ";
}
// line 120
echo " </ul>
</div>
</div>
</div>
<br>
";
// line 125
if (((twig_get_attribute($this->env, $this->source, ($context["datasupplier"] ?? null), "lounge", [], "any", true, true, false, 125) || twig_get_attribute($this->env, $this->source, ($context["datasupplier"] ?? null), "service", [], "any", true, true, false, 125)) || twig_get_attribute($this->env, $this->source, ($context["datasupplier"] ?? null), "payment", [], "any", true, true, false, 125))) {
// line 126
echo " <div class=\"panel\">
<div class=\"panel-body\">
<div class=\"col-xs-2\">
<img class=\"img-responsive center-block\" src=\"/";
// line 129
echo twig_escape_filter($this->env, 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.', 129, $this->source); })()), "picture", [], "any", false, false, false, 129), "html", null, true);
echo "\" alt=\"\">
</div>
<div class=\"col-xs-4 margen-15\">
<div class=\"col-xs-12\"><b>";
// line 132
echo twig_escape_filter($this->env, 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.', 132, $this->source); })()), "company", [], "any", false, false, false, 132), "html", null, true);
echo "</b></div>
<div class=\"col-xs-12\"><b>CIF.: ";
// line 133
echo twig_escape_filter($this->env, 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.', 133, $this->source); })()), "idDocument", [], "any", false, false, false, 133), "html", null, true);
echo "</b></div>
<div class=\"col-xs-12\"><b>";
// line 134
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Date", [], "messages");
echo ": ";
echo twig_escape_filter($this->env, twig_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", null, true);
echo "</b></div>
<div class=\"col-xs-12\"><b>
";
// line 136
if ((0 === 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"))) {
// line 137
echo " ";
// line 138
echo " ";
// line 139
echo " ";
if ((0 !== 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))) {
// line 140
echo " ";
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", null, true);
echo " No.: ";
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", null, true);
echo "
";
} else {
// line 142
echo " ";
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", null, true);
echo " No.: 273
";
}
// line 144
echo " ";
} else {
// line 145
echo " ";
if ((0 === 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"))) {
// line 146
echo " ";
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", null, true);
echo ", No.: R";
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", null, true);
echo "
<br>
<a>";
// line 148
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("This invoice rectifies the invoice", [], "messages");
echo " No.: ";
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", null, true);
echo "</a>
";
} else {
// line 150
echo " ";
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", null, true);
echo " No.: ";
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", null, true);
echo "
";
}
// line 152
echo " ";
}
// line 153
echo " </b>
</div>
</div>
<div class=\"col-xs-6 margen-10 border-esp redondo padding-3\">
";
// line 158
echo " ";
// line 159
echo " ";
// line 160
echo " ";
// line 161
echo " ";
// line 162
echo "
<div class=\"col-xs-12\"><b>";
// line 163
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Client", [], "messages");
echo ": ";
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", null, true);
echo "</b></div>
<div class=\"col-xs-12\"><b>";
// line 164
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Address", [], "messages");
echo ": ";
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", null, true);
echo "</b></div>
<div class=\"col-xs-12\"><b>";
// line 165
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Document", [], "messages");
echo ": ";
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", null, true);
echo "</b></div>
</div>
</div>
</div>
";
// line 170
if (twig_get_attribute($this->env, $this->source, ($context["datasupplier"] ?? null), "lounge", [], "any", true, true, false, 170)) {
// line 171
echo " <div class=\"panel\">
<div class=\"panel-heading\">
<div class=\"panel-title\">
<h5><b>";
// line 174
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Lounge", [], "messages");
echo "</b></h5>
</div>
</div>
<div class=\"panel-body\">
<table class=\"table table-striped\">
<thead>
<tr>
";
// line 182
echo " <th class=\"text-center\">";
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Name", [], "messages");
echo "</th>
<th class=\"text-center\">";
// line 183
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Unit Price", [], "messages");
echo "</th>
<th class=\"text-center\">";
// line 184
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Units", [], "messages");
echo "</th>
";
// line 186
echo " <th class=\"text-center\">";
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Date", [], "messages");
echo "</th>
<th class=\"text-center\">";
// line 187
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Price", [], "messages");
echo "</th>
<th class=\"text-center\">";
// line 188
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Vat", [], "messages");
echo "</th>
<th class=\"text-center\">";
// line 189
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Total", [], "messages");
echo "</th>
</tr>
</thead>
<tbody>
";
// line 193
$context['_parent'] = $context;
$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", false, false, false, 193));
foreach ($context['_seq'] as $context["_key"] => $context["itemslounge"]) {
// line 194
echo " <tr>
<td class=\"text-center\">";
// line 195
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["itemslounge"], "loungeName", [], "any", false, false, false, 195), "html", null, true);
echo "
";
// line 196
if ( !(null === twig_get_attribute($this->env, $this->source, $context["itemslounge"], "type", [], "any", false, false, false, 196))) {
// line 197
echo " ( ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["itemslounge"], "type", [], "any", false, false, false, 197), "html", null, true);
echo " )
";
}
// line 199
echo " </td>
<td class=\"text-center\">
";
// line 202
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["itemslounge"], "servicePrice", [], "any", false, false, false, 202), 2, ".", ","), "html", null, true);
echo " ";
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", null, true);
echo "
</td>
<td class=\"text-center\">
";
// line 206
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["itemslounge"], "qty", [], "any", false, false, false, 206), "html", null, true);
echo "
</td>
<td class=\"text-center\">
";
// line 210
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["itemslounge"], "dateStart", [], "any", false, false, false, 210), "d/m/Y"), "html", null, true);
echo " - ";
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["itemslounge"], "dateEnd", [], "any", false, false, false, 210), "d/m/Y"), "html", null, true);
echo "
</td>
<td class=\"text-center\">
<label style=\"padding-top: 7px\" id=\"loungesPrice_";
// line 214
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["itemslounge"], "id", [], "any", false, false, false, 214), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["itemslounge"], "servicePrice", [], "any", false, false, false, 214), 2, ".", ","), "html", null, true);
echo "</label> ";
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", null, true);
echo "
</td>
<td class=\"text-center\">
<label style=\"padding-top: 7px\" id=\"loungesVat_";
// line 218
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["itemslounge"], "id", [], "any", false, false, false, 218), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["itemslounge"], "iva", [], "any", false, false, false, 218), "html", null, true);
echo "</label> %
</td>
<td class=\"text-center\">
<label style=\"padding-top: 7px\" id=\"loungesSubtotal_";
// line 222
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["itemslounge"], "id", [], "any", false, false, false, 222), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["itemslounge"], "subtotalLounge", [], "any", false, false, false, 222), 2, ".", ","), "html", null, true);
echo "</label> ";
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", null, true);
echo "
</td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['itemslounge'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 226
echo " </tbody>
</table>
</div>
<div class=\"panel-footer\">
<div class=\"col-xs-12 text-center\">
";
// line 231
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", false, false, false, 231))) {
// line 232
echo " <div class=\"col-xs-offset-7 col-xs-3\">
<b class=\"text-success\">";
// line 233
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Net Amount", [], "messages");
echo "</b>
<br>
<b>
<label id=\"netAmountLounge\"> <strong>";
// line 236
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 236, $this->source); })()), "loungeSubTotal", [], "any", false, false, false, 236), "neto", [], "any", false, false, false, 236), 2, ".", ","), "html", null, true);
echo "</strong></label>
";
// line 237
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", null, true);
echo "
</b>
</div>
<div class=\"col-xs-2 col-xs-3\">
<b class=\"text-success\">";
// line 242
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Total", [], "messages");
echo "</b>
<br>
<b>
<label id=\"totalAmountLounge\"> <strong>";
// line 245
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 245, $this->source); })()), "loungeSubTotal", [], "any", false, false, false, 245), "sumSubT", [], "any", false, false, false, 245), 2, ".", ","), "html", null, true);
echo "</strong></label>
";
// line 246
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", null, true);
echo "
</b>
</div>
";
}
// line 250
echo " </div>
</div>
</div>
";
}
// line 254
echo "
";
// line 255
if (twig_get_attribute($this->env, $this->source, ($context["datasupplier"] ?? null), "service", [], "any", true, true, false, 255)) {
// line 256
echo " <div class=\"panel\">
<div class=\"panel-heading\">
<div class=\"panel-title\">
<h5><b>";
// line 259
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Services", [], "messages");
echo "</b></h5>
</div>
</div>
<div class=\"panel-body\">
<table class=\"table table-striped\">
<thead>
<tr>
<th class=\"text-center\">";
// line 266
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Name", [], "messages");
echo "</th>
<th class=\"text-center\">";
// line 267
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Type", [], "messages");
echo "</th>
<th class=\"text-center\">";
// line 268
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Unit Price", [], "messages");
echo "</th>
<th class=\"text-center\">";
// line 269
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Units", [], "messages");
echo "</th>
<th class=\"text-center\">";
// line 270
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Pax", [], "messages");
echo "</th>
<th class=\"text-center\">";
// line 271
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Date", [], "messages");
echo "</th>
<th class=\"text-center\">";
// line 272
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Price", [], "messages");
echo "</th>
<th class=\"text-center\">";
// line 273
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Vat", [], "messages");
echo "</th>
<th class=\"text-center\">";
// line 274
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Total", [], "messages");
echo "</th>
</tr>
</thead>
<tbody>
";
// line 278
$context['_parent'] = $context;
$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", false, false, false, 278));
foreach ($context['_seq'] as $context["_key"] => $context["itemsservice"]) {
// line 279
echo " <tr>
<td class=\"text-center\">";
// line 280
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["itemsservice"], "serviceName", [], "any", false, false, false, 280), "html", null, true);
echo "</td>
<td class=\"text-center\">";
// line 282
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["itemsservice"], "serviceType", [], "any", false, false, false, 282), "html", null, true);
echo "</td>
<td class=\"text-center\">";
// line 284
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["itemsservice"], "precioUnit", [], "any", false, false, false, 284), 2, ".", ","), "html", null, true);
echo " ";
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", null, true);
echo "</td>
<td class=\"text-center\">";
// line 286
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["itemsservice"], "qty", [], "any", false, false, false, 286), "html", null, true);
echo "</td>
<td class=\"text-center\">";
// line 288
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["itemsservice"], "pax", [], "any", false, false, false, 288), "html", null, true);
echo "</td>
<td class=\"text-center\">";
// line 290
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["itemsservice"], "date", [], "any", false, false, false, 290), "html", null, true);
echo "</td>
<td class=\"text-center\">
<label style=\"padding-top: 7px\" id=\"servicePrice_";
// line 293
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["itemsservice"], "id", [], "any", false, false, false, 293), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["itemsservice"], "subneto", [], "any", false, false, false, 293), 2, ".", ","), "html", null, true);
echo "</label> ";
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", null, true);
echo "
</td>
<td class=\"text-center\">
<label style=\"padding-top: 7px\" id=\"serviceVat_";
// line 297
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["itemsservice"], "id", [], "any", false, false, false, 297), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["itemsservice"], "iva", [], "any", false, false, false, 297), "html", null, true);
echo "</label>%
</td>
<td class=\"text-center\">
<label style=\"padding-top: 7px\" id=\"serviceSubtotal_";
// line 301
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["itemsservice"], "id", [], "any", false, false, false, 301), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["itemsservice"], "subtotal", [], "any", false, false, false, 301), 2, ".", ","), "html", null, true);
echo "</label> ";
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", null, true);
echo "
</td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['itemsservice'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 305
echo " </tbody>
</table>
</div>
<div class=\"panel-footer\">
<div class=\"col-xs-12 text-center\">
";
// line 310
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", false, false, false, 310))) {
// line 311
echo " <div class=\"col-xs-offset-7 col-xs-3\">
<b class=\"text-success\">";
// line 312
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Net Amount", [], "messages");
echo "</b>
<br>
<b>
<label id=\"netAmountService\"> <strong>";
// line 315
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 315, $this->source); })()), "serviceSubTotal", [], "any", false, false, false, 315), "neto", [], "any", false, false, false, 315), 2, ".", ","), "html", null, true);
echo "</strong></label>
";
// line 316
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", null, true);
echo "
</b>
</div>
<div class=\"col-xs-2\">
<b class=\"text-success\">";
// line 320
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Total", [], "messages");
echo "</b>
<br>
<b>
<label id=\"totalAmountService\"> <strong>";
// line 323
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 323, $this->source); })()), "serviceSubTotal", [], "any", false, false, false, 323), "sumSubT", [], "any", false, false, false, 323), 2, ".", ","), "html", null, true);
echo "</strong></label>
";
// line 324
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", null, true);
echo "
</b>
</div>
";
}
// line 328
echo " </div>
</div>
</div>
";
}
// line 332
echo "
";
// line 333
if (twig_get_attribute($this->env, $this->source, ($context["datasupplier"] ?? null), "payment", [], "any", true, true, false, 333)) {
// line 334
echo " <div class=\"panel\">
<div class=\"panel-body\">
<div class=\"panel-title\">
<h5><b>";
// line 337
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Payments of Invoice", [], "messages");
echo "</b></h5>
</div>
<table class=\"table table-striped\">
<thead>
<tr>
<th class=\"text-center\">";
// line 342
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Way to pay", [], "messages");
echo "</th>
<th class=\"text-center\">";
// line 343
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Date payment", [], "messages");
echo "</th>
<th class=\"text-center\">";
// line 344
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Net", [], "messages");
echo "</th>
<th class=\"text-center\">";
// line 345
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Vat", [], "messages");
echo "</th>
<th class=\"text-center\">";
// line 346
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Total", [], "messages");
echo "</th>
</tr>
</thead>
<tbody>
";
// line 350
$context['_parent'] = $context;
$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", false, false, false, 350));
foreach ($context['_seq'] as $context["_key"] => $context["itemsPayment"]) {
// line 351
echo " <tr>
<td class=\"text-center\">";
// line 352
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["itemsPayment"], "wayToPay", [], "any", false, false, false, 352), "html", null, true);
echo "</td>
<td class=\"text-center\">";
// line 353
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["itemsPayment"], "datePayAt", [], "any", false, false, false, 353), "d/m/Y"), "html", null, true);
echo "</td>
<td class=\"text-center\">
<label style=\"padding-top: 7px\" id=\"netAmountPayment_";
// line 355
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["itemsPayment"], "id", [], "any", false, false, false, 355), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["itemsPayment"], "amount", [], "any", false, false, false, 355), 2, ".", ","), "html", null, true);
echo "</label> ";
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", null, true);
echo "
</td>
<td class=\"text-center\">";
// line 357
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["itemsPayment"], "vat", [], "any", false, false, false, 357), "html", null, true);
echo "</td>
<td class=\"text-center\">";
// line 358
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["itemsPayment"], "amountTotal", [], "any", false, false, false, 358), 2, ".", ","), "html", null, true);
echo "</td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['itemsPayment'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 361
echo " </tbody>
</table>
</div>
<div class=\"panel-footer\">
<div class=\"col-xs-12 text-center\">
";
// line 366
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", false, false, false, 366))) {
// line 367
echo " <div class=\"col-xs-9\"></div>
<div class=\"col-xs-2\"><b class=\"text-success\">";
// line 368
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Total", [], "messages");
echo "</b><br>
";
// line 369
if ((0 === 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"))) {
// line 370
echo " <b>
<label id=\"totalAmountPayment\"> <strong>";
// line 371
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, abs(twig_get_attribute($this->env, $this->source, 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.', 371, $this->source); })()), "paymentSubTotal", [], "any", false, false, false, 371), "sumSubT", [], "any", false, false, false, 371)), 2, ".", ","), "html", null, true);
echo "</strong></label>
";
// line 372
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", null, true);
echo "
</b>
";
} else {
// line 375
echo " <b>
<label id=\"totalAmountPayment\"> <strong>";
// line 376
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 376, $this->source); })()), "paymentSubTotal", [], "any", false, false, false, 376), "sumSubT", [], "any", false, false, false, 376), 2, ".", ","), "html", null, true);
echo "</strong></label>
";
// line 377
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", null, true);
echo "
</b>
";
}
// line 380
echo " </div>
";
}
// line 382
echo " </div>
</div>
</div>
";
}
// line 386
echo "
<div class=\"panel\">
<div class=\"panel-body\">
<div class=\"col-xs-12 \">
<div class=\"col-xs-12 \">
<div class=\"col-xs-8 text-right\"><b class=\"text-success\">";
// line 391
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Total Before Vat", [], "messages");
echo ":</b></div>
<div class=\"col-xs-4 text-right alert-info\"><b>";
// line 392
echo twig_escape_filter($this->env, twig_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", null, true);
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", null, true);
echo "</b></div>
</div>
<div class=\"col-xs-12\">
<hr>
</div>
<div class=\"col-xs-12\">
<div class=\"col-xs-10 text-right\"><b class=\"text-success\">";
// line 398
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Vat", [], "messages");
echo "%:</b></div>
<div class=\"col-xs-2 text-right\"><b class=\"text-success\">";
// line 399
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Vat", [], "messages");
echo ":</b></div>
</div>
<div class=\"col-xs-12\">
";
// line 402
if (twig_get_attribute($this->env, $this->source, ($context["bases_imponibles"] ?? null), "ivaMontoVeintiUno", [], "any", true, true, false, 402)) {
// line 403
echo " <div class=\"col-xs-10 text-right\"><b>21 % :</b></div>
<div class=\"col-xs-2 text-right\"><b>";
// line 404
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_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", false, false, false, 404), 2, ".", ","), "html", null, true);
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", null, true);
echo "</b></div>
";
}
// line 406
echo "
";
// line 407
if (twig_get_attribute($this->env, $this->source, ($context["bases_imponibles"] ?? null), "ivaMontoDiez", [], "any", true, true, false, 407)) {
// line 408
echo " <div class=\"col-xs-10 text-right\"><b>10 % :</b></div>
<div class=\"col-xs-2 text-right\"><b>";
// line 409
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_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", false, false, false, 409), 2, ".", ","), "html", null, true);
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", null, true);
echo "</b></div>
";
}
// line 411
echo " </div>
<div class=\"col-xs-12\">
<hr>
</div>
<div class=\"col-xs-12\">
<div class=\"col-xs-8 text-right\"><b class=\"text-success\">";
// line 416
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Total", [], "messages");
echo ":</b></div>
<div class=\"col-xs-4 text-right alert-info\"><b>";
// line 417
echo twig_escape_filter($this->env, twig_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", null, true);
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", null, true);
echo "</b></div>
</div>
<div class=\"col-xs-12\">
<hr>
</div>
</div>
</div>
</div>
<div class=\"panel\">
<div class=\"panel-body\">
<div class=\"col-xs-12 text-center\">";
// line 428
echo twig_escape_filter($this->env, 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.', 428, $this->source); })()), "registry", [], "any", false, false, false, 428), "html", null, true);
echo "</div>
<div class=\"col-xs-12 text-center\"><hr></div>
<div class=\"col-xs-12 text-justify\">
";
// line 432
echo " ";
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", false, false, false, 432);
echo "
";
// line 434
echo " </div>
<div class=\"col-xs-12 text-center\"><hr></div>
<div class=\"col-xs-12 text-center\"><b>";
// line 436
echo twig_escape_filter($this->env, 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.', 436, $this->source); })()), "address", [], "any", false, false, false, 436), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, 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.', 436, $this->source); })()), "zipCode", [], "any", false, false, false, 436), "html", null, true);
echo " | ";
echo twig_escape_filter($this->env, 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.', 436, $this->source); })()), "telephone", [], "any", false, false, false, 436), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, 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.', 436, $this->source); })()), "email", [], "any", false, false, false, 436), "html", null, true);
echo "</b></div>
</div>
</div>
";
} else {
// line 440
echo " <div class=\"text-center content-group\">
<h1 class=\"error-title offline-title\">";
// line 441
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", null, true);
echo " is Empty</h1>
<h5>";
// line 442
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Sorry, there's nothing to invoice", [], "messages");
echo "</h5>
</div>
";
}
// line 445
echo " </div>
</div>
</div>
</div>
<!-- Modal Services -->
<div id=\"modal_number_admin_invoiced\" class=\"modal fade\">
<div class=\"modal-dialog modal-lg\">
<div class=\"modal-content\">
<div class=\"modal-header bg-teal\">
<button type=\"button\" class=\"close\" data-dismiss=\"modal\">×</button>
<h5 class=\"modal-title\">";
// line 456
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Edit Number Invoice", [], "messages");
echo "</h5>
</div>
<div id=\"modal-spinner\" class=\"modal-body\">
<form name=\"ProposalSupplierSearch\" method=\"post\" action=\"/reservations-greenpatio/reservations/invoicedeposit/number/updated/";
// line 459
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", null, true);
echo "/";
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", null, true);
echo "\" class=\"form-horizontal\" autocomplete=\"off\">
<div class=\"col-md-8\">
<div class=\"form-group form-group-material\">
<input type=\"text\" id=\"invoice_number\" name=\"invoice[number]\" class=\"form-control input-sombra input-lg\" value=\"";
// line 462
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", null, true);
echo "\" placeholder=\"NÂș Invoice\">
</div>
</div>
<div class=\"col-md-4\">
<div class=\"form-group form-group-material\">
<button type=\"submit\" id=\"invoice_number_sumit\" name=\"invoice[send]\" class=\"btn btn-info btn-block btn-lg\">";
// line 467
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Save", [], "messages");
echo "</button>
</div>
</div>
</form>
</div>
<div class=\"modal-footer text-center\">
</div>
</div>
</div>
</div>
<!-- /Modal Services -->
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 480
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 481
echo " ";
$this->displayParentBlock("javascripts", $context, $blocks);
echo "
<script type=\"text/javascript\" src=\"";
// line 482
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/plugins/editors/summernote/summernote.min.js"), "html", null, true);
echo "\"></script>
<script type=\"text/javascript\" src=\"";
// line 483
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/plugins/forms/styling/switchery.min.js"), "html", null, true);
echo "\"></script>
<script type=\"text/javascript\" src=\"";
// line 484
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/pages/proposal/switchery-proposal.js"), "html", null, true);
echo "\"></script>
<script type=\"text/javascript\" src=\"";
// line 485
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/plugins/forms/selects/select2.min.js"), "html", null, true);
echo "\"></script>
<script type=\"text/javascript\" src=\"";
// line 486
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/pages/components_popups.js"), "html", null, true);
echo "\"></script>
<script type=\"text/javascript\" src=\"";
// line 487
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/plugins/notifications/sweet_alert.min.js"), "html", null, true);
echo "\"></script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "MDS/GreenPatioBundle/reservations/invoice-new-invoice.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends 'MDS/GreenPatioBundle/base-events.html.twig' %}
{% block pagetitleinterno %}
<div class=\"page-title\">
<h4><i class=\"icon-calendar3 position-left\"></i> <span class=\"text-semibold\">{% trans %}Events{% endtrans %}</span> - {% trans %}Proposal{% endtrans %}</h4>
</div>
{% endblock %}
{% block breadcrumbs %}
<ul class=\"breadcrumb\">
<li><a href=\"/\"><i class=\"icon-home2 position-left\"></i>{% trans %}Home{% endtrans %}</a></li>
<li class=\"active\"><i class=\"icon-file-text2 position-left\"></i>{% trans %}Deposit Invoice{% endtrans %}</li>
</ul>
{% endblock %}
\t{% block contentProposal %}
{% for flashMessage in app.session.flashbag.get('mensajeinvoicedepositservices') %}
<div class=\"hidden alertFlashMensaje\" data-mensaje=\"{{ flashMessage }}\"></div>
{% endfor %}
{% for flashMessage in app.session.flashbag.get('mensajeinvoicedepositserviceserror') %}
<div class=\"hidden alertFlashMensajeError\" data-mensajeerror=\"{{ flashMessage }}\"></div>
{% endfor %}
<div class=\"row proposals\" id=\"proposal-invoice-deposit\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-xs-12\">
<div class=\"panel\">
<div class=\"panel-heading bg-teal-300\">
<h5 class=\"panel-title\">
<a href=\"#\" class=\"btn btn-link btn-float has-text\" data-toggle=\"modal\" data-target=\"#modal_number_admin_invoiced\">
{% if type == 'Invoice Rec' %}
{{ type|trans }} No.: R{{ number }}
{% else %}
{% if number != 275 %}
{{ type|trans }} No.: {{ number }}
{% else %}
{{ type|trans }} No.: 273
{% endif %}
{% endif %}
</a>
</h5>
<div class=\"heading-elements\">
<ul class=\"icons-list\">
<li class=\"dropdown\">
{% if type == 'Proforma'%}
<a class=\"label label-transparent text-white padding-3\" href=\"#\" data-toggle=\"dropdown\" aria-expanded=\"true\">
{% trans %}Proformas Disponibles{% endtrans %} <i class=\"icon-menu9 position-right\"></i>
</a>
{% else %}
<a class=\"label label-transparent text-white padding-3\" href=\"#\" data-toggle=\"dropdown\" aria-expanded=\"true\">
{% trans %}Available Invoices{% endtrans %} <i class=\"icon-menu9 position-right\"></i>
</a>
{% endif %}
<ul class=\"dropdown-menu dropdown-menu-right bg-teal-400\">
{% if type == 'Proforma'%}
{% for pro in proformas %}
<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>
{% endfor %}
{% else %}
{% for inv in invoice %}
{% if inv.type == 'Invoice' %}
<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>
{% else %}
<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>
{% endif %}
{% endfor %}
{% endif %}
</ul>
</li>
</ul>
<ul class=\"icons-list\" style=\"margin-top: 0px;\">
<li>
<a class=\"btn bg-brown-600 btn-block\" href=\"/reservations-greenpatio/selinvoice/{{ id }}\">{% trans %}CotizaciĂłn{% endtrans %}</a>
</li>
<li>
<a class=\"btn bg-success-800 btn-block\" href=\"/reservations-greenpatio/editsimple/{{ id }}\">{% trans %}Volver a Reserva{% endtrans %}</a>
</li>
{% if fid is not null and (app.session.get('_modules').madmin == 1 or is_granted('ROLE_ADMIN')) %}
{% if boolToRec %} {# Solo se puede hacer 1 factura rectificativa #}
<li>
<a class=\"btn bg-danger-800 btn-block\" href=\"/reservations-greenpatio/invoicerec/{{ fid }}\">{% trans %}Rectificar Factura{% endtrans %}</a>
</li>
{% endif %}
{% endif %}
<li>
{% if type == 'Proforma'%}
<a target=\"_blank\" class=\"btn bg-danger-300 btn-block\" href=\"/pdf/greenpatioinvprof/P/{{ fid }}\">{% trans %}Pdf Proforma{% endtrans %}</a>
{% else %}
{% if type == 'Invoice'%}
<a target=\"_blank\" class=\"btn bg-danger-300 btn-block\" href=\"/pdf/greenpatioinvprof/I/{{ fid }}\">{% trans %}Pdf Invoice{% endtrans %}</a>
{% else %}
<a target=\"_blank\" class=\"btn bg-danger-300 btn-block\" href=\"/pdf/greenpatioinvprof/R/{{ fid }}\">{% trans %}Pdf Rectificativa{% endtrans %}</a>
{% endif %}
{% endif %}
</li>
<li>
{% if type == 'Proforma'%}
<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>
{% else %}
{% if type == 'Invoice Rec'%}
<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>
{% else %}
{% if type == 'Invoice'%}
<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>
{% endif %}
{% endif %}
{% endif %}
</li>
{% if app.session.get('_modules').madmin == 1 or is_granted('ROLE_ADMIN') or user.id == 82 %} {# ********************* MODIFICAR EL 82 POR EL GRUPO DE GREENPATIO ********************* #}
{#<li>#}
{#<a class=\"btn bg-danger-800 btn-block\" href=\"/reservations-greenpatio/reservations/invoicedepositdelete/invoice/{{ id }}/{{ fid }}\">{% trans %}Delete Invoice{% endtrans %}</a>#}
{#</li>#}
{% endif %}
</ul>
</div>
</div>
</div>
<br>
{% if (datasupplier.lounge is defined) or (datasupplier.service is defined) or (datasupplier.payment is defined) %}
<div class=\"panel\">
<div class=\"panel-body\">
<div class=\"col-xs-2\">
<img class=\"img-responsive center-block\" src=\"/{{ company.picture }}\" alt=\"\">
</div>
<div class=\"col-xs-4 margen-15\">
<div class=\"col-xs-12\"><b>{{ company.company }}</b></div>
<div class=\"col-xs-12\"><b>CIF.: {{ company.idDocument }}</b></div>
<div class=\"col-xs-12\"><b>{% trans %}Date{% endtrans %}: {{ date|date(\"d/m/Y\") }}</b></div>
<div class=\"col-xs-12\"><b>
{% if type == 'Invoice' %}
{#{{ type|trans }} No.: {{ number }}#}
{#Por orden de Esteban Rincon se hace esta modificacion, debido a un error del agente Gabriela Bracho se necesitan 2 facturas con el #273#}
{% if number != 275 %}
{{ type|trans }} No.: {{ number }}
{% else %}
{{ type|trans }} No.: 273
{% endif %}
{% else %}
{% if type == 'Invoice Rec' %}
{{ type|trans }}, No.: R{{ number }}
<br>
<a>{% trans %}This invoice rectifies the invoice{% endtrans %} No.: {{ invoiceIdToRec }}</a>
{% else %}
{{ type|trans }} No.: {{ number }}
{% endif %}
{% endif %}
</b>
</div>
</div>
<div class=\"col-xs-6 margen-10 border-esp redondo padding-3\">
{#{% for client in clients %}#}
{#<div class=\"col-xs-12\"><b>{% trans %}Client{% endtrans %}: {{ client.name }}</b></div>#}
{#<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>#}
{#<div class=\"col-xs-12\"><b>{% trans %}Document{% endtrans %}: {{ client.typeDocument }}: {{ client.idDocument }}</b></div>#}
{#{% endfor %}#}
<div class=\"col-xs-12\"><b>{% trans %}Client{% endtrans %}: {{ clientName }}</b></div>
<div class=\"col-xs-12\"><b>{% trans %}Address{% endtrans %}: {{ clientAddress }}</b></div>
<div class=\"col-xs-12\"><b>{% trans %}Document{% endtrans %}: {{ clientDocument }}</b></div>
</div>
</div>
</div>
{% if datasupplier.lounge is defined %}
<div class=\"panel\">
<div class=\"panel-heading\">
<div class=\"panel-title\">
<h5><b>{% trans %}Lounge{% endtrans %}</b></h5>
</div>
</div>
<div class=\"panel-body\">
<table class=\"table table-striped\">
<thead>
<tr>
{#<th class=\"text-center\">{% trans %}Facturar{% endtrans %}</th>#}
<th class=\"text-center\">{% trans %}Name{% endtrans %}</th>
<th class=\"text-center\">{% trans %}Unit Price{% endtrans %}</th>
<th class=\"text-center\">{% trans %}Units{% endtrans %}</th>
{#<th class=\"text-center\">{% trans %}Pax{% endtrans %}</th>#}
<th class=\"text-center\">{% trans %}Date{% endtrans %}</th>
<th class=\"text-center\">{% trans %}Price{% endtrans %}</th>
<th class=\"text-center\">{% trans %}Vat{% endtrans %}</th>
<th class=\"text-center\">{% trans %}Total{% endtrans %}</th>
</tr>
</thead>
<tbody>
{% for itemslounge in datasupplier.lounge %}
<tr>
<td class=\"text-center\">{{ itemslounge.loungeName }}
{% if itemslounge.type is not null %}
( {{ itemslounge.type }} )
{% endif %}
</td>
<td class=\"text-center\">
{{ itemslounge.servicePrice|number_format(2, '.', ',') }} {{ currency }}
</td>
<td class=\"text-center\">
{{ itemslounge.qty }}
</td>
<td class=\"text-center\">
{{ itemslounge.dateStart|date('d/m/Y') }} - {{ itemslounge.dateEnd|date('d/m/Y') }}
</td>
<td class=\"text-center\">
<label style=\"padding-top: 7px\" id=\"loungesPrice_{{ itemslounge.id }}\">{{ itemslounge.servicePrice|number_format(2, '.', ',') }}</label> {{ currency }}
</td>
<td class=\"text-center\">
<label style=\"padding-top: 7px\" id=\"loungesVat_{{ itemslounge.id }}\">{{ itemslounge.iva }}</label> %
</td>
<td class=\"text-center\">
<label style=\"padding-top: 7px\" id=\"loungesSubtotal_{{ itemslounge.id }}\">{{ itemslounge.subtotalLounge|number_format(2, '.', ',') }}</label> {{ currency }}
</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
<div class=\"panel-footer\">
<div class=\"col-xs-12 text-center\">
{% if datasupplier.lounge is not empty %}
<div class=\"col-xs-offset-7 col-xs-3\">
<b class=\"text-success\">{% trans %}Net Amount{% endtrans %}</b>
<br>
<b>
<label id=\"netAmountLounge\"> <strong>{{ datasupplier.loungeSubTotal.neto|number_format(2, '.', ',') }}</strong></label>
{{ currency }}
</b>
</div>
<div class=\"col-xs-2 col-xs-3\">
<b class=\"text-success\">{% trans %}Total{% endtrans %}</b>
<br>
<b>
<label id=\"totalAmountLounge\"> <strong>{{ datasupplier.loungeSubTotal.sumSubT|number_format(2, '.', ',') }}</strong></label>
{{ currency }}
</b>
</div>
{% endif %}
</div>
</div>
</div>
{% endif %}
{% if datasupplier.service is defined %}
<div class=\"panel\">
<div class=\"panel-heading\">
<div class=\"panel-title\">
<h5><b>{% trans %}Services{% endtrans %}</b></h5>
</div>
</div>
<div class=\"panel-body\">
<table class=\"table table-striped\">
<thead>
<tr>
<th class=\"text-center\">{% trans %}Name{% endtrans %}</th>
<th class=\"text-center\">{% trans %}Type{% endtrans %}</th>
<th class=\"text-center\">{% trans %}Unit Price{% endtrans %}</th>
<th class=\"text-center\">{% trans %}Units{% endtrans %}</th>
<th class=\"text-center\">{% trans %}Pax{% endtrans %}</th>
<th class=\"text-center\">{% trans %}Date{% endtrans %}</th>
<th class=\"text-center\">{% trans %}Price{% endtrans %}</th>
<th class=\"text-center\">{% trans %}Vat{% endtrans %}</th>
<th class=\"text-center\">{% trans %}Total{% endtrans %}</th>
</tr>
</thead>
<tbody>
{% for itemsservice in datasupplier.service %}
<tr>
<td class=\"text-center\">{{ itemsservice.serviceName }}</td>
<td class=\"text-center\">{{ itemsservice.serviceType }}</td>
<td class=\"text-center\">{{ itemsservice.precioUnit|number_format(2, '.', ',') }} {{ currency }}</td>
<td class=\"text-center\">{{ itemsservice.qty }}</td>
<td class=\"text-center\">{{ itemsservice.pax }}</td>
<td class=\"text-center\">{{ itemsservice.date }}</td>
<td class=\"text-center\">
<label style=\"padding-top: 7px\" id=\"servicePrice_{{ itemsservice.id }}\">{{ itemsservice.subneto|number_format(2, '.', ',') }}</label> {{ currency }}
</td>
<td class=\"text-center\">
<label style=\"padding-top: 7px\" id=\"serviceVat_{{ itemsservice.id }}\">{{ itemsservice.iva }}</label>%
</td>
<td class=\"text-center\">
<label style=\"padding-top: 7px\" id=\"serviceSubtotal_{{ itemsservice.id }}\">{{ itemsservice.subtotal|number_format(2, '.', ',') }}</label> {{ currency }}
</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
<div class=\"panel-footer\">
<div class=\"col-xs-12 text-center\">
{% if datasupplier.service is not empty %}
<div class=\"col-xs-offset-7 col-xs-3\">
<b class=\"text-success\">{% trans %}Net Amount{% endtrans %}</b>
<br>
<b>
<label id=\"netAmountService\"> <strong>{{ datasupplier.serviceSubTotal.neto|number_format(2, '.', ',') }}</strong></label>
{{ currency }}
</b>
</div>
<div class=\"col-xs-2\">
<b class=\"text-success\">{% trans %}Total{% endtrans %}</b>
<br>
<b>
<label id=\"totalAmountService\"> <strong>{{ datasupplier.serviceSubTotal.sumSubT|number_format(2, '.', ',') }}</strong></label>
{{ currency }}
</b>
</div>
{% endif %}
</div>
</div>
</div>
{% endif %}
{% if datasupplier.payment is defined %}
<div class=\"panel\">
<div class=\"panel-body\">
<div class=\"panel-title\">
<h5><b>{% trans %}Payments of Invoice{% endtrans %}</b></h5>
</div>
<table class=\"table table-striped\">
<thead>
<tr>
<th class=\"text-center\">{% trans %}Way to pay{% endtrans %}</th>
<th class=\"text-center\">{% trans %}Date payment{% endtrans %}</th>
<th class=\"text-center\">{% trans %}Net{% endtrans %}</th>
<th class=\"text-center\">{% trans %}Vat{% endtrans %}</th>
<th class=\"text-center\">{% trans %}Total{% endtrans %}</th>
</tr>
</thead>
<tbody>
{% for itemsPayment in datasupplier.payment %}
<tr>
<td class=\"text-center\">{{ itemsPayment.wayToPay }}</td>
<td class=\"text-center\">{{ itemsPayment.datePayAt|date('d/m/Y') }}</td>
<td class=\"text-center\">
<label style=\"padding-top: 7px\" id=\"netAmountPayment_{{ itemsPayment.id }}\">{{ itemsPayment.amount|number_format(2, '.', ',') }}</label> {{ currency }}
</td>
<td class=\"text-center\">{{ itemsPayment.vat }}</td>
<td class=\"text-center\">{{ itemsPayment.amountTotal|number_format(2, '.', ',') }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
<div class=\"panel-footer\">
<div class=\"col-xs-12 text-center\">
{% if datasupplier.payment is not empty %}
<div class=\"col-xs-9\"></div>
<div class=\"col-xs-2\"><b class=\"text-success\">{% trans %}Total{% endtrans %}</b><br>
{% if type == 'Invoice Rec' %}
<b>
<label id=\"totalAmountPayment\"> <strong>{{ datasupplier.paymentSubTotal.sumSubT|abs|number_format(2, '.', ',') }}</strong></label>
{{ currency }}
</b>
{% else %}
<b>
<label id=\"totalAmountPayment\"> <strong>{{ datasupplier.paymentSubTotal.sumSubT|number_format(2, '.', ',') }}</strong></label>
{{ currency }}
</b>
{% endif %}
</div>
{% endif %}
</div>
</div>
</div>
{% endif %}
<div class=\"panel\">
<div class=\"panel-body\">
<div class=\"col-xs-12 \">
<div class=\"col-xs-12 \">
<div class=\"col-xs-8 text-right\"><b class=\"text-success\">{% trans %}Total Before Vat{% endtrans %}:</b></div>
<div class=\"col-xs-4 text-right alert-info\"><b>{{ totales_neto|number_format(2, '.', ',') }}{{ currency }}</b></div>
</div>
<div class=\"col-xs-12\">
<hr>
</div>
<div class=\"col-xs-12\">
<div class=\"col-xs-10 text-right\"><b class=\"text-success\">{% trans %}Vat{% endtrans %}%:</b></div>
<div class=\"col-xs-2 text-right\"><b class=\"text-success\">{% trans %}Vat{% endtrans %}:</b></div>
</div>
<div class=\"col-xs-12\">
{% if bases_imponibles.ivaMontoVeintiUno is defined %}
<div class=\"col-xs-10 text-right\"><b>21 % :</b></div>
<div class=\"col-xs-2 text-right\"><b>{{ bases_imponibles.ivaMontoVeintiUno|number_format(2, '.', ',') }}{{ currency }}</b></div>
{% endif %}
{% if bases_imponibles.ivaMontoDiez is defined %}
<div class=\"col-xs-10 text-right\"><b>10 % :</b></div>
<div class=\"col-xs-2 text-right\"><b>{{ bases_imponibles.ivaMontoDiez|number_format(2, '.', ',') }}{{ currency }}</b></div>
{% endif %}
</div>
<div class=\"col-xs-12\">
<hr>
</div>
<div class=\"col-xs-12\">
<div class=\"col-xs-8 text-right\"><b class=\"text-success\">{% trans %}Total{% endtrans %}:</b></div>
<div class=\"col-xs-4 text-right alert-info\"><b>{{ totales|number_format(2, '.', ',') }}{{ currency }}</b></div>
</div>
<div class=\"col-xs-12\">
<hr>
</div>
</div>
</div>
</div>
<div class=\"panel\">
<div class=\"panel-body\">
<div class=\"col-xs-12 text-center\">{{ company.registry }}</div>
<div class=\"col-xs-12 text-center\"><hr></div>
<div class=\"col-xs-12 text-justify\">
{% autoescape %}
{{ company.note|raw }}
{% endautoescape %}
</div>
<div class=\"col-xs-12 text-center\"><hr></div>
<div class=\"col-xs-12 text-center\"><b>{{ company.address }} {{ company.zipCode }} | {{ company.telephone }} {{ company.email }}</b></div>
</div>
</div>
{% else %}
<div class=\"text-center content-group\">
<h1 class=\"error-title offline-title\">{{ type|trans }} is Empty</h1>
<h5>{% trans %}Sorry, there's nothing to invoice{% endtrans %}</h5>
</div>
{% endif %}
</div>
</div>
</div>
</div>
<!-- Modal Services -->
<div id=\"modal_number_admin_invoiced\" class=\"modal fade\">
<div class=\"modal-dialog modal-lg\">
<div class=\"modal-content\">
<div class=\"modal-header bg-teal\">
<button type=\"button\" class=\"close\" data-dismiss=\"modal\">×</button>
<h5 class=\"modal-title\">{% trans %}Edit Number Invoice{% endtrans %}</h5>
</div>
<div id=\"modal-spinner\" class=\"modal-body\">
<form name=\"ProposalSupplierSearch\" method=\"post\" action=\"/reservations-greenpatio/reservations/invoicedeposit/number/updated/{{ id }}/{{ cid }}\" class=\"form-horizontal\" autocomplete=\"off\">
<div class=\"col-md-8\">
<div class=\"form-group form-group-material\">
<input type=\"text\" id=\"invoice_number\" name=\"invoice[number]\" class=\"form-control input-sombra input-lg\" value=\"{{ numberadmin }}\" placeholder=\"NÂș Invoice\">
</div>
</div>
<div class=\"col-md-4\">
<div class=\"form-group form-group-material\">
<button type=\"submit\" id=\"invoice_number_sumit\" name=\"invoice[send]\" class=\"btn btn-info btn-block btn-lg\">{% trans %}Save{% endtrans %}</button>
</div>
</div>
</form>
</div>
<div class=\"modal-footer text-center\">
</div>
</div>
</div>
</div>
<!-- /Modal Services -->
{% endblock %}
{% block javascripts %}
{{ parent() }}
<script type=\"text/javascript\" src=\"{{ asset('assets/js/plugins/editors/summernote/summernote.min.js') }}\"></script>
<script type=\"text/javascript\" src=\"{{ asset('assets/js/plugins/forms/styling/switchery.min.js') }}\"></script>
<script type=\"text/javascript\" src=\"{{ asset('assets/js/pages/proposal/switchery-proposal.js') }}\"></script>
<script type=\"text/javascript\" src=\"{{ asset('assets/js/plugins/forms/selects/select2.min.js') }}\"></script>
<script type=\"text/javascript\" src=\"{{ asset('assets/js/pages/components_popups.js') }}\"></script>
<script type=\"text/javascript\" src=\"{{ asset('assets/js/plugins/notifications/sweet_alert.min.js') }}\"></script>
{% endblock %}
", "MDS/GreenPatioBundle/reservations/invoice-new-invoice.html.twig", "/var/www/vhosts/inout.mante.solutions/httpdocs/templates/MDS/GreenPatioBundle/reservations/invoice-new-invoice.html.twig");
}
}