var/cache/dev/twig/d2/d26530bad90a060e75f7bfa287db7e93.php line 51

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-forecast.html.twig */
  14. class __TwigTemplate_1b7e5efe9066da73b13f6d5c87c3cf83 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_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "MDS/GreenPatioBundle/reservations/list-forecast.html.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "MDS/GreenPatioBundle/reservations/list-forecast.html.twig"));
  41.         $this->parent = $this->loadTemplate("MDS/GreenPatioBundle/base-reservations.html.twig", "MDS/GreenPatioBundle/reservations/list-forecast.html.twig", 1);
  42.         $this->parent->display($context, array_merge($this->blocks, $blocks));
  43.         
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  45.         
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  47.     }
  48.     // line 3
  49.     public function block_pagetitleinterno($context, array $blocks = [])
  50.     {
  51.         $macros = $this->macros;
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "pagetitleinterno"));
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_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("Previsión de Ventas", [], "messages");
  63.         echo "</h4>
  64.             </div>
  65.         ";
  66.         
  67.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  68.         
  69.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  70.     }
  71.     // line 9
  72.     public function block_breadcrumbs($context, array $blocks = [])
  73.     {
  74.         $macros = $this->macros;
  75.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  76.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "breadcrumbs"));
  77.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  78.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_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.                 ";
  86.         // line 13
  87.         echo "            </ul>
  88.         ";
  89.         
  90.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  91.         
  92.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  93.     }
  94.     // line 16
  95.     public function block_contentReservation($context, array $blocks = [])
  96.     {
  97.         $macros = $this->macros;
  98.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  99.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "contentReservation"));
  100.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  101.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "contentReservation"));
  102.         // line 17
  103.         echo "
  104. <div class=\"row settings-page\" id=\"client-client-subpage\">
  105.     <div class=\"col-sm-12\">
  106.         <div class=\"page-header\">
  107.             <div class=\"col-sm-12 text-right\">
  108.                 ";
  109.         // line 23
  110.         if (( !twig_test_empty((isset($context["dateStartReq"]) || array_key_exists("dateStartReq", $context) ? $context["dateStartReq"] : (function () { throw new RuntimeError('Variable "dateStartReq" does not exist.', 23, $this->source); })())) &&  !twig_test_empty((isset($context["dateEndReq"]) || array_key_exists("dateEndReq", $context) ? $context["dateEndReq"] : (function () { throw new RuntimeError('Variable "dateEndReq" does not exist.', 23, $this->source); })())))) {
  111.             // line 24
  112.             echo "                    ";
  113.             // line 25
  114.             echo "                    <form name=\"PrintForecast\" method=\"post\" target=\"_blank\"  action=\"/pdf/greenpatioforecast/\" class=\"form-horizontal\" autocomplete=\"off\">
  115.                         <input type=\"hidden\" id=\"dateStartReq\" name=\"forecast[date_start]\" class=\"form-control hidden\" value=\"";
  116.             // line 26
  117.             echo twig_escape_filter($this->env, (isset($context["dateStartReq"]) || array_key_exists("dateStartReq", $context) ? $context["dateStartReq"] : (function () { throw new RuntimeError('Variable "dateStartReq" does not exist.', 26, $this->source); })()), "html", null, true);
  118.             echo "\" />
  119.                         <input type=\"hidden\" id=\"dateEndReq\" name=\"forecast[date_end]\" class=\"form-control hidden\" value=\"";
  120.             // line 27
  121.             echo twig_escape_filter($this->env, (isset($context["dateEndReq"]) || array_key_exists("dateEndReq", $context) ? $context["dateEndReq"] : (function () { throw new RuntimeError('Variable "dateEndReq" does not exist.', 27, $this->source); })()), "html", null, true);
  122.             echo "\" />
  123.                         <div class=\"col-md-6\">
  124.                             <div class=\"form-group form-group-material\">
  125.                                 <button type=\"submit\" id=\"forecast_submit\" name=\"forecast_button[send]\" class=\"btn bg-black btn-info btn-lg\">";
  126.             // line 30
  127.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Exportar a PDF", [], "messages");
  128.             echo "</button>
  129.                             </div>
  130.                         </div>
  131.                     </form>
  132.                 ";
  133.         }
  134.         // line 35
  135.         echo "
  136.                 <a href=\"/reservations-greenpatio/listloungedetails\"  class=\"btn btn-info btn-gl\">";
  137.         // line 36
  138.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("List Lounge", [], "messages");
  139.         echo " <i class=\"icon-list position-right\"></i></a>
  140.                 <a href=\"/reservations-greenpatio/listperiod\"  class=\"btn btn-success btn-gl\">";
  141.         // line 37
  142.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("List Period", [], "messages");
  143.         echo " <i class=\"icon-list position-right\"></i></a>
  144.                 <a href=\"/reservations-greenpatio/listgpprices\"  class=\"btn btn-info btn-gl\">";
  145.         // line 38
  146.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("List Price", [], "messages");
  147.         echo " <i class=\"icon-list position-right\"></i></a>
  148.                 <a href=\"/reservations-greenpatio/list\"  class=\"btn btn-warning btn-gl\">";
  149.         // line 39
  150.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Reservation List", [], "messages");
  151.         echo " <i class=\"icon-book position-right\"></i></a>
  152.             </div>
  153.         </div>
  154.     </div>
  155.     ";
  156.         // line 43
  157.         $context['_parent'] = $context;
  158.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 43, $this->source); })()), "session", [], "any", false, false, false, 43), "flashbag", [], "any", false, false, false, 43), "get", ["mensajeclient"], "method", false, false, false, 43));
  159.         foreach ($context['_seq'] as $context["_key"] => $context["flashMessage"]) {
  160.             // line 44
  161.             echo "        <div class=\"hidden alertFlashMensaje\" data-mensaje=\"";
  162.             echo twig_escape_filter($this->env, $context["flashMessage"], "html", null, true);
  163.             echo "\"></div>
  164.     ";
  165.         }
  166.         $_parent = $context['_parent'];
  167.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flashMessage'], $context['_parent'], $context['loop']);
  168.         $context = array_intersect_key($context, $_parent) + $_parent;
  169.         // line 46
  170.         echo "
  171.     <div class=\"col-sm-12 margen-15\">
  172.         <div class=\"panel\">
  173.             <div class=\"panel-body\">
  174.                 <div class=\"col-md-12\" ><strong class=\"text-info\">
  175.                         <legend class=\"border-teal-800\">";
  176.         // line 51
  177.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Previsión de Ventas", [], "messages");
  178.         echo "</legend></strong>
  179.                 </div>
  180.                 <form name=\"ViewForecast\" method=\"post\" action=\"/reservations-greenpatio/createforecast/\" class=\"form-horizontal\" autocomplete=\"off\">
  181.                     ";
  182.         // line 57
  183.         echo "                        ";
  184.         // line 58
  185.         echo "                        ";
  186.         // line 59
  187.         echo "                            ";
  188.         // line 60
  189.         echo "                            ";
  190.         // line 61
  191.         echo "                                ";
  192.         // line 62
  193.         echo "                            ";
  194.         // line 63
  195.         echo "                        ";
  196.         // line 64
  197.         echo "                    ";
  198.         // line 65
  199.         echo "
  200.                     ";
  201.         // line 67
  202.         echo "                        ";
  203.         // line 68
  204.         echo "                        ";
  205.         // line 69
  206.         echo "                            ";
  207.         // line 70
  208.         echo "                            ";
  209.         // line 71
  210.         echo "                                ";
  211.         // line 72
  212.         echo "                            ";
  213.         // line 73
  214.         echo "                        ";
  215.         // line 74
  216.         echo "                    ";
  217.         // line 75
  218.         echo "
  219.                     <div class=\"col-md-2\" style=\"margin-left: 20px\">
  220.                         <label class=\"control-label\" for=\"forecast_date_start_title\">";
  221.         // line 78
  222.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Fecha de inicio", [], "messages");
  223.         echo ": </label>
  224.                         <input type=\"date\" id=\"forecast_date_start\" name=\"forecast[date_start]\" class=\"form-control\">
  225.                     </div>
  226.                     <div class=\"col-md-2\" style=\"margin-left: 20px\">
  227.                         <label class=\"control-label\" for=\"forecast_date_end_title\">";
  228.         // line 83
  229.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Fecha de fin", [], "messages");
  230.         echo ": </label>
  231.                         <input type=\"date\" id=\"forecast_date_start\" name=\"forecast[date_end]\" class=\"form-control\">
  232.                     </div>
  233.                     <div class=\"col-md-12\" style=\"margin-top: 20px\"></div>
  234.                     <div class=\"col-md-2\"></div>
  235.                     <div class=\"col-md-6\">
  236.                         <div class=\"form-group form-group-material\">
  237.                             <button type=\"submit\" id=\"forecast_submit\" name=\"forecast_button[send]\" class=\"btn bg-success btn-block btn-lg\">";
  238.         // line 94
  239.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Ver Prevision", [], "messages");
  240.         echo "</button>
  241.                         </div>
  242.                     </div>
  243.                 </form>
  244.             </div>
  245.         </div>
  246.     </div>
  247.     ";
  248.         // line 106
  249.         if ( !twig_test_empty((isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 106, $this->source); })()))) {
  250.             // line 107
  251.             echo "
  252.     <div class=\"col-md-12 margen-15\">
  253.         <div class=\"panel\">
  254.             <div class=\"panel-heading\">
  255.                 <div class=\"panel-body border-blue\">
  256.                     <div class=\"col-md-12 col-xs-12\" ><strong class=\"text-info\">
  257.                             <legend class=\"border-teal-800\">";
  258.             // line 113
  259.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Listado de Reservas", [], "messages");
  260.             echo "</legend></strong>
  261.                     </div>
  262.                     <table id=\"table-client\" class=\"table datatable-responsive table-bordered table-hover datatable-highlight\">
  263.                         <thead>
  264.                         <tr>
  265.                             <th>";
  266.             // line 119
  267.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Reference", [], "messages");
  268.             echo "</th>
  269.                             ";
  270.             // line 121
  271.             echo "                            <th>";
  272.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Fecha de inicio", [], "messages");
  273.             echo "</th>
  274.                             <th>";
  275.             // line 122
  276.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Fecha de fin", [], "messages");
  277.             echo "</th>
  278.                             <th>";
  279.             // line 123
  280.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Client", [], "messages");
  281.             echo "</th>
  282.                             <th>";
  283.             // line 124
  284.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Título", [], "messages");
  285.             echo "</th>
  286.                             <th>";
  287.             // line 125
  288.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Venta Neta", [], "messages");
  289.             echo "</th>
  290.                             <th>";
  291.             // line 126
  292.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Iva", [], "messages");
  293.             echo "</th>
  294.                             <th>";
  295.             // line 127
  296.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Venta Total", [], "messages");
  297.             echo "</th>
  298.                             <th class=\"text-center\">";
  299.             // line 128
  300.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Actions", [], "messages");
  301.             echo "</th>
  302.                         </tr>
  303.                         </thead>
  304.                         <tbody>
  305.                         ";
  306.             // line 133
  307.             $context['_parent'] = $context;
  308.             $context['_seq'] = twig_ensure_traversable((isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 133, $this->source); })()));
  309.             foreach ($context['_seq'] as $context["_key"] => $context["resv"]) {
  310.                 // line 134
  311.                 echo "                            <tr>
  312.                                 <td>";
  313.                 // line 135
  314.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["resv"], "dateReference", [], "any", false, false, false, 135), "html", null, true);
  315.                 echo "</td>
  316.                                 ";
  317.                 // line 137
  318.                 echo "                                <td>";
  319.                 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["resv"], "dateStart", [], "any", false, false, false, 137), "d/m/Y"), "html", null, true);
  320.                 echo "</td>
  321.                                 <td>";
  322.                 // line 138
  323.                 echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["resv"], "dateEnd", [], "any", false, false, false, 138), "d/m/Y"), "html", null, true);
  324.                 echo "</td>
  325.                                 <td>";
  326.                 // line 139
  327.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["resv"], "clientName", [], "any", false, false, false, 139), "html", null, true);
  328.                 echo "</td>
  329.                                 <td>";
  330.                 // line 140
  331.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["resv"], "title", [], "any", false, false, false, 140), "html", null, true);
  332.                 echo "</td>
  333.                                 <td>";
  334.                 // line 141
  335.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["resv"], "neto", [], "any", false, false, false, 141), "html", null, true);
  336.                 echo "</td>
  337.                                 <td>";
  338.                 // line 142
  339.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["resv"], "vat", [], "any", false, false, false, 142), "html", null, true);
  340.                 echo "</td>
  341.                                 <td>";
  342.                 // line 143
  343.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["resv"], "total", [], "any", false, false, false, 143), "html", null, true);
  344.                 echo "</td>
  345.                                 <td class=\"text-center\">
  346.                                     <ul class=\"icons-list\">
  347.                                         <li class=\"dropdown\">
  348.                                             <a class=\"btn border-info text-info btn-flat btn-rounded btn-icon btn-lg\" href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">
  349.                                                 <i class=\"icon-menu9\"></i>
  350.                                             </a>
  351.                                             <ul class=\"dropdown-menu dropdown-menu-right bg-teal-400\">
  352.                                                 <li><a href=\"/reservations-greenpatio/editsimple/";
  353.                 // line 151
  354.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["resv"], "reservationId", [], "any", false, false, false, 151), "html", null, true);
  355.                 echo "\"><i class=\"icon-eye pull-right\"></i> ";
  356.                 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Ver Reserva", [], "messages");
  357.                 echo "</a></li>
  358.                                             </ul>
  359.                                         </li>
  360.                                     </ul>
  361.                                 </td>
  362.                             </tr>
  363.                         ";
  364.             }
  365.             $_parent = $context['_parent'];
  366.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['resv'], $context['_parent'], $context['loop']);
  367.             $context = array_intersect_key($context, $_parent) + $_parent;
  368.             // line 158
  369.             echo "
  370.                         </tbody>
  371.                     </table>
  372.                 </div>
  373.                 <h1><span class=\"text-semibold\">";
  374.             // line 162
  375.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Previsión de Venta", [], "messages");
  376.             echo "</span></h1>
  377.                 <h4><span class=\"text-semibold\">";
  378.             // line 163
  379.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Neto:", [], "messages");
  380.             echo " ";
  381.             echo twig_escape_filter($this->env, (isset($context["netoForeCast"]) || array_key_exists("netoForeCast", $context) ? $context["netoForeCast"] : (function () { throw new RuntimeError('Variable "netoForeCast" does not exist.', 163, $this->source); })()), "html", null, true);
  382.             echo " €</span></h4>
  383.                 <h4><span class=\"text-semibold\">";
  384.             // line 164
  385.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Iva:", [], "messages");
  386.             echo " ";
  387.             echo twig_escape_filter($this->env, (isset($context["vatForeCast"]) || array_key_exists("vatForeCast", $context) ? $context["vatForeCast"] : (function () { throw new RuntimeError('Variable "vatForeCast" does not exist.', 164, $this->source); })()), "html", null, true);
  388.             echo " €</span></h4>
  389.                 <h4><span class=\"text-semibold\">";
  390.             // line 165
  391.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Total:", [], "messages");
  392.             echo " ";
  393.             echo twig_escape_filter($this->env, (isset($context["totalForeCast"]) || array_key_exists("totalForeCast", $context) ? $context["totalForeCast"] : (function () { throw new RuntimeError('Variable "totalForeCast" does not exist.', 165, $this->source); })()), "html", null, true);
  394.             echo " €</span></h4>
  395.             </div>
  396.         </div>
  397.     </div>
  398.     ";
  399.         }
  400.         // line 172
  401.         echo "
  402. </div>
  403. </div>
  404. </div>
  405.         ";
  406.         
  407.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  408.         
  409.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  410.     }
  411.     // line 179
  412.     public function block_javascripts($context, array $blocks = [])
  413.     {
  414.         $macros = $this->macros;
  415.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  416.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  417.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  418.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  419.         // line 180
  420.         echo "            ";
  421.         $this->displayParentBlock("javascripts", $context, $blocks);
  422.         echo "
  423.             <script type=\"text/javascript\" src=\"";
  424.         // line 181
  425.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/plugins/forms/styling/uniform.min.js"), "html", null, true);
  426.         echo "\"></script>
  427.             <script type=\"text/javascript\" src=\"";
  428.         // line 182
  429.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/plugins/forms/styling/switch.min.js"), "html", null, true);
  430.         echo "\"></script>
  431.             <script type=\"text/javascript\" src=\"";
  432.         // line 183
  433.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/pages/form_checkboxes_radios.js"), "html", null, true);
  434.         echo "\"></script>
  435.             <script type=\"text/javascript\" src=\"";
  436.         // line 184
  437.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/plugins/tables/datatables/datatables.min.js"), "html", null, true);
  438.         echo "\"></script>
  439.             <script type=\"text/javascript\" src=\"";
  440.         // line 185
  441.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/plugins/tables/datatables/extensions/responsive.min.js"), "html", null, true);
  442.         echo "\"></script>
  443.             <script type=\"text/javascript\" src=\"";
  444.         // line 186
  445.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/pages/datatables_responsive.js"), "html", null, true);
  446.         echo "\"></script>
  447.             <script type=\"text/javascript\" src=\"";
  448.         // line 187
  449.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/pages/datatables_advanced.js"), "html", null, true);
  450.         echo "\"></script>
  451.             <script type=\"text/javascript\" src=\"";
  452.         // line 188
  453.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/plugins/forms/selects/select2.min.js"), "html", null, true);
  454.         echo "\"></script>
  455.             <script type=\"text/javascript\" src=\"";
  456.         // line 189
  457.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/pages/greenpatio/invoice-update.js"), "html", null, true);
  458.         echo "\"></script>
  459.         ";
  460.         
  461.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  462.         
  463.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  464.     }
  465.     /**
  466.      * @codeCoverageIgnore
  467.      */
  468.     public function getTemplateName()
  469.     {
  470.         return "MDS/GreenPatioBundle/reservations/list-forecast.html.twig";
  471.     }
  472.     /**
  473.      * @codeCoverageIgnore
  474.      */
  475.     public function isTraitable()
  476.     {
  477.         return false;
  478.     }
  479.     /**
  480.      * @codeCoverageIgnore
  481.      */
  482.     public function getDebugInfo()
  483.     {
  484.         return array (  506 => 189,  502 => 188,  498 => 187,  494 => 186,  490 => 185,  486 => 184,  482 => 183,  478 => 182,  474 => 181,  469 => 180,  459 => 179,  443 => 172,  431 => 165,  425 => 164,  419 => 163,  415 => 162,  409 => 158,  394 => 151,  383 => 143,  379 => 142,  375 => 141,  371 => 140,  367 => 139,  363 => 138,  358 => 137,  354 => 135,  351 => 134,  347 => 133,  339 => 128,  335 => 127,  331 => 126,  327 => 125,  323 => 124,  319 => 123,  315 => 122,  310 => 121,  306 => 119,  297 => 113,  289 => 107,  287 => 106,  272 => 94,  258 => 83,  250 => 78,  245 => 75,  243 => 74,  241 => 73,  239 => 72,  237 => 71,  235 => 70,  233 => 69,  231 => 68,  229 => 67,  226 => 65,  224 => 64,  222 => 63,  220 => 62,  218 => 61,  216 => 60,  214 => 59,  212 => 58,  210 => 57,  202 => 51,  195 => 46,  186 => 44,  182 => 43,  175 => 39,  171 => 38,  167 => 37,  163 => 36,  160 => 35,  152 => 30,  146 => 27,  142 => 26,  139 => 25,  137 => 24,  135 => 23,  127 => 17,  117 => 16,  106 => 13,  102 => 11,  99 => 10,  89 => 9,  74 => 5,  71 => 4,  61 => 3,  38 => 1,);
  485.     }
  486.     public function getSourceContext()
  487.     {
  488.         return new Source("{% extends 'MDS/GreenPatioBundle/base-reservations.html.twig' %}
  489.         {% block pagetitleinterno %}
  490.             <div class=\"page-title\">
  491.                 <h4><i class=\"icon-list position-left\"></i> <span class=\"text-semibold\">{% trans %}Green Patio{% endtrans %}</span> - {% trans %}Previsión de Ventas{% endtrans %}</h4>
  492.             </div>
  493.         {% endblock %}
  494.         {% block breadcrumbs %}
  495.             <ul class=\"breadcrumb\">
  496.                 <li><a href=\"/loungeadmin/list\"><i class=\"icon-home2 position-left\"></i>{% trans %}Home{% endtrans %}</a></li>
  497.                 {#<li class=\"active\"><i class=\"icon-add-to-list position-left\"></i>{% trans %}Period List{% endtrans %}</li>#}
  498.             </ul>
  499.         {% endblock %}
  500. \t{% block contentReservation %}
  501. <div class=\"row settings-page\" id=\"client-client-subpage\">
  502.     <div class=\"col-sm-12\">
  503.         <div class=\"page-header\">
  504.             <div class=\"col-sm-12 text-right\">
  505.                 {% if dateStartReq is not empty and dateEndReq is not empty %}
  506.                     {#<form name=\"PrintForecast\" method=\"post\" target=\"_blank\"  action=\"/reservations-greenpatio/createforecastprint/\" class=\"form-horizontal\" autocomplete=\"off\">#}
  507.                     <form name=\"PrintForecast\" method=\"post\" target=\"_blank\"  action=\"/pdf/greenpatioforecast/\" class=\"form-horizontal\" autocomplete=\"off\">
  508.                         <input type=\"hidden\" id=\"dateStartReq\" name=\"forecast[date_start]\" class=\"form-control hidden\" value=\"{{ dateStartReq }}\" />
  509.                         <input type=\"hidden\" id=\"dateEndReq\" name=\"forecast[date_end]\" class=\"form-control hidden\" value=\"{{ dateEndReq }}\" />
  510.                         <div class=\"col-md-6\">
  511.                             <div class=\"form-group form-group-material\">
  512.                                 <button type=\"submit\" id=\"forecast_submit\" name=\"forecast_button[send]\" class=\"btn bg-black btn-info btn-lg\">{% trans %}Exportar a PDF{% endtrans %}</button>
  513.                             </div>
  514.                         </div>
  515.                     </form>
  516.                 {% endif %}
  517.                 <a href=\"/reservations-greenpatio/listloungedetails\"  class=\"btn btn-info btn-gl\">{% trans %}List Lounge{% endtrans %} <i class=\"icon-list position-right\"></i></a>
  518.                 <a href=\"/reservations-greenpatio/listperiod\"  class=\"btn btn-success btn-gl\">{% trans %}List Period{% endtrans %} <i class=\"icon-list position-right\"></i></a>
  519.                 <a href=\"/reservations-greenpatio/listgpprices\"  class=\"btn btn-info btn-gl\">{% trans %}List Price{% endtrans %} <i class=\"icon-list position-right\"></i></a>
  520.                 <a href=\"/reservations-greenpatio/list\"  class=\"btn btn-warning btn-gl\">{% trans %}Reservation List{% endtrans %} <i class=\"icon-book position-right\"></i></a>
  521.             </div>
  522.         </div>
  523.     </div>
  524.     {% for flashMessage in app.session.flashbag.get('mensajeclient') %}
  525.         <div class=\"hidden alertFlashMensaje\" data-mensaje=\"{{ flashMessage }}\"></div>
  526.     {% endfor %}
  527.     <div class=\"col-sm-12 margen-15\">
  528.         <div class=\"panel\">
  529.             <div class=\"panel-body\">
  530.                 <div class=\"col-md-12\" ><strong class=\"text-info\">
  531.                         <legend class=\"border-teal-800\">{% trans %}Previsión de Ventas{% endtrans %}</legend></strong>
  532.                 </div>
  533.                 <form name=\"ViewForecast\" method=\"post\" action=\"/reservations-greenpatio/createforecast/\" class=\"form-horizontal\" autocomplete=\"off\">
  534.                     {#<div class=\"col-md-2\" style=\"margin-left: 20px\">#}
  535.                         {#<label class=\"control-label\" for=\"forecast_month_title\">{% trans %}Mes{% endtrans %}: </label>#}
  536.                         {#<select id=\"forecast_month\" name=\"forecast[month]\" class=\"form-control\">#}
  537.                             {#<option value=\"\">{% trans %}Seleccione el mes{% endtrans %}</option>#}
  538.                             {#{% for key, month in months %}#}
  539.                                 {#<option value=\"{{ key }}\">{{ month|capitalize }}</option>#}
  540.                             {#{% endfor %}#}
  541.                         {#</select>#}
  542.                     {#</div>#}
  543.                     {#<div class=\"col-md-2\" style=\"margin-left: 20px\">#}
  544.                         {#<label class=\"control-label\" for=\"forecast_year_title\">{% trans %}Year{% endtrans %}: </label>#}
  545.                         {#<select id=\"forecast_year\" name=\"forecast[year]\" class=\"form-control\">#}
  546.                             {#<option value=\"\">{% trans %}Seleccione el año{% endtrans %}</option>#}
  547.                             {#{% for year in years %}#}
  548.                                 {#<option value=\"{{ year }}\">{{ year|capitalize }}</option>#}
  549.                             {#{% endfor %}#}
  550.                         {#</select>#}
  551.                     {#</div>#}
  552.                     <div class=\"col-md-2\" style=\"margin-left: 20px\">
  553.                         <label class=\"control-label\" for=\"forecast_date_start_title\">{% trans %}Fecha de inicio{% endtrans %}: </label>
  554.                         <input type=\"date\" id=\"forecast_date_start\" name=\"forecast[date_start]\" class=\"form-control\">
  555.                     </div>
  556.                     <div class=\"col-md-2\" style=\"margin-left: 20px\">
  557.                         <label class=\"control-label\" for=\"forecast_date_end_title\">{% trans %}Fecha de fin{% endtrans %}: </label>
  558.                         <input type=\"date\" id=\"forecast_date_start\" name=\"forecast[date_end]\" class=\"form-control\">
  559.                     </div>
  560.                     <div class=\"col-md-12\" style=\"margin-top: 20px\"></div>
  561.                     <div class=\"col-md-2\"></div>
  562.                     <div class=\"col-md-6\">
  563.                         <div class=\"form-group form-group-material\">
  564.                             <button type=\"submit\" id=\"forecast_submit\" name=\"forecast_button[send]\" class=\"btn bg-success btn-block btn-lg\">{% trans %}Ver Prevision{% endtrans %}</button>
  565.                         </div>
  566.                     </div>
  567.                 </form>
  568.             </div>
  569.         </div>
  570.     </div>
  571.     {% if data is not empty %}
  572.     <div class=\"col-md-12 margen-15\">
  573.         <div class=\"panel\">
  574.             <div class=\"panel-heading\">
  575.                 <div class=\"panel-body border-blue\">
  576.                     <div class=\"col-md-12 col-xs-12\" ><strong class=\"text-info\">
  577.                             <legend class=\"border-teal-800\">{% trans %}Listado de Reservas{% endtrans %}</legend></strong>
  578.                     </div>
  579.                     <table id=\"table-client\" class=\"table datatable-responsive table-bordered table-hover datatable-highlight\">
  580.                         <thead>
  581.                         <tr>
  582.                             <th>{% trans %}Reference{% endtrans %}</th>
  583.                             {#<th>{% trans %}Id{% endtrans %}</th>#}
  584.                             <th>{% trans %}Fecha de inicio{% endtrans %}</th>
  585.                             <th>{% trans %}Fecha de fin{% endtrans %}</th>
  586.                             <th>{% trans %}Client{% endtrans %}</th>
  587.                             <th>{% trans %}Título{% endtrans %}</th>
  588.                             <th>{% trans %}Venta Neta{% endtrans %}</th>
  589.                             <th>{% trans %}Iva{% endtrans %}</th>
  590.                             <th>{% trans %}Venta Total{% endtrans %}</th>
  591.                             <th class=\"text-center\">{% trans %}Actions{% endtrans %}</th>
  592.                         </tr>
  593.                         </thead>
  594.                         <tbody>
  595.                         {% for resv in data %}
  596.                             <tr>
  597.                                 <td>{{ resv.dateReference }}</td>
  598.                                 {#<td>{{ resv.reservationId }}</td>#}
  599.                                 <td>{{ resv.dateStart|date('d/m/Y')}}</td>
  600.                                 <td>{{ resv.dateEnd|date('d/m/Y')}}</td>
  601.                                 <td>{{ resv.clientName }}</td>
  602.                                 <td>{{ resv.title }}</td>
  603.                                 <td>{{ resv.neto}}</td>
  604.                                 <td>{{ resv.vat}}</td>
  605.                                 <td>{{ resv.total}}</td>
  606.                                 <td class=\"text-center\">
  607.                                     <ul class=\"icons-list\">
  608.                                         <li class=\"dropdown\">
  609.                                             <a class=\"btn border-info text-info btn-flat btn-rounded btn-icon btn-lg\" href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">
  610.                                                 <i class=\"icon-menu9\"></i>
  611.                                             </a>
  612.                                             <ul class=\"dropdown-menu dropdown-menu-right bg-teal-400\">
  613.                                                 <li><a href=\"/reservations-greenpatio/editsimple/{{ resv.reservationId }}\"><i class=\"icon-eye pull-right\"></i> {% trans %}Ver Reserva{% endtrans %}</a></li>
  614.                                             </ul>
  615.                                         </li>
  616.                                     </ul>
  617.                                 </td>
  618.                             </tr>
  619.                         {% endfor %}
  620.                         </tbody>
  621.                     </table>
  622.                 </div>
  623.                 <h1><span class=\"text-semibold\">{% trans %}Previsión de Venta {% endtrans %}</span></h1>
  624.                 <h4><span class=\"text-semibold\">{% trans %}Neto: {% endtrans %} {{ netoForeCast }} €</span></h4>
  625.                 <h4><span class=\"text-semibold\">{% trans %}Iva: {% endtrans %} {{ vatForeCast }} €</span></h4>
  626.                 <h4><span class=\"text-semibold\">{% trans %}Total: {% endtrans %} {{ totalForeCast }} €</span></h4>
  627.             </div>
  628.         </div>
  629.     </div>
  630.     {% endif %}
  631. </div>
  632. </div>
  633. </div>
  634.         {% endblock %}
  635.         {% block javascripts %}
  636.             {{ parent() }}
  637.             <script type=\"text/javascript\" src=\"{{ asset('assets/js/plugins/forms/styling/uniform.min.js') }}\"></script>
  638.             <script type=\"text/javascript\" src=\"{{ asset('assets/js/plugins/forms/styling/switch.min.js') }}\"></script>
  639.             <script type=\"text/javascript\" src=\"{{ asset('assets/js/pages/form_checkboxes_radios.js') }}\"></script>
  640.             <script type=\"text/javascript\" src=\"{{ asset('assets/js/plugins/tables/datatables/datatables.min.js') }}\"></script>
  641.             <script type=\"text/javascript\" src=\"{{ asset('assets/js/plugins/tables/datatables/extensions/responsive.min.js') }}\"></script>
  642.             <script type=\"text/javascript\" src=\"{{ asset('assets/js/pages/datatables_responsive.js') }}\"></script>
  643.             <script type=\"text/javascript\" src=\"{{ asset('assets/js/pages/datatables_advanced.js') }}\"></script>
  644.             <script type=\"text/javascript\" src=\"{{ asset('assets/js/plugins/forms/selects/select2.min.js') }}\"></script>
  645.             <script type=\"text/javascript\" src=\"{{ asset('assets/js/pages/greenpatio/invoice-update.js') }}\"></script>
  646.         {% endblock %}
  647. ", "MDS/GreenPatioBundle/reservations/list-forecast.html.twig", "/var/www/vhosts/inout.mante.solutions/httpdocs/templates/MDS/GreenPatioBundle/reservations/list-forecast.html.twig");
  648.     }
  649. }