var/cache/dev/twig/5c/5c33ac415f8b1cc55e9cfceeb3814699bebb2ee98f144ce75e325ae1e2e56577.php line 42

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. /* front/product/listSearch.html.twig */
  15. class __TwigTemplate_ea484de62d8f72bf066b48cc54b2ad1caf4bf635f7f4ca07780cf505df3fc215 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.             'meta' => [$this'block_meta'],
  25.             'style' => [$this'block_style'],
  26.             'body' => [$this'block_body'],
  27.             'javascript' => [$this'block_javascript'],
  28.         ];
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 1
  33.         return "base_front.html.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/product/listSearch.html.twig"));
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/product/listSearch.html.twig"));
  42.         $this->parent $this->loadTemplate("base_front.html.twig""front/product/listSearch.html.twig"1);
  43.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  46.         
  47.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  48.     }
  49.     // line 3
  50.     public function block_meta($context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta"));
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta"));
  57.         // line 4
  58.         yield "\t<title>Les resultats</title>
  59. \t<meta name=\"description\" content=\"Les produits disponibles. Actuellement, ";
  60.         // line 5
  61.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["countProducts"]) || array_key_exists("countProducts"$context) ? $context["countProducts"] : (function () { throw new RuntimeError('Variable "countProducts" does not exist.'5$this->source); })()), "html"nulltrue);
  62.         yield " produits disponibles.\">
  63. ";
  64.         
  65.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  66.         
  67.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  68.         return; yield '';
  69.     }
  70.     // line 8
  71.     public function block_style($context, array $blocks = [])
  72.     {
  73.         $macros $this->macros;
  74.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  75.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""style"));
  76.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  77.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""style"));
  78.         // line 9
  79.         yield "\t<link rel=\"stylesheet\" href=\"";
  80.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/styleFiltreHebergement.css"), "html"nulltrue);
  81.         yield "\">
  82. \t<link rel=\"stylesheet\" href=\"";
  83.         // line 10
  84.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/front/promo.css"), "html"nulltrue);
  85.         yield "\">
  86. ";
  87.         
  88.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  89.         
  90.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  91.         return; yield '';
  92.     }
  93.     // line 13
  94.     public function block_body($context, array $blocks = [])
  95.     {
  96.         $macros $this->macros;
  97.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  98.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  99.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  100.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  101.         // line 14
  102.         yield "
  103. \t<div class=\"page-header heor-section-style mine\" style=\"
  104.             height: 100%;
  105.             ";
  106.         // line 17
  107.         if (((array_key_exists("categoryBackground"$context) &&  !(null === (isset($context["categoryBackground"]) || array_key_exists("categoryBackground"$context) ? $context["categoryBackground"] : (function () { throw new RuntimeError('Variable "categoryBackground" does not exist.'17$this->source); })()))) &&  !(null === CoreExtension::getAttribute($this->env$this->source, (isset($context["categoryBackground"]) || array_key_exists("categoryBackground"$context) ? $context["categoryBackground"] : (function () { throw new RuntimeError('Variable "categoryBackground" does not exist.'17$this->source); })()), "image", [], "any"falsefalsefalse17)))) {
  108.             // line 18
  109.             yield "                background: url(";
  110.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((Twig\Extension\CoreExtension::constant("App\\Services\\File::IMAGE_CATEGORY_DIR") . CoreExtension::getAttribute($this->env$this->source, (isset($context["categoryBackground"]) || array_key_exists("categoryBackground"$context) ? $context["categoryBackground"] : (function () { throw new RuntimeError('Variable "categoryBackground" does not exist.'18$this->source); })()), "image", [], "any"falsefalsefalse18))), "html"nulltrue);
  111.             yield ")
  112.             ";
  113.         } else {
  114.             // line 20
  115.             yield "                background: url(";
  116.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/vacance_background.jpg"), "html"nulltrue);
  117.             yield ")
  118.             ";
  119.         }
  120.         // line 22
  121.         yield "            no-repeat center;background-size: cover\">
  122. \t\t<div class=\"container\">
  123. \t\t\t<div
  124. \t\t\t\tclass=\"row\">
  125. \t\t\t\t<!-- page caption -->
  126. \t\t\t\t<div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12 \">
  127. \t\t\t\t\t<div class=\"page-caption\">
  128. \t\t\t\t\t\t<h1 class=\"page-title\">Resultat</h1>
  129. \t\t\t\t\t</div>
  130. \t\t\t\t</div>
  131. \t\t\t\t<!-- /.page caption -->
  132. \t\t\t</div>
  133. \t\t</div>
  134. \t\t<!-- page caption -->
  135. \t\t<div class=\"page-breadcrumb\">
  136. \t\t\t<div class=\"container\">
  137. \t\t\t\t<div class=\"row\">
  138. \t\t\t\t\t<nav aria-label=\"breadcrumb\">
  139. \t\t\t\t\t\t<ol class=\"breadcrumb\">
  140. \t\t\t\t\t\t\t<li class=\"breadcrumb-item\">
  141. \t\t\t\t\t\t\t\t<a href=\"";
  142.         // line 42
  143.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("front_home");
  144.         yield "\" class=\"breadcrumb-link\">Accueil</a>
  145. \t\t\t\t\t\t\t</li>
  146. \t\t\t\t\t\t\t<li class=\"breadcrumb-item active text-white\" aria-current=\"page\">Recherche :
  147. \t\t\t\t\t\t\t\t";
  148.         // line 45
  149.         if (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.'45$this->source); })()), "session", [], "any"falsefalsefalse45), "get", ["categoryName"], "method"falsefalsefalse45)) {
  150.             // line 46
  151.             yield "\t\t\t\t\t\t\t\t\t";
  152.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.'46$this->source); })()), "session", [], "any"falsefalsefalse46), "get", ["categoryName"], "method"falsefalsefalse46), "html"nulltrue);
  153.             yield "
  154. \t\t\t\t\t\t\t\t";
  155.         }
  156.         // line 48
  157.         yield "\t\t\t\t\t\t\t\t";
  158.         if (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.'48$this->source); })()), "session", [], "any"falsefalsefalse48), "get", ["departmentName"], "method"falsefalsefalse48)) {
  159.             yield "-
  160. \t\t\t\t\t\t\t\t\t";
  161.             // line 49
  162.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.'49$this->source); })()), "session", [], "any"falsefalsefalse49), "get", ["departmentName"], "method"falsefalsefalse49), "html"nulltrue);
  163.             yield "
  164. \t\t\t\t\t\t\t\t";
  165.         }
  166.         // line 51
  167.         yield "\t\t\t\t\t\t\t\t";
  168.         if (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.'51$this->source); })()), "session", [], "any"falsefalsefalse51), "get", ["weddingdate"], "method"falsefalsefalse51)) {
  169.             yield "-
  170. \t\t\t\t\t\t\t\t\t";
  171.             // line 52
  172.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.'52$this->source); })()), "session", [], "any"falsefalsefalse52), "get", ["weddingdate"], "method"falsefalsefalse52), "html"nulltrue);
  173.             yield "
  174. \t\t\t\t\t\t\t\t";
  175.         }
  176.         // line 54
  177.         yield "\t\t\t\t\t\t\t\t";
  178.         if ((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.'54$this->source); })()), "session", [], "any"falsefalsefalse54), "get", ["weddingdate_start"], "method"falsefalsefalse54) && 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.'54$this->source); })()), "session", [], "any"falsefalsefalse54), "get", ["weddingdate_end"], "method"falsefalsefalse54))) {
  179.             // line 55
  180.             yield "\t\t\t\t\t\t\t\t\t- ";
  181.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.'55$this->source); })()), "session", [], "any"falsefalsefalse55), "get", ["weddingdate_start"], "method"falsefalsefalse55), "html"nulltrue);
  182.             yield " - ";
  183.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.'55$this->source); })()), "session", [], "any"falsefalsefalse55), "get", ["weddingdate_end"], "method"falsefalsefalse55), "html"nulltrue);
  184.             yield "
  185. \t\t\t\t\t\t\t\t";
  186.         }
  187.         // line 57
  188.         yield "\t\t\t\t\t\t\t</li>
  189. \t\t\t\t\t\t</ol>
  190. \t\t\t\t\t</nav>
  191. \t\t\t\t</div>
  192. \t\t\t</div>
  193. \t\t</div>
  194. \t\t<!-- page breadcrumb -->
  195. \t</div>
  196. \t<!-- /.page-header -->
  197. \t";
  198.         // line 67
  199.         if ((isset($context["isPromoAdmin"]) || array_key_exists("isPromoAdmin"$context) ? $context["isPromoAdmin"] : (function () { throw new RuntimeError('Variable "isPromoAdmin" does not exist.'67$this->source); })())) {
  200.             // line 68
  201.             yield "\t<div class=\"bannier-promo mt-5\">
  202. \t\t<div class=\"cont\">
  203. \t\t\tPromotion
  204. \t\t\t<span class=\"percent\">";
  205.             // line 71
  206.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["isPromoAdmin"]) || array_key_exists("isPromoAdmin"$context) ? $context["isPromoAdmin"] : (function () { throw new RuntimeError('Variable "isPromoAdmin" does not exist.'71$this->source); })()), "value", [], "any"falsefalsefalse71), "html"nulltrue);
  207.             yield "%</span>
  208. \t\t\t";
  209.             // line 75
  210.             yield "\t\t\tde commission en cours jusqu'au <span class=\"date-fin-prom\">";
  211.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extra\Intl\IntlExtension']->formatDate($this->envCoreExtension::getAttribute($this->env$this->source, (isset($context["isPromoAdmin"]) || array_key_exists("isPromoAdmin"$context) ? $context["isPromoAdmin"] : (function () { throw new RuntimeError('Variable "isPromoAdmin" does not exist.'75$this->source); })()), "endAt", [], "any"falsefalsefalse75), "long"""null"gregorian""fr"), "html"nulltrue);
  212.             yield "</span>
  213. \t\t\tpour tous les serveices
  214. \t\t</div>
  215. \t</div>
  216. \t";
  217.         }
  218.         // line 80
  219.         yield "
  220. \t<!-- vendor-section -->
  221. \t<div class=\"content\">
  222. \t\t<div class=\"container\">
  223. \t\t\t<div class=\"row\">
  224. \t\t\t\t<div class=\"col-xl-8 col-lg-8 col-md-7 col-sm-12 col-12\">
  225. \t\t\t\t\t";
  226.         // line 86
  227.         $context['_parent'] = $context;
  228.         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'86$this->source); })()), "flashes", ["success"], "method"falsefalsefalse86));
  229.         foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
  230.             // line 87
  231.             yield "\t\t\t\t\t\t<div class=\"alert alert-success\">
  232. \t\t\t\t\t\t\t";
  233.             // line 88
  234.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["message"], "html"nulltrue);
  235.             yield "
  236. \t\t\t\t\t\t</div>
  237. \t\t\t\t\t";
  238.         }
  239.         $_parent $context['_parent'];
  240.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
  241.         $context array_intersect_key($context$_parent) + $_parent;
  242.         // line 91
  243.         yield "\t\t\t\t\t<div id=\"allProduct\" class=\"row\">
  244. \t\t\t\t\t\t";
  245.         // line 92
  246.         if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["products"]) || array_key_exists("products"$context) ? $context["products"] : (function () { throw new RuntimeError('Variable "products" does not exist.'92$this->source); })())) > 0)) {
  247.             // line 93
  248.             yield "\t\t\t\t\t\t";
  249.             // line 96
  250.             yield "\t\t\t\t\t\t\t";
  251.             $context['_parent'] = $context;
  252.             $context['_seq'] = CoreExtension::ensureTraversable((isset($context["products"]) || array_key_exists("products"$context) ? $context["products"] : (function () { throw new RuntimeError('Variable "products" does not exist.'96$this->source); })()));
  253.             foreach ($context['_seq'] as $context["_key"] => $context["product"]) {
  254.                 // line 97
  255.                 yield "\t\t\t\t\t\t\t\t";
  256.                 $context["subCategorySlug"] = CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "subCategories", [], "any"falsefalsefalse97), "toArray", [], "method"falsefalsefalse97), 0, [], "array"falsefalsefalse97), "subCategorySlug", [], "any"falsefalsefalse97);
  257.                 // line 98
  258.                 yield "\t\t\t\t\t\t\t\t<div class=\"col-lg-6 col-sm-12 col-12\">
  259. \t\t\t\t\t\t\t\t\t<div class=\"container-block-Pcompanies mb-3\">
  260. \t\t\t\t\t\t\t\t\t\t";
  261.                 // line 101
  262.                 yield "\t\t\t\t\t\t\t\t\t\t<div class=\"container-slide-image\">
  263. \t\t\t\t\t\t\t\t\t\t\t";
  264.                 // line 102
  265.                 if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "photos", [], "any"falsefalsefalse102), "first", [], "any"falsefalsefalse102) != false)) {
  266.                     // line 103
  267.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  268.                     $context['_parent'] = $context;
  269.                     $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "photos", [], "any"falsefalsefalse103), "toArray", [], "method"falsefalsefalse103));
  270.                     foreach ($context['_seq'] as $context["_key"] => $context["imgHebmt"]) {
  271.                         // line 104
  272.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"";
  273.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((Twig\Extension\CoreExtension::constant("App\\Services\\File::IMAGE_PRODUCT_DIR") . CoreExtension::getAttribute($this->env$this->source$context["imgHebmt"], "url", [], "any"falsefalsefalse104))), "html"nulltrue);
  274.                         yield "\" alt=\"default image\" class=\"img-fluid\" style=\"height: 213px;object-fit: cover; border-radius: .5rem .5rem 0 0;\">
  275. \t\t\t\t\t\t\t\t\t\t\t\t";
  276.                     }
  277.                     $_parent $context['_parent'];
  278.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['imgHebmt'], $context['_parent'], $context['loop']);
  279.                     $context array_intersect_key($context$_parent) + $_parent;
  280.                     // line 106
  281.                     yield "\t\t\t\t\t\t\t\t\t\t\t";
  282.                 } else {
  283.                     // line 107
  284.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"";
  285.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/vecteezy_vector-gear-logo-design-with-multi-colors-range_6172776.jpg"), "html"nulltrue);
  286.                     yield "\" alt=\"default image\" class=\"img-fluid\" style=\"height: 213px;object-fit: cover; border-radius: .5rem .5rem 0 0;\">
  287. \t\t\t\t\t\t\t\t\t\t\t";
  288.                 }
  289.                 // line 109
  290.                 yield "\t\t\t\t\t\t\t\t\t\t</div>
  291. \t\t\t\t\t\t\t\t\t\t<div class=\"container-info-presta\" style=\"padding-bottom: 80px;\">
  292. \t\t\t\t\t\t\t\t\t\t\t<h2 class=\"vendor-title\">
  293. \t\t\t\t\t\t\t\t\t\t\t\t";
  294.                 // line 113
  295.                 yield "
  296. \t\t\t\t\t\t\t\t\t\t\t\t";
  297.                 // line 114
  298.                 $context["subCategory"] = CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "subCategories", [], "any"falsefalsefalse114), "toArray", [], "method"falsefalsefalse114), 0, [], "array"falsefalsefalse114);
  299.                 // line 115
  300.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  301.                 // line 118
  302.                 yield "
  303. \t\t\t\t\t\t\t\t\t\t\t\t";
  304.                 // line 119
  305.                 $context["slug"] = "";
  306.                 // line 120
  307.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  308.                 if ( !(null === CoreExtension::getAttribute($this->env$this->source$context["product"], "typeActivity", [], "any"falsefalsefalse120))) {
  309.                     // line 121
  310.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  311.                     $context["slug"] = CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "typeActivity", [], "any"falsefalsefalse121), "slug", [], "any"falsefalsefalse121);
  312.                     // line 122
  313.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  314.                 } elseif ( !(null === CoreExtension::getAttribute($this->env$this->source$context["product"], "typeHebergements", [], "any"falsefalsefalse122))) {
  315.                     // line 123
  316.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  317.                     $context["slug"] = CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "typeHebergements", [], "any"falsefalsefalse123), "slugTypeHebergm", [], "any"falsefalsefalse123);
  318.                     // line 124
  319.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  320.                 } else {
  321.                     // line 125
  322.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  323.                     $context["slug"] = CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["subCategory"]) || array_key_exists("subCategory"$context) ? $context["subCategory"] : (function () { throw new RuntimeError('Variable "subCategory" does not exist.'125$this->source); })()), "categories", [], "any"falsefalsefalse125), "toArray", [], "any"falsefalsefalse125), 0, [], "array"falsefalsefalse125), "slug", [], "any"falsefalsefalse125);
  324.                     // line 126
  325.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  326.                 }
  327.                 // line 127
  328.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t
  329. \t\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
  330.                 // line 129
  331.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("front_product_single", ["slug" =>                 // line 130
  332. (isset($context["slug"]) || array_key_exists("slug"$context) ? $context["slug"] : (function () { throw new RuntimeError('Variable "slug" does not exist.'130$this->source); })()), "subCategorySlug" => CoreExtension::getAttribute($this->env$this->source,                 // line 131
  333. (isset($context["subCategory"]) || array_key_exists("subCategory"$context) ? $context["subCategory"] : (function () { throw new RuntimeError('Variable "subCategory" does not exist.'131$this->source); })()), "subCategorySlug", [], "any"falsefalsefalse131), "product_id" => CoreExtension::getAttribute($this->env$this->source,                 // line 132
  334. $context["product"], "id", [], "any"falsefalsefalse132), "productSlug" => CoreExtension::getAttribute($this->env$this->source,                 // line 133
  335. $context["product"], "productSlug", [], "any"falsefalsefalse133)]), "html"nulltrue);
  336.                 // line 134
  337.                 yield "\" class=\"title\">";
  338.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product"], "name", [], "any"falsefalsefalse134), "html"nulltrue);
  339.                 yield "</a>
  340. \t\t\t\t\t\t\t\t\t\t\t</h2>
  341. \t\t\t\t\t\t\t\t\t\t\t<p class=\"vendor-address\">
  342. \t\t\t\t\t\t\t\t\t\t\t\t";
  343.                 // line 138
  344.                 $context['_parent'] = $context;
  345.                 $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source$context["product"], "departments", [], "any"falsefalsefalse138));
  346.                 $context['_iterated'] = false;
  347.                 $context['loop'] = [
  348.                   'parent' => $context['_parent'],
  349.                   'index0' => 0,
  350.                   'index'  => 1,
  351.                   'first'  => true,
  352.                 ];
  353.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  354.                     $length count($context['_seq']);
  355.                     $context['loop']['revindex0'] = $length 1;
  356.                     $context['loop']['revindex'] = $length;
  357.                     $context['loop']['length'] = $length;
  358.                     $context['loop']['last'] = === $length;
  359.                 }
  360.                 foreach ($context['_seq'] as $context["_key"] => $context["department"]) {
  361.                     // line 139
  362.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  363.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["department"], "name", [], "any"falsefalsefalse139), "html"nulltrue);
  364.                     yield "
  365. \t\t\t\t\t\t\t\t\t\t\t\t\t";
  366.                     // line 140
  367.                     if ( !CoreExtension::getAttribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse140)) {
  368.                         yield ",
  369. \t\t\t\t\t\t\t\t\t\t\t\t\t";
  370.                     }
  371.                     // line 142
  372.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  373.                     $context['_iterated'] = true;
  374.                     ++$context['loop']['index0'];
  375.                     ++$context['loop']['index'];
  376.                     $context['loop']['first'] = false;
  377.                     if (isset($context['loop']['length'])) {
  378.                         --$context['loop']['revindex0'];
  379.                         --$context['loop']['revindex'];
  380.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  381.                     }
  382.                 }
  383.                 if (!$context['_iterated']) {
  384.                     // line 143
  385.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\tToute la France
  386. \t\t\t\t\t\t\t\t\t\t\t\t";
  387.                 }
  388.                 $_parent $context['_parent'];
  389.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['department'], $context['_parent'], $context['loop']);
  390.                 $context array_intersect_key($context$_parent) + $_parent;
  391.                 // line 145
  392.                 yield "\t\t\t\t\t\t\t\t\t\t\t</p>
  393. \t\t\t\t\t\t\t\t\t\t\t<p>
  394. \t\t\t\t\t\t\t\t\t\t\t\t";
  395.                 // line 147
  396.                 if (((null === CoreExtension::getAttribute($this->env$this->source$context["product"], "typeHebergements", [], "any"falsefalsefalse147)) || (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "typeHebergements", [], "any"falsefalsefalse147), "slugTypeHebergm", [], "any"falsefalsefalse147) != "hotel"))) {
  397.                     // line 148
  398.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fas fa-money-bill-wave\"></i>
  399. \t\t\t\t\t\t\t\t\t\t\t\t\tPrix :
  400. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  401.                     // line 150
  402.                     $context["today"] = $this->extensions['Twig\Extension\CoreExtension']->formatDate("now""Y-m-d");
  403.                     // line 151
  404.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  405.                     $context["customPriceFound"] = false;
  406.                     // line 152
  407.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  408.                     $context["customPrice"] = 0;
  409.                     // line 153
  410.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  411.                     $context["currentPrice"] = 0;
  412.                     // line 154
  413.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  414.                     $context["price"] = 0;
  415.                     // line 155
  416.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  417.                     $context["difference"] = null;
  418.                     // line 156
  419.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  420.                     $context["reductionPercentage"] = 0;
  421.                     // line 157
  422.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  423.                     $context["duration"] = null;
  424.                     // line 158
  425.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  426.                     $context["countdown"] = null;
  427.                     // line 159
  428.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  429.                     $context["reductionValid"] = false;
  430.                     // line 160
  431.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t
  432. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  433.                     // line 161
  434.                     $context['_parent'] = $context;
  435.                     $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source$context["product"], "dayPrice", [], "any"falsefalsefalse161));
  436.                     foreach ($context['_seq'] as $context["_key"] => $context["dayPrice"]) {
  437.                         // line 162
  438.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  439.                         $context["formattedDate"] = $this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env$this->source$context["dayPrice"], "customDate", [], "any"falsefalsefalse162), "Y-m-d");
  440.                         // line 163
  441.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  442.                         if (((isset($context["formattedDate"]) || array_key_exists("formattedDate"$context) ? $context["formattedDate"] : (function () { throw new RuntimeError('Variable "formattedDate" does not exist.'163$this->source); })()) == (isset($context["today"]) || array_key_exists("today"$context) ? $context["today"] : (function () { throw new RuntimeError('Variable "today" does not exist.'163$this->source); })()))) {
  443.                             // line 164
  444.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  445.                             $context["customPriceFound"] = true;
  446.                             // line 165
  447.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  448.                             $context["customPrice"] = $this->extensions['Twig\Extension\CoreExtension']->formatNumber(CoreExtension::getAttribute($this->env$this->source$context["dayPrice"], "customPrice", [], "any"falsefalsefalse165), 2".");
  449.                             // line 166
  450.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  451.                         }
  452.                         // line 167
  453.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  454.                     }
  455.                     $_parent $context['_parent'];
  456.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['dayPrice'], $context['_parent'], $context['loop']);
  457.                     $context array_intersect_key($context$_parent) + $_parent;
  458.                     // line 168
  459.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t
  460. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  461.                     // line 169
  462.                     $context["month"] = $this->extensions['Twig\Extension\CoreExtension']->formatDate("now""n");
  463.                     // line 170
  464.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  465.                     if ((((isset($context["month"]) || array_key_exists("month"$context) ? $context["month"] : (function () { throw new RuntimeError('Variable "month" does not exist.'170$this->source); })()) >= 3) && ((isset($context["month"]) || array_key_exists("month"$context) ? $context["month"] : (function () { throw new RuntimeError('Variable "month" does not exist.'170$this->source); })()) <= 5))) {
  466.                         // line 171
  467.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  468.                         $context["springPrice"] = CoreExtension::getAttribute($this->env$this->source$context["product"], "springPrice", [], "any"falsefalsefalse171);
  469.                         // line 172
  470.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  471.                         if ( !(null === (isset($context["springPrice"]) || array_key_exists("springPrice"$context) ? $context["springPrice"] : (function () { throw new RuntimeError('Variable "springPrice" does not exist.'172$this->source); })()))) {
  472.                             // line 173
  473.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  474.                             $context["currentPrice"] = CoreExtension::getAttribute($this->env$this->source$context["product"], "springPrice", [], "any"falsefalsefalse173);
  475.                             // line 174
  476.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  477.                         } else {
  478.                             // line 175
  479.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  480.                             $context["currentPrice"] = 0;
  481.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
  482. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  483.                         }
  484.                         // line 177
  485.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  486.                     } elseif ((((isset($context["month"]) || array_key_exists("month"$context) ? $context["month"] : (function () { throw new RuntimeError('Variable "month" does not exist.'177$this->source); })()) >= 6) && ((isset($context["month"]) || array_key_exists("month"$context) ? $context["month"] : (function () { throw new RuntimeError('Variable "month" does not exist.'177$this->source); })()) <= 8))) {
  487.                         // line 178
  488.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  489.                         $context["summerPrice"] = CoreExtension::getAttribute($this->env$this->source$context["product"], "summerPrice", [], "any"falsefalsefalse178);
  490.                         // line 179
  491.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  492.                         if ( !(null === (isset($context["summerPrice"]) || array_key_exists("summerPrice"$context) ? $context["summerPrice"] : (function () { throw new RuntimeError('Variable "summerPrice" does not exist.'179$this->source); })()))) {
  493.                             // line 180
  494.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  495.                             $context["currentPrice"] = CoreExtension::getAttribute($this->env$this->source$context["product"], "summerPrice", [], "any"falsefalsefalse180);
  496.                             // line 181
  497.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  498.                         } else {
  499.                             // line 182
  500.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  501.                             $context["currentPrice"] = 0;
  502.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
  503. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  504.                         }
  505.                         // line 184
  506.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  507.                     } elseif ((((isset($context["month"]) || array_key_exists("month"$context) ? $context["month"] : (function () { throw new RuntimeError('Variable "month" does not exist.'184$this->source); })()) >= 9) && ((isset($context["month"]) || array_key_exists("month"$context) ? $context["month"] : (function () { throw new RuntimeError('Variable "month" does not exist.'184$this->source); })()) <= 11))) {
  508.                         // line 185
  509.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  510.                         $context["autumnPrice"] = CoreExtension::getAttribute($this->env$this->source$context["product"], "autumnPrice", [], "any"falsefalsefalse185);
  511.                         // line 186
  512.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  513.                         if ( !(null === (isset($context["autumnPrice"]) || array_key_exists("autumnPrice"$context) ? $context["autumnPrice"] : (function () { throw new RuntimeError('Variable "autumnPrice" does not exist.'186$this->source); })()))) {
  514.                             // line 187
  515.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  516.                             $context["currentPrice"] = CoreExtension::getAttribute($this->env$this->source$context["product"], "autumnPrice", [], "any"falsefalsefalse187);
  517.                             // line 188
  518.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  519.                         } else {
  520.                             // line 189
  521.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  522.                             $context["currentPrice"] = 0;
  523.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
  524. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  525.                         }
  526.                         // line 191
  527.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  528.                     } else {
  529.                         // line 192
  530.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  531.                         $context["winterPrice"] = CoreExtension::getAttribute($this->env$this->source$context["product"], "winterPrice", [], "any"falsefalsefalse192);
  532.                         // line 193
  533.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  534.                         if ( !(null === (isset($context["winterPrice"]) || array_key_exists("winterPrice"$context) ? $context["winterPrice"] : (function () { throw new RuntimeError('Variable "winterPrice" does not exist.'193$this->source); })()))) {
  535.                             // line 194
  536.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  537.                             $context["currentPrice"] = CoreExtension::getAttribute($this->env$this->source$context["product"], "winterPrice", [], "any"falsefalsefalse194);
  538.                             // line 195
  539.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  540.                         } else {
  541.                             // line 196
  542.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  543.                             $context["currentPrice"] = 0;
  544.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
  545. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  546.                         }
  547.                         // line 198
  548.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  549.                     }
  550.                     // line 199
  551.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  552.                     $context["day"] = $this->extensions['Twig\Extension\CoreExtension']->formatDate("now""N");
  553.                     // line 200
  554.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  555.                     if ((((isset($context["day"]) || array_key_exists("day"$context) ? $context["day"] : (function () { throw new RuntimeError('Variable "day" does not exist.'200$this->source); })()) == 6) || ((isset($context["day"]) || array_key_exists("day"$context) ? $context["day"] : (function () { throw new RuntimeError('Variable "day" does not exist.'200$this->source); })()) == 7))) {
  556.                         // line 201
  557.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  558.                         $context["weekEndPrice"] = CoreExtension::getAttribute($this->env$this->source$context["product"], "weekEndPrice", [], "any"falsefalsefalse201);
  559.                         // line 202
  560.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  561.                         if ( !(null === (isset($context["weekEndPrice"]) || array_key_exists("weekEndPrice"$context) ? $context["weekEndPrice"] : (function () { throw new RuntimeError('Variable "weekEndPrice" does not exist.'202$this->source); })()))) {
  562.                             // line 203
  563.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  564.                             $context["currentPrice"] = CoreExtension::getAttribute($this->env$this->source$context["product"], "weekEndPrice", [], "any"falsefalsefalse203);
  565.                             yield "\t
  566. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  567.                         } else {
  568.                             // line 205
  569.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  570.                             $context["currentPrice"] = 0;
  571.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
  572. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  573.                         }
  574.                         // line 207
  575.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  576.                     }
  577.                     // line 208
  578.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t
  579. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
  580. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  581.                     // line 210
  582.                     $context["periodPrice"] = 0;
  583.                     // line 211
  584.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  585.                     $context['_parent'] = $context;
  586.                     $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "periodPrice", [], "any"falsefalsefalse211), "toArray", [], "method"falsefalsefalse211));
  587.                     foreach ($context['_seq'] as $context["_key"] => $context["period"]) {
  588.                         // line 212
  589.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  590.                         $context["startDate"] = $this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env$this->source$context["period"], "startDate", [], "any"falsefalsefalse212), "Y-m-d");
  591.                         // line 213
  592.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  593.                         $context["endDate"] = $this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env$this->source$context["period"], "endDate", [], "any"falsefalsefalse213), "Y-m-d");
  594.                         // line 214
  595.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  596.                         if (((((isset($context["today"]) || array_key_exists("today"$context) ? $context["today"] : (function () { throw new RuntimeError('Variable "today" does not exist.'214$this->source); })()) >= (isset($context["startDate"]) || array_key_exists("startDate"$context) ? $context["startDate"] : (function () { throw new RuntimeError('Variable "startDate" does not exist.'214$this->source); })())) && ((isset($context["today"]) || array_key_exists("today"$context) ? $context["today"] : (function () { throw new RuntimeError('Variable "today" does not exist.'214$this->source); })()) <= (isset($context["endDate"]) || array_key_exists("endDate"$context) ? $context["endDate"] : (function () { throw new RuntimeError('Variable "endDate" does not exist.'214$this->source); })()))) &&  !(null === CoreExtension::getAttribute($this->env$this->source$context["period"], "price", [], "any"falsefalsefalse214)))) {
  597.                             // line 215
  598.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  599.                             $context["periodPrice"] = CoreExtension::getAttribute($this->env$this->source$context["period"], "price", [], "any"falsefalsefalse215);
  600.                             // line 216
  601.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  602.                         } else {
  603.                             // line 217
  604.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  605.                             $context["currentPrice"] = 0;
  606.                             // line 218
  607.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  608.                         }
  609.                         // line 219
  610.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  611.                     }
  612.                     $_parent $context['_parent'];
  613.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['period'], $context['_parent'], $context['loop']);
  614.                     $context array_intersect_key($context$_parent) + $_parent;
  615.                     // line 220
  616.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  617.                     if (((isset($context["periodPrice"]) || array_key_exists("periodPrice"$context) ? $context["periodPrice"] : (function () { throw new RuntimeError('Variable "periodPrice" does not exist.'220$this->source); })()) != 0)) {
  618.                         // line 221
  619.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  620.                         $context["currentPrice"] = (isset($context["periodPrice"]) || array_key_exists("periodPrice"$context) ? $context["periodPrice"] : (function () { throw new RuntimeError('Variable "periodPrice" does not exist.'221$this->source); })());
  621.                         // line 222
  622.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  623.                     }
  624.                     // line 223
  625.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t
  626. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  627.                     // line 224
  628.                     if (((isset($context["customPriceFound"]) || array_key_exists("customPriceFound"$context) ? $context["customPriceFound"] : (function () { throw new RuntimeError('Variable "customPriceFound" does not exist.'224$this->source); })()) && ((isset($context["customPrice"]) || array_key_exists("customPrice"$context) ? $context["customPrice"] : (function () { throw new RuntimeError('Variable "customPrice" does not exist.'224$this->source); })()) != 0))) {
  629.                         // line 225
  630.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  631.                         $context["price"] = (isset($context["customPrice"]) || array_key_exists("customPrice"$context) ? $context["customPrice"] : (function () { throw new RuntimeError('Variable "customPrice" does not exist.'225$this->source); })());
  632.                         // line 226
  633.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  634.                     } elseif (((((isset($context["currentPrice"]) || array_key_exists("currentPrice"$context) ? $context["currentPrice"] : (function () { throw new RuntimeError('Variable "currentPrice" does not exist.'226$this->source); })()) != 0) &&  !(null === (isset($context["currentPrice"]) || array_key_exists("currentPrice"$context) ? $context["currentPrice"] : (function () { throw new RuntimeError('Variable "currentPrice" does not exist.'226$this->source); })()))) && ((isset($context["customPrice"]) || array_key_exists("customPrice"$context) ? $context["customPrice"] : (function () { throw new RuntimeError('Variable "customPrice" does not exist.'226$this->source); })()) == 0))) {
  635.                         // line 227
  636.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  637.                         $context["price"] = (isset($context["currentPrice"]) || array_key_exists("currentPrice"$context) ? $context["currentPrice"] : (function () { throw new RuntimeError('Variable "currentPrice" does not exist.'227$this->source); })());
  638.                         // line 228
  639.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  640.                     } elseif ((((isset($context["currentPrice"]) || array_key_exists("currentPrice"$context) ? $context["currentPrice"] : (function () { throw new RuntimeError('Variable "currentPrice" does not exist.'228$this->source); })()) == 0) || ((null === (isset($context["currentPrice"]) || array_key_exists("currentPrice"$context) ? $context["currentPrice"] : (function () { throw new RuntimeError('Variable "currentPrice" does not exist.'228$this->source); })())) && ((isset($context["customPrice"]) || array_key_exists("customPrice"$context) ? $context["customPrice"] : (function () { throw new RuntimeError('Variable "customPrice" does not exist.'228$this->source); })()) == 0)))) {
  641.                         // line 229
  642.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  643.                         $context["price"] = CoreExtension::getAttribute($this->env$this->source$context["product"], "price", [], "any"falsefalsefalse229);
  644.                         // line 230
  645.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  646.                     }
  647.                     // line 231
  648.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  649.                     $context['_parent'] = $context;
  650.                     $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "productAutoReduction", [], "any"falsefalsefalse231), "toArray", [], "any"falsefalsefalse231));
  651.                     foreach ($context['_seq'] as $context["_key"] => $context["autoReduce"]) {
  652.                         // line 232
  653.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  654.                         if (((( !(null === CoreExtension::getAttribute($this->env$this->source$context["autoReduce"], "createdAt", [], "any"falsefalsefalse232)) &&  !(null === CoreExtension::getAttribute($this->env$this->source$context["autoReduce"], "countdown", [], "any"falsefalsefalse232))) &&  !(null === CoreExtension::getAttribute($this->env$this->source$context["autoReduce"], "duration", [], "any"falsefalsefalse232))) &&  !(null === CoreExtension::getAttribute($this->env$this->source$context["autoReduce"], "reductionPercentage", [], "any"falsefalsefalse232)))) {
  655.                             // line 233
  656.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  657.                             $context["difference"] = CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$this->extensions['Twig\Extension\CoreExtension']->convertDate((isset($context["today"]) || array_key_exists("today"$context) ? $context["today"] : (function () { throw new RuntimeError('Variable "today" does not exist.'233$this->source); })())), "diff", [CoreExtension::getAttribute($this->env$this->source$context["autoReduce"], "createdAt", [], "any"falsefalsefalse233)], "method"falsefalsefalse233), "days", [], "any"falsefalsefalse233);
  658.                             // line 234
  659.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  660.                             $context["duration"] = CoreExtension::getAttribute($this->env$this->source$context["autoReduce"], "duration", [], "any"falsefalsefalse234);
  661.                             // line 235
  662.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  663.                             $context["countdown"] = CoreExtension::getAttribute($this->env$this->source$context["autoReduce"], "countdown", [], "any"falsefalsefalse235);
  664.                             // line 236
  665.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  666.                             $context["reductionPercentage"] = CoreExtension::getAttribute($this->env$this->source$context["autoReduce"], "reductionPercentage", [], "any"falsefalsefalse236);
  667.                             // line 237
  668.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  669.                             $context["durationout"] = ((isset($context["duration"]) || array_key_exists("duration"$context) ? $context["duration"] : (function () { throw new RuntimeError('Variable "duration" does not exist.'237$this->source); })()) + (isset($context["countdown"]) || array_key_exists("countdown"$context) ? $context["countdown"] : (function () { throw new RuntimeError('Variable "countdown" does not exist.'237$this->source); })()));
  670.                             // line 238
  671.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  672.                             // line 239
  673.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  674.                             $context["reductionValid"] = (((isset($context["difference"]) || array_key_exists("difference"$context) ? $context["difference"] : (function () { throw new RuntimeError('Variable "difference" does not exist.'239$this->source); })()) > (isset($context["countdown"]) || array_key_exists("countdown"$context) ? $context["countdown"] : (function () { throw new RuntimeError('Variable "countdown" does not exist.'239$this->source); })())) && ((isset($context["difference"]) || array_key_exists("difference"$context) ? $context["difference"] : (function () { throw new RuntimeError('Variable "difference" does not exist.'239$this->source); })()) <= (isset($context["durationout"]) || array_key_exists("durationout"$context) ? $context["durationout"] : (function () { throw new RuntimeError('Variable "durationout" does not exist.'239$this->source); })())));
  675.                             // line 240
  676.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  677.                         }
  678.                         // line 241
  679.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  680.                     }
  681.                     $_parent $context['_parent'];
  682.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['autoReduce'], $context['_parent'], $context['loop']);
  683.                     $context array_intersect_key($context$_parent) + $_parent;
  684.                     // line 242
  685.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  686.                     // line 243
  687.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  688.                     if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "company", [], "any"falsefalsefalse243), "type", [], "any"falsefalsefalse243) != "service")) {
  689.                         // line 244
  690.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"vendor-price\">
  691. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  692.                         // line 245
  693.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatNumber(CoreExtension::getAttribute($this->env$this->source$context["product"], "price", [], "any"falsefalsefalse245), 2"."""), "html"nulltrue);
  694.                         yield "€
  695. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</span>
  696. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  697.                     } elseif (                    // line 247
  698. (isset($context["reductionValid"]) || array_key_exists("reductionValid"$context) ? $context["reductionValid"] : (function () { throw new RuntimeError('Variable "reductionValid" does not exist.'247$this->source); })())) {
  699.                         // line 248
  700.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  701.                         $context["priceReduced"] = ((isset($context["price"]) || array_key_exists("price"$context) ? $context["price"] : (function () { throw new RuntimeError('Variable "price" does not exist.'248$this->source); })()) - (((isset($context["price"]) || array_key_exists("price"$context) ? $context["price"] : (function () { throw new RuntimeError('Variable "price" does not exist.'248$this->source); })()) * (isset($context["reductionPercentage"]) || array_key_exists("reductionPercentage"$context) ? $context["reductionPercentage"] : (function () { throw new RuntimeError('Variable "reductionPercentage" does not exist.'248$this->source); })())) / 100));
  702.                         // line 249
  703.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<strong>";
  704.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatNumber((isset($context["priceReduced"]) || array_key_exists("priceReduced"$context) ? $context["priceReduced"] : (function () { throw new RuntimeError('Variable "priceReduced" does not exist.'249$this->source); })()), 2"."), "html"nulltrue);
  705.                         yield "</strong>€\t\t\t\t\t\t\t\t\t\t\t\t
  706. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  707.                     } else {
  708.                         // line 251
  709.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<strong>";
  710.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatNumber((isset($context["price"]) || array_key_exists("price"$context) ? $context["price"] : (function () { throw new RuntimeError('Variable "price" does not exist.'251$this->source); })()), 2"."), "html"nulltrue);
  711.                         yield "</strong>€
  712. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  713.                     }
  714.                     // line 253
  715.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  716.                 } else {
  717.                     // line 254
  718.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  719.                     $context["lengthRoomNight"] = 0;
  720.                     // line 255
  721.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  722.                     $context["statusByNight"] = false;
  723.                     // line 256
  724.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  725.                     $context["allPriceByNight"] = 0;
  726.                     // line 257
  727.                     yield "
  728. \t\t\t\t\t\t\t\t\t\t\t\t\t";
  729.                     // line 258
  730.                     $context["lengthRoomDay"] = 0;
  731.                     // line 259
  732.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  733.                     $context["statusByDay"] = false;
  734.                     // line 260
  735.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  736.                     $context["allPriceByDay"] = 0;
  737.                     // line 261
  738.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  739.                     if (CoreExtension::getAttribute($this->env$this->source$context["product"], "chambres", [], "any"truetruefalse261)) {
  740.                         // line 262
  741.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  742.                         $context['_parent'] = $context;
  743.                         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "chambres", [], "any"falsefalsefalse262), "toArray", [], "any"falsefalsefalse262));
  744.                         foreach ($context['_seq'] as $context["_key"] => $context["roomOption"]) {
  745.                             // line 263
  746.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  747.                             if (CoreExtension::getAttribute($this->env$this->source$context["roomOption"], "tarifNuit", [], "any"truetruefalse263)) {
  748.                                 // line 264
  749.                                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  750.                                 $context["lengthRoomNight"] = ((isset($context["lengthRoomNight"]) || array_key_exists("lengthRoomNight"$context) ? $context["lengthRoomNight"] : (function () { throw new RuntimeError('Variable "lengthRoomNight" does not exist.'264$this->source); })()) + 1);
  751.                                 // line 265
  752.                                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  753.                                 $context["statusByNight"] = true;
  754.                                 // line 266
  755.                                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  756.                                 $context["allPriceByNight"] = ((isset($context["allPriceByNight"]) || array_key_exists("allPriceByNight"$context) ? $context["allPriceByNight"] : (function () { throw new RuntimeError('Variable "allPriceByNight" does not exist.'266$this->source); })()) + CoreExtension::getAttribute($this->env$this->source$context["roomOption"], "tarifNuit", [], "any"falsefalsefalse266));
  757.                                 // line 267
  758.                                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  759.                             }
  760.                             // line 268
  761.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  762.                             if ( !(null === CoreExtension::getAttribute($this->env$this->source$context["roomOption"], "tarifJour", [], "any"falsefalsefalse268))) {
  763.                                 // line 269
  764.                                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  765.                                 $context["lengthRoomDay"] = ((isset($context["lengthRoomDay"]) || array_key_exists("lengthRoomDay"$context) ? $context["lengthRoomDay"] : (function () { throw new RuntimeError('Variable "lengthRoomDay" does not exist.'269$this->source); })()) + 1);
  766.                                 // line 270
  767.                                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  768.                                 $context["statusByDay"] = true;
  769.                                 // line 271
  770.                                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  771.                                 $context["allPriceByDay"] = ((isset($context["allPriceByDay"]) || array_key_exists("allPriceByDay"$context) ? $context["allPriceByDay"] : (function () { throw new RuntimeError('Variable "allPriceByDay" does not exist.'271$this->source); })()) + CoreExtension::getAttribute($this->env$this->source$context["roomOption"], "tarifJour", [], "any"falsefalsefalse271));
  772.                                 // line 272
  773.                                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  774.                             }
  775.                             // line 273
  776.                             yield "
  777. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  778.                         }
  779.                         $_parent $context['_parent'];
  780.                         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['roomOption'], $context['_parent'], $context['loop']);
  781.                         $context array_intersect_key($context$_parent) + $_parent;
  782.                         // line 275
  783.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  784.                         if (((isset($context["statusByDay"]) || array_key_exists("statusByDay"$context) ? $context["statusByDay"] : (function () { throw new RuntimeError('Variable "statusByDay" does not exist.'275$this->source); })()) || (isset($context["statusByNight"]) || array_key_exists("statusByNight"$context) ? $context["statusByNight"] : (function () { throw new RuntimeError('Variable "statusByNight" does not exist.'275$this->source); })()))) {
  785.                             // line 276
  786.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p>Prix moyen d'une chambre:</p>
  787. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  788.                         }
  789.                         // line 278
  790.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  791.                         if ((isset($context["statusByNight"]) || array_key_exists("statusByNight"$context) ? $context["statusByNight"] : (function () { throw new RuntimeError('Variable "statusByNight" does not exist.'278$this->source); })())) {
  792.                             // line 279
  793.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p>
  794. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fas fa-money-bill-wave\"></i>
  795. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tpar nuit 
  796. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<strong>";
  797.                             // line 282
  798.                             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatNumber(((isset($context["allPriceByNight"]) || array_key_exists("allPriceByNight"$context) ? $context["allPriceByNight"] : (function () { throw new RuntimeError('Variable "allPriceByNight" does not exist.'282$this->source); })()) / (isset($context["lengthRoomNight"]) || array_key_exists("lengthRoomNight"$context) ? $context["lengthRoomNight"] : (function () { throw new RuntimeError('Variable "lengthRoomNight" does not exist.'282$this->source); })())), 2"."), "html"nulltrue);
  799.                             yield "</strong>€
  800. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</p>
  801. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  802.                         }
  803.                         // line 285
  804.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  805.                         if ((isset($context["statusByDay"]) || array_key_exists("statusByDay"$context) ? $context["statusByDay"] : (function () { throw new RuntimeError('Variable "statusByDay" does not exist.'285$this->source); })())) {
  806.                             // line 286
  807.                             yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  808.                         }
  809.                         // line 292
  810.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  811.                     }
  812.                     // line 293
  813.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  814.                     if (( !(isset($context["statusByNight"]) || array_key_exists("statusByNight"$context) ? $context["statusByNight"] : (function () { throw new RuntimeError('Variable "statusByNight" does not exist.'293$this->source); })()) &&  !(isset($context["statusByDay"]) || array_key_exists("statusByDay"$context) ? $context["statusByDay"] : (function () { throw new RuntimeError('Variable "statusByDay" does not exist.'293$this->source); })()))) {
  815.                         // line 294
  816.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p>
  817. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\tPrix : <strong>Prix en attente</strong>
  818. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</p>
  819. \t\t\t\t\t\t\t\t\t\t\t\t\t";
  820.                     }
  821.                     // line 298
  822.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  823.                     // line 301
  824.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  825.                 }
  826.                 // line 302
  827.                 yield "\t\t\t\t\t\t\t\t\t\t\t</p>
  828. \t\t\t\t\t\t\t\t\t\t\t<p>
  829. \t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star rated\"></i>
  830. \t\t\t\t\t\t\t\t\t\t\t\t";
  831.                 // line 305
  832.                 $context["notes"] = 0;
  833.                 // line 306
  834.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  835.                 $context['_parent'] = $context;
  836.                 $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source$context["product"], "avis", [], "any"falsefalsefalse306));
  837.                 foreach ($context['_seq'] as $context["_key"] => $context["avi"]) {
  838.                     // line 307
  839.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  840.                     $context["notes"] = ((isset($context["notes"]) || array_key_exists("notes"$context) ? $context["notes"] : (function () { throw new RuntimeError('Variable "notes" does not exist.'307$this->source); })()) + CoreExtension::getAttribute($this->env$this->source$context["avi"], "globalNote", [], "any"falsefalsefalse307));
  841.                     // line 308
  842.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  843.                 }
  844.                 $_parent $context['_parent'];
  845.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['avi'], $context['_parent'], $context['loop']);
  846.                 $context array_intersect_key($context$_parent) + $_parent;
  847.                 // line 309
  848.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  849.                 $context["noteTotal"] = ((((isset($context["notes"]) || array_key_exists("notes"$context) ? $context["notes"] : (function () { throw new RuntimeError('Variable "notes" does not exist.'309$this->source); })()) > 0)) ? (((isset($context["notes"]) || array_key_exists("notes"$context) ? $context["notes"] : (function () { throw new RuntimeError('Variable "notes" does not exist.'309$this->source); })()) / Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->source$context["product"], "avis", [], "any"falsefalsefalse309)))) : (0));
  850.                 // line 310
  851.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  852.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->source$context["product"], "avis", [], "any"falsefalsefalse310)), "html"nulltrue);
  853.                 yield " Avis</p>
  854. \t\t\t\t\t\t\t\t\t\t\t<p>";
  855.                 // line 311
  856.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product"], "quantity", [], "any"falsefalsefalse311), "html"nulltrue);
  857.                 yield "
  858. \t\t\t\t\t\t\t\t\t\t\t\tQuantité restante</p>
  859. \t\t\t\t\t\t\t\t\t\t</div>
  860. \t\t\t\t\t\t\t\t\t\t<div class=\"wishlist-sign\">
  861. \t\t\t\t\t\t\t\t\t\t\t<a href=\"#\" class=\"btn-wishlist\">
  862. \t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-heart\"></i>
  863. \t\t\t\t\t\t\t\t\t\t\t</a>
  864. \t\t\t\t\t\t\t\t\t\t</div>
  865. \t\t\t\t\t\t\t\t\t\t";
  866.                 // line 319
  867.                 if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "subCategories", [], "any"falsetruefalse319), 0, [], "array"falsetruefalse319), "categories", [], "any"falsetruefalse319), 0, [], "array"truetruefalse319)) {
  868.                     // line 320
  869.                     yield "\t\t\t\t\t\t\t\t\t\t<a href=\"";
  870.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("front_product_single", ["slug" =>                     // line 321
  871. (isset($context["slug"]) || array_key_exists("slug"$context) ? $context["slug"] : (function () { throw new RuntimeError('Variable "slug" does not exist.'321$this->source); })()), "subCategorySlug" => CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source,                     // line 322
  872. $context["product"], "subCategories", [], "any"falsefalsefalse322), 0, [], "array"falsefalsefalse322), "subCategorySlug", [], "any"falsefalsefalse322), "product_id" => CoreExtension::getAttribute($this->env$this->source,                     // line 323
  873. $context["product"], "id", [], "any"falsefalsefalse323), "productSlug" => CoreExtension::getAttribute($this->env$this->source,                     // line 324
  874. $context["product"], "productSlug", [], "any"falsefalsefalse324)]), "html"nulltrue);
  875.                     // line 325
  876.                     yield "\" class=\"title\">
  877. \t\t\t\t\t\t\t\t\t\t\t
  878. \t\t\t\t\t\t\t\t\t\t\t\t<button class=\"btnVoirP btn\">Voir ";
  879.                     // line 327
  880.                     if (((isset($context["subCategorySlug"]) || array_key_exists("subCategorySlug"$context) ? $context["subCategorySlug"] : (function () { throw new RuntimeError('Variable "subCategorySlug" does not exist.'327$this->source); })()) == "hebergements")) {
  881.                         yield "l'hébergement";
  882.                     } else {
  883.                         yield "plus";
  884.                     }
  885.                     // line 328
  886.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t</button>
  887. \t\t\t\t\t\t\t\t\t\t\t
  888. \t\t\t\t\t\t\t\t\t\t</a>
  889. \t\t\t\t\t\t\t\t\t\t";
  890.                 }
  891.                 // line 332
  892.                 yield "\t\t\t\t\t\t\t\t\t\t
  893. \t\t\t\t\t\t\t\t\t</div>
  894. \t\t\t\t\t\t\t\t</div>
  895. \t\t\t\t\t\t\t";
  896.             }
  897.             $_parent $context['_parent'];
  898.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product'], $context['_parent'], $context['loop']);
  899.             $context array_intersect_key($context$_parent) + $_parent;
  900.             // line 336
  901.             yield "\t\t\t\t\t\t";
  902.         } else {
  903.             // line 337
  904.             yield "\t\t\t\t\t\t\t<div class=\"col-12\">
  905. \t\t\t\t\t\t\t\t<button type=\"button\" class=\"btn btn-primary mb-2\" data-toggle=\"modal\" data-target=\"#modalFilter\">Filter</button>
  906. \t\t\t\t\t\t\t</div>
  907. \t\t\t\t\t\t\t<div class=\"vendor-thumbnail list-view p-4\">Aucun service correspondant</div>
  908. \t\t\t\t\t\t";
  909.         }
  910.         // line 342
  911.         yield "\t\t\t\t\t</div>
  912. \t\t\t\t\t<div class=\"pagination\">
  913. \t\t\t\t\t\t<nav aria-label=\"Page navigation example\">
  914. \t\t\t\t\t\t\t";
  915.         // line 346
  916.         yield $this->extensions['Knp\Bundle\PaginatorBundle\Twig\Extension\PaginationExtension']->render($this->env, (isset($context["products"]) || array_key_exists("products"$context) ? $context["products"] : (function () { throw new RuntimeError('Variable "products" does not exist.'346$this->source); })()));
  917.         yield "
  918. \t\t\t\t\t\t</nav>
  919. \t\t\t\t\t</div>
  920. \t\t\t\t\t<!-- /.paginations -->
  921. \t\t\t\t</div>
  922. \t\t\t\t<!-- sidebar-section -->
  923.                 ";
  924.         // line 353
  925.         yield Twig\Extension\CoreExtension::include($this->env$context"front/inc/filter_sidebar.html.twig");
  926.         yield "
  927. \t\t\t\t<!-- /.sidebar-section -->
  928. \t\t\t</div>
  929. \t\t</div>
  930. \t</div>
  931. ";
  932.         
  933.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  934.         
  935.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  936.         return; yield '';
  937.     }
  938.     // line 361
  939.     public function block_javascript($context, array $blocks = [])
  940.     {
  941.         $macros $this->macros;
  942.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  943.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  944.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  945.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  946.         // line 362
  947.         yield "\t<script 
  948. \t\ttype=\"text/javascript\" 
  949. \t\tsrc=\"https://cdn.jsdelivr.net/gh/maxshuty/accessible-web-components@latest/dist/simpleRange.min.js\">
  950. \t</script>
  951. \t<script src=\"";
  952.         // line 366
  953.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/jsForHebergementFilter.js"), "html"nulltrue);
  954.         yield "\"></script>
  955. \t<script src=\"";
  956.         // line 367
  957.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/getCommune.js"), "html"nulltrue);
  958.         yield "\"></script>
  959. ";
  960.         
  961.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  962.         
  963.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  964.         return; yield '';
  965.     }
  966.     /**
  967.      * @codeCoverageIgnore
  968.      */
  969.     public function getTemplateName()
  970.     {
  971.         return "front/product/listSearch.html.twig";
  972.     }
  973.     /**
  974.      * @codeCoverageIgnore
  975.      */
  976.     public function isTraitable()
  977.     {
  978.         return false;
  979.     }
  980.     /**
  981.      * @codeCoverageIgnore
  982.      */
  983.     public function getDebugInfo()
  984.     {
  985.         return array (  992 => 367,  988 => 366,  982 => 362,  972 => 361,  954 => 353,  944 => 346,  938 => 342,  931 => 337,  928 => 336,  919 => 332,  913 => 328,  907 => 327,  903 => 325,  901 => 324,  900 => 323,  899 => 322,  898 => 321,  896 => 320,  894 => 319,  883 => 311,  878 => 310,  875 => 309,  869 => 308,  866 => 307,  861 => 306,  859 => 305,  854 => 302,  851 => 301,  849 => 298,  843 => 294,  840 => 293,  837 => 292,  834 => 286,  831 => 285,  825 => 282,  820 => 279,  817 => 278,  813 => 276,  810 => 275,  803 => 273,  800 => 272,  797 => 271,  794 => 270,  791 => 269,  788 => 268,  785 => 267,  782 => 266,  779 => 265,  776 => 264,  773 => 263,  768 => 262,  765 => 261,  762 => 260,  759 => 259,  757 => 258,  754 => 257,  751 => 256,  748 => 255,  745 => 254,  742 => 253,  736 => 251,  730 => 249,  727 => 248,  725 => 247,  720 => 245,  717 => 244,  714 => 243,  712 => 242,  706 => 241,  703 => 240,  700 => 239,  698 => 238,  695 => 237,  692 => 236,  689 => 235,  686 => 234,  683 => 233,  680 => 232,  675 => 231,  672 => 230,  669 => 229,  666 => 228,  663 => 227,  660 => 226,  657 => 225,  655 => 224,  652 => 223,  649 => 222,  646 => 221,  643 => 220,  637 => 219,  634 => 218,  631 => 217,  628 => 216,  625 => 215,  622 => 214,  619 => 213,  616 => 212,  611 => 211,  609 => 210,  605 => 208,  602 => 207,  596 => 205,  590 => 203,  587 => 202,  584 => 201,  581 => 200,  578 => 199,  575 => 198,  569 => 196,  566 => 195,  563 => 194,  560 => 193,  557 => 192,  554 => 191,  548 => 189,  545 => 188,  542 => 187,  539 => 186,  536 => 185,  533 => 184,  527 => 182,  524 => 181,  521 => 180,  518 => 179,  515 => 178,  512 => 177,  506 => 175,  503 => 174,  500 => 173,  497 => 172,  494 => 171,  491 => 170,  489 => 169,  486 => 168,  480 => 167,  477 => 166,  474 => 165,  471 => 164,  468 => 163,  465 => 162,  461 => 161,  458 => 160,  455 => 159,  452 => 158,  449 => 157,  446 => 156,  443 => 155,  440 => 154,  437 => 153,  434 => 152,  431 => 151,  429 => 150,  425 => 148,  423 => 147,  419 => 145,  412 => 143,  399 => 142,  394 => 140,  389 => 139,  371 => 138,  363 => 134,  361 => 133,  360 => 132,  359 => 131,  358 => 130,  357 => 129,  353 => 127,  350 => 126,  347 => 125,  344 => 124,  341 => 123,  338 => 122,  335 => 121,  332 => 120,  330 => 119,  327 => 118,  325 => 115,  323 => 114,  320 => 113,  315 => 109,  309 => 107,  306 => 106,  297 => 104,  292 => 103,  290 => 102,  287 => 101,  283 => 98,  280 => 97,  275 => 96,  273 => 93,  271 => 92,  268 => 91,  259 => 88,  256 => 87,  252 => 86,  244 => 80,  235 => 75,  231 => 71,  226 => 68,  224 => 67,  212 => 57,  204 => 55,  201 => 54,  196 => 52,  191 => 51,  186 => 49,  181 => 48,  175 => 46,  173 => 45,  167 => 42,  145 => 22,  139 => 20,  133 => 18,  131 => 17,  126 => 14,  116 => 13,  103 => 10,  98 => 9,  88 => 8,  75 => 5,  72 => 4,  62 => 3,  39 => 1,);
  986.     }
  987.     public function getSourceContext()
  988.     {
  989.         return new Source("{% extends 'base_front.html.twig' %}
  990. {% block meta %}
  991. \t<title>Les resultats</title>
  992. \t<meta name=\"description\" content=\"Les produits disponibles. Actuellement, {{ countProducts }} produits disponibles.\">
  993. {% endblock %}
  994. {% block style %}
  995. \t<link rel=\"stylesheet\" href=\"{{ asset('css/styleFiltreHebergement.css') }}\">
  996. \t<link rel=\"stylesheet\" href=\"{{ asset('css/front/promo.css') }}\">
  997. {% endblock %}
  998. {% block body %}
  999. \t<div class=\"page-header heor-section-style mine\" style=\"
  1000.             height: 100%;
  1001.             {% if categoryBackground is defined and categoryBackground is not null and categoryBackground.image is not null %}
  1002.                 background: url({{ asset(constant('App\\\\Services\\\\File::IMAGE_CATEGORY_DIR') ~ categoryBackground.image) }})
  1003.             {% else %}
  1004.                 background: url({{ asset('images/vacance_background.jpg') }})
  1005.             {% endif %}
  1006.             no-repeat center;background-size: cover\">
  1007. \t\t<div class=\"container\">
  1008. \t\t\t<div
  1009. \t\t\t\tclass=\"row\">
  1010. \t\t\t\t<!-- page caption -->
  1011. \t\t\t\t<div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12 \">
  1012. \t\t\t\t\t<div class=\"page-caption\">
  1013. \t\t\t\t\t\t<h1 class=\"page-title\">Resultat</h1>
  1014. \t\t\t\t\t</div>
  1015. \t\t\t\t</div>
  1016. \t\t\t\t<!-- /.page caption -->
  1017. \t\t\t</div>
  1018. \t\t</div>
  1019. \t\t<!-- page caption -->
  1020. \t\t<div class=\"page-breadcrumb\">
  1021. \t\t\t<div class=\"container\">
  1022. \t\t\t\t<div class=\"row\">
  1023. \t\t\t\t\t<nav aria-label=\"breadcrumb\">
  1024. \t\t\t\t\t\t<ol class=\"breadcrumb\">
  1025. \t\t\t\t\t\t\t<li class=\"breadcrumb-item\">
  1026. \t\t\t\t\t\t\t\t<a href=\"{{ path('front_home') }}\" class=\"breadcrumb-link\">Accueil</a>
  1027. \t\t\t\t\t\t\t</li>
  1028. \t\t\t\t\t\t\t<li class=\"breadcrumb-item active text-white\" aria-current=\"page\">Recherche :
  1029. \t\t\t\t\t\t\t\t{% if app.session.get('categoryName') %}
  1030. \t\t\t\t\t\t\t\t\t{{ app.session.get('categoryName') }}
  1031. \t\t\t\t\t\t\t\t{% endif %}
  1032. \t\t\t\t\t\t\t\t{% if app.session.get('departmentName') %}-
  1033. \t\t\t\t\t\t\t\t\t{{ app.session.get('departmentName') }}
  1034. \t\t\t\t\t\t\t\t{% endif %}
  1035. \t\t\t\t\t\t\t\t{% if app.session.get('weddingdate') %}-
  1036. \t\t\t\t\t\t\t\t\t{{ app.session.get('weddingdate') }}
  1037. \t\t\t\t\t\t\t\t{% endif %}
  1038. \t\t\t\t\t\t\t\t{% if app.session.get('weddingdate_start') and app.session.get('weddingdate_end') %}
  1039. \t\t\t\t\t\t\t\t\t- {{ app.session.get('weddingdate_start') }} - {{ app.session.get('weddingdate_end') }}
  1040. \t\t\t\t\t\t\t\t{% endif %}
  1041. \t\t\t\t\t\t\t</li>
  1042. \t\t\t\t\t\t</ol>
  1043. \t\t\t\t\t</nav>
  1044. \t\t\t\t</div>
  1045. \t\t\t</div>
  1046. \t\t</div>
  1047. \t\t<!-- page breadcrumb -->
  1048. \t</div>
  1049. \t<!-- /.page-header -->
  1050. \t{% if isPromoAdmin %}
  1051. \t<div class=\"bannier-promo mt-5\">
  1052. \t\t<div class=\"cont\">
  1053. \t\t\tPromotion
  1054. \t\t\t<span class=\"percent\">{{ isPromoAdmin.value }}%</span>
  1055. \t\t\t{# <svg class=\"outlined-text\" width=\"80%\" height=\"200\" viewBox=\"0 0 800 200\" preserveAspectRatio=\"xMidYMid meet\">
  1056. \t\t\t\t<text x=\"50\" y=\"140\">-20%</text>
  1057. \t\t\t</svg> #}
  1058. \t\t\tde commission en cours jusqu'au <span class=\"date-fin-prom\">{{ isPromoAdmin.endAt|format_date('long', locale='fr') }}</span>
  1059. \t\t\tpour tous les serveices
  1060. \t\t</div>
  1061. \t</div>
  1062. \t{% endif %}
  1063. \t<!-- vendor-section -->
  1064. \t<div class=\"content\">
  1065. \t\t<div class=\"container\">
  1066. \t\t\t<div class=\"row\">
  1067. \t\t\t\t<div class=\"col-xl-8 col-lg-8 col-md-7 col-sm-12 col-12\">
  1068. \t\t\t\t\t{% for message in app.flashes('success') %}
  1069. \t\t\t\t\t\t<div class=\"alert alert-success\">
  1070. \t\t\t\t\t\t\t{{ message }}
  1071. \t\t\t\t\t\t</div>
  1072. \t\t\t\t\t{% endfor %}
  1073. \t\t\t\t\t<div id=\"allProduct\" class=\"row\">
  1074. \t\t\t\t\t\t{% if products|length > 0 %}
  1075. \t\t\t\t\t\t{# <div class=\"col-12\">
  1076. \t\t\t\t\t\t\t<button type=\"button\" class=\"btn btn-primary mb-2\" data-toggle=\"modal\" data-target=\"#modalFilter\">Filter</button>
  1077. \t\t\t\t\t\t</div> #}
  1078. \t\t\t\t\t\t\t{% for product in products %}
  1079. \t\t\t\t\t\t\t\t{% set subCategorySlug = product.subCategories.toArray()[0].subCategorySlug %}
  1080. \t\t\t\t\t\t\t\t<div class=\"col-lg-6 col-sm-12 col-12\">
  1081. \t\t\t\t\t\t\t\t\t<div class=\"container-block-Pcompanies mb-3\">
  1082. \t\t\t\t\t\t\t\t\t\t{# <div class=\"container-imageP zoomimg\"> #}
  1083. \t\t\t\t\t\t\t\t\t\t<div class=\"container-slide-image\">
  1084. \t\t\t\t\t\t\t\t\t\t\t{% if product.photos.first != false %}
  1085. \t\t\t\t\t\t\t\t\t\t\t\t{% for imgHebmt in product.photos.toArray() %}
  1086. \t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"{{ asset(constant('App\\\\Services\\\\File::IMAGE_PRODUCT_DIR') ~ imgHebmt.url) }}\" alt=\"default image\" class=\"img-fluid\" style=\"height: 213px;object-fit: cover; border-radius: .5rem .5rem 0 0;\">
  1087. \t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  1088. \t\t\t\t\t\t\t\t\t\t\t{% else %}
  1089. \t\t\t\t\t\t\t\t\t\t\t\t<img src=\"{{ asset('images/vecteezy_vector-gear-logo-design-with-multi-colors-range_6172776.jpg') }}\" alt=\"default image\" class=\"img-fluid\" style=\"height: 213px;object-fit: cover; border-radius: .5rem .5rem 0 0;\">
  1090. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1091. \t\t\t\t\t\t\t\t\t\t</div>
  1092. \t\t\t\t\t\t\t\t\t\t<div class=\"container-info-presta\" style=\"padding-bottom: 80px;\">
  1093. \t\t\t\t\t\t\t\t\t\t\t<h2 class=\"vendor-title\">
  1094. \t\t\t\t\t\t\t\t\t\t\t\t{# <a href=\"{{ path('front_product_single', {'slug': product.subCategories[0].categories[0].slug, 'subCategorySlug': product.subCategories[0].subCategorySlug, 'product_id': product.id, 'productSlug': product.productSlug}) }}\" class=\"title\">{{ product.name }}</a> #}
  1095. \t\t\t\t\t\t\t\t\t\t\t\t{% set subCategory = product.subCategories.toArray()[0] %}
  1096. \t\t\t\t\t\t\t\t\t\t\t\t{# <pre>
  1097. \t\t\t\t\t\t\t\t\t\t\t\t\t{{ dump(subCategory.categories.toArray[0].slug) }}
  1098. \t\t\t\t\t\t\t\t\t\t\t\t</pre> #}
  1099. \t\t\t\t\t\t\t\t\t\t\t\t{% set slug = \"\" %}
  1100. \t\t\t\t\t\t\t\t\t\t\t\t{% if product.typeActivity is not null %}
  1101. \t\t\t\t\t\t\t\t\t\t\t\t\t{% set slug = product.typeActivity.slug %}
  1102. \t\t\t\t\t\t\t\t\t\t\t\t{% elseif product.typeHebergements is not null %}
  1103. \t\t\t\t\t\t\t\t\t\t\t\t\t{% set slug = product.typeHebergements.slugTypeHebergm %}
  1104. \t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  1105. \t\t\t\t\t\t\t\t\t\t\t\t\t{% set slug = subCategory.categories.toArray[0].slug %}
  1106. \t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1107. \t\t\t\t\t\t\t\t\t\t\t\t
  1108. \t\t\t\t\t\t\t\t\t\t\t\t<a href=\"{{ path('front_product_single', {
  1109. \t\t\t\t\t\t\t\t\t\t\t\t\t'slug': slug,
  1110. \t\t\t\t\t\t\t\t\t\t\t\t\t'subCategorySlug': subCategory.subCategorySlug,
  1111. \t\t\t\t\t\t\t\t\t\t\t\t\t'product_id': product.id,
  1112. \t\t\t\t\t\t\t\t\t\t\t\t\t'productSlug': product.productSlug
  1113. \t\t\t\t\t\t\t\t\t\t\t\t}) }}\" class=\"title\">{{ product.name }}</a>
  1114. \t\t\t\t\t\t\t\t\t\t\t</h2>
  1115. \t\t\t\t\t\t\t\t\t\t\t<p class=\"vendor-address\">
  1116. \t\t\t\t\t\t\t\t\t\t\t\t{% for department in product.departments %}
  1117. \t\t\t\t\t\t\t\t\t\t\t\t\t{{ department.name }}
  1118. \t\t\t\t\t\t\t\t\t\t\t\t\t{% if not loop.last %},
  1119. \t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1120. \t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  1121. \t\t\t\t\t\t\t\t\t\t\t\t\tToute la France
  1122. \t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  1123. \t\t\t\t\t\t\t\t\t\t\t</p>
  1124. \t\t\t\t\t\t\t\t\t\t\t<p>
  1125. \t\t\t\t\t\t\t\t\t\t\t\t{% if product.typeHebergements is null or product.typeHebergements.slugTypeHebergm != 'hotel' %}
  1126. \t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fas fa-money-bill-wave\"></i>
  1127. \t\t\t\t\t\t\t\t\t\t\t\t\tPrix :
  1128. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set today = \"now\"|date('Y-m-d') %}
  1129. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set customPriceFound = false %}
  1130. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set customPrice = 0 %}
  1131. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set currentPrice = 0 %}
  1132. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set price = 0 %}
  1133. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set difference = null %}
  1134. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set reductionPercentage = 0 %}
  1135. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set duration = null %}
  1136. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set countdown = null %}
  1137. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set reductionValid = false %}
  1138. \t\t\t\t\t\t\t\t\t\t\t\t\t\t
  1139. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for dayPrice in product.dayPrice %}
  1140. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set formattedDate = dayPrice.customDate|date('Y-m-d') %}
  1141. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if formattedDate == today %}
  1142. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set customPriceFound = true %}
  1143. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set customPrice = dayPrice.customPrice|number_format(2, '.') %}
  1144. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1145. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  1146. \t\t\t\t\t\t\t\t\t\t\t\t\t\t
  1147. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set month = \"now\"|date('n') %}
  1148. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if month >= 3 and month <= 5 %}
  1149. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set springPrice = product.springPrice %}
  1150. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if springPrice is not null %}
  1151. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set currentPrice = product.springPrice %}
  1152. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  1153. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set currentPrice = 0 %}\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
  1154. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1155. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% elseif month >= 6 and month <= 8 %}
  1156. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set summerPrice = product.summerPrice %}
  1157. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if summerPrice is not null %}
  1158. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set currentPrice = product.summerPrice %}
  1159. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  1160. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set currentPrice = 0 %}\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
  1161. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1162. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% elseif month >= 9 and month <= 11 %}
  1163. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set autumnPrice = product.autumnPrice %}
  1164. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if autumnPrice is not null %}
  1165. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set currentPrice = product.autumnPrice %}
  1166. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  1167. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set currentPrice = 0 %}\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
  1168. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1169. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  1170. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set winterPrice = product.winterPrice %}
  1171. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if winterPrice is not null %}
  1172. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set currentPrice = product.winterPrice %}
  1173. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  1174. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set currentPrice = 0 %}\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
  1175. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1176. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1177. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set day = \"now\"|date('N') %}
  1178. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if day == 6 or day == 7 %}
  1179. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set weekEndPrice = product.weekEndPrice %}
  1180. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if weekEndPrice is not null %}
  1181. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set currentPrice = product.weekEndPrice %}\t
  1182. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  1183. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set currentPrice = 0 %}\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
  1184. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1185. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1186. \t\t\t\t\t\t\t\t\t\t\t\t\t\t
  1187. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
  1188. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set periodPrice = 0 %}
  1189. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for period in product.periodPrice.toArray() %}
  1190. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set startDate = period.startDate|date(\"Y-m-d\") %}
  1191. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set endDate = period.endDate|date(\"Y-m-d\") %}
  1192. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if today >= startDate and today <= endDate and period.price is not null %}
  1193. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set periodPrice = period.price %}
  1194. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  1195. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set currentPrice = 0 %}
  1196. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1197. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  1198. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if periodPrice != 0 %}
  1199. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set currentPrice = periodPrice %}
  1200. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1201. \t\t\t\t\t\t\t\t\t\t\t\t\t\t
  1202. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if customPriceFound and customPrice != 0%}
  1203. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set price = customPrice %}
  1204. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% elseif currentPrice != 0 and currentPrice is not null and customPrice == 0 %}
  1205. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set price = currentPrice %}
  1206. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% elseif currentPrice == 0 or currentPrice is null and customPrice == 0 %}
  1207. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set price = product.price %}
  1208. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1209. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for autoReduce in product.productAutoReduction.toArray %}
  1210. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if autoReduce.createdAt is not null and autoReduce.countdown is not null and autoReduce.duration is not null  and autoReduce.reductionPercentage is not null %}
  1211. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set difference = date(today).diff(autoReduce.createdAt).days %}
  1212. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set duration = autoReduce.duration %}
  1213. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set countdown = autoReduce.countdown %}
  1214. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set reductionPercentage = autoReduce.reductionPercentage %}
  1215. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set durationout = duration + countdown %}
  1216. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# {{ dump(countdown,difference,durationout,duration) }} #}
  1217. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set reductionValid = difference > countdown and difference <= durationout %}
  1218. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1219. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  1220. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{# {{ dump(reductionValid) }} #}
  1221. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if product.company.type != \"service\" %}
  1222. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"vendor-price\">
  1223. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ product.price|number_format(2, '.', '') }}€
  1224. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</span>
  1225. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% elseif reductionValid %}
  1226. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set priceReduced = price - ((price * reductionPercentage) / 100) %}
  1227. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<strong>{{ priceReduced|number_format(2, '.') }}</strong>€\t\t\t\t\t\t\t\t\t\t\t\t
  1228. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  1229. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<strong>{{ price|number_format(2, '.') }}</strong>€
  1230. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1231. \t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  1232. \t\t\t\t\t\t\t\t\t\t\t\t\t{% set lengthRoomNight = 0 %}
  1233. \t\t\t\t\t\t\t\t\t\t\t\t\t{% set statusByNight = false %}
  1234. \t\t\t\t\t\t\t\t\t\t\t\t\t{% set allPriceByNight = 0 %}
  1235. \t\t\t\t\t\t\t\t\t\t\t\t\t{% set lengthRoomDay = 0 %}
  1236. \t\t\t\t\t\t\t\t\t\t\t\t\t{% set statusByDay = false %}
  1237. \t\t\t\t\t\t\t\t\t\t\t\t\t{% set allPriceByDay = 0 %}
  1238. \t\t\t\t\t\t\t\t\t\t\t\t\t{% if product.chambres is defined %}
  1239. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for roomOption in product.chambres.toArray %}
  1240. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if roomOption.tarifNuit is defined %}
  1241. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set lengthRoomNight = lengthRoomNight + 1 %}
  1242. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set statusByNight = true %}
  1243. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set allPriceByNight = allPriceByNight + roomOption.tarifNuit %}
  1244. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1245. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if roomOption.tarifJour is not null %}
  1246. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set lengthRoomDay = lengthRoomDay + 1 %}
  1247. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set statusByDay = true %}
  1248. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set allPriceByDay = allPriceByDay + roomOption.tarifJour %}
  1249. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1250. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  1251. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if statusByDay or statusByNight %}
  1252. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p>Prix moyen d'une chambre:</p>
  1253. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1254. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if statusByNight %}
  1255. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p>
  1256. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fas fa-money-bill-wave\"></i>
  1257. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tpar nuit 
  1258. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<strong>{{ (allPriceByNight / lengthRoomNight)|number_format(2, '.') }}</strong>€
  1259. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</p>
  1260. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1261. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if statusByDay %}
  1262. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{# <p>
  1263. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fas fa-money-bill-wave\"></i>
  1264. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tpar jour 
  1265. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<strong>{{ (allPriceByDay / lengthRoomDay)|number_format(2, '.') }}</strong>€
  1266. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</p> #}
  1267. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1268. \t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1269. \t\t\t\t\t\t\t\t\t\t\t\t\t{% if not statusByNight and not statusByDay %}
  1270. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<p>
  1271. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\tPrix : <strong>Prix en attente</strong>
  1272. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</p>
  1273. \t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1274. \t\t\t\t\t\t\t\t\t\t\t\t\t{# <i class=\"fas fa-money-bill-wave\"></i>
  1275. \t\t\t\t\t\t\t\t\t\t\t\t\tPrix :
  1276. \t\t\t\t\t\t\t\t\t\t\t\t\t<strong>{{ product.price|number_format(2, '.') }}</strong>€ #}
  1277. \t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1278. \t\t\t\t\t\t\t\t\t\t\t</p>
  1279. \t\t\t\t\t\t\t\t\t\t\t<p>
  1280. \t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star rated\"></i>
  1281. \t\t\t\t\t\t\t\t\t\t\t\t{% set notes = 0 %}
  1282. \t\t\t\t\t\t\t\t\t\t\t\t{% for avi in product.avis %}
  1283. \t\t\t\t\t\t\t\t\t\t\t\t\t{% set notes = notes + avi.globalNote %}
  1284. \t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  1285. \t\t\t\t\t\t\t\t\t\t\t\t{% set noteTotal = (notes > 0) ? notes / product.avis|length : 0 %}
  1286. \t\t\t\t\t\t\t\t\t\t\t\t{{ product.avis|length }} Avis</p>
  1287. \t\t\t\t\t\t\t\t\t\t\t<p>{{ product.quantity }}
  1288. \t\t\t\t\t\t\t\t\t\t\t\tQuantité restante</p>
  1289. \t\t\t\t\t\t\t\t\t\t</div>
  1290. \t\t\t\t\t\t\t\t\t\t<div class=\"wishlist-sign\">
  1291. \t\t\t\t\t\t\t\t\t\t\t<a href=\"#\" class=\"btn-wishlist\">
  1292. \t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-heart\"></i>
  1293. \t\t\t\t\t\t\t\t\t\t\t</a>
  1294. \t\t\t\t\t\t\t\t\t\t</div>
  1295. \t\t\t\t\t\t\t\t\t\t{% if product.subCategories[0].categories[0] is defined %}
  1296. \t\t\t\t\t\t\t\t\t\t<a href=\"{{ path('front_product_single', {
  1297. \t\t\t\t\t\t\t\t\t\t\t\t'slug': slug, 
  1298. \t\t\t\t\t\t\t\t\t\t\t\t'subCategorySlug': product.subCategories[0].subCategorySlug, 
  1299. \t\t\t\t\t\t\t\t\t\t\t\t'product_id': product.id, 
  1300. \t\t\t\t\t\t\t\t\t\t\t\t'productSlug': product.productSlug
  1301. \t\t\t\t\t\t\t\t\t\t\t}) }}\" class=\"title\">
  1302. \t\t\t\t\t\t\t\t\t\t\t
  1303. \t\t\t\t\t\t\t\t\t\t\t\t<button class=\"btnVoirP btn\">Voir {% if subCategorySlug == \"hebergements\"%}l'hébergement{% else %}plus{% endif %}
  1304. \t\t\t\t\t\t\t\t\t\t\t\t\t</button>
  1305. \t\t\t\t\t\t\t\t\t\t\t
  1306. \t\t\t\t\t\t\t\t\t\t</a>
  1307. \t\t\t\t\t\t\t\t\t\t{% endif %}
  1308. \t\t\t\t\t\t\t\t\t\t
  1309. \t\t\t\t\t\t\t\t\t</div>
  1310. \t\t\t\t\t\t\t\t</div>
  1311. \t\t\t\t\t\t\t{% endfor %}
  1312. \t\t\t\t\t\t{% else %}
  1313. \t\t\t\t\t\t\t<div class=\"col-12\">
  1314. \t\t\t\t\t\t\t\t<button type=\"button\" class=\"btn btn-primary mb-2\" data-toggle=\"modal\" data-target=\"#modalFilter\">Filter</button>
  1315. \t\t\t\t\t\t\t</div>
  1316. \t\t\t\t\t\t\t<div class=\"vendor-thumbnail list-view p-4\">Aucun service correspondant</div>
  1317. \t\t\t\t\t\t{% endif %}
  1318. \t\t\t\t\t</div>
  1319. \t\t\t\t\t<div class=\"pagination\">
  1320. \t\t\t\t\t\t<nav aria-label=\"Page navigation example\">
  1321. \t\t\t\t\t\t\t{{ knp_pagination_render(products) }}
  1322. \t\t\t\t\t\t</nav>
  1323. \t\t\t\t\t</div>
  1324. \t\t\t\t\t<!-- /.paginations -->
  1325. \t\t\t\t</div>
  1326. \t\t\t\t<!-- sidebar-section -->
  1327.                 {{ include('front/inc/filter_sidebar.html.twig') }}
  1328. \t\t\t\t<!-- /.sidebar-section -->
  1329. \t\t\t</div>
  1330. \t\t</div>
  1331. \t</div>
  1332. {% endblock %}
  1333. {% block javascript %}
  1334. \t<script 
  1335. \t\ttype=\"text/javascript\" 
  1336. \t\tsrc=\"https://cdn.jsdelivr.net/gh/maxshuty/accessible-web-components@latest/dist/simpleRange.min.js\">
  1337. \t</script>
  1338. \t<script src=\"{{ asset('js/jsForHebergementFilter.js') }}\"></script>
  1339. \t<script src=\"{{ asset('js/getCommune.js') }}\"></script>
  1340. {% endblock %}""front/product/listSearch.html.twig""/var/www/vhosts/hobbiinn.com/httpdocs/providdersvacance/templates/front/product/listSearch.html.twig");
  1341.     }
  1342. }