<?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/list-forecast.html.twig */
class __TwigTemplate_1b7e5efe9066da73b13f6d5c87c3cf83 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'],
'contentReservation' => [$this, 'block_contentReservation'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "MDS/GreenPatioBundle/base-reservations.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "MDS/GreenPatioBundle/reservations/list-forecast.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "MDS/GreenPatioBundle/reservations/list-forecast.html.twig"));
$this->parent = $this->loadTemplate("MDS/GreenPatioBundle/base-reservations.html.twig", "MDS/GreenPatioBundle/reservations/list-forecast.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_pagetitleinterno($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "pagetitleinterno"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "pagetitleinterno"));
// line 4
echo " <div class=\"page-title\">
<h4><i class=\"icon-list position-left\"></i> <span class=\"text-semibold\">";
// line 5
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Green Patio", [], "messages");
echo "</span> - ";
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Previsión de Ventas", [], "messages");
echo "</h4>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 9
public function block_breadcrumbs($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "breadcrumbs"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "breadcrumbs"));
// line 10
echo " <ul class=\"breadcrumb\">
<li><a href=\"/loungeadmin/list\"><i class=\"icon-home2 position-left\"></i>";
// line 11
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Home", [], "messages");
echo "</a></li>
";
// line 13
echo " </ul>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 16
public function block_contentReservation($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "contentReservation"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "contentReservation"));
// line 17
echo "
<div class=\"row settings-page\" id=\"client-client-subpage\">
<div class=\"col-sm-12\">
<div class=\"page-header\">
<div class=\"col-sm-12 text-right\">
";
// line 23
if (( !twig_test_empty((isset($context["dateStartReq"]) || array_key_exists("dateStartReq", $context) ? $context["dateStartReq"] : (function () { throw new RuntimeError('Variable "dateStartReq" does not exist.', 23, $this->source); })())) && !twig_test_empty((isset($context["dateEndReq"]) || array_key_exists("dateEndReq", $context) ? $context["dateEndReq"] : (function () { throw new RuntimeError('Variable "dateEndReq" does not exist.', 23, $this->source); })())))) {
// line 24
echo " ";
// line 25
echo " <form name=\"PrintForecast\" method=\"post\" target=\"_blank\" action=\"/pdf/greenpatioforecast/\" class=\"form-horizontal\" autocomplete=\"off\">
<input type=\"hidden\" id=\"dateStartReq\" name=\"forecast[date_start]\" class=\"form-control hidden\" value=\"";
// line 26
echo twig_escape_filter($this->env, (isset($context["dateStartReq"]) || array_key_exists("dateStartReq", $context) ? $context["dateStartReq"] : (function () { throw new RuntimeError('Variable "dateStartReq" does not exist.', 26, $this->source); })()), "html", null, true);
echo "\" />
<input type=\"hidden\" id=\"dateEndReq\" name=\"forecast[date_end]\" class=\"form-control hidden\" value=\"";
// line 27
echo twig_escape_filter($this->env, (isset($context["dateEndReq"]) || array_key_exists("dateEndReq", $context) ? $context["dateEndReq"] : (function () { throw new RuntimeError('Variable "dateEndReq" does not exist.', 27, $this->source); })()), "html", null, true);
echo "\" />
<div class=\"col-md-6\">
<div class=\"form-group form-group-material\">
<button type=\"submit\" id=\"forecast_submit\" name=\"forecast_button[send]\" class=\"btn bg-black btn-info btn-lg\">";
// line 30
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Exportar a PDF", [], "messages");
echo "</button>
</div>
</div>
</form>
";
}
// line 35
echo "
<a href=\"/reservations-greenpatio/listloungedetails\" class=\"btn btn-info btn-gl\">";
// line 36
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("List Lounge", [], "messages");
echo " <i class=\"icon-list position-right\"></i></a>
<a href=\"/reservations-greenpatio/listperiod\" class=\"btn btn-success btn-gl\">";
// line 37
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("List Period", [], "messages");
echo " <i class=\"icon-list position-right\"></i></a>
<a href=\"/reservations-greenpatio/listgpprices\" class=\"btn btn-info btn-gl\">";
// line 38
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("List Price", [], "messages");
echo " <i class=\"icon-list position-right\"></i></a>
<a href=\"/reservations-greenpatio/list\" class=\"btn btn-warning btn-gl\">";
// line 39
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Reservation List", [], "messages");
echo " <i class=\"icon-book position-right\"></i></a>
</div>
</div>
</div>
";
// line 43
$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.', 43, $this->source); })()), "session", [], "any", false, false, false, 43), "flashbag", [], "any", false, false, false, 43), "get", ["mensajeclient"], "method", false, false, false, 43));
foreach ($context['_seq'] as $context["_key"] => $context["flashMessage"]) {
// line 44
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 46
echo "
<div class=\"col-sm-12 margen-15\">
<div class=\"panel\">
<div class=\"panel-body\">
<div class=\"col-md-12\" ><strong class=\"text-info\">
<legend class=\"border-teal-800\">";
// line 51
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Previsión de Ventas", [], "messages");
echo "</legend></strong>
</div>
<form name=\"ViewForecast\" method=\"post\" action=\"/reservations-greenpatio/createforecast/\" class=\"form-horizontal\" autocomplete=\"off\">
";
// line 57
echo " ";
// line 58
echo " ";
// line 59
echo " ";
// line 60
echo " ";
// line 61
echo " ";
// line 62
echo " ";
// line 63
echo " ";
// line 64
echo " ";
// line 65
echo "
";
// line 67
echo " ";
// line 68
echo " ";
// line 69
echo " ";
// line 70
echo " ";
// line 71
echo " ";
// line 72
echo " ";
// line 73
echo " ";
// line 74
echo " ";
// line 75
echo "
<div class=\"col-md-2\" style=\"margin-left: 20px\">
<label class=\"control-label\" for=\"forecast_date_start_title\">";
// line 78
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Fecha de inicio", [], "messages");
echo ": </label>
<input type=\"date\" id=\"forecast_date_start\" name=\"forecast[date_start]\" class=\"form-control\">
</div>
<div class=\"col-md-2\" style=\"margin-left: 20px\">
<label class=\"control-label\" for=\"forecast_date_end_title\">";
// line 83
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Fecha de fin", [], "messages");
echo ": </label>
<input type=\"date\" id=\"forecast_date_start\" name=\"forecast[date_end]\" class=\"form-control\">
</div>
<div class=\"col-md-12\" style=\"margin-top: 20px\"></div>
<div class=\"col-md-2\"></div>
<div class=\"col-md-6\">
<div class=\"form-group form-group-material\">
<button type=\"submit\" id=\"forecast_submit\" name=\"forecast_button[send]\" class=\"btn bg-success btn-block btn-lg\">";
// line 94
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Ver Prevision", [], "messages");
echo "</button>
</div>
</div>
</form>
</div>
</div>
</div>
";
// line 106
if ( !twig_test_empty((isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 106, $this->source); })()))) {
// line 107
echo "
<div class=\"col-md-12 margen-15\">
<div class=\"panel\">
<div class=\"panel-heading\">
<div class=\"panel-body border-blue\">
<div class=\"col-md-12 col-xs-12\" ><strong class=\"text-info\">
<legend class=\"border-teal-800\">";
// line 113
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Listado de Reservas", [], "messages");
echo "</legend></strong>
</div>
<table id=\"table-client\" class=\"table datatable-responsive table-bordered table-hover datatable-highlight\">
<thead>
<tr>
<th>";
// line 119
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Reference", [], "messages");
echo "</th>
";
// line 121
echo " <th>";
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Fecha de inicio", [], "messages");
echo "</th>
<th>";
// line 122
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Fecha de fin", [], "messages");
echo "</th>
<th>";
// line 123
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Client", [], "messages");
echo "</th>
<th>";
// line 124
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Título", [], "messages");
echo "</th>
<th>";
// line 125
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Venta Neta", [], "messages");
echo "</th>
<th>";
// line 126
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Iva", [], "messages");
echo "</th>
<th>";
// line 127
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Venta Total", [], "messages");
echo "</th>
<th class=\"text-center\">";
// line 128
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Actions", [], "messages");
echo "</th>
</tr>
</thead>
<tbody>
";
// line 133
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 133, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["resv"]) {
// line 134
echo " <tr>
<td>";
// line 135
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["resv"], "dateReference", [], "any", false, false, false, 135), "html", null, true);
echo "</td>
";
// line 137
echo " <td>";
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["resv"], "dateStart", [], "any", false, false, false, 137), "d/m/Y"), "html", null, true);
echo "</td>
<td>";
// line 138
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["resv"], "dateEnd", [], "any", false, false, false, 138), "d/m/Y"), "html", null, true);
echo "</td>
<td>";
// line 139
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["resv"], "clientName", [], "any", false, false, false, 139), "html", null, true);
echo "</td>
<td>";
// line 140
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["resv"], "title", [], "any", false, false, false, 140), "html", null, true);
echo "</td>
<td>";
// line 141
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["resv"], "neto", [], "any", false, false, false, 141), "html", null, true);
echo "</td>
<td>";
// line 142
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["resv"], "vat", [], "any", false, false, false, 142), "html", null, true);
echo "</td>
<td>";
// line 143
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["resv"], "total", [], "any", false, false, false, 143), "html", null, true);
echo "</td>
<td class=\"text-center\">
<ul class=\"icons-list\">
<li class=\"dropdown\">
<a class=\"btn border-info text-info btn-flat btn-rounded btn-icon btn-lg\" href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">
<i class=\"icon-menu9\"></i>
</a>
<ul class=\"dropdown-menu dropdown-menu-right bg-teal-400\">
<li><a href=\"/reservations-greenpatio/editsimple/";
// line 151
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["resv"], "reservationId", [], "any", false, false, false, 151), "html", null, true);
echo "\"><i class=\"icon-eye pull-right\"></i> ";
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Ver Reserva", [], "messages");
echo "</a></li>
</ul>
</li>
</ul>
</td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['resv'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 158
echo "
</tbody>
</table>
</div>
<h1><span class=\"text-semibold\">";
// line 162
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Previsión de Venta", [], "messages");
echo "</span></h1>
<h4><span class=\"text-semibold\">";
// line 163
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Neto:", [], "messages");
echo " ";
echo twig_escape_filter($this->env, (isset($context["netoForeCast"]) || array_key_exists("netoForeCast", $context) ? $context["netoForeCast"] : (function () { throw new RuntimeError('Variable "netoForeCast" does not exist.', 163, $this->source); })()), "html", null, true);
echo " €</span></h4>
<h4><span class=\"text-semibold\">";
// line 164
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Iva:", [], "messages");
echo " ";
echo twig_escape_filter($this->env, (isset($context["vatForeCast"]) || array_key_exists("vatForeCast", $context) ? $context["vatForeCast"] : (function () { throw new RuntimeError('Variable "vatForeCast" does not exist.', 164, $this->source); })()), "html", null, true);
echo " €</span></h4>
<h4><span class=\"text-semibold\">";
// line 165
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Total:", [], "messages");
echo " ";
echo twig_escape_filter($this->env, (isset($context["totalForeCast"]) || array_key_exists("totalForeCast", $context) ? $context["totalForeCast"] : (function () { throw new RuntimeError('Variable "totalForeCast" does not exist.', 165, $this->source); })()), "html", null, true);
echo " €</span></h4>
</div>
</div>
</div>
";
}
// line 172
echo "
</div>
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 179
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 180
echo " ";
$this->displayParentBlock("javascripts", $context, $blocks);
echo "
<script type=\"text/javascript\" src=\"";
// line 181
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/plugins/forms/styling/uniform.min.js"), "html", null, true);
echo "\"></script>
<script type=\"text/javascript\" src=\"";
// line 182
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/plugins/forms/styling/switch.min.js"), "html", null, true);
echo "\"></script>
<script type=\"text/javascript\" src=\"";
// line 183
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/pages/form_checkboxes_radios.js"), "html", null, true);
echo "\"></script>
<script type=\"text/javascript\" src=\"";
// line 184
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/plugins/tables/datatables/datatables.min.js"), "html", null, true);
echo "\"></script>
<script type=\"text/javascript\" src=\"";
// line 185
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/plugins/tables/datatables/extensions/responsive.min.js"), "html", null, true);
echo "\"></script>
<script type=\"text/javascript\" src=\"";
// line 186
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/pages/datatables_responsive.js"), "html", null, true);
echo "\"></script>
<script type=\"text/javascript\" src=\"";
// line 187
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/pages/datatables_advanced.js"), "html", null, true);
echo "\"></script>
<script type=\"text/javascript\" src=\"";
// line 188
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 189
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/pages/greenpatio/invoice-update.js"), "html", null, true);
echo "\"></script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "MDS/GreenPatioBundle/reservations/list-forecast.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 506 => 189, 502 => 188, 498 => 187, 494 => 186, 490 => 185, 486 => 184, 482 => 183, 478 => 182, 474 => 181, 469 => 180, 459 => 179, 443 => 172, 431 => 165, 425 => 164, 419 => 163, 415 => 162, 409 => 158, 394 => 151, 383 => 143, 379 => 142, 375 => 141, 371 => 140, 367 => 139, 363 => 138, 358 => 137, 354 => 135, 351 => 134, 347 => 133, 339 => 128, 335 => 127, 331 => 126, 327 => 125, 323 => 124, 319 => 123, 315 => 122, 310 => 121, 306 => 119, 297 => 113, 289 => 107, 287 => 106, 272 => 94, 258 => 83, 250 => 78, 245 => 75, 243 => 74, 241 => 73, 239 => 72, 237 => 71, 235 => 70, 233 => 69, 231 => 68, 229 => 67, 226 => 65, 224 => 64, 222 => 63, 220 => 62, 218 => 61, 216 => 60, 214 => 59, 212 => 58, 210 => 57, 202 => 51, 195 => 46, 186 => 44, 182 => 43, 175 => 39, 171 => 38, 167 => 37, 163 => 36, 160 => 35, 152 => 30, 146 => 27, 142 => 26, 139 => 25, 137 => 24, 135 => 23, 127 => 17, 117 => 16, 106 => 13, 102 => 11, 99 => 10, 89 => 9, 74 => 5, 71 => 4, 61 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'MDS/GreenPatioBundle/base-reservations.html.twig' %}
{% block pagetitleinterno %}
<div class=\"page-title\">
<h4><i class=\"icon-list position-left\"></i> <span class=\"text-semibold\">{% trans %}Green Patio{% endtrans %}</span> - {% trans %}Previsión de Ventas{% endtrans %}</h4>
</div>
{% endblock %}
{% block breadcrumbs %}
<ul class=\"breadcrumb\">
<li><a href=\"/loungeadmin/list\"><i class=\"icon-home2 position-left\"></i>{% trans %}Home{% endtrans %}</a></li>
{#<li class=\"active\"><i class=\"icon-add-to-list position-left\"></i>{% trans %}Period List{% endtrans %}</li>#}
</ul>
{% endblock %}
\t{% block contentReservation %}
<div class=\"row settings-page\" id=\"client-client-subpage\">
<div class=\"col-sm-12\">
<div class=\"page-header\">
<div class=\"col-sm-12 text-right\">
{% if dateStartReq is not empty and dateEndReq is not empty %}
{#<form name=\"PrintForecast\" method=\"post\" target=\"_blank\" action=\"/reservations-greenpatio/createforecastprint/\" class=\"form-horizontal\" autocomplete=\"off\">#}
<form name=\"PrintForecast\" method=\"post\" target=\"_blank\" action=\"/pdf/greenpatioforecast/\" class=\"form-horizontal\" autocomplete=\"off\">
<input type=\"hidden\" id=\"dateStartReq\" name=\"forecast[date_start]\" class=\"form-control hidden\" value=\"{{ dateStartReq }}\" />
<input type=\"hidden\" id=\"dateEndReq\" name=\"forecast[date_end]\" class=\"form-control hidden\" value=\"{{ dateEndReq }}\" />
<div class=\"col-md-6\">
<div class=\"form-group form-group-material\">
<button type=\"submit\" id=\"forecast_submit\" name=\"forecast_button[send]\" class=\"btn bg-black btn-info btn-lg\">{% trans %}Exportar a PDF{% endtrans %}</button>
</div>
</div>
</form>
{% endif %}
<a href=\"/reservations-greenpatio/listloungedetails\" class=\"btn btn-info btn-gl\">{% trans %}List Lounge{% endtrans %} <i class=\"icon-list position-right\"></i></a>
<a href=\"/reservations-greenpatio/listperiod\" class=\"btn btn-success btn-gl\">{% trans %}List Period{% endtrans %} <i class=\"icon-list position-right\"></i></a>
<a href=\"/reservations-greenpatio/listgpprices\" class=\"btn btn-info btn-gl\">{% trans %}List Price{% endtrans %} <i class=\"icon-list position-right\"></i></a>
<a href=\"/reservations-greenpatio/list\" class=\"btn btn-warning btn-gl\">{% trans %}Reservation List{% endtrans %} <i class=\"icon-book position-right\"></i></a>
</div>
</div>
</div>
{% for flashMessage in app.session.flashbag.get('mensajeclient') %}
<div class=\"hidden alertFlashMensaje\" data-mensaje=\"{{ flashMessage }}\"></div>
{% endfor %}
<div class=\"col-sm-12 margen-15\">
<div class=\"panel\">
<div class=\"panel-body\">
<div class=\"col-md-12\" ><strong class=\"text-info\">
<legend class=\"border-teal-800\">{% trans %}Previsión de Ventas{% endtrans %}</legend></strong>
</div>
<form name=\"ViewForecast\" method=\"post\" action=\"/reservations-greenpatio/createforecast/\" class=\"form-horizontal\" autocomplete=\"off\">
{#<div class=\"col-md-2\" style=\"margin-left: 20px\">#}
{#<label class=\"control-label\" for=\"forecast_month_title\">{% trans %}Mes{% endtrans %}: </label>#}
{#<select id=\"forecast_month\" name=\"forecast[month]\" class=\"form-control\">#}
{#<option value=\"\">{% trans %}Seleccione el mes{% endtrans %}</option>#}
{#{% for key, month in months %}#}
{#<option value=\"{{ key }}\">{{ month|capitalize }}</option>#}
{#{% endfor %}#}
{#</select>#}
{#</div>#}
{#<div class=\"col-md-2\" style=\"margin-left: 20px\">#}
{#<label class=\"control-label\" for=\"forecast_year_title\">{% trans %}Year{% endtrans %}: </label>#}
{#<select id=\"forecast_year\" name=\"forecast[year]\" class=\"form-control\">#}
{#<option value=\"\">{% trans %}Seleccione el año{% endtrans %}</option>#}
{#{% for year in years %}#}
{#<option value=\"{{ year }}\">{{ year|capitalize }}</option>#}
{#{% endfor %}#}
{#</select>#}
{#</div>#}
<div class=\"col-md-2\" style=\"margin-left: 20px\">
<label class=\"control-label\" for=\"forecast_date_start_title\">{% trans %}Fecha de inicio{% endtrans %}: </label>
<input type=\"date\" id=\"forecast_date_start\" name=\"forecast[date_start]\" class=\"form-control\">
</div>
<div class=\"col-md-2\" style=\"margin-left: 20px\">
<label class=\"control-label\" for=\"forecast_date_end_title\">{% trans %}Fecha de fin{% endtrans %}: </label>
<input type=\"date\" id=\"forecast_date_start\" name=\"forecast[date_end]\" class=\"form-control\">
</div>
<div class=\"col-md-12\" style=\"margin-top: 20px\"></div>
<div class=\"col-md-2\"></div>
<div class=\"col-md-6\">
<div class=\"form-group form-group-material\">
<button type=\"submit\" id=\"forecast_submit\" name=\"forecast_button[send]\" class=\"btn bg-success btn-block btn-lg\">{% trans %}Ver Prevision{% endtrans %}</button>
</div>
</div>
</form>
</div>
</div>
</div>
{% if data is not empty %}
<div class=\"col-md-12 margen-15\">
<div class=\"panel\">
<div class=\"panel-heading\">
<div class=\"panel-body border-blue\">
<div class=\"col-md-12 col-xs-12\" ><strong class=\"text-info\">
<legend class=\"border-teal-800\">{% trans %}Listado de Reservas{% endtrans %}</legend></strong>
</div>
<table id=\"table-client\" class=\"table datatable-responsive table-bordered table-hover datatable-highlight\">
<thead>
<tr>
<th>{% trans %}Reference{% endtrans %}</th>
{#<th>{% trans %}Id{% endtrans %}</th>#}
<th>{% trans %}Fecha de inicio{% endtrans %}</th>
<th>{% trans %}Fecha de fin{% endtrans %}</th>
<th>{% trans %}Client{% endtrans %}</th>
<th>{% trans %}Título{% endtrans %}</th>
<th>{% trans %}Venta Neta{% endtrans %}</th>
<th>{% trans %}Iva{% endtrans %}</th>
<th>{% trans %}Venta Total{% endtrans %}</th>
<th class=\"text-center\">{% trans %}Actions{% endtrans %}</th>
</tr>
</thead>
<tbody>
{% for resv in data %}
<tr>
<td>{{ resv.dateReference }}</td>
{#<td>{{ resv.reservationId }}</td>#}
<td>{{ resv.dateStart|date('d/m/Y')}}</td>
<td>{{ resv.dateEnd|date('d/m/Y')}}</td>
<td>{{ resv.clientName }}</td>
<td>{{ resv.title }}</td>
<td>{{ resv.neto}}</td>
<td>{{ resv.vat}}</td>
<td>{{ resv.total}}</td>
<td class=\"text-center\">
<ul class=\"icons-list\">
<li class=\"dropdown\">
<a class=\"btn border-info text-info btn-flat btn-rounded btn-icon btn-lg\" href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">
<i class=\"icon-menu9\"></i>
</a>
<ul class=\"dropdown-menu dropdown-menu-right bg-teal-400\">
<li><a href=\"/reservations-greenpatio/editsimple/{{ resv.reservationId }}\"><i class=\"icon-eye pull-right\"></i> {% trans %}Ver Reserva{% endtrans %}</a></li>
</ul>
</li>
</ul>
</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
<h1><span class=\"text-semibold\">{% trans %}Previsión de Venta {% endtrans %}</span></h1>
<h4><span class=\"text-semibold\">{% trans %}Neto: {% endtrans %} {{ netoForeCast }} €</span></h4>
<h4><span class=\"text-semibold\">{% trans %}Iva: {% endtrans %} {{ vatForeCast }} €</span></h4>
<h4><span class=\"text-semibold\">{% trans %}Total: {% endtrans %} {{ totalForeCast }} €</span></h4>
</div>
</div>
</div>
{% endif %}
</div>
</div>
</div>
{% endblock %}
{% block javascripts %}
{{ parent() }}
<script type=\"text/javascript\" src=\"{{ asset('assets/js/plugins/forms/styling/uniform.min.js') }}\"></script>
<script type=\"text/javascript\" src=\"{{ asset('assets/js/plugins/forms/styling/switch.min.js') }}\"></script>
<script type=\"text/javascript\" src=\"{{ asset('assets/js/pages/form_checkboxes_radios.js') }}\"></script>
<script type=\"text/javascript\" src=\"{{ asset('assets/js/plugins/tables/datatables/datatables.min.js') }}\"></script>
<script type=\"text/javascript\" src=\"{{ asset('assets/js/plugins/tables/datatables/extensions/responsive.min.js') }}\"></script>
<script type=\"text/javascript\" src=\"{{ asset('assets/js/pages/datatables_responsive.js') }}\"></script>
<script type=\"text/javascript\" src=\"{{ asset('assets/js/pages/datatables_advanced.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/greenpatio/invoice-update.js') }}\"></script>
{% endblock %}
", "MDS/GreenPatioBundle/reservations/list-forecast.html.twig", "/var/www/vhosts/inout.mante.solutions/httpdocs/templates/MDS/GreenPatioBundle/reservations/list-forecast.html.twig");
}
}