var/cache/dev/twig/8d/8d4e1da3daca923a54a1832ee242cee5.php line 46

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* admin/booking/admin/adminBookings.html.twig */
  15. class __TwigTemplate_fabc4c278fe827d99c3d873652ee1a22 extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->blocks = [
  24.             'page_title' => [$this'block_page_title'],
  25.             'breadcump_main' => [$this'block_breadcump_main'],
  26.             'breadcump_subtitle' => [$this'block_breadcump_subtitle'],
  27.             'menu_left_sidebar' => [$this'block_menu_left_sidebar'],
  28.             'stylesheets' => [$this'block_stylesheets'],
  29.             'title' => [$this'block_title'],
  30.             'content' => [$this'block_content'],
  31.             'javascripts' => [$this'block_javascripts'],
  32.         ];
  33.     }
  34.     protected function doGetParent(array $context)
  35.     {
  36.         // line 1
  37.         return "admin/baseAdmin.html.twig";
  38.     }
  39.     protected function doDisplay(array $context, array $blocks = [])
  40.     {
  41.         $macros $this->macros;
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""admin/booking/admin/adminBookings.html.twig"));
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""admin/booking/admin/adminBookings.html.twig"));
  46.         $this->parent $this->loadTemplate("admin/baseAdmin.html.twig""admin/booking/admin/adminBookings.html.twig"1);
  47.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  48.         
  49.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  50.         
  51.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  52.     }
  53.     // line 2
  54.     public function block_page_title($context, array $blocks = [])
  55.     {
  56.         $macros $this->macros;
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_title"));
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_title"));
  61.         yield "Liste des reservations BOOKOACH";
  62.         
  63.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  64.         
  65.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  66.         return; yield '';
  67.     }
  68.     // line 3
  69.     public function block_breadcump_main($context, array $blocks = [])
  70.     {
  71.         $macros $this->macros;
  72.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  73.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcump_main"));
  74.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  75.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcump_main"));
  76.         yield "Dashboard";
  77.         
  78.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  79.         
  80.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  81.         return; yield '';
  82.     }
  83.     // line 4
  84.     public function block_breadcump_subtitle($context, array $blocks = [])
  85.     {
  86.         $macros $this->macros;
  87.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  88.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcump_subtitle"));
  89.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  90.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""breadcump_subtitle"));
  91.         yield "Tous les résa";
  92.         
  93.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  94.         
  95.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  96.         return; yield '';
  97.     }
  98.     // line 5
  99.     public function block_menu_left_sidebar($context, array $blocks = [])
  100.     {
  101.         $macros $this->macros;
  102.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  103.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""menu_left_sidebar"));
  104.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  105.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""menu_left_sidebar"));
  106.         // line 6
  107.         yield "    ";
  108.         yield from         $this->loadTemplate("include/menu/menuAdmin.html.twig""admin/booking/admin/adminBookings.html.twig"6)->unwrap()->yield(CoreExtension::merge($context, ["menu_active_event" => "3"]));
  109.         
  110.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  111.         
  112.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  113.         return; yield '';
  114.     }
  115.     // line 8
  116.     public function block_stylesheets($context, array $blocks = [])
  117.     {
  118.         $macros $this->macros;
  119.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  120.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  121.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  122.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  123.         // line 9
  124.         yield "    <link href=\"";
  125.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/libs/select2/css/select2.min.css"), "html"nulltrue);
  126.         yield "\" rel=\"stylesheet\" type=\"text/css\">
  127.     <link href=\"";
  128.         // line 10
  129.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/libs/bootstrap-datepicker/css/bootstrap-datepicker.min.css"), "html"nulltrue);
  130.         yield "\" rel=\"stylesheet\" type=\"text/css\">
  131.     <link href=\"";
  132.         // line 11
  133.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/libs/datatables.net-bs4/css/dataTables.bootstrap4.min.css"), "html"nulltrue);
  134.         yield "\" rel=\"stylesheet\" type=\"text/css\">
  135.     <link href=\"";
  136.         // line 12
  137.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/libs/datatables.net-responsive-bs4/css/responsive.bootstrap4.min.css"), "html"nulltrue);
  138.         yield "\" rel=\"stylesheet\" type=\"text/css\">
  139. ";
  140.         
  141.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  142.         
  143.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  144.         return; yield '';
  145.     }
  146.     // line 14
  147.     public function block_title($context, array $blocks = [])
  148.     {
  149.         $macros $this->macros;
  150.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  151.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  152.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  153.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  154.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Liste des Reservations"), "html"nulltrue);
  155.         
  156.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  157.         
  158.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  159.         return; yield '';
  160.     }
  161.     // line 15
  162.     public function block_content($context, array $blocks = [])
  163.     {
  164.         $macros $this->macros;
  165.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  166.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  167.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  168.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  169.         // line 16
  170.         yield "    <div class=\"row\">
  171.         <div class=\"col-lg-12\">
  172.             <div class=\"card job-filter\">
  173.                 <div class=\"card-body p-3\">
  174.                     <h4 class=\"card-title mb-4\">Filtre de recherche :</h4>
  175.                     <form method=\"post\" action=\"#\">
  176.                         <div class=\"row\">
  177.                             <div class=\"col-xl col-sm-6\">
  178.                                 <div class=\"mb-3\">
  179.                                     <label class=\"form-label\">Par Coach :</label>
  180.                                     <select name=\"coach\" class=\"form-select form-select6LG select2\" id=\"floatingSelect\" aria-label=\"Floating label select example\">
  181.                                         ";
  182.         // line 27
  183.         $context['_parent'] = $context;
  184.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["coachs"]) || array_key_exists("coachs"$context) ? $context["coachs"] : (function () { throw new RuntimeError('Variable "coachs" does not exist.'27$this->source); })()));
  185.         foreach ($context['_seq'] as $context["_key"] => $context["coach"]) {
  186.             // line 28
  187.             yield "                                            <option value=\"";
  188.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["coach"], "id", [], "any"falsefalsefalse28), "html"nulltrue);
  189.             yield "\" >";
  190.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["coach"], "firstname", [], "any"falsefalsefalse28), "html"nulltrue);
  191.             yield " ";
  192.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["coach"], "lastname", [], "any"falsefalsefalse28), "html"nulltrue);
  193.             yield "</option>
  194.                                         ";
  195.         }
  196.         $_parent $context['_parent'];
  197.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['coach'], $context['_parent'], $context['loop']);
  198.         $context array_intersect_key($context$_parent) + $_parent;
  199.         // line 30
  200.         yield "                                    </select>
  201.                                 </div>
  202.                             </div>
  203.                             <div class=\"col-xl col-sm-6\">
  204.                                 <div class=\"mb-3\">
  205.                                     <label class=\"form-label\">Par Experience :</label>
  206.                                     <select name=\"experience\" class=\"form-select form-select6LG select2\" id=\"floatingSelect\" aria-label=\"Floating label select example\">
  207.                                         <option value=\"\">Filtrer votre par éxperience</option>
  208.                                         ";
  209.         // line 38
  210.         $context['_parent'] = $context;
  211.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["experiences"]) || array_key_exists("experiences"$context) ? $context["experiences"] : (function () { throw new RuntimeError('Variable "experiences" does not exist.'38$this->source); })()));
  212.         foreach ($context['_seq'] as $context["_key"] => $context["experience"]) {
  213.             // line 39
  214.             yield "                                            <option value=\"";
  215.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["experience"], "id", [], "any"falsefalsefalse39), "html"nulltrue);
  216.             yield "\" ";
  217.             yield (((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'39$this->source); })()), "request", [], "any"falsefalsefalse39), "get", ["experience"], "method"falsefalsefalse39) == CoreExtension::getAttribute($this->env$this->source$context["experience"], "id", [], "any"falsefalsefalse39))) ? ("selected") : (""));
  218.             yield ">
  219.                                                 ";
  220.             // line 40
  221.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["experience"], "title", [], "any"falsefalsefalse40), "html"nulltrue);
  222.             yield "
  223.                                             </option>
  224.                                         ";
  225.         }
  226.         $_parent $context['_parent'];
  227.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['experience'], $context['_parent'], $context['loop']);
  228.         $context array_intersect_key($context$_parent) + $_parent;
  229.         // line 42
  230.         yield 
  231.                                     </select>
  232.                                 </div>
  233.                             </div>
  234.                             <div class=\"col-xl col-sm-6\">
  235.                                 <div class=\"mb-3\">
  236.                                     <label class=\"form-label\">Par Catégorie :</label>
  237.                                     <select name=\"category\" class=\"form-select form-select6LG select2\" id=\"floatingSelect\" aria-label=\"Floating label select example\">
  238.                                         <option value=\"\">— Chossisser une catégorie —</option>
  239.                                         ";
  240.         // line 53
  241.         $context['_parent'] = $context;
  242.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["categories"]) || array_key_exists("categories"$context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.'53$this->source); })()));
  243.         foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
  244.             // line 54
  245.             yield "                                            <option value=\"";
  246.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["category"], "id", [], "any"falsefalsefalse54), "html"nulltrue);
  247.             yield "\" >";
  248.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["category"], "name", [], "any"falsefalsefalse54), "html"nulltrue);
  249.             yield " </option>
  250.                                         ";
  251.         }
  252.         $_parent $context['_parent'];
  253.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
  254.         $context array_intersect_key($context$_parent) + $_parent;
  255.         // line 55
  256.         yield 
  257.                                     </select>
  258.                                 </div>
  259.                             </div>
  260.                             <div class=\"col-xl col-sm-6 align-self-end\">
  261.                                 <div class=\"mb-3\">
  262.                                     <button type=\"submit\" class=\"btn btn-primary w-md\">Filter</button>
  263.                                 </div>
  264.                             </div>
  265.                         </div>
  266.                     </form>
  267.                 </div>
  268.             </div>
  269.         </div>
  270.         <!--end col-->
  271.     </div>
  272.     <div class=\"row\">
  273.         <div class=\"col-lg-12\">
  274.             <div class=\"card job-filter\">
  275.                 <div class=\"card-body p-3\">
  276.                     <div class=\"table-responsive\">
  277.                         <table class=\"datatable table align-middle table-nowrap table-hover\">
  278.                             <thead class=\"table-light\">
  279.                                 <tr>
  280.                                     <th scope=\"col\" style=\"width: 100px\">#</th>
  281.                                     <th scope=\"col\">Experience</th>
  282.                                     <th scope=\"col\">Client</th>
  283.                                     <th scope=\"col\">Détails</th>
  284.                                     <th scope=\"col\">Status</th>
  285.                                     <th scope=\"col\">Action</th>
  286.                                 </tr>
  287.                             </thead>
  288.                             <tbody>
  289.                                 ";
  290.         // line 89
  291.         $context['_parent'] = $context;
  292.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["bookings"]) || array_key_exists("bookings"$context) ? $context["bookings"] : (function () { throw new RuntimeError('Variable "bookings" does not exist.'89$this->source); })()));
  293.         foreach ($context['_seq'] as $context["_key"] => $context["booking"]) {
  294.             // line 90
  295.             yield "                                    <tr>
  296.                                         <td><img src=\"";
  297.             // line 91
  298.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("" CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["booking"], "experience", [], "any"falsefalsefalse91), "image", [], "any"falsefalsefalse91))), "html"nulltrue);
  299.             yield "\" alt=\"\" class=\"avatar-sm\"></td>
  300.                                         <td>
  301.                                             <h5 class=\"text-truncate mb-0 font-size-14\"><a href=\"javascript: void(0);\" class=\"text-dark\">";
  302.             // line 93
  303.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["booking"], "experience", [], "any"falsefalsefalse93), "title", [], "any"falsefalsefalse93), "html"nulltrue);
  304.             yield "</a></h5>
  305.                                             <p class=\"text-muted mb-0\">#";
  306.             // line 94
  307.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["booking"], "experience", [], "any"falsefalsefalse94), "id", [], "any"falsefalsefalse94), "html"nulltrue);
  308.             yield "</p>
  309.                                         </td>
  310.                                         <td>
  311.                                             <p class=\"mb-0\">";
  312.             // line 97
  313.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["booking"], "customer", [], "any"falsefalsefalse97), "firstname", [], "any"falsefalsefalse97), "html"nulltrue);
  314.             yield " ";
  315.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["booking"], "customer", [], "any"falsefalsefalse97), "lastname", [], "any"falsefalsefalse97), "html"nulltrue);
  316.             yield "</p>
  317.                                             <p><small>";
  318.             // line 98
  319.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["booking"], "customer", [], "any"falsefalsefalse98), "email", [], "any"falsefalsefalse98), "html"nulltrue);
  320.             yield "</small></p>
  321.                                         </td>
  322.                                         <td>
  323.                                             <p class=\"mb-0\"><b>";
  324.             // line 101
  325.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["booking"], "total", [], "any"falsefalsefalse101), "html"nulltrue);
  326.             yield " ";
  327.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["booking"], "currency", [], "any"falsefalsefalse101), "html"nulltrue);
  328.             yield "</b></p>
  329.                                             <p class=\"text-muted mb-0\">#";
  330.             // line 102
  331.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["booking"], "reference", [], "any"falsefalsefalse102), "html"nulltrue);
  332.             yield " | ";
  333.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["booking"], "pax", [], "any"falsefalsefalse102), "html"nulltrue);
  334.             yield " Pax | ";
  335.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env$this->source$context["booking"], "datestart", [], "any"falsefalsefalse102), "d/M/Y"), "html"nulltrue);
  336.             yield "</p>
  337.                                         </td>
  338.                                         <td>
  339.                                             ";
  340.             // line 106
  341.             if ((CoreExtension::getAttribute($this->env$this->source$context["booking"], "status", [], "any"falsefalsefalse106) == "1")) {
  342.                 // line 107
  343.                 yield "                                                <span class=\"badge bg-success\">Confimé</span>
  344.                                             ";
  345.             } elseif ((CoreExtension::getAttribute($this->env$this->source,             // line 108
  346. $context["booking"], "status", [], "any"falsefalsefalse108) == "2")) {
  347.                 // line 109
  348.                 yield "                                                <span class=\"badge bg-danger\">Annulé</span>
  349.                                             ";
  350.             } else {
  351.                 // line 111
  352.                 yield "                                                <span class=\"badge bg-warning\">En Attente</span>
  353.                                             ";
  354.             }
  355.             // line 113
  356.             yield "                                        </td>
  357.                                         <td>
  358.                                             <div class=\"dropdown\">
  359.                                                 <a href=\"#\" class=\"dropdown-toggle card-drop\" data-bs-toggle=\"dropdown\" aria-expanded=\"false\">
  360.                                                     <i class=\"mdi mdi-dots-horizontal font-size-18\"></i>
  361.                                                 </a>
  362.                                                 <div class=\"dropdown-menu dropdown-menu-end\">
  363.                                                     <a class=\"dropdown-item\" href=\"#\">Voucher</a>
  364.                                                     <a class=\"dropdown-item\" href=\"#\">Modification</a>
  365.                                                     <a class=\"dropdown-item\" href=\"#\">Annuler/Suprimer</a>
  366.                                                 </div>
  367.                                             </div>
  368.                                         </td>
  369.                                     </tr>
  370.                                 ";
  371.         }
  372.         $_parent $context['_parent'];
  373.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['booking'], $context['_parent'], $context['loop']);
  374.         $context array_intersect_key($context$_parent) + $_parent;
  375.         // line 128
  376.         yield "                            </tbody>
  377.                         </table>
  378.                     </div>
  379.                 </div>
  380.             </div>
  381.         </div>
  382.     </div>
  383. ";
  384.         
  385.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  386.         
  387.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  388.         return; yield '';
  389.     }
  390.     // line 138
  391.     public function block_javascripts($context, array $blocks = [])
  392.     {
  393.         $macros $this->macros;
  394.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  395.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  396.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  397.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  398.         // line 139
  399.         yield "
  400.     <script src=\"";
  401.         // line 140
  402.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/libs/select2/js/select2.min.js"), "html"nulltrue);
  403.         yield "\"></script>
  404.     <script src=\"";
  405.         // line 141
  406.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/libs/select2/js/select2.min.js"), "html"nulltrue);
  407.         yield "\"></script>
  408.     <script src=\"";
  409.         // line 142
  410.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/libs/bootstrap-datepicker/js/bootstrap-datepicker.min.js"), "html"nulltrue);
  411.         yield "\"></script>
  412.     <script src=\"";
  413.         // line 143
  414.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/libs/datatables.net/js/jquery.dataTables.min.js"), "html"nulltrue);
  415.         yield "\"></script>
  416.     <script src=\"";
  417.         // line 144
  418.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/libs/datatables.net-bs4/js/dataTables.bootstrap4.min.js"), "html"nulltrue);
  419.         yield "\"></script>
  420.     <script src=\"";
  421.         // line 145
  422.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/libs/datatables.net-responsive/js/dataTables.responsive.min.js"), "html"nulltrue);
  423.         yield "\"></script>
  424.     <script src=\"";
  425.         // line 146
  426.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/libs/datatables.net-responsive-bs4/js/responsive.bootstrap4.min.js"), "html"nulltrue);
  427.         yield "\"></script>
  428.     <script src=\"";
  429.         // line 147
  430.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/js/pages/crypto-orders.init.js"), "html"nulltrue);
  431.         yield "\"></script>
  432.     <script src=\"";
  433.         // line 148
  434.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("admin/js/app.js"), "html"nulltrue);
  435.         yield "\"></script>
  436. ";
  437.         
  438.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  439.         
  440.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  441.         return; yield '';
  442.     }
  443.     /**
  444.      * @codeCoverageIgnore
  445.      */
  446.     public function getTemplateName()
  447.     {
  448.         return "admin/booking/admin/adminBookings.html.twig";
  449.     }
  450.     /**
  451.      * @codeCoverageIgnore
  452.      */
  453.     public function isTraitable()
  454.     {
  455.         return false;
  456.     }
  457.     /**
  458.      * @codeCoverageIgnore
  459.      */
  460.     public function getDebugInfo()
  461.     {
  462.         return array (  488 => 148,  484 => 147,  480 => 146,  476 => 145,  472 => 144,  468 => 143,  464 => 142,  460 => 141,  456 => 140,  453 => 139,  443 => 138,  424 => 128,  404 => 113,  400 => 111,  396 => 109,  394 => 108,  391 => 107,  389 => 106,  378 => 102,  372 => 101,  366 => 98,  360 => 97,  354 => 94,  350 => 93,  345 => 91,  342 => 90,  338 => 89,  302 => 55,  291 => 54,  287 => 53,  274 => 42,  265 => 40,  258 => 39,  254 => 38,  244 => 30,  231 => 28,  227 => 27,  214 => 16,  204 => 15,  184 => 14,  171 => 12,  167 => 11,  163 => 10,  158 => 9,  148 => 8,  136 => 6,  126 => 5,  106 => 4,  86 => 3,  66 => 2,  43 => 1,);
  463.     }
  464.     public function getSourceContext()
  465.     {
  466.         return new Source("{% extends 'admin/baseAdmin.html.twig' %}
  467. {% block page_title %}Liste des reservations BOOKOACH{% endblock %}
  468. {% block breadcump_main %}Dashboard{% endblock %}
  469. {% block breadcump_subtitle %}Tous les résa{% endblock %}
  470. {% block menu_left_sidebar %}
  471.     {% include 'include/menu/menuAdmin.html.twig' with { menu_active_event : '3'} %}
  472. {% endblock %}
  473. {% block stylesheets %}
  474.     <link href=\"{{ asset('admin/libs/select2/css/select2.min.css') }}\" rel=\"stylesheet\" type=\"text/css\">
  475.     <link href=\"{{ asset('admin/libs/bootstrap-datepicker/css/bootstrap-datepicker.min.css') }}\" rel=\"stylesheet\" type=\"text/css\">
  476.     <link href=\"{{ asset('admin/libs/datatables.net-bs4/css/dataTables.bootstrap4.min.css') }}\" rel=\"stylesheet\" type=\"text/css\">
  477.     <link href=\"{{ asset('admin/libs/datatables.net-responsive-bs4/css/responsive.bootstrap4.min.css') }}\" rel=\"stylesheet\" type=\"text/css\">
  478. {% endblock %}
  479. {% block title %}{{\"Liste des Reservations\"|trans }}{% endblock %}
  480. {% block content %}
  481.     <div class=\"row\">
  482.         <div class=\"col-lg-12\">
  483.             <div class=\"card job-filter\">
  484.                 <div class=\"card-body p-3\">
  485.                     <h4 class=\"card-title mb-4\">Filtre de recherche :</h4>
  486.                     <form method=\"post\" action=\"#\">
  487.                         <div class=\"row\">
  488.                             <div class=\"col-xl col-sm-6\">
  489.                                 <div class=\"mb-3\">
  490.                                     <label class=\"form-label\">Par Coach :</label>
  491.                                     <select name=\"coach\" class=\"form-select form-select6LG select2\" id=\"floatingSelect\" aria-label=\"Floating label select example\">
  492.                                         {% for coach in coachs %}
  493.                                             <option value=\"{{ coach.id }}\" >{{ coach.firstname }} {{ coach.lastname }}</option>
  494.                                         {% endfor %}
  495.                                     </select>
  496.                                 </div>
  497.                             </div>
  498.                             <div class=\"col-xl col-sm-6\">
  499.                                 <div class=\"mb-3\">
  500.                                     <label class=\"form-label\">Par Experience :</label>
  501.                                     <select name=\"experience\" class=\"form-select form-select6LG select2\" id=\"floatingSelect\" aria-label=\"Floating label select example\">
  502.                                         <option value=\"\">Filtrer votre par éxperience</option>
  503.                                         {% for experience in experiences %}
  504.                                             <option value=\"{{ experience.id }}\" {{   app.request.get('experience') == experience.id ? 'selected' }}>
  505.                                                 {{ experience.title }}
  506.                                             </option>
  507.                                         {% endfor %} 
  508.                                     </select>
  509.                                 </div>
  510.                             </div>
  511.                             <div class=\"col-xl col-sm-6\">
  512.                                 <div class=\"mb-3\">
  513.                                     <label class=\"form-label\">Par Catégorie :</label>
  514.                                     <select name=\"category\" class=\"form-select form-select6LG select2\" id=\"floatingSelect\" aria-label=\"Floating label select example\">
  515.                                         <option value=\"\">— Chossisser une catégorie —</option>
  516.                                         {% for category in categories %}
  517.                                             <option value=\"{{ category.id }}\" >{{ category.name }} </option>
  518.                                         {% endfor %} 
  519.                                     </select>
  520.                                 </div>
  521.                             </div>
  522.                             <div class=\"col-xl col-sm-6 align-self-end\">
  523.                                 <div class=\"mb-3\">
  524.                                     <button type=\"submit\" class=\"btn btn-primary w-md\">Filter</button>
  525.                                 </div>
  526.                             </div>
  527.                         </div>
  528.                     </form>
  529.                 </div>
  530.             </div>
  531.         </div>
  532.         <!--end col-->
  533.     </div>
  534.     <div class=\"row\">
  535.         <div class=\"col-lg-12\">
  536.             <div class=\"card job-filter\">
  537.                 <div class=\"card-body p-3\">
  538.                     <div class=\"table-responsive\">
  539.                         <table class=\"datatable table align-middle table-nowrap table-hover\">
  540.                             <thead class=\"table-light\">
  541.                                 <tr>
  542.                                     <th scope=\"col\" style=\"width: 100px\">#</th>
  543.                                     <th scope=\"col\">Experience</th>
  544.                                     <th scope=\"col\">Client</th>
  545.                                     <th scope=\"col\">Détails</th>
  546.                                     <th scope=\"col\">Status</th>
  547.                                     <th scope=\"col\">Action</th>
  548.                                 </tr>
  549.                             </thead>
  550.                             <tbody>
  551.                                 {% for booking in bookings %}
  552.                                     <tr>
  553.                                         <td><img src=\"{{ asset(''~booking.experience.image) }}\" alt=\"\" class=\"avatar-sm\"></td>
  554.                                         <td>
  555.                                             <h5 class=\"text-truncate mb-0 font-size-14\"><a href=\"javascript: void(0);\" class=\"text-dark\">{{ booking.experience.title }}</a></h5>
  556.                                             <p class=\"text-muted mb-0\">#{{ booking.experience.id }}</p>
  557.                                         </td>
  558.                                         <td>
  559.                                             <p class=\"mb-0\">{{ booking.customer.firstname }} {{ booking.customer.lastname }}</p>
  560.                                             <p><small>{{ booking.customer.email }}</small></p>
  561.                                         </td>
  562.                                         <td>
  563.                                             <p class=\"mb-0\"><b>{{ booking.total }} {{ booking.currency }}</b></p>
  564.                                             <p class=\"text-muted mb-0\">#{{ booking.reference }} | {{ booking.pax }} Pax | {{ booking.datestart|date('d/M/Y') }}</p>
  565.                                         </td>
  566.                                         <td>
  567.                                             {% if booking.status == '1' %}
  568.                                                 <span class=\"badge bg-success\">Confimé</span>
  569.                                             {% elseif booking.status == '2' %}
  570.                                                 <span class=\"badge bg-danger\">Annulé</span>
  571.                                             {% else  %}
  572.                                                 <span class=\"badge bg-warning\">En Attente</span>
  573.                                             {% endif %}
  574.                                         </td>
  575.                                         <td>
  576.                                             <div class=\"dropdown\">
  577.                                                 <a href=\"#\" class=\"dropdown-toggle card-drop\" data-bs-toggle=\"dropdown\" aria-expanded=\"false\">
  578.                                                     <i class=\"mdi mdi-dots-horizontal font-size-18\"></i>
  579.                                                 </a>
  580.                                                 <div class=\"dropdown-menu dropdown-menu-end\">
  581.                                                     <a class=\"dropdown-item\" href=\"#\">Voucher</a>
  582.                                                     <a class=\"dropdown-item\" href=\"#\">Modification</a>
  583.                                                     <a class=\"dropdown-item\" href=\"#\">Annuler/Suprimer</a>
  584.                                                 </div>
  585.                                             </div>
  586.                                         </td>
  587.                                     </tr>
  588.                                 {% endfor %}
  589.                             </tbody>
  590.                         </table>
  591.                     </div>
  592.                 </div>
  593.             </div>
  594.         </div>
  595.     </div>
  596. {% endblock %}
  597. {% block javascripts %}
  598.     <script src=\"{{ asset('admin/libs/select2/js/select2.min.js')}}\"></script>
  599.     <script src=\"{{ asset('admin/libs/select2/js/select2.min.js')}}\"></script>
  600.     <script src=\"{{ asset('admin/libs/bootstrap-datepicker/js/bootstrap-datepicker.min.js')}}\"></script>
  601.     <script src=\"{{ asset('admin/libs/datatables.net/js/jquery.dataTables.min.js')}}\"></script>
  602.     <script src=\"{{ asset('admin/libs/datatables.net-bs4/js/dataTables.bootstrap4.min.js')}}\"></script>
  603.     <script src=\"{{ asset('admin/libs/datatables.net-responsive/js/dataTables.responsive.min.js')}}\"></script>
  604.     <script src=\"{{ asset('admin/libs/datatables.net-responsive-bs4/js/responsive.bootstrap4.min.js')}}\"></script>
  605.     <script src=\"{{ asset('admin/js/pages/crypto-orders.init.js')}}\"></script>
  606.     <script src=\"{{ asset('admin/js/app.js')}}\"></script>
  607. {% endblock %}""admin/booking/admin/adminBookings.html.twig""/home/bookoachroot/public_html/templates/admin/booking/admin/adminBookings.html.twig");
  608.     }
  609. }