var/cache/dev/twig/42/420032c8a20b5c30ae5b16e441aae94565afe24519ef86dc405554e9dc13e4c9.php line 41

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* MDS/GreenPatioBundle/reservations/list-statistics.html.twig */
  14. class __TwigTemplate_599c8de426c2ee2ec0e036fb3ce496d47ad597b8ed1c0eec17ad184804ab0eb6 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'pagetitleinterno' => [$this'block_pagetitleinterno'],
  24.             'breadcrumbs' => [$this'block_breadcrumbs'],
  25.             'contentReservation' => [$this'block_contentReservation'],
  26.             'javascripts' => [$this'block_javascripts'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "MDS/GreenPatioBundle/base-reservations.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""MDS/GreenPatioBundle/reservations/list-statistics.html.twig"));
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""MDS/GreenPatioBundle/reservations/list-statistics.html.twig"));
  41.         $this->parent $this->loadTemplate("MDS/GreenPatioBundle/base-reservations.html.twig""MDS/GreenPatioBundle/reservations/list-statistics.html.twig"1);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  45.         
  46.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  47.     }
  48.     // line 3
  49.     public function block_pagetitleinterno($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pagetitleinterno"));
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pagetitleinterno"));
  56.         // line 4
  57.         echo "    <div class=\"page-title\">
  58.         <h4><i class=\"icon-list position-left\"></i> <span class=\"text-semibold\">";
  59.         // line 5
  60.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Green Patio", [], "messages");
  61.         echo "</span> - ";
  62.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Estadísticas", [], "messages");
  63.         echo "</h4>
  64.     </div>
  65. ";
  66.         
  67.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  68.         
  69.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  70.     }
  71.     // line 9
  72.     public function block_breadcrumbs($context, array $blocks = [])
  73.     {
  74.         $macros $this->macros;
  75.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  76.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcrumbs"));
  77.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  78.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcrumbs"));
  79.         // line 10
  80.         echo "    <ul class=\"breadcrumb\">
  81.         <li><a href=\"/loungeadmin/list\"><i class=\"icon-home2 position-left\"></i>";
  82.         // line 11
  83.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Home", [], "messages");
  84.         echo "</a></li>
  85.     </ul>
  86. ";
  87.         
  88.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  89.         
  90.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  91.     }
  92.     // line 15
  93.     public function block_contentReservation($context, array $blocks = [])
  94.     {
  95.         $macros $this->macros;
  96.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  97.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""contentReservation"));
  98.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  99.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""contentReservation"));
  100.         // line 16
  101.         echo "
  102.     <div class=\"row settings-page\" id=\"client-client-subpage\">
  103.         <div class=\"col-sm-12\">
  104.             <div class=\"page-header\">
  105.                 <div class=\"col-sm-12 text-right\">
  106.                     ";
  107.         // line 21
  108.         if (( !twig_test_empty((isset($context["dateStartReq"]) || array_key_exists("dateStartReq"$context) ? $context["dateStartReq"] : (function () { throw new RuntimeError('Variable "dateStartReq" does not exist.'21$this->source); })())) &&  !twig_test_empty((isset($context["dateEndReq"]) || array_key_exists("dateEndReq"$context) ? $context["dateEndReq"] : (function () { throw new RuntimeError('Variable "dateEndReq" does not exist.'21$this->source); })())))) {
  109.             // line 22
  110.             echo "                        <form name=\"PrintForecast\" method=\"post\" target=\"_blank\"  action=\"/pdf/greenpatioforecast/\" class=\"form-horizontal\" autocomplete=\"off\">
  111.                             <input type=\"hidden\" id=\"dateStartReq\" name=\"forecast[date_start]\" class=\"form-control hidden\" value=\"";
  112.             // line 23
  113.             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.'23$this->source); })()), "html"nulltrue);
  114.             echo "\" />
  115.                             <input type=\"hidden\" id=\"dateEndReq\" name=\"forecast[date_end]\" class=\"form-control hidden\" value=\"";
  116.             // line 24
  117.             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.'24$this->source); })()), "html"nulltrue);
  118.             echo "\" />
  119.                             <div class=\"col-md-6\">
  120.                                 <div class=\"form-group form-group-material\">
  121.                                     <button type=\"submit\" id=\"forecast_submit\" name=\"forecast_button[send]\" class=\"btn bg-black btn-info btn-lg\">";
  122.             // line 27
  123.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Previsión de Ventas en PDF", [], "messages");
  124.             echo "</button>
  125.                                 </div>
  126.                             </div>
  127.                         </form>
  128.                     ";
  129.         }
  130.         // line 32
  131.         echo "
  132.                     <a href=\"/reservations-greenpatio/listloungedetails\"  class=\"btn btn-info btn-gl\">";
  133.         // line 33
  134.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("List Lounge", [], "messages");
  135.         echo " <i class=\"icon-list position-right\"></i></a>
  136.                     <a href=\"/reservations-greenpatio/listperiod\"  class=\"btn btn-success btn-gl\">";
  137.         // line 34
  138.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("List Period", [], "messages");
  139.         echo " <i class=\"icon-list position-right\"></i></a>
  140.                     <a href=\"/reservations-greenpatio/listgpprices\"  class=\"btn btn-info btn-gl\">";
  141.         // line 35
  142.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("List Price", [], "messages");
  143.         echo " <i class=\"icon-list position-right\"></i></a>
  144.                     <a href=\"/reservations-greenpatio/list\"  class=\"btn btn-warning btn-gl\">";
  145.         // line 36
  146.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Reservation List", [], "messages");
  147.         echo " <i class=\"icon-book position-right\"></i></a>
  148.                 </div>
  149.             </div>
  150.         </div>
  151.         ";
  152.         // line 40
  153.         $context['_parent'] = $context;
  154.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'40$this->source); })()), "session", [], "any"falsefalsefalse40), "flashbag", [], "any"falsefalsefalse40), "get", ["mensajeclient"], "method"falsefalsefalse40));
  155.         foreach ($context['_seq'] as $context["_key"] => $context["flashMessage"]) {
  156.             // line 41
  157.             echo "            <div class=\"hidden alertFlashMensaje\" data-mensaje=\"";
  158.             echo twig_escape_filter($this->env$context["flashMessage"], "html"nulltrue);
  159.             echo "\"></div>
  160.         ";
  161.         }
  162.         $_parent $context['_parent'];
  163.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flashMessage'], $context['_parent'], $context['loop']);
  164.         $context array_intersect_key($context$_parent) + $_parent;
  165.         // line 43
  166.         echo "
  167.         <div class=\"col-sm-12 margen-15\">
  168.             <div class=\"panel\">
  169.                 <div class=\"panel-body\">
  170.                     <div class=\"col-md-12\" ><strong class=\"text-info\">
  171.                         <legend class=\"border-teal-800\">";
  172.         // line 48
  173.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Consulta de Reservas", [], "messages");
  174.         echo "</legend></strong>
  175.                     </div>
  176.                     <form name=\"ViewForecast\" method=\"post\" action=\"/reservations-greenpatio/responseliststatistics/\" class=\"form-horizontal\" autocomplete=\"off\">
  177.                         <div class=\"col-md-2\" style=\"margin-left: 20px\">
  178.                             <label class=\"control-label\" for=\"forecast_date_start_title\">";
  179.         // line 53
  180.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Fecha de inicio", [], "messages");
  181.         echo ": </label>
  182.                             ";
  183.         // line 55
  184.         echo "                            ";
  185.         if ((null === (isset($context["dateStartReq"]) || array_key_exists("dateStartReq"$context) ? $context["dateStartReq"] : (function () { throw new RuntimeError('Variable "dateStartReq" does not exist.'55$this->source); })()))) {
  186.             // line 56
  187.             echo "                                <input type=\"date\" id=\"forecast_date_start\" name=\"forecast[date_start]\" class=\"form-control\">
  188.                             ";
  189.         } else {
  190.             // line 58
  191.             echo "                                <input type=\"date\" id=\"forecast_date_start\" name=\"forecast[date_start]\" class=\"form-control\" value=\"";
  192.             echo twig_escape_filter($this->envtwig_date_format_filter($this->env, (isset($context["dateStartReq"]) || array_key_exists("dateStartReq"$context) ? $context["dateStartReq"] : (function () { throw new RuntimeError('Variable "dateStartReq" does not exist.'58$this->source); })()), "Y-m-d"), "html"nulltrue);
  193.             echo "\">
  194.                             ";
  195.         }
  196.         // line 60
  197.         echo "                        </div>
  198.                         <div class=\"col-md-2\" style=\"margin-left: 20px\">
  199.                             <label class=\"control-label\" for=\"forecast_date_end_title\">";
  200.         // line 63
  201.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Fecha de fin", [], "messages");
  202.         echo ": </label>
  203.                             ";
  204.         // line 65
  205.         echo "                            ";
  206.         if ((null === (isset($context["dateEndReq"]) || array_key_exists("dateEndReq"$context) ? $context["dateEndReq"] : (function () { throw new RuntimeError('Variable "dateEndReq" does not exist.'65$this->source); })()))) {
  207.             // line 66
  208.             echo "                                <input type=\"date\" id=\"forecast_date_end\" name=\"forecast[date_end]\" class=\"form-control\">
  209.                             ";
  210.         } else {
  211.             // line 68
  212.             echo "                                <input type=\"date\" id=\"forecast_date_end\" name=\"forecast[date_end]\" class=\"form-control\" value=\"";
  213.             echo twig_escape_filter($this->envtwig_date_format_filter($this->env, (isset($context["dateEndReq"]) || array_key_exists("dateEndReq"$context) ? $context["dateEndReq"] : (function () { throw new RuntimeError('Variable "dateEndReq" does not exist.'68$this->source); })()), "Y-m-d"), "html"nulltrue);
  214.             echo "\">
  215.                             ";
  216.         }
  217.         // line 70
  218.         echo "                        </div>
  219.                         <div class=\"col-md-2\" style=\"margin-left: 20px\">
  220.                             <div class=\"col-md-6\"><label class=\"control-label text-left\">";
  221.         // line 73
  222.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Client", [], "messages");
  223.         echo "</label></div>
  224.                             <div class=\"col-md-12\">
  225.                                 <select id=\"client\" name=\"client\" class=\"form-control\">
  226.                                     <option value=\"\">";
  227.         // line 76
  228.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Select a client", [], "messages");
  229.         echo "</option>
  230.                                     ";
  231.         // line 77
  232.         $context['_parent'] = $context;
  233.         $context['_seq'] = twig_ensure_traversable((isset($context["clients"]) || array_key_exists("clients"$context) ? $context["clients"] : (function () { throw new RuntimeError('Variable "clients" does not exist.'77$this->source); })()));
  234.         foreach ($context['_seq'] as $context["_key"] => $context["client"]) {
  235.             // line 78
  236.             echo "                                        ";
  237.             if ((=== twig_compare(twig_get_attribute($this->env$this->source$context["client"], "Id", [], "any"falsefalsefalse78), (isset($context["clientId"]) || array_key_exists("clientId"$context) ? $context["clientId"] : (function () { throw new RuntimeError('Variable "clientId" does not exist.'78$this->source); })())))) {
  238.                 // line 79
  239.                 echo "                                            <option value=\"";
  240.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["client"], "id", [], "any"falsefalsefalse79), "html"nulltrue);
  241.                 echo "\" selected=\"selected\">";
  242.                 echo twig_escape_filter($this->envtwig_capitalize_string_filter($this->envtwig_get_attribute($this->env$this->source$context["client"], "name", [], "any"falsefalsefalse79)), "html"nulltrue);
  243.                 echo " </option>
  244.                                         ";
  245.             } else {
  246.                 // line 81
  247.                 echo "                                            <option value=\"";
  248.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["client"], "id", [], "any"falsefalsefalse81), "html"nulltrue);
  249.                 echo "\">";
  250.                 echo twig_escape_filter($this->envtwig_capitalize_string_filter($this->envtwig_get_attribute($this->env$this->source$context["client"], "name", [], "any"falsefalsefalse81)), "html"nulltrue);
  251.                 echo "  </option>
  252.                                         ";
  253.             }
  254.             // line 83
  255.             echo "                                    ";
  256.         }
  257.         $_parent $context['_parent'];
  258.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['client'], $context['_parent'], $context['loop']);
  259.         $context array_intersect_key($context$_parent) + $_parent;
  260.         // line 84
  261.         echo "                                </select>
  262.                             </div>
  263.                         </div>
  264.                         <div class=\"col-xs-12 col-lg-5\" style=\"margin-left: 20px; z-index: 1;\">
  265.                             <div class=\"col-xs-12\"><label class=\"control-label text-center\">";
  266.         // line 89
  267.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Estado de la reserva", [], "messages");
  268.         echo "</label></div>
  269.                             <div class=\"col-xs-12\"></div>
  270.                             <div class=\"col-xs-6 col-lg-2\" style=\"padding-top: -5px; padding-left: 10px\">
  271.                                 <div class=\"checkbox checkbox-switchery switchery-lg switchery-double text-left\" title=\"\">
  272.                                       <label>
  273.                                         ";
  274.         // line 95
  275.         echo "                                          ";
  276.         if ((array_key_exists("boolBlocked"$context) && (=== twig_compare((isset($context["boolBlocked"]) || array_key_exists("boolBlocked"$context) ? $context["boolBlocked"] : (function () { throw new RuntimeError('Variable "boolBlocked" does not exist.'95$this->source); })()), true)))) {
  277.             // line 96
  278.             echo "                                              <input type=\"checkbox\" class=\"switchery-info boolDelete\" id=\"boolBlocked\" name=\"boolStatus[Blocked]\" checked=\"checked\" onchange=\"changeChkLounge();\">
  279.                                           ";
  280.         } else {
  281.             // line 98
  282.             echo "                                              <input type=\"checkbox\" class=\"switchery-info boolDelete\" id=\"boolBlocked\" name=\"boolStatus[Blocked]\" onchange=\"changeChkLounge();\">
  283.                                           ";
  284.         }
  285.         // line 100
  286.         echo "                                    </label>
  287.                                     <label class=\"control-label text-left\" style=\"padding-top: 10px\">";
  288.         // line 101
  289.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Bloqueado", [], "messages");
  290.         echo "</label>
  291.                                 </div>
  292.                             </div>
  293.                             <div class=\"col-xs-6 col-lg-2\" style=\"padding-top: -5px; padding-left: 10px\">
  294.                                 <div class=\"checkbox checkbox-switchery switchery-lg switchery-double text-left\" title=\"\">
  295.                                     <label>
  296.                                         ";
  297.         // line 109
  298.         echo "                                        ";
  299.         if ((array_key_exists("boolConfirmed"$context) && (=== twig_compare((isset($context["boolConfirmed"]) || array_key_exists("boolConfirmed"$context) ? $context["boolConfirmed"] : (function () { throw new RuntimeError('Variable "boolConfirmed" does not exist.'109$this->source); })()), true)))) {
  300.             // line 110
  301.             echo "                                            <input type=\"checkbox\" class=\"switchery-info boolDelete\" id=\"boolConfirmed\" name=\"boolStatus[Confirmed]\" checked=\"checked\" onchange=\"changeChkLounge();\">
  302.                                         ";
  303.         } else {
  304.             // line 112
  305.             echo "                                            <input type=\"checkbox\" class=\"switchery-info boolDelete\" id=\"boolConfirmed\" name=\"boolStatus[Confirmed]\" onchange=\"changeChkLounge();\">
  306.                                         ";
  307.         }
  308.         // line 114
  309.         echo "                                    </label>
  310.                                     <label class=\"control-label text-left\" style=\"padding-top: 10px\">";
  311.         // line 115
  312.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Confirmado", [], "messages");
  313.         echo "</label>
  314.                                 </div>
  315.                             </div>
  316.                             <div class=\"col-xs-6 col-lg-2\" style=\"padding-top: -5px; padding-left: 10px\">
  317.                                 <div class=\"checkbox checkbox-switchery switchery-lg switchery-double text-left\" title=\"\">
  318.                                     <label>
  319.                                         ";
  320.         // line 123
  321.         echo "                                        ";
  322.         if ((array_key_exists("boolQuoted"$context) && (=== twig_compare((isset($context["boolQuoted"]) || array_key_exists("boolQuoted"$context) ? $context["boolQuoted"] : (function () { throw new RuntimeError('Variable "boolQuoted" does not exist.'123$this->source); })()), true)))) {
  323.             // line 124
  324.             echo "                                            <input type=\"checkbox\" class=\"switchery-info boolDelete\" id=\"boolQuoted\" name=\"boolStatus[Quoted]\" checked=\"checked\" onchange=\"changeChkLounge();\">
  325.                                         ";
  326.         } else {
  327.             // line 126
  328.             echo "                                            <input type=\"checkbox\" class=\"switchery-info boolDelete\" id=\"boolQuoted\" name=\"boolStatus[Quoted]\" onchange=\"changeChkLounge();\">
  329.                                         ";
  330.         }
  331.         // line 128
  332.         echo "                                    </label>
  333.                                     <label class=\"control-label text-left\" style=\"padding-top: 10px\">";
  334.         // line 129
  335.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Cotizado", [], "messages");
  336.         echo "</label>
  337.                                 </div>
  338.                             </div>
  339.                             <div class=\"col-xs-6 col-lg-2\" style=\"padding-top: -5px; padding-left: 10px\">
  340.                                 <div class=\"checkbox checkbox-switchery switchery-lg switchery-double text-left\" title=\"\">
  341.                                     <label>
  342.                                         ";
  343.         // line 137
  344.         echo "                                        ";
  345.         if ((array_key_exists("boolInvoiced"$context) && (=== twig_compare((isset($context["boolInvoiced"]) || array_key_exists("boolInvoiced"$context) ? $context["boolInvoiced"] : (function () { throw new RuntimeError('Variable "boolInvoiced" does not exist.'137$this->source); })()), true)))) {
  346.             // line 138
  347.             echo "                                            <input type=\"checkbox\" class=\"switchery-info boolDelete\" id=\"boolInvoiced\" name=\"boolStatus[Invoiced]\" checked=\"checked\" onchange=\"changeChkLounge();\">
  348.                                         ";
  349.         } else {
  350.             // line 140
  351.             echo "                                            <input type=\"checkbox\" class=\"switchery-info boolDelete\" id=\"boolInvoiced\" name=\"boolStatus[Invoiced]\" onchange=\"changeChkLounge();\">
  352.                                         ";
  353.         }
  354.         // line 142
  355.         echo "                                    </label>
  356.                                     <label class=\"control-label text-left\" style=\"padding-top: 10px\">";
  357.         // line 143
  358.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Facturado", [], "messages");
  359.         echo "</label>
  360.                                 </div>
  361.                             </div>
  362.                             <div class=\"col-xs-6 col-lg-2\" style=\"padding-top: -5px; padding-left: 10px\">
  363.                                 <div class=\"checkbox checkbox-switchery switchery-lg switchery-double text-left\" title=\"\">
  364.                                     <label>
  365.                                         ";
  366.         // line 151
  367.         echo "                                        ";
  368.         if ((array_key_exists("boolCancel"$context) && (=== twig_compare((isset($context["boolCancel"]) || array_key_exists("boolCancel"$context) ? $context["boolCancel"] : (function () { throw new RuntimeError('Variable "boolCancel" does not exist.'151$this->source); })()), true)))) {
  369.             // line 152
  370.             echo "                                            <input type=\"checkbox\" class=\"switchery-info boolDelete\" id=\"boolCancel\" name=\"boolStatus[Cancel]\" checked=\"checked\" onchange=\"changeChkLounge();\">
  371.                                         ";
  372.         } else {
  373.             // line 154
  374.             echo "                                            <input type=\"checkbox\" class=\"switchery-info boolDelete\" id=\"boolCancel\" name=\"boolStatus[Cancel]\" onchange=\"changeChkLounge();\">
  375.                                         ";
  376.         }
  377.         // line 156
  378.         echo "                                    </label>
  379.                                     <label class=\"control-label text-left\" style=\"padding-top: 10px\">";
  380.         // line 157
  381.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Cancelado", [], "messages");
  382.         echo "</label>
  383.                                 </div>
  384.                             </div>
  385.                         </div>
  386.                         <div class=\"col-md-12\" style=\"margin-top: 20px\"></div>
  387.                         <style>
  388.                             /* Estilo para ajustar la lista dropdown */
  389.                             .dropdown-menu {
  390.                             max-height: 200px;
  391.                             overflow-y: auto;
  392.                             }
  393.                             /* Ajustar la apariencia de la lista */
  394.                             .dropdown-menu label {
  395.                             padding: 5px 15px;
  396.                             display: block;
  397.                             }
  398.                             /* Estilo adicional para alinear los checkbox con el texto */
  399.                             .checkbox-inline input {
  400.                             margin-right: 10px;
  401.                             }
  402.                         </style>
  403.                         <div class=\"col-md-12 col-xs-12\" style=\"padding-left: 40px; padding-right: 40px\">
  404.                             <div class=\"form-group form-group-material\">
  405.                                 ";
  406.         // line 186
  407.         echo "                                    ";
  408.         // line 187
  409.         echo "                                ";
  410.         // line 188
  411.         echo "                                <div id=\"multiselect_tags\" class=\"input-group col-sm-12 InputTagsSpinner multi-select-full\" style=\"width: 100%\">
  412.                                     <div class=\"dropdown\" style=\"width: 100%\">
  413.                                         <button class=\"btn btn-default dropdown-toggle\" type=\"button\" id=\"dropdownMenu\" data-toggle=\"dropdown\" aria-haspopup=\"true\" aria-expanded=\"false\" style=\"width: 100%\">
  414.                                             ";
  415.         // line 191
  416.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Todas las Salas", [], "messages");
  417.         // line 192
  418.         echo "                                            <span class=\"caret\"></span>
  419.                                         </button>
  420.                                         <ul class=\"dropdown-menu\" aria-labelledby=\"dropdownMenu\" style=\"width: 100%\">
  421.                                             ";
  422.         // line 195
  423.         $context['_parent'] = $context;
  424.         $context['_seq'] = twig_ensure_traversable((isset($context["salas"]) || array_key_exists("salas"$context) ? $context["salas"] : (function () { throw new RuntimeError('Variable "salas" does not exist.'195$this->source); })()));
  425.         foreach ($context['_seq'] as $context["_key"] => $context["sala"]) {
  426.             // line 196
  427.             echo "                                                <li>
  428.                                                     <label class=\"checkbox-inline\">
  429.                                                         <input type=\"checkbox\" name=\"tags[tags2][]\" value=\"";
  430.             // line 198
  431.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["sala"], "id", [], "any"falsefalsefalse198), "html"nulltrue);
  432.             echo "\"> ";
  433.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["sala"], "name", [], "any"falsefalsefalse198), "html"nulltrue);
  434.             echo "
  435.                                                     </label>
  436.                                                 </li>
  437.                                             ";
  438.         }
  439.         $_parent $context['_parent'];
  440.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['sala'], $context['_parent'], $context['loop']);
  441.         $context array_intersect_key($context$_parent) + $_parent;
  442.         // line 202
  443.         echo "                                        </ul>
  444.                                     </div>
  445.                                     <input type=\"hidden\" id=\"selected_salas\" name=\"selected_salas\" value=\"\">
  446.                                 </div>
  447.                                 <span class=\"help-block\"></span>
  448.                             </div>
  449.                         </div>
  450.                         <div class=\"col-md-12\" style=\"margin-top: 20px\"></div>
  451.                         <div class=\"col-md-4\"></div>
  452.                         <div class=\"col-md-4\">
  453.                             <div class=\"form-group form-group-material\">
  454.                                 <button type=\"submit\" id=\"forecast_submit\" name=\"forecast_button[send]\" class=\"btn bg-success btn-block btn-lg\">";
  455.         // line 214
  456.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Buscar", [], "messages");
  457.         echo "</button>
  458.                             </div>
  459.                         </div>
  460.                     </form>
  461.                 </div>
  462.             </div>
  463.         </div>
  464.         ";
  465.         // line 223
  466.         if ( !twig_test_empty((isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'223$this->source); })()))) {
  467.             // line 224
  468.             echo "            <div class=\"col-md-12 margen-15\">
  469.                 <div class=\"panel\">
  470.                     <div class=\"panel-heading\">
  471.                         <div class=\"panel-body border-blue\">
  472.                             <div class=\"col-md-12 col-xs-12\" ><strong class=\"text-info\">
  473.                                 <legend class=\"border-teal-800\">";
  474.             // line 229
  475.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Listado de Reservas", [], "messages");
  476.             echo "</legend></strong>
  477.                                 ";
  478.             // line 230
  479.             echo twig_escape_filter($this->env, (isset($context["consulta"]) || array_key_exists("consulta"$context) ? $context["consulta"] : (function () { throw new RuntimeError('Variable "consulta" does not exist.'230$this->source); })()), "html"nulltrue);
  480.             echo "
  481.                                 <br>
  482.                                 <br>
  483.                                 <br>
  484.                             </div>
  485.                             <table id=\"table-client\" class=\"table datatable-sum table-bordered table-hover datatable-highlight\">
  486.                                 <thead>
  487.                                 <tr>
  488.                                     <th>";
  489.             // line 238
  490.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Fecha de inicio", [], "messages");
  491.             echo "</th>
  492.                                     <th>";
  493.             // line 239
  494.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Client", [], "messages");
  495.             echo "</th>
  496.                                     <th>";
  497.             // line 240
  498.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Título", [], "messages");
  499.             echo "</th>
  500.                                     <th>";
  501.             // line 241
  502.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Status", [], "messages");
  503.             echo "</th>
  504.                                     <th>";
  505.             // line 242
  506.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Espacios", [], "messages");
  507.             echo "</th>
  508.                                     <th>";
  509.             // line 243
  510.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Venta Neta", [], "messages");
  511.             echo "</th>
  512.                                     <th>";
  513.             // line 244
  514.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Iva", [], "messages");
  515.             echo "</th>
  516.                                     <th class=\"text-center\">";
  517.             // line 245
  518.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Actions", [], "messages");
  519.             echo "</th>
  520.                                 </tr>
  521.                                 </thead>
  522.                                 <tbody>
  523.                                     ";
  524.             // line 249
  525.             $context['_parent'] = $context;
  526.             $context['_seq'] = twig_ensure_traversable((isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'249$this->source); })()));
  527.             foreach ($context['_seq'] as $context["_key"] => $context["resv"]) {
  528.                 // line 250
  529.                 echo "                                        <tr>
  530.                                             <td><div class=\"hidden\">";
  531.                 // line 251
  532.                 echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["resv"], "dateStart", [], "any"falsefalsefalse251), "Y/m/d"), "html"nulltrue);
  533.                 echo "</div>";
  534.                 echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["resv"], "dateStart", [], "any"falsefalsefalse251), "d/m/Y"), "html"nulltrue);
  535.                 echo "</td>
  536.                                             <td>";
  537.                 // line 252
  538.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["resv"], "clientName", [], "any"falsefalsefalse252), "html"nulltrue);
  539.                 echo "</td>
  540.                                             <td>";
  541.                 // line 253
  542.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["resv"], "title", [], "any"falsefalsefalse253), "html"nulltrue);
  543.                 echo "</td>
  544.                                             <td>";
  545.                 // line 254
  546.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["resv"], "status", [], "any"falsefalsefalse254), "html"nulltrue);
  547.                 echo "</td>
  548.                                             <td>
  549.                                                 ";
  550.                 // line 256
  551.                 $context['_parent'] = $context;
  552.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["resv"], "txtArrayLoungesNames", [], "any"falsefalsefalse256));
  553.                 foreach ($context['_seq'] as $context["key"] => $context["spaceName"]) {
  554.                     // line 257
  555.                     echo "                                                    ";
  556.                     if (((=== twig_compare($context["key"], 21)) && (-=== twig_compare($context["key"], 30)))) {
  557.                         // line 258
  558.                         echo "                                                        <span class=\"badge bg-primary-400 heading-text\" style=\"font-size: small\"> ";
  559.                         echo twig_escape_filter($this->env$context["spaceName"], "html"nulltrue);
  560.                         echo " </span> ";
  561.                         // line 259
  562.                         echo "                                                    ";
  563.                     } else {
  564.                         // line 260
  565.                         echo "                                                        ";
  566.                         if ((=== twig_compare($context["key"], 29))) {
  567.                             // line 261
  568.                             echo "                                                            <span class=\"badge bg-brown-400 heading-text\" style=\"font-size: small\"> ";
  569.                             echo twig_escape_filter($this->env$context["spaceName"], "html"nulltrue);
  570.                             echo " </span> ";
  571.                             // line 262
  572.                             echo "                                                        ";
  573.                         } else {
  574.                             // line 263
  575.                             echo "                                                            <span class=\"badge badge-success text-center\" style=\"font-size: small\"> ";
  576.                             echo twig_escape_filter($this->env$context["spaceName"], "html"nulltrue);
  577.                             echo " </span>   ";
  578.                             // line 264
  579.                             echo "                                                        ";
  580.                         }
  581.                         // line 265
  582.                         echo "                                                    ";
  583.                     }
  584.                     // line 266
  585.                     echo "                                                ";
  586.                 }
  587.                 $_parent $context['_parent'];
  588.                 unset($context['_seq'], $context['_iterated'], $context['key'], $context['spaceName'], $context['_parent'], $context['loop']);
  589.                 $context array_intersect_key($context$_parent) + $_parent;
  590.                 // line 267
  591.                 echo "                                            </td>
  592.                                             <td>";
  593.                 // line 268
  594.                 echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->source$context["resv"], "neto", [], "any"falsefalsefalse268), 2",""."), "html"nulltrue);
  595.                 echo "</td>
  596.                                             <td>";
  597.                 // line 269
  598.                 echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->source$context["resv"], "vat", [], "any"falsefalsefalse269), 2",""."), "html"nulltrue);
  599.                 echo "</td>
  600.                                             <td class=\"text-center\">
  601.                                                 <ul class=\"icons-list\">
  602.                                                     <li class=\"dropdown\">
  603.                                                         <a class=\"btn border-info text-info btn-flat btn-rounded btn-icon btn-lg\" href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">
  604.                                                             <i class=\"icon-menu9\"></i>
  605.                                                         </a>
  606.                                                         <ul class=\"dropdown-menu dropdown-menu-right bg-teal-400\">
  607.                                                             <li><a href=\"/reservations-greenpatio/editsimple/";
  608.                 // line 277
  609.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["resv"], "reservationId", [], "any"falsefalsefalse277), "html"nulltrue);
  610.                 echo "\"><i class=\"icon-eye pull-right\"></i> ";
  611.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Ver Reserva", [], "messages");
  612.                 echo "</a></li>
  613.                                                         </ul>
  614.                                                     </li>
  615.                                                 </ul>
  616.                                             </td>
  617.                                         </tr>
  618.                                     ";
  619.             }
  620.             $_parent $context['_parent'];
  621.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['resv'], $context['_parent'], $context['loop']);
  622.             $context array_intersect_key($context$_parent) + $_parent;
  623.             // line 284
  624.             echo "                                </tbody>
  625.                                 <tfoot>
  626.                                 <tr>
  627.                                     <th colspan=\"5\" class=\"text-right\">Previsión de Venta en tabla: </th>
  628.                                     <th colspan=\"1\"></th>
  629.                                     <th colspan=\"1\"></th>
  630.                                     <th colspan=\"1\"></th>
  631.                                 </tr>
  632.                                 </tfoot>
  633.                             </table>
  634.                             <form name=\"ExcelForecast\" method=\"post\" action=\"/reservations-greenpatio/xlsstatistics/\" class=\"form-horizontal\" autocomplete=\"off\">
  635.                                 <input id=\"xlsDateStartReq\" name=\"xls[dateStartReq]\" class=\"hidden\" value=\"";
  636.             // line 297
  637.             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.'297$this->source); })()), "html"nulltrue);
  638.             echo "\">
  639.                                 <input id=\"xlsDateEndReq\" name=\"xls[dateEndReq]\" class=\"hidden\" value=\"";
  640.             // line 298
  641.             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.'298$this->source); })()), "html"nulltrue);
  642.             echo "\">
  643.                                 <input id=\"xlsClientId\" name=\"xls[clientId]\" class=\"hidden\" value=\"";
  644.             // line 299
  645.             echo twig_escape_filter($this->env, (isset($context["clientId"]) || array_key_exists("clientId"$context) ? $context["clientId"] : (function () { throw new RuntimeError('Variable "clientId" does not exist.'299$this->source); })()), "html"nulltrue);
  646.             echo "\">
  647.                                 <input id=\"xlsBoolBlocked\" name=\"xls[boolBlocked]\" class=\"hidden\" value=\"";
  648.             // line 300
  649.             echo twig_escape_filter($this->env, (isset($context["boolBlocked"]) || array_key_exists("boolBlocked"$context) ? $context["boolBlocked"] : (function () { throw new RuntimeError('Variable "boolBlocked" does not exist.'300$this->source); })()), "html"nulltrue);
  650.             echo "\">
  651.                                 <input id=\"xlsBoolConfirmed\" name=\"xls[boolConfirmed]\" class=\"hidden\" value=\"";
  652.             // line 301
  653.             echo twig_escape_filter($this->env, (isset($context["boolConfirmed"]) || array_key_exists("boolConfirmed"$context) ? $context["boolConfirmed"] : (function () { throw new RuntimeError('Variable "boolConfirmed" does not exist.'301$this->source); })()), "html"nulltrue);
  654.             echo "\">
  655.                                 <input id=\"xlsBoolQuoted\" name=\"xls[boolQuoted]\" class=\"hidden\" value=\"";
  656.             // line 302
  657.             echo twig_escape_filter($this->env, (isset($context["boolQuoted"]) || array_key_exists("boolQuoted"$context) ? $context["boolQuoted"] : (function () { throw new RuntimeError('Variable "boolQuoted" does not exist.'302$this->source); })()), "html"nulltrue);
  658.             echo "\">
  659.                                 <input id=\"xlsBoolInvoiced\" name=\"xls[boolInvoiced]\" class=\"hidden\" value=\"";
  660.             // line 303
  661.             echo twig_escape_filter($this->env, (isset($context["boolInvoiced"]) || array_key_exists("boolInvoiced"$context) ? $context["boolInvoiced"] : (function () { throw new RuntimeError('Variable "boolInvoiced" does not exist.'303$this->source); })()), "html"nulltrue);
  662.             echo "\">
  663.                                 <input id=\"xlsBoolCancel\" name=\"xls[boolCancel]\" class=\"hidden\" value=\"";
  664.             // line 304
  665.             echo twig_escape_filter($this->env, (isset($context["boolCancel"]) || array_key_exists("boolCancel"$context) ? $context["boolCancel"] : (function () { throw new RuntimeError('Variable "boolCancel" does not exist.'304$this->source); })()), "html"nulltrue);
  666.             echo "\">
  667.                                 <input id=\"arraySalasId\" name=\"xls[arraySalasId]\" class=\"hidden\" value=\"";
  668.             // line 305
  669.             echo twig_escape_filter($this->env, (isset($context["arraySalasId"]) || array_key_exists("arraySalasId"$context) ? $context["arraySalasId"] : (function () { throw new RuntimeError('Variable "arraySalasId" does not exist.'305$this->source); })()), "html"nulltrue);
  670.             echo "\">
  671.                                 <input id=\"selectedSalasNames\" name=\"xls[selectedSalasNames]\" class=\"hidden\" value=\"";
  672.             // line 306
  673.             echo twig_escape_filter($this->env, (isset($context["selectedSalasNames"]) || array_key_exists("selectedSalasNames"$context) ? $context["selectedSalasNames"] : (function () { throw new RuntimeError('Variable "selectedSalasNames" does not exist.'306$this->source); })()), "html"nulltrue);
  674.             echo "\">
  675.                                 <div class=\"col-md-10\"></div>
  676.                                 <div class=\"col-md-2\">
  677.                                     <div class=\"form-group form-group-material\">
  678.                                         <button type=\"submit\" id=\"excel_submit\" name=\"excel_button[send]\" class=\"btn bg-info btn-block btn-lg\"><i class=\"icon-file-excel position-right\"></i>";
  679.             // line 311
  680.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("&nbsp; Exportar a Excel", [], "messages");
  681.             echo "</button>
  682.                                     </div>
  683.                                 </div>
  684.                             </form>
  685.                         </div>
  686.                     </div>
  687.                 </div>
  688.             </div>
  689.         ";
  690.         }
  691.         // line 320
  692.         echo "    </div>
  693. ";
  694.         
  695.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  696.         
  697.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  698.     }
  699.     // line 323
  700.     public function block_javascripts($context, array $blocks = [])
  701.     {
  702.         $macros $this->macros;
  703.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  704.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  705.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  706.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  707.         // line 324
  708.         echo "    ";
  709.         $this->displayParentBlock("javascripts"$context$blocks);
  710.         echo "
  711.     <script type=\"text/javascript\" src=\"";
  712.         // line 325
  713.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/plugins/forms/styling/uniform.min.js"), "html"nulltrue);
  714.         echo "\"></script>
  715.     <script type=\"text/javascript\" src=\"";
  716.         // line 326
  717.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/plugins/forms/styling/switch.min.js"), "html"nulltrue);
  718.         echo "\"></script>
  719.     <script type=\"text/javascript\" src=\"";
  720.         // line 327
  721.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/pages/form_checkboxes_radios.js"), "html"nulltrue);
  722.         echo "\"></script>
  723.     <script type=\"text/javascript\" src=\"";
  724.         // line 328
  725.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/plugins/forms/selects/select2.min.js"), "html"nulltrue);
  726.         echo "\"></script>
  727.     <script type=\"text/javascript\" src=\"";
  728.         // line 329
  729.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/pages/greenpatio/list-reservation.js"), "html"nulltrue);
  730.         echo "\"></script>
  731.     <script type=\"text/javascript\" src=\"";
  732.         // line 330
  733.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/plugins/forms/styling/switchery.min.js"), "html"nulltrue);
  734.         echo "\"></script>
  735.     <script type=\"text/javascript\" src=\"";
  736.         // line 331
  737.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/pages/proposal/switchery-proposal.js"), "html"nulltrue);
  738.         echo "\"></script>
  739.     <script type=\"text/javascript\" src=\"";
  740.         // line 332
  741.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/plugins/tables/datatables/datatables.min.js"), "html"nulltrue);
  742.         echo "\"></script>
  743.     <script type=\"text/javascript\" src=\"";
  744.         // line 333
  745.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/plugins/tables/datatables/extensions/responsive.min.js"), "html"nulltrue);
  746.         echo "\"></script>
  747.     <script type=\"text/javascript\" src=\"";
  748.         // line 334
  749.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/pages/greenpatio/datatables_sum_gp_statistics.js"), "html"nulltrue);
  750.         echo "\"></script>
  751.     <script type=\"text/javascript\" src=\"";
  752.         // line 335
  753.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/pages/datatables_advanced.js"), "html"nulltrue);
  754.         echo "\"></script>
  755.     <script>
  756.         var checkboxes = document.querySelectorAll('.dropdown-menu input[type=\"checkbox\"]');
  757.         var dropdownButton = document.querySelector('#dropdownMenu');
  758.         var hiddenInput = document.querySelector('#selected_salas');
  759.         checkboxes.forEach(function (checkbox) {
  760.             checkbox.addEventListener('change', updateSelections); // Event for PC
  761.             checkbox.addEventListener('click', updateSelections);  // Add click for mobile
  762.             checkbox.addEventListener('touchstart', updateSelections); // Add touchstart for mobile
  763.         });
  764.         function updateSelections() {
  765.             var selected = [];
  766.             checkboxes.forEach(function (checkbox) {
  767.                 if (checkbox.checked) {
  768.                     selected.push(checkbox.parentElement.textContent.trim());
  769.                 }
  770.             });
  771.             dropdownButton.textContent = selected.length > 0 ? selected.join(', ') : 'Todas las Salas';
  772.             hiddenInput.value = selected.join(',');
  773.         }
  774.     </script>
  775. ";
  776.         
  777.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  778.         
  779.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  780.     }
  781.     /**
  782.      * @codeCoverageIgnore
  783.      */
  784.     public function getTemplateName()
  785.     {
  786.         return "MDS/GreenPatioBundle/reservations/list-statistics.html.twig";
  787.     }
  788.     /**
  789.      * @codeCoverageIgnore
  790.      */
  791.     public function isTraitable()
  792.     {
  793.         return false;
  794.     }
  795.     /**
  796.      * @codeCoverageIgnore
  797.      */
  798.     public function getDebugInfo()
  799.     {
  800.         return array (  801 => 335,  797 => 334,  793 => 333,  789 => 332,  785 => 331,  781 => 330,  777 => 329,  773 => 328,  769 => 327,  765 => 326,  761 => 325,  756 => 324,  746 => 323,  735 => 320,  723 => 311,  715 => 306,  711 => 305,  707 => 304,  703 => 303,  699 => 302,  695 => 301,  691 => 300,  687 => 299,  683 => 298,  679 => 297,  664 => 284,  649 => 277,  638 => 269,  634 => 268,  631 => 267,  625 => 266,  622 => 265,  619 => 264,  615 => 263,  612 => 262,  608 => 261,  605 => 260,  602 => 259,  598 => 258,  595 => 257,  591 => 256,  586 => 254,  582 => 253,  578 => 252,  572 => 251,  569 => 250,  565 => 249,  558 => 245,  554 => 244,  550 => 243,  546 => 242,  542 => 241,  538 => 240,  534 => 239,  530 => 238,  519 => 230,  515 => 229,  508 => 224,  506 => 223,  494 => 214,  480 => 202,  468 => 198,  464 => 196,  460 => 195,  455 => 192,  453 => 191,  448 => 188,  446 => 187,  444 => 186,  413 => 157,  410 => 156,  406 => 154,  402 => 152,  399 => 151,  389 => 143,  386 => 142,  382 => 140,  378 => 138,  375 => 137,  365 => 129,  362 => 128,  358 => 126,  354 => 124,  351 => 123,  341 => 115,  338 => 114,  334 => 112,  330 => 110,  327 => 109,  317 => 101,  314 => 100,  310 => 98,  306 => 96,  303 => 95,  295 => 89,  288 => 84,  282 => 83,  274 => 81,  266 => 79,  263 => 78,  259 => 77,  255 => 76,  249 => 73,  244 => 70,  238 => 68,  234 => 66,  231 => 65,  227 => 63,  222 => 60,  216 => 58,  212 => 56,  209 => 55,  205 => 53,  197 => 48,  190 => 43,  181 => 41,  177 => 40,  170 => 36,  166 => 35,  162 => 34,  158 => 33,  155 => 32,  147 => 27,  141 => 24,  137 => 23,  134 => 22,  132 => 21,  125 => 16,  115 => 15,  102 => 11,  99 => 10,  89 => 9,  74 => 5,  71 => 4,  61 => 3,  38 => 1,);
  801.     }
  802.     public function getSourceContext()
  803.     {
  804.         return new Source("{% extends 'MDS/GreenPatioBundle/base-reservations.html.twig' %}
  805. {% block pagetitleinterno %}
  806.     <div class=\"page-title\">
  807.         <h4><i class=\"icon-list position-left\"></i> <span class=\"text-semibold\">{% trans %}Green Patio{% endtrans %}</span> - {% trans %}Estadísticas{% endtrans %}</h4>
  808.     </div>
  809. {% endblock %}
  810. {% block breadcrumbs %}
  811.     <ul class=\"breadcrumb\">
  812.         <li><a href=\"/loungeadmin/list\"><i class=\"icon-home2 position-left\"></i>{% trans %}Home{% endtrans %}</a></li>
  813.     </ul>
  814. {% endblock %}
  815. {% block contentReservation %}
  816.     <div class=\"row settings-page\" id=\"client-client-subpage\">
  817.         <div class=\"col-sm-12\">
  818.             <div class=\"page-header\">
  819.                 <div class=\"col-sm-12 text-right\">
  820.                     {% if dateStartReq is not empty and dateEndReq is not empty %}
  821.                         <form name=\"PrintForecast\" method=\"post\" target=\"_blank\"  action=\"/pdf/greenpatioforecast/\" class=\"form-horizontal\" autocomplete=\"off\">
  822.                             <input type=\"hidden\" id=\"dateStartReq\" name=\"forecast[date_start]\" class=\"form-control hidden\" value=\"{{ dateStartReq }}\" />
  823.                             <input type=\"hidden\" id=\"dateEndReq\" name=\"forecast[date_end]\" class=\"form-control hidden\" value=\"{{ dateEndReq }}\" />
  824.                             <div class=\"col-md-6\">
  825.                                 <div class=\"form-group form-group-material\">
  826.                                     <button type=\"submit\" id=\"forecast_submit\" name=\"forecast_button[send]\" class=\"btn bg-black btn-info btn-lg\">{% trans %}Previsión de Ventas en PDF{% endtrans %}</button>
  827.                                 </div>
  828.                             </div>
  829.                         </form>
  830.                     {% endif %}
  831.                     <a href=\"/reservations-greenpatio/listloungedetails\"  class=\"btn btn-info btn-gl\">{% trans %}List Lounge{% endtrans %} <i class=\"icon-list position-right\"></i></a>
  832.                     <a href=\"/reservations-greenpatio/listperiod\"  class=\"btn btn-success btn-gl\">{% trans %}List Period{% endtrans %} <i class=\"icon-list position-right\"></i></a>
  833.                     <a href=\"/reservations-greenpatio/listgpprices\"  class=\"btn btn-info btn-gl\">{% trans %}List Price{% endtrans %} <i class=\"icon-list position-right\"></i></a>
  834.                     <a href=\"/reservations-greenpatio/list\"  class=\"btn btn-warning btn-gl\">{% trans %}Reservation List{% endtrans %} <i class=\"icon-book position-right\"></i></a>
  835.                 </div>
  836.             </div>
  837.         </div>
  838.         {% for flashMessage in app.session.flashbag.get('mensajeclient') %}
  839.             <div class=\"hidden alertFlashMensaje\" data-mensaje=\"{{ flashMessage }}\"></div>
  840.         {% endfor %}
  841.         <div class=\"col-sm-12 margen-15\">
  842.             <div class=\"panel\">
  843.                 <div class=\"panel-body\">
  844.                     <div class=\"col-md-12\" ><strong class=\"text-info\">
  845.                         <legend class=\"border-teal-800\">{% trans %}Consulta de Reservas{% endtrans %}</legend></strong>
  846.                     </div>
  847.                     <form name=\"ViewForecast\" method=\"post\" action=\"/reservations-greenpatio/responseliststatistics/\" class=\"form-horizontal\" autocomplete=\"off\">
  848.                         <div class=\"col-md-2\" style=\"margin-left: 20px\">
  849.                             <label class=\"control-label\" for=\"forecast_date_start_title\">{% trans %}Fecha de inicio{% endtrans %}: </label>
  850.                             {#<input type=\"date\" id=\"forecast_date_start\" name=\"forecast[date_start]\" class=\"form-control\">#}
  851.                             {% if dateStartReq is null  %}
  852.                                 <input type=\"date\" id=\"forecast_date_start\" name=\"forecast[date_start]\" class=\"form-control\">
  853.                             {% else %}
  854.                                 <input type=\"date\" id=\"forecast_date_start\" name=\"forecast[date_start]\" class=\"form-control\" value=\"{{ dateStartReq|date(\"Y-m-d\") }}\">
  855.                             {% endif %}
  856.                         </div>
  857.                         <div class=\"col-md-2\" style=\"margin-left: 20px\">
  858.                             <label class=\"control-label\" for=\"forecast_date_end_title\">{% trans %}Fecha de fin{% endtrans %}: </label>
  859.                             {#<input type=\"date\" id=\"forecast_date_start\" name=\"forecast[date_end]\" class=\"form-control\">#}
  860.                             {% if dateEndReq is null  %}
  861.                                 <input type=\"date\" id=\"forecast_date_end\" name=\"forecast[date_end]\" class=\"form-control\">
  862.                             {% else %}
  863.                                 <input type=\"date\" id=\"forecast_date_end\" name=\"forecast[date_end]\" class=\"form-control\" value=\"{{ dateEndReq|date(\"Y-m-d\") }}\">
  864.                             {% endif %}
  865.                         </div>
  866.                         <div class=\"col-md-2\" style=\"margin-left: 20px\">
  867.                             <div class=\"col-md-6\"><label class=\"control-label text-left\">{% trans %}Client{% endtrans %}</label></div>
  868.                             <div class=\"col-md-12\">
  869.                                 <select id=\"client\" name=\"client\" class=\"form-control\">
  870.                                     <option value=\"\">{% trans %}Select a client{% endtrans %}</option>
  871.                                     {% for client in clients %}
  872.                                         {% if client.Id == clientId %}
  873.                                             <option value=\"{{ client.id }}\" selected=\"selected\">{{ client.name|capitalize }} </option>
  874.                                         {% else %}
  875.                                             <option value=\"{{ client.id }}\">{{ client.name|capitalize }}  </option>
  876.                                         {% endif %}
  877.                                     {% endfor %}
  878.                                 </select>
  879.                             </div>
  880.                         </div>
  881.                         <div class=\"col-xs-12 col-lg-5\" style=\"margin-left: 20px; z-index: 1;\">
  882.                             <div class=\"col-xs-12\"><label class=\"control-label text-center\">{% trans %}Estado de la reserva{% endtrans %}</label></div>
  883.                             <div class=\"col-xs-12\"></div>
  884.                             <div class=\"col-xs-6 col-lg-2\" style=\"padding-top: -5px; padding-left: 10px\">
  885.                                 <div class=\"checkbox checkbox-switchery switchery-lg switchery-double text-left\" title=\"\">
  886.                                       <label>
  887.                                         {#<input type=\"checkbox\" class=\"switchery-info boolDelete\" id=\"boolBlocked\" name=\"boolStatus[Blocked]\" checked=\"checked\" onchange=\"changeChkLounge();\">#}
  888.                                           {% if boolBlocked is defined and boolBlocked == true %}
  889.                                               <input type=\"checkbox\" class=\"switchery-info boolDelete\" id=\"boolBlocked\" name=\"boolStatus[Blocked]\" checked=\"checked\" onchange=\"changeChkLounge();\">
  890.                                           {% else %}
  891.                                               <input type=\"checkbox\" class=\"switchery-info boolDelete\" id=\"boolBlocked\" name=\"boolStatus[Blocked]\" onchange=\"changeChkLounge();\">
  892.                                           {% endif %}
  893.                                     </label>
  894.                                     <label class=\"control-label text-left\" style=\"padding-top: 10px\">{% trans %}Bloqueado{% endtrans %}</label>
  895.                                 </div>
  896.                             </div>
  897.                             <div class=\"col-xs-6 col-lg-2\" style=\"padding-top: -5px; padding-left: 10px\">
  898.                                 <div class=\"checkbox checkbox-switchery switchery-lg switchery-double text-left\" title=\"\">
  899.                                     <label>
  900.                                         {#<input type=\"checkbox\" class=\"switchery-info boolDelete\" id=\"boolConfirmed\" name=\"boolStatus[Confirmed]\" checked=\"checked\" onchange=\"changeChkLounge();\">#}
  901.                                         {% if boolConfirmed is defined and boolConfirmed == true %}
  902.                                             <input type=\"checkbox\" class=\"switchery-info boolDelete\" id=\"boolConfirmed\" name=\"boolStatus[Confirmed]\" checked=\"checked\" onchange=\"changeChkLounge();\">
  903.                                         {% else %}
  904.                                             <input type=\"checkbox\" class=\"switchery-info boolDelete\" id=\"boolConfirmed\" name=\"boolStatus[Confirmed]\" onchange=\"changeChkLounge();\">
  905.                                         {% endif %}
  906.                                     </label>
  907.                                     <label class=\"control-label text-left\" style=\"padding-top: 10px\">{% trans %}Confirmado{% endtrans %}</label>
  908.                                 </div>
  909.                             </div>
  910.                             <div class=\"col-xs-6 col-lg-2\" style=\"padding-top: -5px; padding-left: 10px\">
  911.                                 <div class=\"checkbox checkbox-switchery switchery-lg switchery-double text-left\" title=\"\">
  912.                                     <label>
  913.                                         {#<input type=\"checkbox\" class=\"switchery-info boolDelete\" id=\"boolQuoted\" name=\"boolStatus[Quoted]\" checked=\"checked\" onchange=\"changeChkLounge();\">#}
  914.                                         {% if boolQuoted is defined and boolQuoted == true %}
  915.                                             <input type=\"checkbox\" class=\"switchery-info boolDelete\" id=\"boolQuoted\" name=\"boolStatus[Quoted]\" checked=\"checked\" onchange=\"changeChkLounge();\">
  916.                                         {% else %}
  917.                                             <input type=\"checkbox\" class=\"switchery-info boolDelete\" id=\"boolQuoted\" name=\"boolStatus[Quoted]\" onchange=\"changeChkLounge();\">
  918.                                         {% endif %}
  919.                                     </label>
  920.                                     <label class=\"control-label text-left\" style=\"padding-top: 10px\">{% trans %}Cotizado{% endtrans %}</label>
  921.                                 </div>
  922.                             </div>
  923.                             <div class=\"col-xs-6 col-lg-2\" style=\"padding-top: -5px; padding-left: 10px\">
  924.                                 <div class=\"checkbox checkbox-switchery switchery-lg switchery-double text-left\" title=\"\">
  925.                                     <label>
  926.                                         {#<input type=\"checkbox\" class=\"switchery-info boolDelete\" id=\"boolInvoiced\" name=\"boolStatus[Invoiced]\" checked=\"checked\" onchange=\"changeChkLounge();\">#}
  927.                                         {% if boolInvoiced is defined and boolInvoiced == true %}
  928.                                             <input type=\"checkbox\" class=\"switchery-info boolDelete\" id=\"boolInvoiced\" name=\"boolStatus[Invoiced]\" checked=\"checked\" onchange=\"changeChkLounge();\">
  929.                                         {% else %}
  930.                                             <input type=\"checkbox\" class=\"switchery-info boolDelete\" id=\"boolInvoiced\" name=\"boolStatus[Invoiced]\" onchange=\"changeChkLounge();\">
  931.                                         {% endif %}
  932.                                     </label>
  933.                                     <label class=\"control-label text-left\" style=\"padding-top: 10px\">{% trans %}Facturado{% endtrans %}</label>
  934.                                 </div>
  935.                             </div>
  936.                             <div class=\"col-xs-6 col-lg-2\" style=\"padding-top: -5px; padding-left: 10px\">
  937.                                 <div class=\"checkbox checkbox-switchery switchery-lg switchery-double text-left\" title=\"\">
  938.                                     <label>
  939.                                         {#<input type=\"checkbox\" class=\"switchery-info boolDelete\" id=\"boolInvoiced\" name=\"boolStatus[Cancel]\" checked=\"checked\" onchange=\"changeChkLounge();\">#}
  940.                                         {% if boolCancel is defined and boolCancel == true %}
  941.                                             <input type=\"checkbox\" class=\"switchery-info boolDelete\" id=\"boolCancel\" name=\"boolStatus[Cancel]\" checked=\"checked\" onchange=\"changeChkLounge();\">
  942.                                         {% else %}
  943.                                             <input type=\"checkbox\" class=\"switchery-info boolDelete\" id=\"boolCancel\" name=\"boolStatus[Cancel]\" onchange=\"changeChkLounge();\">
  944.                                         {% endif %}
  945.                                     </label>
  946.                                     <label class=\"control-label text-left\" style=\"padding-top: 10px\">{% trans %}Cancelado{% endtrans %}</label>
  947.                                 </div>
  948.                             </div>
  949.                         </div>
  950.                         <div class=\"col-md-12\" style=\"margin-top: 20px\"></div>
  951.                         <style>
  952.                             /* Estilo para ajustar la lista dropdown */
  953.                             .dropdown-menu {
  954.                             max-height: 200px;
  955.                             overflow-y: auto;
  956.                             }
  957.                             /* Ajustar la apariencia de la lista */
  958.                             .dropdown-menu label {
  959.                             padding: 5px 15px;
  960.                             display: block;
  961.                             }
  962.                             /* Estilo adicional para alinear los checkbox con el texto */
  963.                             .checkbox-inline input {
  964.                             margin-right: 10px;
  965.                             }
  966.                         </style>
  967.                         <div class=\"col-md-12 col-xs-12\" style=\"padding-left: 40px; padding-right: 40px\">
  968.                             <div class=\"form-group form-group-material\">
  969.                                 {#<label class=\"control-label is-visible\">#}
  970.                                     {#<label for=\"supplier_tags2\" class=\"control-label is-visible required\">{% trans %}Tags{% endtrans %}</label>#}
  971.                                 {#</label>#}
  972.                                 <div id=\"multiselect_tags\" class=\"input-group col-sm-12 InputTagsSpinner multi-select-full\" style=\"width: 100%\">
  973.                                     <div class=\"dropdown\" style=\"width: 100%\">
  974.                                         <button class=\"btn btn-default dropdown-toggle\" type=\"button\" id=\"dropdownMenu\" data-toggle=\"dropdown\" aria-haspopup=\"true\" aria-expanded=\"false\" style=\"width: 100%\">
  975.                                             {% trans %}Todas las Salas{% endtrans %}
  976.                                             <span class=\"caret\"></span>
  977.                                         </button>
  978.                                         <ul class=\"dropdown-menu\" aria-labelledby=\"dropdownMenu\" style=\"width: 100%\">
  979.                                             {% for sala in salas %}
  980.                                                 <li>
  981.                                                     <label class=\"checkbox-inline\">
  982.                                                         <input type=\"checkbox\" name=\"tags[tags2][]\" value=\"{{ sala.id }}\"> {{ sala.name }}
  983.                                                     </label>
  984.                                                 </li>
  985.                                             {% endfor %}
  986.                                         </ul>
  987.                                     </div>
  988.                                     <input type=\"hidden\" id=\"selected_salas\" name=\"selected_salas\" value=\"\">
  989.                                 </div>
  990.                                 <span class=\"help-block\"></span>
  991.                             </div>
  992.                         </div>
  993.                         <div class=\"col-md-12\" style=\"margin-top: 20px\"></div>
  994.                         <div class=\"col-md-4\"></div>
  995.                         <div class=\"col-md-4\">
  996.                             <div class=\"form-group form-group-material\">
  997.                                 <button type=\"submit\" id=\"forecast_submit\" name=\"forecast_button[send]\" class=\"btn bg-success btn-block btn-lg\">{% trans %}Buscar{% endtrans %}</button>
  998.                             </div>
  999.                         </div>
  1000.                     </form>
  1001.                 </div>
  1002.             </div>
  1003.         </div>
  1004.         {% if data is not empty %}
  1005.             <div class=\"col-md-12 margen-15\">
  1006.                 <div class=\"panel\">
  1007.                     <div class=\"panel-heading\">
  1008.                         <div class=\"panel-body border-blue\">
  1009.                             <div class=\"col-md-12 col-xs-12\" ><strong class=\"text-info\">
  1010.                                 <legend class=\"border-teal-800\">{% trans %}Listado de Reservas{% endtrans %}</legend></strong>
  1011.                                 {{ consulta }}
  1012.                                 <br>
  1013.                                 <br>
  1014.                                 <br>
  1015.                             </div>
  1016.                             <table id=\"table-client\" class=\"table datatable-sum table-bordered table-hover datatable-highlight\">
  1017.                                 <thead>
  1018.                                 <tr>
  1019.                                     <th>{% trans %}Fecha de inicio{% endtrans %}</th>
  1020.                                     <th>{% trans %}Client{% endtrans %}</th>
  1021.                                     <th>{% trans %}Título{% endtrans %}</th>
  1022.                                     <th>{% trans %}Status{% endtrans %}</th>
  1023.                                     <th>{% trans %}Espacios{% endtrans %}</th>
  1024.                                     <th>{% trans %}Venta Neta{% endtrans %}</th>
  1025.                                     <th>{% trans %}Iva{% endtrans %}</th>
  1026.                                     <th class=\"text-center\">{% trans %}Actions{% endtrans %}</th>
  1027.                                 </tr>
  1028.                                 </thead>
  1029.                                 <tbody>
  1030.                                     {% for resv in data %}
  1031.                                         <tr>
  1032.                                             <td><div class=\"hidden\">{{ resv.dateStart|date(\"Y/m/d\") }}</div>{{ resv.dateStart|date('d/m/Y')}}</td>
  1033.                                             <td>{{ resv.clientName }}</td>
  1034.                                             <td>{{ resv.title }}</td>
  1035.                                             <td>{{ resv.status }}</td>
  1036.                                             <td>
  1037.                                                 {% for key, spaceName in resv.txtArrayLoungesNames %}
  1038.                                                     {% if key > 21 and key < 30 %}
  1039.                                                         <span class=\"badge bg-primary-400 heading-text\" style=\"font-size: small\"> {{ spaceName }} </span> {# CVR #}
  1040.                                                     {% else %}
  1041.                                                         {% if key > 29 %}
  1042.                                                             <span class=\"badge bg-brown-400 heading-text\" style=\"font-size: small\"> {{ spaceName }} </span> {# BLV #}
  1043.                                                         {% else %}
  1044.                                                             <span class=\"badge badge-success text-center\" style=\"font-size: small\"> {{ spaceName }} </span>   {# GP #}
  1045.                                                         {% endif %}
  1046.                                                     {% endif %}
  1047.                                                 {% endfor %}
  1048.                                             </td>
  1049.                                             <td>{{ resv.neto|number_format(2, ',', '.')}}</td>
  1050.                                             <td>{{ resv.vat|number_format(2, ',', '.')}}</td>
  1051.                                             <td class=\"text-center\">
  1052.                                                 <ul class=\"icons-list\">
  1053.                                                     <li class=\"dropdown\">
  1054.                                                         <a class=\"btn border-info text-info btn-flat btn-rounded btn-icon btn-lg\" href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">
  1055.                                                             <i class=\"icon-menu9\"></i>
  1056.                                                         </a>
  1057.                                                         <ul class=\"dropdown-menu dropdown-menu-right bg-teal-400\">
  1058.                                                             <li><a href=\"/reservations-greenpatio/editsimple/{{ resv.reservationId }}\"><i class=\"icon-eye pull-right\"></i> {% trans %}Ver Reserva{% endtrans %}</a></li>
  1059.                                                         </ul>
  1060.                                                     </li>
  1061.                                                 </ul>
  1062.                                             </td>
  1063.                                         </tr>
  1064.                                     {% endfor %}
  1065.                                 </tbody>
  1066.                                 <tfoot>
  1067.                                 <tr>
  1068.                                     <th colspan=\"5\" class=\"text-right\">Previsión de Venta en tabla: </th>
  1069.                                     <th colspan=\"1\"></th>
  1070.                                     <th colspan=\"1\"></th>
  1071.                                     <th colspan=\"1\"></th>
  1072.                                 </tr>
  1073.                                 </tfoot>
  1074.                             </table>
  1075.                             <form name=\"ExcelForecast\" method=\"post\" action=\"/reservations-greenpatio/xlsstatistics/\" class=\"form-horizontal\" autocomplete=\"off\">
  1076.                                 <input id=\"xlsDateStartReq\" name=\"xls[dateStartReq]\" class=\"hidden\" value=\"{{ dateStartReq }}\">
  1077.                                 <input id=\"xlsDateEndReq\" name=\"xls[dateEndReq]\" class=\"hidden\" value=\"{{ dateEndReq }}\">
  1078.                                 <input id=\"xlsClientId\" name=\"xls[clientId]\" class=\"hidden\" value=\"{{ clientId }}\">
  1079.                                 <input id=\"xlsBoolBlocked\" name=\"xls[boolBlocked]\" class=\"hidden\" value=\"{{ boolBlocked }}\">
  1080.                                 <input id=\"xlsBoolConfirmed\" name=\"xls[boolConfirmed]\" class=\"hidden\" value=\"{{ boolConfirmed }}\">
  1081.                                 <input id=\"xlsBoolQuoted\" name=\"xls[boolQuoted]\" class=\"hidden\" value=\"{{ boolQuoted }}\">
  1082.                                 <input id=\"xlsBoolInvoiced\" name=\"xls[boolInvoiced]\" class=\"hidden\" value=\"{{ boolInvoiced }}\">
  1083.                                 <input id=\"xlsBoolCancel\" name=\"xls[boolCancel]\" class=\"hidden\" value=\"{{ boolCancel }}\">
  1084.                                 <input id=\"arraySalasId\" name=\"xls[arraySalasId]\" class=\"hidden\" value=\"{{ arraySalasId }}\">
  1085.                                 <input id=\"selectedSalasNames\" name=\"xls[selectedSalasNames]\" class=\"hidden\" value=\"{{ selectedSalasNames }}\">
  1086.                                 <div class=\"col-md-10\"></div>
  1087.                                 <div class=\"col-md-2\">
  1088.                                     <div class=\"form-group form-group-material\">
  1089.                                         <button type=\"submit\" id=\"excel_submit\" name=\"excel_button[send]\" class=\"btn bg-info btn-block btn-lg\"><i class=\"icon-file-excel position-right\"></i>{% trans %}&nbsp; Exportar a Excel{% endtrans %}</button>
  1090.                                     </div>
  1091.                                 </div>
  1092.                             </form>
  1093.                         </div>
  1094.                     </div>
  1095.                 </div>
  1096.             </div>
  1097.         {% endif %}
  1098.     </div>
  1099. {% endblock %}
  1100. {% block javascripts %}
  1101.     {{ parent() }}
  1102.     <script type=\"text/javascript\" src=\"{{ asset('assets/js/plugins/forms/styling/uniform.min.js') }}\"></script>
  1103.     <script type=\"text/javascript\" src=\"{{ asset('assets/js/plugins/forms/styling/switch.min.js') }}\"></script>
  1104.     <script type=\"text/javascript\" src=\"{{ asset('assets/js/pages/form_checkboxes_radios.js') }}\"></script>
  1105.     <script type=\"text/javascript\" src=\"{{ asset('assets/js/plugins/forms/selects/select2.min.js') }}\"></script>
  1106.     <script type=\"text/javascript\" src=\"{{ asset('assets/js/pages/greenpatio/list-reservation.js') }}\"></script>
  1107.     <script type=\"text/javascript\" src=\"{{ asset('assets/js/plugins/forms/styling/switchery.min.js') }}\"></script>
  1108.     <script type=\"text/javascript\" src=\"{{ asset('assets/js/pages/proposal/switchery-proposal.js') }}\"></script>
  1109.     <script type=\"text/javascript\" src=\"{{ asset('assets/js/plugins/tables/datatables/datatables.min.js') }}\"></script>
  1110.     <script type=\"text/javascript\" src=\"{{ asset('assets/js/plugins/tables/datatables/extensions/responsive.min.js') }}\"></script>
  1111.     <script type=\"text/javascript\" src=\"{{ asset('assets/js/pages/greenpatio/datatables_sum_gp_statistics.js') }}\"></script>
  1112.     <script type=\"text/javascript\" src=\"{{ asset('assets/js/pages/datatables_advanced.js') }}\"></script>
  1113.     <script>
  1114.         var checkboxes = document.querySelectorAll('.dropdown-menu input[type=\"checkbox\"]');
  1115.         var dropdownButton = document.querySelector('#dropdownMenu');
  1116.         var hiddenInput = document.querySelector('#selected_salas');
  1117.         checkboxes.forEach(function (checkbox) {
  1118.             checkbox.addEventListener('change', updateSelections); // Event for PC
  1119.             checkbox.addEventListener('click', updateSelections);  // Add click for mobile
  1120.             checkbox.addEventListener('touchstart', updateSelections); // Add touchstart for mobile
  1121.         });
  1122.         function updateSelections() {
  1123.             var selected = [];
  1124.             checkboxes.forEach(function (checkbox) {
  1125.                 if (checkbox.checked) {
  1126.                     selected.push(checkbox.parentElement.textContent.trim());
  1127.                 }
  1128.             });
  1129.             dropdownButton.textContent = selected.length > 0 ? selected.join(', ') : 'Todas las Salas';
  1130.             hiddenInput.value = selected.join(',');
  1131.         }
  1132.     </script>
  1133. {% endblock %}
  1134. ""MDS/GreenPatioBundle/reservations/list-statistics.html.twig""/var/www/vhosts/inout.mante.solutions/httpdocs/templates/MDS/GreenPatioBundle/reservations/list-statistics.html.twig");
  1135.     }
  1136. }