<?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/Statistics/ocupacy-statistics.html.twig */
class __TwigTemplate_4ca337a136b84f0195e4cf5a3d486f7be2255474987dcc5540de30dc5bf441af 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/StatisticsBundle/base-statistics.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/Statistics/ocupacy-statistics.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/Statistics/ocupacy-statistics.html.twig"));
$this->parent = $this->loadTemplate("MDS/StatisticsBundle/base-statistics.html.twig", "MDS/GreenPatioBundle/Statistics/ocupacy-statistics.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 "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 7
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 8
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 11
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 12
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 16
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Ocupación de los espacios", [], "messages");
echo "</legend></strong>
</div>
<form name=\"ViewForecast\" method=\"post\" action=\"/reservations-greenpatio/ocupacystatreq/\" class=\"form-horizontal\" autocomplete=\"off\">
<div class=\"col-md-3\" style=\"margin-left: 20px\"></div>
<div class=\"col-md-2\" style=\"margin-left: 20px\">
<label class=\"control-label\" for=\"forecast_date_start_title\">";
// line 22
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Fecha de inicio", [], "messages");
echo ": </label>
<input type=\"date\" id=\"forecast_date_start\" name=\"reservation_services_req[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 27
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Fecha de fin", [], "messages");
echo ": </label>
<input type=\"date\" id=\"forecast_date_start\" name=\"reservation_services_req[date_end]\" class=\"form-control\">
</div>
<div class=\"col-md-12\" style=\"margin-top: 20px\"></div>
<div class=\"col-md-4\"></div>
<div class=\"col-md-2\" style=\"margin-left: 60px; margin-top: 0px\">
<div class=\"form-group form-group-material\">
<button type=\"submit\" id=\"forecast_submit\" name=\"reservation_services_req[send]\" class=\"btn bg-success btn-block btn-lg\">";
// line 36
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Ver Ocupación", [], "messages");
echo "</button>
</div>
</div>
</form>
</div>
</div>
</div>
<div class=\"row statistics\" id=\"statistics-invoice-client\">
<div class=\"row\">
<div class=\"col-sm-12\">
<div class=\"panel panel-collapsed\">
<div class=\"panel-heading\">
<h6><b>";
// line 49
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Estadísticas de ocupación por días", [], "messages");
echo "</b></h6>
<h6 class=\"panel-title\">
<i class=\"icon-stack3 position-left\"></i>
";
// line 52
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Period", [], "messages");
echo ": ";
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, (isset($context["desde"]) || array_key_exists("desde", $context) ? $context["desde"] : (function () { throw new RuntimeError('Variable "desde" does not exist.', 52, $this->source); })()), "d/m/Y"), "html", null, true);
echo " | ";
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, (isset($context["hasta"]) || array_key_exists("hasta", $context) ? $context["hasta"] : (function () { throw new RuntimeError('Variable "hasta" does not exist.', 52, $this->source); })()), "d/m/Y"), "html", null, true);
echo "
<a class=\"heading-elements-toggle\"><i class=\"icon-more\"></i></a></h6>
<div class=\"heading-elements\">
<ul class=\"icons-list\">
<li><a data-action=\"collapse\" class=\"\"></a></li>
</ul>
</div>
</div>
<div class=\"panel-body\">
<div class=\"col-sm-12\">
<div class=\"col-sm-12 no-padding\">
<div class=\"col-sm-1 text-center\">
<b>";
// line 64
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Día de la semana", [], "messages");
echo "</b>
</div>
<div class=\"col-sm-2 text-center\">
<b>";
// line 67
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("ID del Expediente", [], "messages");
echo "</b>
</div>
<div class=\"col-sm-3 text-center\">
<b>";
// line 70
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Sala", [], "messages");
echo "</b>
</div>
<div class=\"col-sm-3 text-center\">
<b>";
// line 73
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Nombre del evento", [], "messages");
echo "</b>
</div>
<div class=\"col-sm-3 text-center\">
<b>";
// line 76
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Cliente", [], "messages");
echo "</b>
</div>
</div>
</div>
<div class=\"col-sm-12 text-center\">
<hr>
</div>
";
// line 83
$context["cinv"] = 1;
// line 84
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 84, $this->source); })()), "arrayDays", [], "any", false, false, false, 84));
foreach ($context['_seq'] as $context["index"] => $context["days"]) {
// line 85
echo " ";
if ((0 === twig_compare(((isset($context["cinv"]) || array_key_exists("cinv", $context) ? $context["cinv"] : (function () { throw new RuntimeError('Variable "cinv" does not exist.', 85, $this->source); })()) % 2), 0))) {
// line 86
echo " ";
$context["fondo"] = "bg-line-list";
// line 87
echo " ";
} else {
// line 88
echo " ";
$context["fondo"] = "";
// line 89
echo " ";
}
// line 90
echo "
<div class=\"col-sm-2 text-center\"><br>";
// line 91
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 91, $this->source); })()), "sizeDays", [], "any", false, false, false, 91), $context["index"], [], "array", false, false, false, 91), "html", null, true);
echo " veces ocupado los ";
echo twig_escape_filter($this->env, $context["index"], "html", null, true);
echo "</div>
";
// line 93
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["days"]);
foreach ($context['_seq'] as $context["_key"] => $context["day"]) {
// line 94
echo " <div class=\"col-sm-12 ";
echo twig_escape_filter($this->env, (isset($context["fondo"]) || array_key_exists("fondo", $context) ? $context["fondo"] : (function () { throw new RuntimeError('Variable "fondo" does not exist.', 94, $this->source); })()), "html", null, true);
echo " no-padding\">
<div class=\"col-sm-12\">
<div class=\"col-sm-1 text-center\">
<strong> ";
// line 97
echo twig_escape_filter($this->env, $context["index"], "html", null, true);
echo " </strong>
</div>
<div class=\"col-sm-2 text-center\">
<a href=\"/reservations-greenpatio/editsimple/";
// line 100
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["day"], "reservationId", [], "any", false, false, false, 100), "html", null, true);
echo "\" target=\"_blank\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["day"], "reservationId", [], "any", false, false, false, 100), "html", null, true);
echo "</a>
</div>
<div class=\"col-sm-3 text-center\">
";
// line 103
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["day"], "nameLounge", [], "any", false, false, false, 103), "html", null, true);
echo "
</div>
<div class=\"col-sm-3 text-center\">
";
// line 106
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["day"], "title", [], "any", false, false, false, 106), "html", null, true);
echo "
</div>
<div class=\"col-sm-3 text-center\">
";
// line 109
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["day"], "clientName", [], "any", false, false, false, 109), "html", null, true);
echo "
</div>
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['day'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 114
echo "
";
// line 115
$context["cinv"] = ((isset($context["cinv"]) || array_key_exists("cinv", $context) ? $context["cinv"] : (function () { throw new RuntimeError('Variable "cinv" does not exist.', 115, $this->source); })()) + 1);
// line 116
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['index'], $context['days'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 117
echo " </div>
</div>
</div>
</div>
<div class=\"panel panel-flat\">
<div class=\"panel-heading\">
<h5 class=\"panel-title\"><i class=\"icon-pie-chart2 position-left\"></i><strong>";
// line 124
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Grafica de ocupación por días", [], "messages");
echo "</strong></h5>
<div class=\"heading-elements\">
<ul class=\"icons-list\">
<li><a data-action=\"collapse\"></a></li>
<li><a data-action=\"reload\"></a></li>
</ul>
</div>
</div>
<div class=\"panel-body\">
<div class=\"chart-container has-scroll\">
<div class=\"chart has-fixed-height has-minimum-width\" id=\"basic_donut\"></div>
</div>
</div>
</div>
<div class=\"row\">
<div class=\"col-sm-12\">
<div class=\"panel panel-collapsed\">
<div class=\"panel-heading\">
<h6><b>";
// line 144
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Estadísticas de ocupación por meses", [], "messages");
echo "</b></h6>
<h6 class=\"panel-title\">
<i class=\"icon-stack3 position-left\"></i>
";
// line 147
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Period", [], "messages");
echo ": ";
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, (isset($context["desde"]) || array_key_exists("desde", $context) ? $context["desde"] : (function () { throw new RuntimeError('Variable "desde" does not exist.', 147, $this->source); })()), "d/m/Y"), "html", null, true);
echo " | ";
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, (isset($context["hasta"]) || array_key_exists("hasta", $context) ? $context["hasta"] : (function () { throw new RuntimeError('Variable "hasta" does not exist.', 147, $this->source); })()), "d/m/Y"), "html", null, true);
echo "
<a class=\"heading-elements-toggle\"><i class=\"icon-more\"></i></a></h6>
<div class=\"heading-elements\">
<ul class=\"icons-list\">
<li><a data-action=\"collapse\" class=\"\"></a></li>
</ul>
</div>
</div>
<div class=\"panel-body\">
<div class=\"col-sm-12 text-center\">
<hr>
</div>
";
// line 159
$context["cinv"] = 1;
// line 160
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 160, $this->source); })()), "arrayMonths", [], "any", false, false, false, 160));
foreach ($context['_seq'] as $context["index"] => $context["month"]) {
// line 161
echo " ";
if ((0 === twig_compare(((isset($context["cinv"]) || array_key_exists("cinv", $context) ? $context["cinv"] : (function () { throw new RuntimeError('Variable "cinv" does not exist.', 161, $this->source); })()) % 2), 0))) {
echo " ";
$context["fondo"] = "bg-line-list";
echo " ";
} else {
echo " ";
$context["fondo"] = "";
echo " ";
}
// line 162
echo "
<div class=\"col-sm-12 ";
// line 163
echo twig_escape_filter($this->env, (isset($context["fondo"]) || array_key_exists("fondo", $context) ? $context["fondo"] : (function () { throw new RuntimeError('Variable "fondo" does not exist.', 163, $this->source); })()), "html", null, true);
echo " no-padding\">
<div class=\"col-sm-1 text-center\">
<b>";
// line 165
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Mes", [], "messages");
echo "</b>
</div>
<div class=\"col-sm-2 text-center\">
<b>";
// line 168
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("ID del Expediente", [], "messages");
echo "</b>
</div>
<div class=\"col-sm-3 text-center\">
<b>";
// line 171
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Sala", [], "messages");
echo "</b>
</div>
<div class=\"col-sm-3 text-center\">
<b>";
// line 174
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Nombre del evento", [], "messages");
echo "</b>
</div>
<div class=\"col-sm-3 text-center\">
<b>";
// line 177
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Cliente", [], "messages");
echo "</b>
</div>
";
// line 180
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["month"]);
foreach ($context['_seq'] as $context["index2"] => $context["item"]) {
// line 181
echo " <div class=\"col-sm-12\">
<div class=\"col-sm-1 text-center\"> ";
// line 182
echo twig_escape_filter($this->env, $context["index"], "html", null, true);
echo " </div>
<div class=\"col-sm-2 text-center\"> <a href=\"/reservations-greenpatio/editsimple/";
// line 183
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "reservationId", [], "any", false, false, false, 183), "html", null, true);
echo "\" target=\"_blank\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "reservationId", [], "any", false, false, false, 183), "html", null, true);
echo "</a></div>
<div class=\"col-sm-3 text-center\"> ";
// line 184
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "nameLounge", [], "any", false, false, false, 184), "html", null, true);
echo " </div>
<div class=\"col-sm-3 text-center\"> ";
// line 185
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, false, 185), "html", null, true);
echo " </div>
<div class=\"col-sm-3 text-center\"> ";
// line 186
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "clientName", [], "any", false, false, false, 186), "html", null, true);
echo " </div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['index2'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 189
echo " </div>
<div class=\"col-sm-12\">
<br>
<br>
</div>
";
// line 195
$context["cinv"] = ((isset($context["cinv"]) || array_key_exists("cinv", $context) ? $context["cinv"] : (function () { throw new RuntimeError('Variable "cinv" does not exist.', 195, $this->source); })()) + 1);
// line 196
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['index'], $context['month'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 197
echo " </div>
</div>
</div>
</div>
<div class=\"panel panel-flat\">
<div class=\"panel-heading\">
<h5 class=\"panel-title\"><i class=\"icon-pie-chart2 position-left\"></i><strong>";
// line 204
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Grafica de ocupación por meses", [], "messages");
echo "</strong></h5>
<div class=\"heading-elements\">
<ul class=\"icons-list\">
<li><a data-action=\"collapse\"></a></li>
<li><a data-action=\"reload\"></a></li>
";
// line 210
echo " </ul>
</div>
</div>
<div class=\"panel-body\">
<div class=\"chart-container has-scroll\">
<div class=\"chart has-fixed-height has-minimum-width\" id=\"basic_donut_two\"></div>
</div>
</div>
</div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 223
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 224
echo " ";
$this->displayParentBlock("javascripts", $context, $blocks);
echo "
<script type=\"text/javascript\" src=\"";
// line 226
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 227
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/plugins/visualization/d3/d3.min.js"), "html", null, true);
echo "\"></script>
<script type=\"text/javascript\" src=\"";
// line 228
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/plugins/visualization/d3/d3_tooltip.js"), "html", null, true);
echo "\"></script>
<script type=\"text/javascript\" src=\"";
// line 229
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 230
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 231
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/plugins/visualization/echarts/echarts.js"), "html", null, true);
echo "\"></script>
<script type=\"text/javascript\" src=\"";
// line 232
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/pages/reservation/pies_donuts_ocupacy_one.js"), "html", null, true);
echo "\"></script>
<script type=\"application/javascript\">
var dataDonut=";
// line 234
echo json_encode((isset($context["dataDonut"]) || array_key_exists("dataDonut", $context) ? $context["dataDonut"] : (function () { throw new RuntimeError('Variable "dataDonut" does not exist.', 234, $this->source); })()));
echo ";
var legend=";
// line 235
echo json_encode((isset($context["legend"]) || array_key_exists("legend", $context) ? $context["legend"] : (function () { throw new RuntimeError('Variable "legend" does not exist.', 235, $this->source); })()));
echo ";
var text='';
var subtext='';
loadChart();
</script>
<script type=\"text/javascript\" src=\"";
// line 241
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/pages/reservation/pies_donuts_ocupacy_two.js"), "html", null, true);
echo "\"></script>
<script type=\"application/javascript\">
var dataDonutTwo=";
// line 243
echo json_encode((isset($context["dataDonutTwo"]) || array_key_exists("dataDonutTwo", $context) ? $context["dataDonutTwo"] : (function () { throw new RuntimeError('Variable "dataDonutTwo" does not exist.', 243, $this->source); })()));
echo ";
var legendTwo=";
// line 244
echo json_encode((isset($context["legendTwo"]) || array_key_exists("legendTwo", $context) ? $context["legendTwo"] : (function () { throw new RuntimeError('Variable "legendTwo" does not exist.', 244, $this->source); })()));
echo ";
var text='';
var subtext='';
loadChart();
</script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "MDS/GreenPatioBundle/Statistics/ocupacy-statistics.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 583 => 244, 579 => 243, 574 => 241, 565 => 235, 561 => 234, 556 => 232, 552 => 231, 548 => 230, 544 => 229, 540 => 228, 536 => 227, 532 => 226, 526 => 224, 516 => 223, 494 => 210, 486 => 204, 477 => 197, 471 => 196, 469 => 195, 461 => 189, 452 => 186, 448 => 185, 444 => 184, 438 => 183, 434 => 182, 431 => 181, 427 => 180, 421 => 177, 415 => 174, 409 => 171, 403 => 168, 397 => 165, 392 => 163, 389 => 162, 378 => 161, 373 => 160, 371 => 159, 352 => 147, 346 => 144, 323 => 124, 314 => 117, 308 => 116, 306 => 115, 303 => 114, 292 => 109, 286 => 106, 280 => 103, 272 => 100, 266 => 97, 259 => 94, 255 => 93, 248 => 91, 245 => 90, 242 => 89, 239 => 88, 236 => 87, 233 => 86, 230 => 85, 225 => 84, 223 => 83, 213 => 76, 207 => 73, 201 => 70, 195 => 67, 189 => 64, 170 => 52, 164 => 49, 148 => 36, 136 => 27, 128 => 22, 119 => 16, 113 => 12, 103 => 11, 92 => 8, 82 => 7, 71 => 4, 61 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'MDS/StatisticsBundle/base-statistics.html.twig' %}
{% block pagetitleinterno %}
{% endblock %}
{% block breadcrumbs %}
{% endblock %}
\t{% block contentProposal %}
<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 %}Ocupación de los espacios{% endtrans %}</legend></strong>
</div>
<form name=\"ViewForecast\" method=\"post\" action=\"/reservations-greenpatio/ocupacystatreq/\" class=\"form-horizontal\" autocomplete=\"off\">
<div class=\"col-md-3\" style=\"margin-left: 20px\"></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=\"reservation_services_req[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=\"reservation_services_req[date_end]\" class=\"form-control\">
</div>
<div class=\"col-md-12\" style=\"margin-top: 20px\"></div>
<div class=\"col-md-4\"></div>
<div class=\"col-md-2\" style=\"margin-left: 60px; margin-top: 0px\">
<div class=\"form-group form-group-material\">
<button type=\"submit\" id=\"forecast_submit\" name=\"reservation_services_req[send]\" class=\"btn bg-success btn-block btn-lg\">{% trans %}Ver Ocupación{% endtrans %}</button>
</div>
</div>
</form>
</div>
</div>
</div>
<div class=\"row statistics\" id=\"statistics-invoice-client\">
<div class=\"row\">
<div class=\"col-sm-12\">
<div class=\"panel panel-collapsed\">
<div class=\"panel-heading\">
<h6><b>{% trans %}Estadísticas de ocupación por días{% endtrans %}</b></h6>
<h6 class=\"panel-title\">
<i class=\"icon-stack3 position-left\"></i>
{% trans %}Period{% endtrans %}: {{ desde|date('d/m/Y') }} | {{ hasta|date('d/m/Y') }}
<a class=\"heading-elements-toggle\"><i class=\"icon-more\"></i></a></h6>
<div class=\"heading-elements\">
<ul class=\"icons-list\">
<li><a data-action=\"collapse\" class=\"\"></a></li>
</ul>
</div>
</div>
<div class=\"panel-body\">
<div class=\"col-sm-12\">
<div class=\"col-sm-12 no-padding\">
<div class=\"col-sm-1 text-center\">
<b>{% trans %}Día de la semana{% endtrans %}</b>
</div>
<div class=\"col-sm-2 text-center\">
<b>{% trans %}ID del Expediente{% endtrans %}</b>
</div>
<div class=\"col-sm-3 text-center\">
<b>{% trans %}Sala{% endtrans %}</b>
</div>
<div class=\"col-sm-3 text-center\">
<b>{% trans %}Nombre del evento{% endtrans %}</b>
</div>
<div class=\"col-sm-3 text-center\">
<b>{% trans %}Cliente{% endtrans %}</b>
</div>
</div>
</div>
<div class=\"col-sm-12 text-center\">
<hr>
</div>
{% set cinv = 1 %}
{% for index, days in data.arrayDays %}
{% if cinv % 2 == 0 %}
{% set fondo = \"bg-line-list\" %}
{% else %}
{% set fondo = \"\" %}
{% endif %}
<div class=\"col-sm-2 text-center\"><br>{{ data.sizeDays[index] }} veces ocupado los {{ index }}</div>
{% for day in days %}
<div class=\"col-sm-12 {{ fondo }} no-padding\">
<div class=\"col-sm-12\">
<div class=\"col-sm-1 text-center\">
<strong> {{ index }} </strong>
</div>
<div class=\"col-sm-2 text-center\">
<a href=\"/reservations-greenpatio/editsimple/{{ day.reservationId }}\" target=\"_blank\">{{ day.reservationId }}</a>
</div>
<div class=\"col-sm-3 text-center\">
{{ day.nameLounge }}
</div>
<div class=\"col-sm-3 text-center\">
{{ day.title }}
</div>
<div class=\"col-sm-3 text-center\">
{{ day.clientName }}
</div>
</div>
</div>
{% endfor %}
{% set cinv = cinv + 1 %}
{% endfor %}
</div>
</div>
</div>
</div>
<div class=\"panel panel-flat\">
<div class=\"panel-heading\">
<h5 class=\"panel-title\"><i class=\"icon-pie-chart2 position-left\"></i><strong>{% trans %}Grafica de ocupación por días{% endtrans %}</strong></h5>
<div class=\"heading-elements\">
<ul class=\"icons-list\">
<li><a data-action=\"collapse\"></a></li>
<li><a data-action=\"reload\"></a></li>
</ul>
</div>
</div>
<div class=\"panel-body\">
<div class=\"chart-container has-scroll\">
<div class=\"chart has-fixed-height has-minimum-width\" id=\"basic_donut\"></div>
</div>
</div>
</div>
<div class=\"row\">
<div class=\"col-sm-12\">
<div class=\"panel panel-collapsed\">
<div class=\"panel-heading\">
<h6><b>{% trans %}Estadísticas de ocupación por meses{% endtrans %}</b></h6>
<h6 class=\"panel-title\">
<i class=\"icon-stack3 position-left\"></i>
{% trans %}Period{% endtrans %}: {{ desde|date('d/m/Y') }} | {{ hasta|date('d/m/Y') }}
<a class=\"heading-elements-toggle\"><i class=\"icon-more\"></i></a></h6>
<div class=\"heading-elements\">
<ul class=\"icons-list\">
<li><a data-action=\"collapse\" class=\"\"></a></li>
</ul>
</div>
</div>
<div class=\"panel-body\">
<div class=\"col-sm-12 text-center\">
<hr>
</div>
{% set cinv = 1 %}
{% for index, month in data.arrayMonths %}
{% if cinv % 2 == 0 %} {% set fondo = \"bg-line-list\" %} {% else %} {% set fondo = \"\" %} {% endif %}
<div class=\"col-sm-12 {{ fondo }} no-padding\">
<div class=\"col-sm-1 text-center\">
<b>{% trans %}Mes{% endtrans %}</b>
</div>
<div class=\"col-sm-2 text-center\">
<b>{% trans %}ID del Expediente{% endtrans %}</b>
</div>
<div class=\"col-sm-3 text-center\">
<b>{% trans %}Sala{% endtrans %}</b>
</div>
<div class=\"col-sm-3 text-center\">
<b>{% trans %}Nombre del evento{% endtrans %}</b>
</div>
<div class=\"col-sm-3 text-center\">
<b>{% trans %}Cliente{% endtrans %}</b>
</div>
{% for index2, item in month %}
<div class=\"col-sm-12\">
<div class=\"col-sm-1 text-center\"> {{ index }} </div>
<div class=\"col-sm-2 text-center\"> <a href=\"/reservations-greenpatio/editsimple/{{ item.reservationId }}\" target=\"_blank\">{{ item.reservationId }}</a></div>
<div class=\"col-sm-3 text-center\"> {{ item.nameLounge }} </div>
<div class=\"col-sm-3 text-center\"> {{ item.title }} </div>
<div class=\"col-sm-3 text-center\"> {{ item.clientName }} </div>
</div>
{% endfor %}
</div>
<div class=\"col-sm-12\">
<br>
<br>
</div>
{% set cinv = cinv + 1 %}
{% endfor %}
</div>
</div>
</div>
</div>
<div class=\"panel panel-flat\">
<div class=\"panel-heading\">
<h5 class=\"panel-title\"><i class=\"icon-pie-chart2 position-left\"></i><strong>{% trans %}Grafica de ocupación por meses{% endtrans %}</strong></h5>
<div class=\"heading-elements\">
<ul class=\"icons-list\">
<li><a data-action=\"collapse\"></a></li>
<li><a data-action=\"reload\"></a></li>
{#<li><a data-action=\"close\"></a></li>#}
</ul>
</div>
</div>
<div class=\"panel-body\">
<div class=\"chart-container has-scroll\">
<div class=\"chart has-fixed-height has-minimum-width\" id=\"basic_donut_two\"></div>
</div>
</div>
</div>
</div>
{% endblock %}
{% block javascripts %}
{{ parent() }}
<script type=\"text/javascript\" src=\"{{ asset('assets/js/plugins/forms/selects/select2.min.js') }}\"></script>
<script type=\"text/javascript\" src=\"{{ asset('assets/js/plugins/visualization/d3/d3.min.js') }}\"></script>
<script type=\"text/javascript\" src=\"{{ asset('assets/js/plugins/visualization/d3/d3_tooltip.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/plugins/forms/styling/uniform.min.js') }}\"></script>
<script type=\"text/javascript\" src=\"{{ asset('assets/js/plugins/visualization/echarts/echarts.js') }}\"></script>
<script type=\"text/javascript\" src=\"{{ asset('assets/js/pages/reservation/pies_donuts_ocupacy_one.js') }}\"></script>
<script type=\"application/javascript\">
var dataDonut={{ dataDonut|json_encode|raw }};
var legend={{ legend|json_encode|raw }};
var text='';
var subtext='';
loadChart();
</script>
<script type=\"text/javascript\" src=\"{{ asset('assets/js/pages/reservation/pies_donuts_ocupacy_two.js') }}\"></script>
<script type=\"application/javascript\">
var dataDonutTwo={{ dataDonutTwo|json_encode|raw }};
var legendTwo={{ legendTwo|json_encode|raw }};
var text='';
var subtext='';
loadChart();
</script>
{% endblock %}
", "MDS/GreenPatioBundle/Statistics/ocupacy-statistics.html.twig", "/var/www/vhosts/inout.mante.solutions/httpdocs/templates/MDS/GreenPatioBundle/Statistics/ocupacy-statistics.html.twig");
}
}