var/cache/dev/twig/77/772ff6a5c387eb0b4f769c75ece3111b.php line 59

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @Flexy\FrontBundle/templates/booking/singleOffer/singleOffer.html.twig */
  14. class __TwigTemplate_d20148c2c007db5cb85182e3aaa51616 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'body' => [$this'block_body'],
  24.             'javascripts' => [$this'block_javascripts'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "@Flexy/FrontBundle/templates/booking/layout.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Flexy\\FrontBundle/templates/booking/singleOffer/singleOffer.html.twig"));
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Flexy\\FrontBundle/templates/booking/singleOffer/singleOffer.html.twig"));
  39.         $this->parent $this->loadTemplate("@Flexy/FrontBundle/templates/booking/layout.html.twig""@Flexy\\FrontBundle/templates/booking/singleOffer/singleOffer.html.twig"1);
  40.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  43.         
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  45.     }
  46.     // line 3
  47.     public function block_body($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  54.         // line 4
  55.         echo "<style>
  56. .countersection .count{
  57.     padding:10px !important;
  58.     font-size:18px;
  59. }
  60. </style>
  61.  <div class=\"body-wrapper\">
  62.             <!-- Begin Header Area -->
  63.             <!-- Header Area End Here -->
  64.             <!-- Begin Li's Breadcrumb Area -->
  65.             <div class=\"breadcrumb-area menu-item\">
  66.                 <div class=\"container simple-container\">
  67.                     <div class=\"breadcrumb-content\">
  68.                         <ul>
  69.                             <li><a href=\"";
  70.         // line 22
  71.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("front_home");
  72.         echo "\">Accueil</a></li>
  73.                             ";
  74.         // line 24
  75.         $context['_parent'] = $context;
  76.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'24$this->source); })()), "categoriesProduct", [], "any"falsefalsefalse24));
  77.         foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
  78.             // line 25
  79.             echo "
  80.                             <li ><a href=\"";
  81.             // line 26
  82.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("single_category_product", ["id" => twig_get_attribute($this->env$this->source$context["category"], "id", [], "any"falsefalsefalse26)]), "html"nulltrue);
  83.             echo "\">";
  84.             echo twig_escape_filter($this->env$context["category"], "html"nulltrue);
  85.             echo "</a></li>
  86.                             ";
  87.         }
  88.         $_parent $context['_parent'];
  89.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
  90.         $context array_intersect_key($context$_parent) + $_parent;
  91.         // line 29
  92.         echo "                            <li class=\"active\">";
  93.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'29$this->source); })()), "name", [], "any"falsefalsefalse29), "html"nulltrue);
  94.         echo "</li>
  95.                             
  96.                         </ul>
  97.                     </div>
  98.                 </div>
  99.             </div>
  100.             <!-- Li's Breadcrumb Area End Here -->
  101.             <!-- content-wraper start -->
  102.             <div class=\"content-wraper\">
  103.                 <div class=\"container\">
  104.                     <div class=\"row single-product-area\">
  105.                         <div class=\"col-lg-8 col-md-5\">
  106.                            <!-- Details de produit Left -->
  107.                             <div class=\"product-details-left sp-tab-style-left-page\">
  108.                                 <div class=\"product-details-images slider-navigation-1\">
  109.                                     <div class=\"lg-image menu-item\">
  110.                                         <a class=\"popup-img venobox vbox-item\" href=\"/uploads/";
  111.         // line 50
  112.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'50$this->source); })()), "image", [], "any"falsefalsefalse50)), "html"nulltrue);
  113.         echo "\" data-gall=\"myGallery\">
  114.                                             <img  src=\"/uploads/";
  115.         // line 51
  116.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'51$this->source); })()), "image", [], "any"falsefalsefalse51)), "html"nulltrue);
  117.         echo "\" alt=\"";
  118.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'51$this->source); })()), "name", [], "any"falsefalsefalse51), "html"nulltrue);
  119.         echo "\">
  120.                                         </a>
  121.                                     </div>
  122.                                     ";
  123.         // line 55
  124.         $context['_parent'] = $context;
  125.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'55$this->source); })()), "images", [], "any"falsefalsefalse55));
  126.         foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
  127.             // line 56
  128.             echo "                                    <div class=\"lg-image  menu-item\">
  129.                                         <a class=\"popup-img venobox vbox-item\" href=\"/uploads/images/products";
  130.             // line 57
  131.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env$this->source$context["image"], "path", [], "any"falsefalsefalse57)), "html"nulltrue);
  132.             echo "\" data-gall=\"myGallery\">
  133.                                             <img  src=\"/uploads/images/products";
  134.             // line 58
  135.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env$this->source$context["image"], "path", [], "any"falsefalsefalse58)), "html"nulltrue);
  136.             echo "\" alt=\"";
  137.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["image"], "alt", [], "any"falsefalsefalse58), "html"nulltrue);
  138.             echo "\">
  139.                                         </a>
  140.                                     </div>
  141.                                     ";
  142.         }
  143.         $_parent $context['_parent'];
  144.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['image'], $context['_parent'], $context['loop']);
  145.         $context array_intersect_key($context$_parent) + $_parent;
  146.         // line 62
  147.         echo "
  148.                                     
  149.                                 </div>
  150.                                 <div class=\"tab-style-left\">
  151.                                     <div class=\"sm-image\"><img  src=\"/uploads/";
  152.         // line 71
  153.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'71$this->source); })()), "image", [], "any"falsefalsefalse71)), "html"nulltrue);
  154.         echo "\" alt=\"";
  155.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'71$this->source); })()), "name", [], "any"falsefalsefalse71), "html"nulltrue);
  156.         echo "\"></div>
  157.                                     ";
  158.         // line 72
  159.         $context['_parent'] = $context;
  160.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'72$this->source); })()), "images", [], "any"falsefalsefalse72));
  161.         foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
  162.             // line 73
  163.             echo "                                        <div class=\"sm-image\"><img  src=\"/uploads/images/products";
  164.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env$this->source$context["image"], "path", [], "any"falsefalsefalse73)), "html"nulltrue);
  165.             echo "\" alt=\"";
  166.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["image"], "alt", [], "any"falsefalsefalse73), "html"nulltrue);
  167.             echo "\"></div>
  168.                                     ";
  169.         }
  170.         $_parent $context['_parent'];
  171.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['image'], $context['_parent'], $context['loop']);
  172.         $context array_intersect_key($context$_parent) + $_parent;
  173.         // line 75
  174.         echo "                                
  175.                                 </div>
  176.                             </div>
  177.                             <!--// Details de produit Left -->
  178.                         </div>
  179.                         <div class=\"col-lg-4 col-md-5\">
  180.                             <div class=\"product-details-view-content pt-60\">
  181.                                 <div class=\"product-info\">
  182.                                     
  183.                                     <h2>";
  184.         // line 85
  185.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'85$this->source); })()), "name", [], "any"falsefalsefalse85), "html"nulltrue);
  186.         echo "</h2>
  187.                                    
  188.                                     <p class=\"sell-by\">
  189.                                     
  190.                                     ";
  191.         // line 91
  192.         if (twig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'91$this->source); })()), "brand", [], "any"falsefalsefalse91)) {
  193.             echo " Marque: <a href=\"#\">";
  194.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'91$this->source); })()), "brand", [], "any"falsefalsefalse91), "html"nulltrue);
  195.             echo "</a>";
  196.         }
  197.         echo "  ";
  198.         if (twig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'91$this->source); })()), "vendor", [], "any"falsefalsefalse91)) {
  199.             echo " / <a href=\"#\"> Par ";
  200.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'91$this->source); })()), "vendor", [], "any"falsefalsefalse91), "html"nulltrue);
  201.             echo " </a>";
  202.         }
  203.         echo "</span>
  204.                                     
  205.                                     
  206.                                     
  207.                                     </p>
  208.                                     ";
  209.         // line 96
  210.         if (twig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'96$this->source); })()), "skuCode", [], "any"falsefalsefalse96)) {
  211.             // line 97
  212.             echo "                                    <span class=\"product-details-ref d-none\">Reference: ";
  213.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'97$this->source); })()), "skuCode", [], "any"falsefalsefalse97), "html"nulltrue);
  214.             echo "</span>
  215.                                     ";
  216.         }
  217.         // line 99
  218.         echo "                                   
  219.                                     <div class=\"price-box pt-20\">
  220.                                         <span class=\"new-price new-price-2\">MAD ";
  221.         // line 101
  222.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'101$this->source); })()), "formattedPrice", [], "any"falsefalsefalse101), "html"nulltrue);
  223.         echo "</span>
  224.                                         ";
  225.         // line 102
  226.         if ((twig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'102$this->source); })()), "oldPrice", [], "any"falsefalsefalse102) || (twig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'102$this->source); })()), "oldPrice", [], "any"falsefalsefalse102) > 0))) {
  227.             // line 103
  228.             echo "                                        <span class=\"old-price\">MAD ";
  229.             echo twig_escape_filter($this->env, (twig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'103$this->source); })()), "oldPrice", [], "any"falsefalsefalse103) / 100), "html"nulltrue);
  230.             echo "</span>
  231.                                         ";
  232.         }
  233.         // line 105
  234.         echo "                                    </div>
  235.                                      
  236.                                                ";
  237.         // line 112
  238.         echo "                                    
  239.                                     <div style=\"margin-top:15px;\" class=\"product-desc\">
  240.                                         <p>
  241.                                             <span>
  242.                                             ";
  243.         // line 116
  244.         echo twig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'116$this->source); })()), "shortDescription", [], "any"falsefalsefalse116);
  245.         echo "
  246.                                             </span>
  247.                                         </p>
  248.                                     </div>
  249.                                                 
  250.                                      <div class=\"rating-box pt-20\">
  251.                                      <h5>Rating : ";
  252.         // line 125
  253.         echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'125$this->source); })()), "rating", [], "any"falsefalsefalse125), 1"."","), "html"nulltrue);
  254.         echo "/5</h5>
  255.                                       
  256.                                            
  257.                                         <ul class=\"rating rating-with-review-item\">
  258.                                              ";
  259.         // line 129
  260.         if ((twig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'129$this->source); })()), "rating", [], "any"falsefalsefalse129) > 0)) {
  261.             // line 130
  262.             echo "                                           ";
  263.             $context['_parent'] = $context;
  264.             $context['_seq'] = twig_ensure_traversable(range(1twig_number_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'130$this->source); })()), "rating", [], "any"falsefalsefalse130))));
  265.             foreach ($context['_seq'] as $context["_key"] => $context["stars"]) {
  266.                 // line 131
  267.                 echo "                                             <li><i class=\"fa fa-star\"></i></li>
  268.                                                 
  269.                                             ";
  270.             }
  271.             $_parent $context['_parent'];
  272.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['stars'], $context['_parent'], $context['loop']);
  273.             $context array_intersect_key($context$_parent) + $_parent;
  274.             // line 134
  275.             echo "                                              ";
  276.             if ((twig_number_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'134$this->source); })()), "rating", [], "any"falsefalsefalse134)) < 5)) {
  277.                 // line 135
  278.                 echo "                                                ";
  279.                 $context['_parent'] = $context;
  280.                 $context['_seq'] = twig_ensure_traversable(range(twig_number_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'135$this->source); })()), "rating", [], "any"falsefalsefalse135)), 4));
  281.                 foreach ($context['_seq'] as $context["_key"] => $context["stars"]) {
  282.                     // line 136
  283.                     echo "                                                    <li class=\"no-star\"><i class=\"fa fa-star\"></i></li>
  284.                                                 ";
  285.                 }
  286.                 $_parent $context['_parent'];
  287.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['stars'], $context['_parent'], $context['loop']);
  288.                 $context array_intersect_key($context$_parent) + $_parent;
  289.                 // line 138
  290.                 echo "                                            ";
  291.             }
  292.             // line 139
  293.             echo "
  294.                                               ";
  295.         } else {
  296.             // line 141
  297.             echo "                                                  <li class=\"no-star\"><i class=\"fa fa-star\"></i></li>
  298.                                                     <li class=\"no-star\"><i class=\"fa fa-star\"></i></li>
  299.                                                       <li class=\"no-star\"><i class=\"fa fa-star\"></i></li>
  300.                                                         <li class=\"no-star\"><i class=\"fa fa-star\"></i></li>
  301.                                                           <li class=\"no-star\"><i class=\"fa fa-star\"></i></li>
  302.                                                 ";
  303.         }
  304.         // line 147
  305.         echo "                                                            
  306.                                    
  307.                                  
  308.                                             
  309.                                            
  310.                                 
  311.                                             <li class=\"menu-item\" ><a href=\"#reviews\" id=\"showcomments\">   Avis (";
  312.         // line 153
  313.         echo twig_escape_filter($this->envtwig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'153$this->source); })()), "comments", [], "any"falsefalsefalse153)), "html"nulltrue);
  314.         echo ") <i class=\"fa fa-comments\" ></i> </a></li>
  315.                                 
  316.                                         </ul>
  317.                                     </div>
  318.                                     
  319.                                     
  320.                                    
  321.                                     
  322.                                    ";
  323.         // line 174
  324.         echo "
  325.                                      <div class=\"single-add-to-cart\">
  326.                                         <form action=\"#\" class=\"cart-quantity\">
  327.                                            ";
  328.         // line 185
  329.         echo "                                     <button   data-type=\"";
  330.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'185$this->source); })()), "productType", [], "any"falsefalsefalse185), "html"nulltrue);
  331.         echo "\"  data-limitedamount=\"";
  332.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'185$this->source); })()), "vendor", [], "any"falsefalsefalse185), "limitedAmount", [], "any"falsefalsefalse185), "html"nulltrue);
  333.         echo "\" data-weight=\"";
  334.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'185$this->source); })()), "weight", [], "any"falsefalsefalse185), "html"nulltrue);
  335.         echo "\"    data-collecte=\"";
  336.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'185$this->source); })()), "vendor", [], "any"falsefalsefalse185), "addressCollecte", [], "any"falsefalsefalse185), "html"nulltrue);
  337.         echo "\" data-vendor=\"";
  338.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'185$this->source); })()), "vendor", [], "any"falsefalsefalse185), "id", [], "any"falsefalsefalse185), "html"nulltrue);
  339.         echo "\" data-id=\"";
  340.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'185$this->source); })()), "id", [], "any"falsefalsefalse185), "html"nulltrue);
  341.         echo "\"  data-name=\"";
  342.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'185$this->source); })()), "name", [], "any"falsefalsefalse185), "html"nulltrue);
  343.         echo "\" data-image=\"uploads/";
  344.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'185$this->source); })()), "image", [], "any"falsefalsefalse185)), "html"nulltrue);
  345.         echo "\" data-price=\"";
  346.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'185$this->source); })()), "formattedPrice", [], "any"falsefalsefalse185), "html"nulltrue);
  347.         echo "\"  data-url=\"";
  348.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("single_product", ["id" => twig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'185$this->source); })()), "id", [], "any"falsefalsefalse185)]), "html"nulltrue);
  349.         echo "\"  class=\"add-cart add-to-cart active add-product-to-cart\" >Ajouter au panier</button>
  350.                                         
  351.                                         </form>
  352.                                     </div>
  353.                                     <div class=\"booking-form-modal\" >
  354.                                     
  355.                                     <!-- Begin PrĂ©visualiser | Modal Area -->
  356.                                     <div class=\"modal fade modal-wrapper\" id=\"book-modal\" >
  357.                                         <div class=\"modal-dialog modal-dialog-centered\" role=\"document\">
  358.                                             <div class=\"modal-content\">
  359.                                                 <div class=\"modal-body\">
  360.                                                    
  361.                                                      <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
  362.                                             <span aria-hidden=\"true\">&times;</span>
  363.                                             </button>
  364.                                                     <div class=\"modal-inner-area row\">
  365.                                                           
  366.                                                         <div class=\"col-lg-12\">
  367.                                                             <div class=\"li-review-content\">
  368.                                                                 <!-- Begin Feedback Area -->
  369.                                                                 <div class=\"feedback-area\">
  370.                                                                     <div class=\"feedback\">
  371.                                                                     
  372.                                                                         
  373.                                                                         
  374.                                                                    
  375.                                                                         
  376.                                                                         <form action=\"#\" class=\"cart-quantity\">
  377.                                                                             
  378.                                                                             <div  class=\"quantity d-none\">
  379.                                                                             <label>QuantitĂ©</label>
  380.                                                                                 <div class=\"cart-plus-minus\">
  381.                                                                                     <input class=\"cart-plus-minus-box\" value=\"1\" type=\"text\">
  382.                                                                                     <div class=\"dec qtybutton\"><i class=\"fa fa-angle-down\"></i></div>
  383.                                                                                     <div class=\"inc qtybutton\"><i class=\"fa fa-angle-up\"></i></div>
  384.                                                                                 </div>
  385.                                                                             </div>
  386.                                                                             
  387.                                                                             <div class=\"row\" >
  388.                                                                                   ";
  389.         // line 228
  390.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'228$this->source); })()), "brand", [], "any"falsefalsefalse228), "id", [], "any"falsefalsefalse228) == 8)) {
  391.             // line 229
  392.             echo "                                                                                <div class=\"col-6\" >
  393.                                                                                         <p class=\"feedback-form\">
  394.                                                                                         <label for=\"feedback\">Choisissez la date de depart</label>
  395.                                                                                         <input type=\"datetime-local\"  name=\"date-start\" />
  396.                                                                                         </p>
  397.                                                                             
  398.                                                                                 </div>
  399.                                                                                 <div class=\"col-6\" >
  400.                                                                                         <p class=\"feedback-form\">
  401.                                                                                             <label for=\"feedback\">Choisissez la date d'arrivĂ©e</label>
  402.                                                                                             <input type=\"datetime-local\"  name=\"date-end\" />
  403.                                                                                         </p>
  404.                                                                             
  405.                                                                                 </div>
  406.                                                                                 <div class=\"col-6\" >
  407.                                                                                        <p class=\"feedback-form\">
  408.                                                                                 <label for=\"feedback\">Nombre de personnes</label>
  409.                                                                                 
  410.                                                                                 <select  name=\"nbrPerson\">
  411.                                                                                     <option>1</option>
  412.                                                                                     <option>2</option>
  413.                                                                                     <option>3</option>
  414.                                                                                     <option>4</option>
  415.                                                                                     <option>5</option>
  416.                                                                                     <option>6</option>
  417.                                                                                 </select>
  418.                                                                             </p>
  419.                                                                                 </div>
  420.                                                                                 <div class=\"col-6\" >
  421.                                                                                         <p class=\"feedback-form\">
  422.                                                                                 <label for=\"feedback\">Nombre de chambre</label>
  423.                                                                                 <select name=\"nbrRooms\">
  424.                                                                                     <option>1</option>
  425.                                                                                     <option>2</option>
  426.                                                                                     <option>3</option>
  427.                                                                                 </select>
  428.                                                                             </p>
  429.                                                                             
  430.                                                                                 </div>
  431.                                                                                  ";
  432.         }
  433.         // line 271
  434.         echo "                                                                                
  435.                                                                                 <div class=\"col-12\" >
  436.                                                                                     <p class=\"feedback-form\">
  437.                                                                                         <label for=\"feedback\">Laissez nous une note (Facultatif)</label>
  438.                                                                                         <textarea id=\"feedback\" name=\"comment\" cols=\"45\" rows=\"2\" aria-required=\"true\"></textarea>
  439.                                                                                     </p>
  440.                                                                                 </div>
  441.                                                                             </div>
  442.                                                                             
  443.                                                                              
  444.                                                                             
  445.                                                                             
  446.                                                                             <div class=\"feedback-input\">
  447.                                                                               
  448.                                                                                 
  449.                                                                                 <div class=\"feedback-btn pb-15\">
  450.                                                                                     <a href=\"#\" class=\"close register-button d-none\" data-dismiss=\"modal\" aria-label=\"Close\">Annuler</a>
  451.                                                                                     
  452.                                                                                     <button  data-limitedamount=\"";
  453.         // line 297
  454.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'297$this->source); })()), "vendor", [], "any"falsefalsefalse297), "limitedAmount", [], "any"falsefalsefalse297), "html"nulltrue);
  455.         echo "\"   data-type=\"";
  456.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'297$this->source); })()), "productType", [], "any"falsefalsefalse297), "html"nulltrue);
  457.         echo "\"   data-weight=\"";
  458.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'297$this->source); })()), "weight", [], "any"falsefalsefalse297), "html"nulltrue);
  459.         echo "\"  data-id=\"";
  460.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'297$this->source); })()), "id", [], "any"falsefalsefalse297), "html"nulltrue);
  461.         echo "\" data-collecte=\"";
  462.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'297$this->source); })()), "vendor", [], "any"falsefalsefalse297), "addressCollecte", [], "any"falsefalsefalse297), "html"nulltrue);
  463.         echo "\" data-vendor=\"";
  464.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'297$this->source); })()), "vendor", [], "any"falsefalsefalse297), "id", [], "any"falsefalsefalse297), "html"nulltrue);
  465.         echo "\"  data-name=\"";
  466.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'297$this->source); })()), "name", [], "any"falsefalsefalse297), "html"nulltrue);
  467.         echo "\" data-image=\"uploads/";
  468.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'297$this->source); })()), "image", [], "any"falsefalsefalse297)), "html"nulltrue);
  469.         echo "\" data-price=\"";
  470.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'297$this->source); })()), "formattedPrice", [], "any"falsefalsefalse297), "html"nulltrue);
  471.         echo "\"  data-url=\"";
  472.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("single_offer", ["id" => twig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'297$this->source); })()), "id", [], "any"falsefalsefalse297)]), "html"nulltrue);
  473.         echo "\"  class=\"add-cart add-to-cart active add-product-to-cart\" >RĂ©server</button>
  474.                                                                                 </div>
  475.                                                                             </div>
  476.                                                                         </form>
  477.                                                                     </div>
  478.                                                                 </div>
  479.                                                                 <!-- Feedback Area End Here -->
  480.                                                             </div>
  481.                                                         </div>
  482.                                                     </div>
  483.                                                 </div>
  484.                                             </div>
  485.                                         </div>
  486.                                     </div>   
  487.                                     <!-- PrĂ©visualiser | Modal Area End Here -->
  488.                                     </div>
  489.                                     <div class=\"menu-item product-additional-info pt-25\">
  490.                                         <div class=\"product-social-sharing pt-25\">
  491.                                             <ul>
  492.                                                 <li class=\"facebook\"><a href=\"#\"><i class=\"fa fa-facebook\"></i>Facebook</a></li>
  493.                                                 <li class=\"twitter\"><a href=\"#\"><i class=\"fa fa-twitter\"></i>Twitter</a></li>
  494.                                                 <li class=\"google-plus\"><a href=\"#\"><i class=\"fa fa-google-plus\"></i>Google +</a></li>
  495.                                                 <li class=\"instagram\"><a href=\"#\"><i class=\"fa fa-instagram\"></i>Instagram</a></li>
  496.                                             </ul>
  497.                                         </div>
  498.                                     </div>
  499.                                     
  500.                                 </div>
  501.                             </div>
  502.                         </div> 
  503.                      <!-- <div class=\"col-lg-3 col-md-3 \">
  504.                                                             <div class=\"block-reassurance \">
  505.                                             <div class=\"row \" > 
  506.                                             ";
  507.         // line 336
  508.         if (twig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'336$this->source); })()), "vendor", [], "any"falsefalsefalse336)) {
  509.             // line 337
  510.             echo "                                                <div class=\"col-12 p-3 \" >
  511.                                                         <div class=\"card actions p-3\">
  512.                                                             <h5>Vendeur : <span class=\"badge badge-warning\" >";
  513.             // line 339
  514.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'339$this->source); })()), "vendor", [], "any"falsefalsefalse339), "html"nulltrue);
  515.             echo "</span></h5>
  516.                                                                 <div>
  517.                                                                     <p>
  518.                                                                     <small>
  519.                                                                     100% Evaluation du vendeur<br>
  520.                                                                     67 abonnĂ©s <br>
  521.                                                                     </small>
  522.                                                                     <h6>Performance vendeur</h6>
  523.                                                                     <p>
  524.                                                                     <span class=\"badge badge-success text-white\" ><i class=\"fa fa-star\" ></i></span> Expeditions : <span class=\"badge badge-success text-white\" >Excellent</span>
  525.                                                                     <br>
  526.                                                                     <span class=\"badge badge-success text-white\" ><i class=\"fa fa-star\" ></i></span> QualitĂ© : <span class=\"badge badge-warning text-white\" >Moyen</span>
  527.                                                                     <br>
  528.                                                                     <span class=\"badge badge-success text-white\" ><i class=\"fa fa-star\" ></i></span> Avis consommateurs : <span class=\"badge badge-warning text-white\" >Moyen</span>
  529.                                                                     
  530.                                                                     </p>
  531.                                                                     </p>
  532.                                                                 </div>
  533.                                                    
  534.                                                          </div>
  535.                                                 </div>
  536.                                                 ";
  537.         }
  538.         // line 363
  539.         echo "                                                    
  540.                                                 </div>
  541.                                         
  542.                                     </div>
  543.                         </div>-->
  544.                     </div>
  545.                 </div>
  546.             </div>
  547.             <!-- content-wraper end -->
  548.             <!-- Begin Product Area -->
  549.             <div class=\"product-area pt-35\">
  550.                 <div class=\"container\">
  551.                     <div class=\"row\">
  552.                         <div class=\"col-lg-12\">
  553.                             <div class=\"li-product-tab\">
  554.                                 <ul class=\"nav li-product-menu\">
  555.                                    <li><a class=\"active\" data-toggle=\"tab\" href=\"#description\" id=\"description_pro\"><span>Description</span></a></li>
  556.                                   <!-- <li><a data-toggle=\"tab\" href=\"#product-details\" id=\"description_technique\"><span>Descriptif technique</span></a></li>-->
  557.                                    <li><a data-toggle=\"tab\" href=\"#reviews\" id=\"comments\"><span>Avis</span></a></li>
  558.                                 </ul>               
  559.                             </div>
  560.                             <!-- Begin Li's Tab Menu Content Area -->
  561.                         </div>
  562.                     </div>
  563.                     <div class=\"tab-content\">
  564.                         <div id=\"description\" class=\"tab-pane active show\" role=\"tabpanel\">
  565.                             <div class=\"product-description\">
  566.                                 <span>
  567.                                     ";
  568.         // line 392
  569.         echo twig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'392$this->source); })()), "description", [], "any"falsefalsefalse392);
  570.         echo "
  571.                                 </span>
  572.                             </div>
  573.                         </div>
  574.                         <div id=\"product-details\" class=\"tab-pane p-5\" role=\"tabpanel\">
  575.                                 <table class=\"table table-sm  \">
  576.                                             
  577.                                             <tbody>
  578.                                                 <tr>
  579.                                                 <th scope=\"row\">Modele</th>
  580.                                                 <td>MOD";
  581.         // line 402
  582.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'402$this->source); })()), "skuCode", [], "any"falsefalsefalse402), "html"nulltrue);
  583.         echo "</td>
  584.                                                 </tr>
  585.                                                 <tr>
  586.                                                 <th scope=\"row\">Marque</th>
  587.                                                 <td>";
  588.         // line 406
  589.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'406$this->source); })()), "brand", [], "any"falsefalsefalse406), "html"nulltrue);
  590.         echo "</td>
  591.                                                 </tr>
  592.                                                 <tr>
  593.                                                 <th scope=\"row\">SKU</th>
  594.                                                 <td>";
  595.         // line 410
  596.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'410$this->source); })()), "skuCode", [], "any"falsefalsefalse410), "html"nulltrue);
  597.         echo "</td>
  598.                                                 </tr>
  599.                                                 <tr>
  600.                                                 <th scope=\"row\">Poids (Kg)</th>
  601.                                                 <td>0.9 </td>
  602.                                                 </tr>
  603.                                                 
  604.                                                 
  605.                                                 
  606.                                                 
  607.                                             </tbody>
  608.                                             </table>
  609.                         </div>
  610.                         <div id=\"reviews\" class=\"tab-pane\" role=\"tabpanel\">
  611.                             <div class=\"product-reviews\">
  612.     <div class=\"container\">\t\t
  613. \t\t<div class=\"row\">
  614. \t\t\t<div class=\"col-sm-3\">
  615. \t\t\t\t<div class=\"rating-block\">
  616. \t\t\t\t\t<h4>AVIS </h4>
  617. \t\t\t\t\t<h2 class=\"bold padding-bottom-7\"> ";
  618.         // line 431
  619.         echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'431$this->source); })()), "rating", [], "any"falsefalsefalse431), 1"."","), "html"nulltrue);
  620.         echo " <small>/ 5</small></h2>
  621. \t\t\t\t\t
  622.                    ";
  623.         // line 434
  624.         if ((twig_number_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'434$this->source); })()), "rating", [], "any"falsefalsefalse434), 1"."",") > 0)) {
  625.             // line 435
  626.             echo "                     ";
  627.             $context['_parent'] = $context;
  628.             $context['_seq'] = twig_ensure_traversable(range(1twig_number_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'435$this->source); })()), "rating", [], "any"falsefalsefalse435))));
  629.             foreach ($context['_seq'] as $context["_key"] => $context["stars"]) {
  630.                 // line 436
  631.                 echo "
  632.                       <button type=\"button\" class=\"btn btn-warning btn-sm\" aria-label=\"Left Align\">
  633. \t\t\t\t\t  <i class=\"fa fa-star\"></i>
  634. \t\t\t\t\t    </button>  
  635.                          ";
  636.             }
  637.             $_parent $context['_parent'];
  638.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['stars'], $context['_parent'], $context['loop']);
  639.             $context array_intersect_key($context$_parent) + $_parent;
  640.             // line 441
  641.             echo "
  642.                                               ";
  643.             // line 442
  644.             if ((twig_number_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'442$this->source); })()), "rating", [], "any"falsefalsefalse442)) < 5)) {
  645.                 // line 443
  646.                 echo "                                                ";
  647.                 $context['_parent'] = $context;
  648.                 $context['_seq'] = twig_ensure_traversable(range(twig_number_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'443$this->source); })()), "rating", [], "any"falsefalsefalse443)), 4));
  649.                 foreach ($context['_seq'] as $context["_key"] => $context["stars"]) {
  650.                     // line 444
  651.                     echo "                        <button type=\"button\" class=\"btn btn-default btn-grey btn-sm\" aria-label=\"Left Align\">
  652. \t\t\t\t\t  <i class=\"fa fa-star\"></i>
  653. \t\t\t\t\t</button>
  654.                                                 ";
  655.                 }
  656.                 $_parent $context['_parent'];
  657.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['stars'], $context['_parent'], $context['loop']);
  658.                 $context array_intersect_key($context$_parent) + $_parent;
  659.                 // line 448
  660.                 echo "                                            ";
  661.             }
  662.             // line 449
  663.             echo "                           ";
  664.         } else {
  665.             echo "  
  666.              <button type=\"button\" class=\"btn btn-default btn-grey btn-sm\" aria-label=\"Left Align\"> <i class=\"fa fa-star\"></i>\t</button>
  667.              <button type=\"button\" class=\"btn btn-default btn-grey btn-sm\" aria-label=\"Left Align\"> <i class=\"fa fa-star\"></i>\t</button>
  668.              <button type=\"button\" class=\"btn btn-default btn-grey btn-sm\" aria-label=\"Left Align\"> <i class=\"fa fa-star\"></i>\t</button>
  669.              <button type=\"button\" class=\"btn btn-default btn-grey btn-sm\" aria-label=\"Left Align\"> <i class=\"fa fa-star\"></i>\t</button>
  670.              <button type=\"button\" class=\"btn btn-default btn-grey btn-sm\" aria-label=\"Left Align\"> <i class=\"fa fa-star\"></i>\t</button>
  671.             
  672.                              ";
  673.         }
  674.         // line 457
  675.         echo "                 
  676.                     
  677. \t\t\t\t</div>
  678. \t\t\t</div>
  679. \t\t\t<div class=\"col-sm-3\">
  680. \t\t\t\t<h4> &nbsp;</h4>
  681. \t\t\t\t<div class=\"pull-left\">
  682. \t\t\t\t\t<div class=\"pull-left\" style=\"width:35px; line-height:1;\">
  683. \t\t\t\t\t\t<div style=\"height:9px; margin:5px 0;\">5   <i class=\"fa fa-star\"></i> </div>
  684. \t\t\t\t\t</div>
  685. \t\t\t\t\t<div class=\"pull-left\" style=\"width:180px;\">
  686. \t\t\t\t\t\t<div class=\"progress\" style=\"height:9px; margin:8px 0;\">
  687.                             ";
  688.         // line 470
  689.         $context["percentage"] = 0;
  690.         // line 471
  691.         echo "                            ";
  692.         if ((twig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'471$this->source); })()), "getStars5", [], "any"falsefalsefalse471) > 0)) {
  693.             // line 472
  694.             echo "                            ";
  695.             $context["percentage"] = ((twig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'472$this->source); })()), "getStars5", [], "any"falsefalsefalse472) / twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'472$this->source); })()), "comments", [], "any"falsefalsefalse472))) * 100);
  696.             // line 473
  697.             echo "                            ";
  698.         }
  699.         // line 474
  700.         echo "\t\t\t\t\t\t  <div class=\"progress-bar progress-bar-success\" role=\"progressbar\" aria-valuenow=\"5\" aria-valuemin=\"0\" aria-valuemax=\"5\" style=\"width: ";
  701.         echo twig_escape_filter($this->env, (isset($context["percentage"]) || array_key_exists("percentage"$context) ? $context["percentage"] : (function () { throw new RuntimeError('Variable "percentage" does not exist.'474$this->source); })()), "html"nulltrue);
  702.         echo "%\">
  703. \t\t\t\t\t\t\t<span class=\"sr-only\">80% Complete (danger)</span>
  704. \t\t\t\t\t\t  </div>
  705. \t\t\t\t\t\t</div>
  706. \t\t\t\t\t</div>
  707. \t\t\t\t\t<div class=\"pull-right\" style=\"margin-left:10px;\"> ";
  708.         // line 479
  709.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'479$this->source); })()), "getStars5", [], "any"falsefalsefalse479), "html"nulltrue);
  710.         echo "</div>
  711. \t\t\t\t</div>
  712. \t\t\t\t<div class=\"pull-left\">
  713. \t\t\t\t\t<div class=\"pull-left\" style=\"width:35px; line-height:1;\">
  714. \t\t\t\t\t\t<div style=\"height:9px; margin:5px 0;\">4  <i class=\"fa fa-star\"></i> </div>
  715. \t\t\t\t\t</div>
  716. \t\t\t\t\t<div class=\"pull-left\" style=\"width:180px;\">
  717. \t\t\t\t\t\t<div class=\"progress\" style=\"height:9px; margin:8px 0;\">
  718.                             ";
  719.         // line 487
  720.         $context["percentage"] = 0;
  721.         // line 488
  722.         echo "                            ";
  723.         if ((twig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'488$this->source); })()), "getStars4", [], "any"falsefalsefalse488) > 0)) {
  724.             // line 489
  725.             echo "                            ";
  726.             $context["percentage"] = ((twig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'489$this->source); })()), "getStars4", [], "any"falsefalsefalse489) / twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'489$this->source); })()), "comments", [], "any"falsefalsefalse489))) * 100);
  727.             // line 490
  728.             echo "                            ";
  729.         }
  730.         // line 491
  731.         echo "\t\t\t\t\t\t  <div class=\"progress-bar progress-bar-primary\" role=\"progressbar\" aria-valuenow=\"4\" aria-valuemin=\"0\" aria-valuemax=\"5\" style=\"width: ";
  732.         echo twig_escape_filter($this->env, (isset($context["percentage"]) || array_key_exists("percentage"$context) ? $context["percentage"] : (function () { throw new RuntimeError('Variable "percentage" does not exist.'491$this->source); })()), "html"nulltrue);
  733.         echo "%\">
  734. \t\t\t\t\t\t\t<span class=\"sr-only\">80% Complete (danger)</span>
  735. \t\t\t\t\t\t  </div>
  736. \t\t\t\t\t\t</div>
  737. \t\t\t\t\t</div>
  738. \t\t\t\t\t<div class=\"pull-right\" style=\"margin-left:10px;\">
  739.                         
  740.                         ";
  741.         // line 498
  742.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'498$this->source); })()), "getStars4", [], "any"falsefalsefalse498), "html"nulltrue);
  743.         echo "
  744.                         
  745.                         </div>
  746. \t\t\t\t</div>
  747. \t\t\t\t<div class=\"pull-left\">
  748. \t\t\t\t\t<div class=\"pull-left\" style=\"width:35px; line-height:1;\">
  749. \t\t\t\t\t\t<div style=\"height:9px; margin:5px 0;\">3  <i class=\"fa fa-star\"></i></div>
  750. \t\t\t\t\t</div>
  751. \t\t\t\t\t<div class=\"pull-left\" style=\"width:180px;\">
  752. \t\t\t\t\t\t<div class=\"progress\" style=\"height:9px; margin:8px 0;\">
  753.                             ";
  754.         // line 508
  755.         $context["percentage"] = 0;
  756.         // line 509
  757.         echo "                            ";
  758.         if ((twig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'509$this->source); })()), "getStars3", [], "any"falsefalsefalse509) > 0)) {
  759.             // line 510
  760.             echo "                            ";
  761.             $context["percentage"] = ((twig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'510$this->source); })()), "getStars3", [], "any"falsefalsefalse510) / twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'510$this->source); })()), "comments", [], "any"falsefalsefalse510))) * 100);
  762.             // line 511
  763.             echo "                            ";
  764.         }
  765.         // line 512
  766.         echo "\t\t\t\t\t\t  <div class=\"progress-bar progress-bar-info\" role=\"progressbar\" aria-valuenow=\"3\" aria-valuemin=\"0\" aria-valuemax=\"5\" style=\"width:";
  767.         echo twig_escape_filter($this->env, (isset($context["percentage"]) || array_key_exists("percentage"$context) ? $context["percentage"] : (function () { throw new RuntimeError('Variable "percentage" does not exist.'512$this->source); })()), "html"nulltrue);
  768.         echo "%\">
  769. \t\t\t\t\t\t\t<span class=\"sr-only\">80% Complete (danger)</span>
  770. \t\t\t\t\t\t  </div>
  771. \t\t\t\t\t\t</div>
  772. \t\t\t\t\t</div>
  773. \t\t\t\t\t<div class=\"pull-right\" style=\"margin-left:10px;\">";
  774.         // line 517
  775.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'517$this->source); })()), "getStars3", [], "any"falsefalsefalse517), "html"nulltrue);
  776.         echo "</div>
  777. \t\t\t\t</div>
  778. \t\t\t\t<div class=\"pull-left\">
  779. \t\t\t\t\t<div class=\"pull-left\" style=\"width:35px; line-height:1;\">
  780. \t\t\t\t\t\t<div style=\"height:9px; margin:5px 0;\">2  <i class=\"fa fa-star\"></i></div>
  781. \t\t\t\t\t</div>
  782. \t\t\t\t\t<div class=\"pull-left\" style=\"width:180px;\">
  783. \t\t\t\t\t\t<div class=\"progress\" style=\"height:9px; margin:8px 0;\">
  784.                             ";
  785.         // line 525
  786.         $context["percentage"] = 0;
  787.         // line 526
  788.         echo "                            ";
  789.         if ((twig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'526$this->source); })()), "getStars2", [], "any"falsefalsefalse526) > 0)) {
  790.             // line 527
  791.             echo "                            ";
  792.             $context["percentage"] = ((twig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'527$this->source); })()), "getStars2", [], "any"falsefalsefalse527) / twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'527$this->source); })()), "comments", [], "any"falsefalsefalse527))) * 100);
  793.             // line 528
  794.             echo "                            ";
  795.         }
  796.         // line 529
  797.         echo "\t\t\t\t\t\t  <div class=\"progress-bar progress-bar-warning\" role=\"progressbar\" aria-valuenow=\"2\" aria-valuemin=\"0\" aria-valuemax=\"5\" style=\"width: ";
  798.         echo twig_escape_filter($this->env, (isset($context["percentage"]) || array_key_exists("percentage"$context) ? $context["percentage"] : (function () { throw new RuntimeError('Variable "percentage" does not exist.'529$this->source); })()), "html"nulltrue);
  799.         echo "%\">
  800. \t\t\t\t\t\t\t<span class=\"sr-only\">80% Complete (danger)</span>
  801. \t\t\t\t\t\t  </div>
  802. \t\t\t\t\t\t</div>
  803. \t\t\t\t\t</div>
  804. \t\t\t\t\t<div class=\"pull-right\" style=\"margin-left:10px;\">";
  805.         // line 534
  806.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'534$this->source); })()), "getStars2", [], "any"falsefalsefalse534), "html"nulltrue);
  807.         echo "</div>
  808. \t\t\t\t</div>
  809. \t\t\t\t<div class=\"pull-left\">
  810. \t\t\t\t\t<div class=\"pull-left\" style=\"width:35px; line-height:1;\">
  811. \t\t\t\t\t\t<div style=\"height:9px; margin:5px 0;\">1  <i class=\"fa fa-star\"></i></div>
  812. \t\t\t\t\t</div>
  813. \t\t\t\t\t<div class=\"pull-left\" style=\"width:180px;\">
  814. \t\t\t\t\t\t<div class=\"progress\" style=\"height:9px; margin:8px 0;\">
  815.                             ";
  816.         // line 542
  817.         $context["percentage"] = 0;
  818.         // line 543
  819.         echo "                            ";
  820.         if ((twig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'543$this->source); })()), "getStars1", [], "any"falsefalsefalse543) > 0)) {
  821.             // line 544
  822.             echo "                            ";
  823.             $context["percentage"] = ((twig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'544$this->source); })()), "getStars1", [], "any"falsefalsefalse544) / twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'544$this->source); })()), "comments", [], "any"falsefalsefalse544))) * 100);
  824.             // line 545
  825.             echo "                            ";
  826.         }
  827.         // line 546
  828.         echo "\t\t\t\t\t\t  <div class=\"progress-bar progress-bar-danger\" role=\"progressbar\" aria-valuenow=\"1\" aria-valuemin=\"0\" aria-valuemax=\"5\" style=\"width: ";
  829.         echo twig_escape_filter($this->env, (isset($context["percentage"]) || array_key_exists("percentage"$context) ? $context["percentage"] : (function () { throw new RuntimeError('Variable "percentage" does not exist.'546$this->source); })()), "html"nulltrue);
  830.         echo "%\">
  831. \t\t\t\t\t\t\t<span class=\"sr-only\">80% Complete (danger)</span>
  832. \t\t\t\t\t\t  </div>
  833. \t\t\t\t\t\t</div>
  834. \t\t\t\t\t</div>
  835. \t\t\t\t\t<div class=\"pull-right\" style=\"margin-left:10px;\">";
  836.         // line 551
  837.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'551$this->source); })()), "getStars1", [], "any"falsefalsefalse551), "html"nulltrue);
  838.         echo "</div>
  839. \t\t\t\t</div>
  840. \t\t\t</div>\t\t\t
  841. \t\t</div>\t\t\t
  842. \t\t
  843. \t\t<div class=\"row\">
  844. \t\t\t<div class=\"col-sm-7\">
  845.                   
  846. \t\t\t\t<hr/>
  847. \t\t\t\t<div class=\"review-block\">
  848.                    ";
  849.         // line 561
  850.         $context['_parent'] = $context;
  851.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'561$this->source); })()), "comments", [], "any"falsefalsefalse561));
  852.         foreach ($context['_seq'] as $context["_key"] => $context["singleComment"]) {
  853.             // line 562
  854.             echo "\t\t\t\t\t<div class=\"row\">
  855. \t\t\t\t\t\t<div class=\"col-sm-3\">
  856. \t\t\t\t\t\t\t<img src=\"http://dummyimage.com/60x60/666/ffffff&text=No+Image\" class=\"img-rounded\">
  857. \t\t\t\t\t\t\t<div class=\"review-block-name\"><b> ";
  858.             // line 565
  859.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["singleComment"], "customer", [], "any"falsefalsefalse565), "lastName", [], "any"falsefalsefalse565), "html"nulltrue);
  860.             echo " ";
  861.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["singleComment"], "customer", [], "any"falsefalsefalse565), "firstName", [], "any"falsefalsefalse565), "html"nulltrue);
  862.             echo "</b></div>
  863. \t\t\t\t\t\t\t<div class=\"review-block-date\">";
  864.             // line 566
  865.             echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["singleComment"], "createdAt", [], "any"falsefalsefalse566), "Y-m-d H:i"), "html"nulltrue);
  866.             echo " </div>
  867. \t\t\t\t\t\t</div>
  868. \t\t\t\t\t\t<div class=\"col-sm-9\">
  869. \t\t\t\t\t\t\t<div class=\"review-block-rate\">
  870.                                    ";
  871.             // line 571
  872.             $context['_parent'] = $context;
  873.             $context['_seq'] = twig_ensure_traversable(range(1twig_get_attribute($this->env$this->source$context["singleComment"], "rating", [], "any"falsefalsefalse571)));
  874.             foreach ($context['_seq'] as $context["_key"] => $context["stars"]) {
  875.                 // line 572
  876.                 echo "                            \t<button type=\"button\" class=\"btn btn-warning btn-xs\" aria-label=\"Left Align\">
  877. \t\t\t\t\t\t\t\t  <i class=\"fa fa-star\"></i>
  878. \t\t\t\t\t\t\t\t</button>
  879.                    
  880.                                      ";
  881.             }
  882.             $_parent $context['_parent'];
  883.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['stars'], $context['_parent'], $context['loop']);
  884.             $context array_intersect_key($context$_parent) + $_parent;
  885.             // line 577
  886.             echo "\t\t\t\t\t\t\t
  887. \t\t\t\t\t\t\t\t    ";
  888.             // line 578
  889.             if ((twig_get_attribute($this->env$this->source$context["singleComment"], "rating", [], "any"falsefalsefalse578) < 5)) {
  890.                 // line 579
  891.                 echo "                                 ";
  892.                 $context['_parent'] = $context;
  893.                 $context['_seq'] = twig_ensure_traversable(range(twig_get_attribute($this->env$this->source$context["singleComment"], "rating", [], "any"falsefalsefalse579), 4));
  894.                 foreach ($context['_seq'] as $context["_key"] => $context["stars"]) {
  895.                     // line 580
  896.                     echo "\t\t\t\t\t\t\t\t<button type=\"button\" class=\"btn btn-default btn-grey btn-xs\" aria-label=\"Left Align\">
  897. \t\t\t\t\t\t\t\t  <i class=\"fa fa-star\"></i>
  898. \t\t\t\t\t\t\t\t</button>
  899.                                  ";
  900.                 }
  901.                 $_parent $context['_parent'];
  902.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['stars'], $context['_parent'], $context['loop']);
  903.                 $context array_intersect_key($context$_parent) + $_parent;
  904.                 // line 584
  905.                 echo "                                 ";
  906.             }
  907.             // line 585
  908.             echo "\t\t\t\t\t\t\t</div>
  909. \t\t\t\t\t\t\t<div class=\"review-block-title\">COMMENTAIRES</div>
  910. \t\t\t\t\t\t\t<div class=\"review-block-description\">";
  911.             // line 587
  912.             echo twig_get_attribute($this->env$this->source$context["singleComment"], "comment", [], "any"falsefalsefalse587);
  913.             echo "</div>
  914. \t\t\t\t\t\t</div>
  915. \t\t\t\t\t</div>
  916.                     
  917. \t\t\t\t\t<hr/>
  918.                      ";
  919.         }
  920.         $_parent $context['_parent'];
  921.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['singleComment'], $context['_parent'], $context['loop']);
  922.         $context array_intersect_key($context$_parent) + $_parent;
  923.         // line 593
  924.         echo "\t\t\t\t\t 
  925. \t\t\t\t</div>
  926. \t\t\t</div>
  927. \t\t</div>
  928. \t\t
  929.     </div> <!-- /container -->
  930.                                 <div class=\"product-details-comment-block\">
  931.                                        ";
  932.         // line 602
  933.         $context['_parent'] = $context;
  934.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'602$this->source); })()), "comments", [], "any"falsefalsefalse602));
  935.         foreach ($context['_seq'] as $context["_key"] => $context["singleComment"]) {
  936.             // line 603
  937.             echo "
  938.                                     
  939.                                         <!-- <div class=\"comment-details\">
  940.                                          <div class=\"comment-author-infos pt-25\">
  941.                                             <span>
  942.                                             ";
  943.             // line 608
  944.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["singleComment"], "customer", [], "any"falsefalsefalse608), "lastName", [], "any"falsefalsefalse608), "html"nulltrue);
  945.             echo " ";
  946.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["singleComment"], "customer", [], "any"falsefalsefalse608), "firstName", [], "any"falsefalsefalse608), "html"nulltrue);
  947.             echo "
  948.                                             <ul class=\"rating d-inline\">
  949.                                             ";
  950.             // line 610
  951.             $context['_parent'] = $context;
  952.             $context['_seq'] = twig_ensure_traversable(range(1twig_get_attribute($this->env$this->source$context["singleComment"], "rating", [], "any"falsefalsefalse610)));
  953.             foreach ($context['_seq'] as $context["_key"] => $context["stars"]) {
  954.                 // line 611
  955.                 echo "                                                <li><i class=\"fa fa-star\"></i></li>
  956.                                                 
  957.                                             ";
  958.             }
  959.             $_parent $context['_parent'];
  960.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['stars'], $context['_parent'], $context['loop']);
  961.             $context array_intersect_key($context$_parent) + $_parent;
  962.             // line 614
  963.             echo "
  964.                                             
  965.                                             ";
  966.             // line 617
  967.             if ((twig_get_attribute($this->env$this->source$context["singleComment"], "rating", [], "any"falsefalsefalse617) < 5)) {
  968.                 // line 618
  969.                 echo "                                                ";
  970.                 $context['_parent'] = $context;
  971.                 $context['_seq'] = twig_ensure_traversable(range(twig_get_attribute($this->env$this->source$context["singleComment"], "rating", [], "any"falsefalsefalse618), 4));
  972.                 foreach ($context['_seq'] as $context["_key"] => $context["stars"]) {
  973.                     // line 619
  974.                     echo "                                                    <li class=\"no-star\"><i class=\"fa fa-star\"></i></li>
  975.                                                 ";
  976.                 }
  977.                 $_parent $context['_parent'];
  978.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['stars'], $context['_parent'], $context['loop']);
  979.                 $context array_intersect_key($context$_parent) + $_parent;
  980.                 // line 621
  981.                 echo "                                            ";
  982.             }
  983.             // line 622
  984.             echo "
  985.                                             
  986.                                         </ul>
  987.                                             </span>
  988.                                             
  989.                                             <em>";
  990.             // line 627
  991.             echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["singleComment"], "createdAt", [], "any"falsefalsefalse627), "Y-m-d H:i"), "html"nulltrue);
  992.             echo "</em>
  993.                                         </div>
  994.                                             
  995.                                             <p>";
  996.             // line 630
  997.             echo twig_get_attribute($this->env$this->source$context["singleComment"], "comment", [], "any"falsefalsefalse630);
  998.             echo "</p>
  999.                                         </div>
  1000.                                         <hr style=\"margin:0;\">-->
  1001.                                     ";
  1002.         }
  1003.         $_parent $context['_parent'];
  1004.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['singleComment'], $context['_parent'], $context['loop']);
  1005.         $context array_intersect_key($context$_parent) + $_parent;
  1006.         // line 634
  1007.         echo "
  1008.                                     ";
  1009.         // line 635
  1010.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_CUSTOMER")) {
  1011.             // line 636
  1012.             echo "
  1013.                                     <div class=\"review-btn\">
  1014.                                         <a class=\"review-links\" href=\"#\" data-toggle=\"modal\" data-target=\"#mymodal\">Ajouter un commentaire!</a>
  1015.                                     </div>
  1016.                                     
  1017.                                     <!-- Begin PrĂ©visualiser | Modal Area -->
  1018.                                     <div class=\"modal fade modal-wrapper\" id=\"mymodal\" >
  1019.                                         <div class=\"modal-dialog modal-dialog-centered\" role=\"document\">
  1020.                                             <div class=\"modal-content\">
  1021.                                                 <div class=\"modal-body\">
  1022.                                                     <h3 class=\"review-page-title\">Ajouter un commentaire</h3>
  1023.                                                     <div class=\"modal-inner-area row\">
  1024.                                                         <div class=\"col-lg-6\">
  1025.                                                            <div class=\"li-review-product\">
  1026.                                                                <img width=\"200px\" src=\"/uploads/";
  1027.             // line 650
  1028.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'650$this->source); })()), "image", [], "any"falsefalsefalse650)), "html"nulltrue);
  1029.             echo "\" alt=\"Li's Product\">
  1030.                                                                <div class=\"li-review-product-desc\">
  1031.                                                                    <p class=\"li-product-name\">";
  1032.             // line 652
  1033.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'652$this->source); })()), "name", [], "any"falsefalsefalse652), "html"nulltrue);
  1034.             echo "</p>
  1035.                                                                    <p>
  1036.                                                                        <span>";
  1037.             // line 654
  1038.             echo twig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'654$this->source); })()), "shortDescription", [], "any"falsefalsefalse654);
  1039.             echo "</span>
  1040.                                                                    </p>
  1041.                                                                </div>
  1042.                                                            </div>
  1043.                                                         </div>
  1044.                                                         <div class=\"col-lg-6\">
  1045.                                                             <div class=\"li-review-content\">
  1046.                                                                 <!-- Begin Feedback Area -->
  1047.                                                                 <div class=\"feedback-area\">
  1048.                                                                     <div class=\"feedback\">
  1049.                                                                         <h3 class=\"feedback-title\">Votre avis</h3>
  1050.                                                                         <form action=\"";
  1051.             // line 665
  1052.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("comment_product", ["id" => twig_get_attribute($this->env$this->source, (isset($context["singleOffer"]) || array_key_exists("singleOffer"$context) ? $context["singleOffer"] : (function () { throw new RuntimeError('Variable "singleOffer" does not exist.'665$this->source); })()), "id", [], "any"falsefalsefalse665)]), "html"nulltrue);
  1053.             echo "\" method=\"POST\">
  1054.                                                                             <p class=\"your-opinion\">
  1055.                                                                                 <label>Evaluer le produit</label>
  1056.                                                                                 <span>
  1057.                                                                                     <select name=\"rating\" class=\"star-rating\">
  1058.                                                                                       <option value=\"1\">1</option>
  1059.                                                                                       <option value=\"2\">2</option>
  1060.                                                                                       <option value=\"3\">3</option>
  1061.                                                                                       <option value=\"4\">4</option>
  1062.                                                                                       <option value=\"5\">5</option>
  1063.                                                                                     </select>
  1064.                                                                                 </span>
  1065.                                                                             </p>
  1066.                                                                             <p class=\"feedback-form\">
  1067.                                                                                 <label for=\"feedback\">Votre commentaire</label>
  1068.                                                                                 <textarea id=\"feedback\" name=\"comment\" cols=\"45\" rows=\"8\" aria-required=\"true\"></textarea>
  1069.                                                                             </p>
  1070.                                                                             <div class=\"feedback-input\">
  1071.                                                                               
  1072.                                                                                 
  1073.                                                                                 <div class=\"feedback-btn pb-15\">
  1074.                                                                                     <a href=\"#\" class=\"close register-button d-none\" data-dismiss=\"modal\" aria-label=\"Close\">Close</a>
  1075.                                                                                     <button class=\"register-button\" type=\"submit\">Envoyer</button>
  1076.                                                                                 </div>
  1077.                                                                             </div>
  1078.                                                                         </form>
  1079.                                                                     </div>
  1080.                                                                 </div>
  1081.                                                                 <!-- Feedback Area End Here -->
  1082.                                                             </div>
  1083.                                                         </div>
  1084.                                                     </div>
  1085.                                                 </div>
  1086.                                             </div>
  1087.                                         </div>
  1088.                                     </div>   
  1089.                                     <!-- PrĂ©visualiser | Modal Area End Here -->
  1090.                                     ";
  1091.         }
  1092.         // line 705
  1093.         echo "                                </div>
  1094.                             </div>
  1095.                         </div>
  1096.                     </div>
  1097.                 </div>
  1098.             </div>
  1099.             <!-- Product Area End Here -->
  1100.             <!-- Begin Li's PC Portable Product Area -->
  1101.             <section class=\"product-area li-laptop-product pt-30 pb-50\">
  1102.                  ";
  1103.         // line 742
  1104.         echo "                        </div>
  1105.                         <!-- Li's Section Area End Here -->
  1106.                     </div>
  1107.                 </div>
  1108.             </section>  
  1109.             <!-- Li's PC Portable Product Area End Here -->
  1110.             <!-- Begin Footer Area -->
  1111.          
  1112. </div>
  1113. ";
  1114.         
  1115.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1116.         
  1117.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1118.     }
  1119.     // line 755
  1120.     public function block_javascripts($context, array $blocks = [])
  1121.     {
  1122.         $macros $this->macros;
  1123.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1124.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  1125.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1126.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  1127.         // line 756
  1128.         $this->displayParentBlock("javascripts"$context$blocks);
  1129.         echo "
  1130. <script>
  1131. \$(document).ready(function(){
  1132.                     \$.ajax({
  1133.                         url: \"";
  1134.         // line 761
  1135.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("departements_ajax");
  1136.         echo "\",
  1137.                         data:{
  1138.                             city:\$(\"select[name='city']\").val()
  1139.                         },
  1140.                         success:function(data){
  1141.                             
  1142.                             \$(\"select[name='departement']\").html(data);
  1143.                         },
  1144.                     });
  1145.                     \$(\"select[name='city'\").change(function(){
  1146.                     \$.ajax({
  1147.                         url: \"";
  1148.         // line 773
  1149.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("departements_ajax");
  1150.         echo "\",
  1151.                         data:{
  1152.                             city:\$(this).val()
  1153.                         },
  1154.                         success:function(data){
  1155.                             
  1156.                             \$(\"select[name='departement']\").html(data);
  1157.                         },
  1158.                     });
  1159.                     });
  1160.           \$(\"#showcomments\").click(function(){
  1161.                
  1162.                \$(\"#comments\").addClass(\"active show\");
  1163.                \$(\"#reviews\").addClass(\"active show\");
  1164.                \$(\"#description_technique\").removeClass(\"active show\");
  1165.                \$(\"#product-details\").removeClass(\"active show\");
  1166.                 \$(\"#description_pro\").removeClass(\"active show\");
  1167.                 \$(\"#description\").removeClass(\"active show\");
  1168.                 
  1169.      });
  1170. (function () {
  1171.   const second = 1000,
  1172.         minute = second * 60,
  1173.         hour = minute * 60,
  1174.         day = hour * 24;
  1175.   //I'm adding this section so I don't have to keep updating this pen every year :-)
  1176.   //remove this if you don't need it
  1177.   let today = new Date(),
  1178.    
  1179.     
  1180.       dd = String(today.getDate()).padStart(2, \"0\"),
  1181.       mm = String(today.getMonth() + 1).padStart(2, \"0\"),
  1182.       yyyy = today.getFullYear(),
  1183.       nextYear = yyyy + 1,
  1184.       dayMonth = \"09/30/\", 
  1185.       birthday = dayMonth + yyyy;
  1186.   
  1187.   today = mm + \"/\" + dd + \"/\" + yyyy;
  1188.   if (today > birthday) {
  1189.     birthday = dayMonth + nextYear;
  1190.   }
  1191.   //end
  1192.   
  1193.   const countDown = new Date(birthday).getTime(),
  1194.       x = setInterval(function() {    
  1195.         const now = new Date().getTime(),
  1196.               distance = countDown - now;
  1197.           document.getElementById(\"days\").innerText = Math.floor(distance / (day)),
  1198.           document.getElementById(\"hours\").innerText = Math.floor((distance % (day)) / (hour)),
  1199.           document.getElementById(\"minutes\").innerText = Math.floor((distance % (hour)) / (minute)),
  1200.           document.getElementById(\"seconds\").innerText = Math.floor((distance % (minute)) / second);
  1201.         
  1202.       }, 0)
  1203.   }());
  1204.         });
  1205. </script>
  1206. ";
  1207.         
  1208.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1209.         
  1210.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1211.     }
  1212.     public function getTemplateName()
  1213.     {
  1214.         return "@Flexy\\FrontBundle/templates/booking/singleOffer/singleOffer.html.twig";
  1215.     }
  1216.     public function isTraitable()
  1217.     {
  1218.         return false;
  1219.     }
  1220.     public function getDebugInfo()
  1221.     {
  1222.         return array (  1233 => 773,  1218 => 761,  1210 => 756,  1200 => 755,  1179 => 742,  1168 => 705,  1125 => 665,  1111 => 654,  1106 => 652,  1101 => 650,  1085 => 636,  1083 => 635,  1080 => 634,  1070 => 630,  1064 => 627,  1057 => 622,  1054 => 621,  1047 => 619,  1042 => 618,  1040 => 617,  1035 => 614,  1027 => 611,  1023 => 610,  1016 => 608,  1009 => 603,  1005 => 602,  994 => 593,  982 => 587,  978 => 585,  975 => 584,  966 => 580,  961 => 579,  959 => 578,  956 => 577,  946 => 572,  942 => 571,  934 => 566,  928 => 565,  923 => 562,  919 => 561,  906 => 551,  897 => 546,  894 => 545,  891 => 544,  888 => 543,  886 => 542,  875 => 534,  866 => 529,  863 => 528,  860 => 527,  857 => 526,  855 => 525,  844 => 517,  835 => 512,  832 => 511,  829 => 510,  826 => 509,  824 => 508,  811 => 498,  800 => 491,  797 => 490,  794 => 489,  791 => 488,  789 => 487,  778 => 479,  769 => 474,  766 => 473,  763 => 472,  760 => 471,  758 => 470,  743 => 457,  730 => 449,  727 => 448,  718 => 444,  713 => 443,  711 => 442,  708 => 441,  698 => 436,  693 => 435,  691 => 434,  685 => 431,  661 => 410,  654 => 406,  647 => 402,  634 => 392,  603 => 363,  576 => 339,  572 => 337,  570 => 336,  510 => 297,  482 => 271,  438 => 229,  436 => 228,  371 => 185,  366 => 174,  351 => 153,  343 => 147,  335 => 141,  331 => 139,  328 => 138,  321 => 136,  316 => 135,  313 => 134,  305 => 131,  300 => 130,  298 => 129,  291 => 125,  279 => 116,  273 => 112,  268 => 105,  262 => 103,  260 => 102,  256 => 101,  252 => 99,  246 => 97,  244 => 96,  226 => 91,  217 => 85,  205 => 75,  194 => 73,  190 => 72,  184 => 71,  173 => 62,  161 => 58,  157 => 57,  154 => 56,  150 => 55,  141 => 51,  137 => 50,  112 => 29,  101 => 26,  98 => 25,  94 => 24,  89 => 22,  69 => 4,  59 => 3,  36 => 1,);
  1223.     }
  1224.     public function getSourceContext()
  1225.     {
  1226.         return new Source("{% extends '@Flexy/FrontBundle/templates/booking/layout.html.twig' %}
  1227. {% block body %}
  1228. <style>
  1229. .countersection .count{
  1230.     padding:10px !important;
  1231.     font-size:18px;
  1232. }
  1233. </style>
  1234.  <div class=\"body-wrapper\">
  1235.             <!-- Begin Header Area -->
  1236.             <!-- Header Area End Here -->
  1237.             <!-- Begin Li's Breadcrumb Area -->
  1238.             <div class=\"breadcrumb-area menu-item\">
  1239.                 <div class=\"container simple-container\">
  1240.                     <div class=\"breadcrumb-content\">
  1241.                         <ul>
  1242.                             <li><a href=\"{{path('front_home')}}\">Accueil</a></li>
  1243.                             {% for category in singleOffer.categoriesProduct %}
  1244.                             <li ><a href=\"{{path('single_category_product',{id:category.id})}}\">{{category}}</a></li>
  1245.                             {% endfor %}
  1246.                             <li class=\"active\">{{singleOffer.name}}</li>
  1247.                             
  1248.                         </ul>
  1249.                     </div>
  1250.                 </div>
  1251.             </div>
  1252.             <!-- Li's Breadcrumb Area End Here -->
  1253.             <!-- content-wraper start -->
  1254.             <div class=\"content-wraper\">
  1255.                 <div class=\"container\">
  1256.                     <div class=\"row single-product-area\">
  1257.                         <div class=\"col-lg-8 col-md-5\">
  1258.                            <!-- Details de produit Left -->
  1259.                             <div class=\"product-details-left sp-tab-style-left-page\">
  1260.                                 <div class=\"product-details-images slider-navigation-1\">
  1261.                                     <div class=\"lg-image menu-item\">
  1262.                                         <a class=\"popup-img venobox vbox-item\" href=\"/uploads/{{asset(singleOffer.image)}}\" data-gall=\"myGallery\">
  1263.                                             <img  src=\"/uploads/{{asset(singleOffer.image)}}\" alt=\"{{singleOffer.name}}\">
  1264.                                         </a>
  1265.                                     </div>
  1266.                                     {% for image in singleOffer.images %}
  1267.                                     <div class=\"lg-image  menu-item\">
  1268.                                         <a class=\"popup-img venobox vbox-item\" href=\"/uploads/images/products{{asset(image.path)}}\" data-gall=\"myGallery\">
  1269.                                             <img  src=\"/uploads/images/products{{asset(image.path)}}\" alt=\"{{image.alt}}\">
  1270.                                         </a>
  1271.                                     </div>
  1272.                                     {% endfor %}
  1273.                                     
  1274.                                 </div>
  1275.                                 <div class=\"tab-style-left\">
  1276.                                     <div class=\"sm-image\"><img  src=\"/uploads/{{asset(singleOffer.image)}}\" alt=\"{{singleOffer.name}}\"></div>
  1277.                                     {% for image in singleOffer.images %}
  1278.                                         <div class=\"sm-image\"><img  src=\"/uploads/images/products{{asset(image.path)}}\" alt=\"{{image.alt}}\"></div>
  1279.                                     {% endfor %}
  1280.                                 
  1281.                                 </div>
  1282.                             </div>
  1283.                             <!--// Details de produit Left -->
  1284.                         </div>
  1285.                         <div class=\"col-lg-4 col-md-5\">
  1286.                             <div class=\"product-details-view-content pt-60\">
  1287.                                 <div class=\"product-info\">
  1288.                                     
  1289.                                     <h2>{{singleOffer.name}}</h2>
  1290.                                    
  1291.                                     <p class=\"sell-by\">
  1292.                                     
  1293.                                     {% if singleOffer.brand %} Marque: <a href=\"#\">{{singleOffer.brand}}</a>{% endif %}  {% if singleOffer.vendor %} / <a href=\"#\"> Par {{singleOffer.vendor}} </a>{% endif %}</span>
  1294.                                     
  1295.                                     
  1296.                                     
  1297.                                     </p>
  1298.                                     {% if singleOffer.skuCode %}
  1299.                                     <span class=\"product-details-ref d-none\">Reference: {{singleOffer.skuCode}}</span>
  1300.                                     {% endif %}
  1301.                                    
  1302.                                     <div class=\"price-box pt-20\">
  1303.                                         <span class=\"new-price new-price-2\">MAD {{singleOffer.formattedPrice}}</span>
  1304.                                         {% if singleOffer.oldPrice or singleOffer.oldPrice > 0 %}
  1305.                                         <span class=\"old-price\">MAD {{singleOffer.oldPrice / 100}}</span>
  1306.                                         {% endif %}
  1307.                                     </div>
  1308.                                      
  1309.                                                {#<div class=\"countersection\">
  1310.                                                         <div data-endat=\"{{singleOffer.endAt|date(\"Y/m/d\")}}\" class=\"li-countdown\"></div>
  1311.                                                            
  1312.                                                     </div>#}
  1313.                                     
  1314.                                     <div style=\"margin-top:15px;\" class=\"product-desc\">
  1315.                                         <p>
  1316.                                             <span>
  1317.                                             {{singleOffer.shortDescription|raw}}
  1318.                                             </span>
  1319.                                         </p>
  1320.                                     </div>
  1321.                                                 
  1322.                                      <div class=\"rating-box pt-20\">
  1323.                                      <h5>Rating : {{singleOffer.rating|number_format(1, '.', ',')}}/5</h5>
  1324.                                       
  1325.                                            
  1326.                                         <ul class=\"rating rating-with-review-item\">
  1327.                                              {% if  singleOffer.rating > 0 %}
  1328.                                            {% for stars in 1..singleOffer.rating|number_format %}
  1329.                                              <li><i class=\"fa fa-star\"></i></li>
  1330.                                                 
  1331.                                             {% endfor %}
  1332.                                               {% if singleOffer.rating|number_format < 5 %}
  1333.                                                 {% for stars in singleOffer.rating|number_format..4 %}
  1334.                                                     <li class=\"no-star\"><i class=\"fa fa-star\"></i></li>
  1335.                                                 {% endfor %}
  1336.                                             {% endif %}
  1337.                                               {% else %}
  1338.                                                   <li class=\"no-star\"><i class=\"fa fa-star\"></i></li>
  1339.                                                     <li class=\"no-star\"><i class=\"fa fa-star\"></i></li>
  1340.                                                       <li class=\"no-star\"><i class=\"fa fa-star\"></i></li>
  1341.                                                         <li class=\"no-star\"><i class=\"fa fa-star\"></i></li>
  1342.                                                           <li class=\"no-star\"><i class=\"fa fa-star\"></i></li>
  1343.                                                 {% endif %}
  1344.                                                             
  1345.                                    
  1346.                                  
  1347.                                             
  1348.                                            
  1349.                                 
  1350.                                             <li class=\"menu-item\" ><a href=\"#reviews\" id=\"showcomments\">   Avis ({{ singleOffer.comments|length }}) <i class=\"fa fa-comments\" ></i> </a></li>
  1351.                                 
  1352.                                         </ul>
  1353.                                     </div>
  1354.                                     
  1355.                                     
  1356.                                    
  1357.                                     
  1358.                                    {#<div class=\"single-add-to-cart\">
  1359.                                         <form action=\"#\" class=\"cart-quantity d-none\">
  1360.                                             
  1361.                                             <button  data-type=\"{{singleOffer.productType}}\"  data-limitedamount=\"{{singleOffer.vendor.limitedAmount}}\" data-weight=\"{{singleOffer.weight}}\"  data-collecte=\"{{singleOffer.vendor.addressCollecte}}\"  data-vendor=\"{{singleOffer.vendor.id}}\"   data-id=\"{{singleOffer.id}}\"  data-name=\"{{singleOffer.name}}\" data-image=\"uploads/{{asset(singleOffer.image)}}\" data-price=\"{{singleOffer.formattedPrice}}\"  data-url=\"{{path('single_product',{id:singleOffer.id}) }}\"  class=\"add-cart add-to-cart active \" >RĂ©server</button>
  1362.                                         </form>
  1363.                                          <a class=\"review-links add-cart add-to-cart mt-3\" style=\"c\" href=\"#\" data-toggle=\"modal\" data-target=\"#book-modal\">RĂ©server maintenant</a>
  1364.                                     </div>#}
  1365.                                      <div class=\"single-add-to-cart\">
  1366.                                         <form action=\"#\" class=\"cart-quantity\">
  1367.                                            {# <div class=\"quantity\">
  1368.                                                 <label>QuantitĂ©</label>
  1369.                                                 <div class=\"cart-plus-minus\">
  1370.                                                     <input class=\"cart-plus-minus-box\" value=\"1\" type=\"text\">
  1371.                                                     <div class=\"dec qtybutton\"><i class=\"fa fa-angle-down\"></i></div>
  1372.                                                     <div class=\"inc qtybutton\"><i class=\"fa fa-angle-up\"></i></div>
  1373.                                                 </div>
  1374.                                             </div>#}
  1375.                                      <button   data-type=\"{{singleOffer.productType}}\"  data-limitedamount=\"{{singleOffer.vendor.limitedAmount}}\" data-weight=\"{{singleOffer.weight}}\"    data-collecte=\"{{singleOffer.vendor.addressCollecte}}\" data-vendor=\"{{singleOffer.vendor.id}}\" data-id=\"{{singleOffer.id}}\"  data-name=\"{{singleOffer.name}}\" data-image=\"uploads/{{asset(singleOffer.image)}}\" data-price=\"{{singleOffer.formattedPrice}}\"  data-url=\"{{path('single_product',{id:singleOffer.id}) }}\"  class=\"add-cart add-to-cart active add-product-to-cart\" >Ajouter au panier</button>
  1376.                                         
  1377.                                         </form>
  1378.                                     </div>
  1379.                                     <div class=\"booking-form-modal\" >
  1380.                                     
  1381.                                     <!-- Begin PrĂ©visualiser | Modal Area -->
  1382.                                     <div class=\"modal fade modal-wrapper\" id=\"book-modal\" >
  1383.                                         <div class=\"modal-dialog modal-dialog-centered\" role=\"document\">
  1384.                                             <div class=\"modal-content\">
  1385.                                                 <div class=\"modal-body\">
  1386.                                                    
  1387.                                                      <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
  1388.                                             <span aria-hidden=\"true\">&times;</span>
  1389.                                             </button>
  1390.                                                     <div class=\"modal-inner-area row\">
  1391.                                                           
  1392.                                                         <div class=\"col-lg-12\">
  1393.                                                             <div class=\"li-review-content\">
  1394.                                                                 <!-- Begin Feedback Area -->
  1395.                                                                 <div class=\"feedback-area\">
  1396.                                                                     <div class=\"feedback\">
  1397.                                                                     
  1398.                                                                         
  1399.                                                                         
  1400.                                                                    
  1401.                                                                         
  1402.                                                                         <form action=\"#\" class=\"cart-quantity\">
  1403.                                                                             
  1404.                                                                             <div  class=\"quantity d-none\">
  1405.                                                                             <label>QuantitĂ©</label>
  1406.                                                                                 <div class=\"cart-plus-minus\">
  1407.                                                                                     <input class=\"cart-plus-minus-box\" value=\"1\" type=\"text\">
  1408.                                                                                     <div class=\"dec qtybutton\"><i class=\"fa fa-angle-down\"></i></div>
  1409.                                                                                     <div class=\"inc qtybutton\"><i class=\"fa fa-angle-up\"></i></div>
  1410.                                                                                 </div>
  1411.                                                                             </div>
  1412.                                                                             
  1413.                                                                             <div class=\"row\" >
  1414.                                                                                   {% if singleOffer.brand.id == 8 %}
  1415.                                                                                 <div class=\"col-6\" >
  1416.                                                                                         <p class=\"feedback-form\">
  1417.                                                                                         <label for=\"feedback\">Choisissez la date de depart</label>
  1418.                                                                                         <input type=\"datetime-local\"  name=\"date-start\" />
  1419.                                                                                         </p>
  1420.                                                                             
  1421.                                                                                 </div>
  1422.                                                                                 <div class=\"col-6\" >
  1423.                                                                                         <p class=\"feedback-form\">
  1424.                                                                                             <label for=\"feedback\">Choisissez la date d'arrivĂ©e</label>
  1425.                                                                                             <input type=\"datetime-local\"  name=\"date-end\" />
  1426.                                                                                         </p>
  1427.                                                                             
  1428.                                                                                 </div>
  1429.                                                                                 <div class=\"col-6\" >
  1430.                                                                                        <p class=\"feedback-form\">
  1431.                                                                                 <label for=\"feedback\">Nombre de personnes</label>
  1432.                                                                                 
  1433.                                                                                 <select  name=\"nbrPerson\">
  1434.                                                                                     <option>1</option>
  1435.                                                                                     <option>2</option>
  1436.                                                                                     <option>3</option>
  1437.                                                                                     <option>4</option>
  1438.                                                                                     <option>5</option>
  1439.                                                                                     <option>6</option>
  1440.                                                                                 </select>
  1441.                                                                             </p>
  1442.                                                                                 </div>
  1443.                                                                                 <div class=\"col-6\" >
  1444.                                                                                         <p class=\"feedback-form\">
  1445.                                                                                 <label for=\"feedback\">Nombre de chambre</label>
  1446.                                                                                 <select name=\"nbrRooms\">
  1447.                                                                                     <option>1</option>
  1448.                                                                                     <option>2</option>
  1449.                                                                                     <option>3</option>
  1450.                                                                                 </select>
  1451.                                                                             </p>
  1452.                                                                             
  1453.                                                                                 </div>
  1454.                                                                                  {% endif  %}
  1455.                                                                                 
  1456.                                                                                 <div class=\"col-12\" >
  1457.                                                                                     <p class=\"feedback-form\">
  1458.                                                                                         <label for=\"feedback\">Laissez nous une note (Facultatif)</label>
  1459.                                                                                         <textarea id=\"feedback\" name=\"comment\" cols=\"45\" rows=\"2\" aria-required=\"true\"></textarea>
  1460.                                                                                     </p>
  1461.                                                                                 </div>
  1462.                                                                             </div>
  1463.                                                                             
  1464.                                                                              
  1465.                                                                             
  1466.                                                                             
  1467.                                                                             <div class=\"feedback-input\">
  1468.                                                                               
  1469.                                                                                 
  1470.                                                                                 <div class=\"feedback-btn pb-15\">
  1471.                                                                                     <a href=\"#\" class=\"close register-button d-none\" data-dismiss=\"modal\" aria-label=\"Close\">Annuler</a>
  1472.                                                                                     
  1473.                                                                                     <button  data-limitedamount=\"{{singleOffer.vendor.limitedAmount}}\"   data-type=\"{{singleOffer.productType}}\"   data-weight=\"{{singleOffer.weight}}\"  data-id=\"{{singleOffer.id}}\" data-collecte=\"{{singleOffer.vendor.addressCollecte}}\" data-vendor=\"{{singleOffer.vendor.id}}\"  data-name=\"{{singleOffer.name}}\" data-image=\"uploads/{{asset(singleOffer.image)}}\" data-price=\"{{singleOffer.formattedPrice}}\"  data-url=\"{{path('single_offer',{id:singleOffer.id}) }}\"  class=\"add-cart add-to-cart active add-product-to-cart\" >RĂ©server</button>
  1474.                                                                                 </div>
  1475.                                                                             </div>
  1476.                                                                         </form>
  1477.                                                                     </div>
  1478.                                                                 </div>
  1479.                                                                 <!-- Feedback Area End Here -->
  1480.                                                             </div>
  1481.                                                         </div>
  1482.                                                     </div>
  1483.                                                 </div>
  1484.                                             </div>
  1485.                                         </div>
  1486.                                     </div>   
  1487.                                     <!-- PrĂ©visualiser | Modal Area End Here -->
  1488.                                     </div>
  1489.                                     <div class=\"menu-item product-additional-info pt-25\">
  1490.                                         <div class=\"product-social-sharing pt-25\">
  1491.                                             <ul>
  1492.                                                 <li class=\"facebook\"><a href=\"#\"><i class=\"fa fa-facebook\"></i>Facebook</a></li>
  1493.                                                 <li class=\"twitter\"><a href=\"#\"><i class=\"fa fa-twitter\"></i>Twitter</a></li>
  1494.                                                 <li class=\"google-plus\"><a href=\"#\"><i class=\"fa fa-google-plus\"></i>Google +</a></li>
  1495.                                                 <li class=\"instagram\"><a href=\"#\"><i class=\"fa fa-instagram\"></i>Instagram</a></li>
  1496.                                             </ul>
  1497.                                         </div>
  1498.                                     </div>
  1499.                                     
  1500.                                 </div>
  1501.                             </div>
  1502.                         </div> 
  1503.                      <!-- <div class=\"col-lg-3 col-md-3 \">
  1504.                                                             <div class=\"block-reassurance \">
  1505.                                             <div class=\"row \" > 
  1506.                                             {% if singleOffer.vendor %}
  1507.                                                 <div class=\"col-12 p-3 \" >
  1508.                                                         <div class=\"card actions p-3\">
  1509.                                                             <h5>Vendeur : <span class=\"badge badge-warning\" >{{singleOffer.vendor}}</span></h5>
  1510.                                                                 <div>
  1511.                                                                     <p>
  1512.                                                                     <small>
  1513.                                                                     100% Evaluation du vendeur<br>
  1514.                                                                     67 abonnĂ©s <br>
  1515.                                                                     </small>
  1516.                                                                     <h6>Performance vendeur</h6>
  1517.                                                                     <p>
  1518.                                                                     <span class=\"badge badge-success text-white\" ><i class=\"fa fa-star\" ></i></span> Expeditions : <span class=\"badge badge-success text-white\" >Excellent</span>
  1519.                                                                     <br>
  1520.                                                                     <span class=\"badge badge-success text-white\" ><i class=\"fa fa-star\" ></i></span> QualitĂ© : <span class=\"badge badge-warning text-white\" >Moyen</span>
  1521.                                                                     <br>
  1522.                                                                     <span class=\"badge badge-success text-white\" ><i class=\"fa fa-star\" ></i></span> Avis consommateurs : <span class=\"badge badge-warning text-white\" >Moyen</span>
  1523.                                                                     
  1524.                                                                     </p>
  1525.                                                                     </p>
  1526.                                                                 </div>
  1527.                                                    
  1528.                                                          </div>
  1529.                                                 </div>
  1530.                                                 {% endif %}
  1531.                                                     
  1532.                                                 </div>
  1533.                                         
  1534.                                     </div>
  1535.                         </div>-->
  1536.                     </div>
  1537.                 </div>
  1538.             </div>
  1539.             <!-- content-wraper end -->
  1540.             <!-- Begin Product Area -->
  1541.             <div class=\"product-area pt-35\">
  1542.                 <div class=\"container\">
  1543.                     <div class=\"row\">
  1544.                         <div class=\"col-lg-12\">
  1545.                             <div class=\"li-product-tab\">
  1546.                                 <ul class=\"nav li-product-menu\">
  1547.                                    <li><a class=\"active\" data-toggle=\"tab\" href=\"#description\" id=\"description_pro\"><span>Description</span></a></li>
  1548.                                   <!-- <li><a data-toggle=\"tab\" href=\"#product-details\" id=\"description_technique\"><span>Descriptif technique</span></a></li>-->
  1549.                                    <li><a data-toggle=\"tab\" href=\"#reviews\" id=\"comments\"><span>Avis</span></a></li>
  1550.                                 </ul>               
  1551.                             </div>
  1552.                             <!-- Begin Li's Tab Menu Content Area -->
  1553.                         </div>
  1554.                     </div>
  1555.                     <div class=\"tab-content\">
  1556.                         <div id=\"description\" class=\"tab-pane active show\" role=\"tabpanel\">
  1557.                             <div class=\"product-description\">
  1558.                                 <span>
  1559.                                     {{singleOffer.description|raw}}
  1560.                                 </span>
  1561.                             </div>
  1562.                         </div>
  1563.                         <div id=\"product-details\" class=\"tab-pane p-5\" role=\"tabpanel\">
  1564.                                 <table class=\"table table-sm  \">
  1565.                                             
  1566.                                             <tbody>
  1567.                                                 <tr>
  1568.                                                 <th scope=\"row\">Modele</th>
  1569.                                                 <td>MOD{{singleOffer.skuCode}}</td>
  1570.                                                 </tr>
  1571.                                                 <tr>
  1572.                                                 <th scope=\"row\">Marque</th>
  1573.                                                 <td>{{singleOffer.brand}}</td>
  1574.                                                 </tr>
  1575.                                                 <tr>
  1576.                                                 <th scope=\"row\">SKU</th>
  1577.                                                 <td>{{singleOffer.skuCode}}</td>
  1578.                                                 </tr>
  1579.                                                 <tr>
  1580.                                                 <th scope=\"row\">Poids (Kg)</th>
  1581.                                                 <td>0.9 </td>
  1582.                                                 </tr>
  1583.                                                 
  1584.                                                 
  1585.                                                 
  1586.                                                 
  1587.                                             </tbody>
  1588.                                             </table>
  1589.                         </div>
  1590.                         <div id=\"reviews\" class=\"tab-pane\" role=\"tabpanel\">
  1591.                             <div class=\"product-reviews\">
  1592.     <div class=\"container\">\t\t
  1593. \t\t<div class=\"row\">
  1594. \t\t\t<div class=\"col-sm-3\">
  1595. \t\t\t\t<div class=\"rating-block\">
  1596. \t\t\t\t\t<h4>AVIS </h4>
  1597. \t\t\t\t\t<h2 class=\"bold padding-bottom-7\"> {{singleOffer.rating|number_format(1, '.', ',')}} <small>/ 5</small></h2>
  1598. \t\t\t\t\t
  1599.                    {% if  singleOffer.rating|number_format(1, '.', ',') > 0 %}
  1600.                      {% for stars in 1..singleOffer.rating|number_format %}
  1601.                       <button type=\"button\" class=\"btn btn-warning btn-sm\" aria-label=\"Left Align\">
  1602. \t\t\t\t\t  <i class=\"fa fa-star\"></i>
  1603. \t\t\t\t\t    </button>  
  1604.                          {% endfor %}
  1605.                                               {% if singleOffer.rating|number_format < 5 %}
  1606.                                                 {% for stars in singleOffer.rating|number_format..4 %}
  1607.                         <button type=\"button\" class=\"btn btn-default btn-grey btn-sm\" aria-label=\"Left Align\">
  1608. \t\t\t\t\t  <i class=\"fa fa-star\"></i>
  1609. \t\t\t\t\t</button>
  1610.                                                 {% endfor %}
  1611.                                             {% endif %}
  1612.                            {% else %}  
  1613.              <button type=\"button\" class=\"btn btn-default btn-grey btn-sm\" aria-label=\"Left Align\"> <i class=\"fa fa-star\"></i>\t</button>
  1614.              <button type=\"button\" class=\"btn btn-default btn-grey btn-sm\" aria-label=\"Left Align\"> <i class=\"fa fa-star\"></i>\t</button>
  1615.              <button type=\"button\" class=\"btn btn-default btn-grey btn-sm\" aria-label=\"Left Align\"> <i class=\"fa fa-star\"></i>\t</button>
  1616.              <button type=\"button\" class=\"btn btn-default btn-grey btn-sm\" aria-label=\"Left Align\"> <i class=\"fa fa-star\"></i>\t</button>
  1617.              <button type=\"button\" class=\"btn btn-default btn-grey btn-sm\" aria-label=\"Left Align\"> <i class=\"fa fa-star\"></i>\t</button>
  1618.             
  1619.                              {% endif %}                 
  1620.                     
  1621. \t\t\t\t</div>
  1622. \t\t\t</div>
  1623. \t\t\t<div class=\"col-sm-3\">
  1624. \t\t\t\t<h4> &nbsp;</h4>
  1625. \t\t\t\t<div class=\"pull-left\">
  1626. \t\t\t\t\t<div class=\"pull-left\" style=\"width:35px; line-height:1;\">
  1627. \t\t\t\t\t\t<div style=\"height:9px; margin:5px 0;\">5   <i class=\"fa fa-star\"></i> </div>
  1628. \t\t\t\t\t</div>
  1629. \t\t\t\t\t<div class=\"pull-left\" style=\"width:180px;\">
  1630. \t\t\t\t\t\t<div class=\"progress\" style=\"height:9px; margin:8px 0;\">
  1631.                             {% set percentage = 0 %}
  1632.                             {% if singleOffer.getStars5 > 0 %}
  1633.                             {% set percentage = (singleOffer.getStars5 / singleOffer.comments|length ) * 100 %}
  1634.                             {% endif  %}
  1635. \t\t\t\t\t\t  <div class=\"progress-bar progress-bar-success\" role=\"progressbar\" aria-valuenow=\"5\" aria-valuemin=\"0\" aria-valuemax=\"5\" style=\"width: {{ percentage }}%\">
  1636. \t\t\t\t\t\t\t<span class=\"sr-only\">80% Complete (danger)</span>
  1637. \t\t\t\t\t\t  </div>
  1638. \t\t\t\t\t\t</div>
  1639. \t\t\t\t\t</div>
  1640. \t\t\t\t\t<div class=\"pull-right\" style=\"margin-left:10px;\"> {{singleOffer.getStars5}}</div>
  1641. \t\t\t\t</div>
  1642. \t\t\t\t<div class=\"pull-left\">
  1643. \t\t\t\t\t<div class=\"pull-left\" style=\"width:35px; line-height:1;\">
  1644. \t\t\t\t\t\t<div style=\"height:9px; margin:5px 0;\">4  <i class=\"fa fa-star\"></i> </div>
  1645. \t\t\t\t\t</div>
  1646. \t\t\t\t\t<div class=\"pull-left\" style=\"width:180px;\">
  1647. \t\t\t\t\t\t<div class=\"progress\" style=\"height:9px; margin:8px 0;\">
  1648.                             {% set percentage = 0 %}
  1649.                             {% if singleOffer.getStars4 > 0 %}
  1650.                             {% set percentage = (singleOffer.getStars4 / singleOffer.comments|length ) * 100 %}
  1651.                             {% endif  %}
  1652. \t\t\t\t\t\t  <div class=\"progress-bar progress-bar-primary\" role=\"progressbar\" aria-valuenow=\"4\" aria-valuemin=\"0\" aria-valuemax=\"5\" style=\"width: {{percentage}}%\">
  1653. \t\t\t\t\t\t\t<span class=\"sr-only\">80% Complete (danger)</span>
  1654. \t\t\t\t\t\t  </div>
  1655. \t\t\t\t\t\t</div>
  1656. \t\t\t\t\t</div>
  1657. \t\t\t\t\t<div class=\"pull-right\" style=\"margin-left:10px;\">
  1658.                         
  1659.                         {{singleOffer.getStars4}}
  1660.                         
  1661.                         </div>
  1662. \t\t\t\t</div>
  1663. \t\t\t\t<div class=\"pull-left\">
  1664. \t\t\t\t\t<div class=\"pull-left\" style=\"width:35px; line-height:1;\">
  1665. \t\t\t\t\t\t<div style=\"height:9px; margin:5px 0;\">3  <i class=\"fa fa-star\"></i></div>
  1666. \t\t\t\t\t</div>
  1667. \t\t\t\t\t<div class=\"pull-left\" style=\"width:180px;\">
  1668. \t\t\t\t\t\t<div class=\"progress\" style=\"height:9px; margin:8px 0;\">
  1669.                             {% set percentage = 0 %}
  1670.                             {% if singleOffer.getStars3 > 0 %}
  1671.                             {% set percentage = (singleOffer.getStars3 / singleOffer.comments|length ) * 100 %}
  1672.                             {% endif  %}
  1673. \t\t\t\t\t\t  <div class=\"progress-bar progress-bar-info\" role=\"progressbar\" aria-valuenow=\"3\" aria-valuemin=\"0\" aria-valuemax=\"5\" style=\"width:{{percentage}}%\">
  1674. \t\t\t\t\t\t\t<span class=\"sr-only\">80% Complete (danger)</span>
  1675. \t\t\t\t\t\t  </div>
  1676. \t\t\t\t\t\t</div>
  1677. \t\t\t\t\t</div>
  1678. \t\t\t\t\t<div class=\"pull-right\" style=\"margin-left:10px;\">{{singleOffer.getStars3}}</div>
  1679. \t\t\t\t</div>
  1680. \t\t\t\t<div class=\"pull-left\">
  1681. \t\t\t\t\t<div class=\"pull-left\" style=\"width:35px; line-height:1;\">
  1682. \t\t\t\t\t\t<div style=\"height:9px; margin:5px 0;\">2  <i class=\"fa fa-star\"></i></div>
  1683. \t\t\t\t\t</div>
  1684. \t\t\t\t\t<div class=\"pull-left\" style=\"width:180px;\">
  1685. \t\t\t\t\t\t<div class=\"progress\" style=\"height:9px; margin:8px 0;\">
  1686.                             {% set percentage = 0 %}
  1687.                             {% if singleOffer.getStars2 > 0 %}
  1688.                             {% set percentage = (singleOffer.getStars2 / singleOffer.comments|length ) * 100 %}
  1689.                             {% endif  %}
  1690. \t\t\t\t\t\t  <div class=\"progress-bar progress-bar-warning\" role=\"progressbar\" aria-valuenow=\"2\" aria-valuemin=\"0\" aria-valuemax=\"5\" style=\"width: {{percentage}}%\">
  1691. \t\t\t\t\t\t\t<span class=\"sr-only\">80% Complete (danger)</span>
  1692. \t\t\t\t\t\t  </div>
  1693. \t\t\t\t\t\t</div>
  1694. \t\t\t\t\t</div>
  1695. \t\t\t\t\t<div class=\"pull-right\" style=\"margin-left:10px;\">{{singleOffer.getStars2}}</div>
  1696. \t\t\t\t</div>
  1697. \t\t\t\t<div class=\"pull-left\">
  1698. \t\t\t\t\t<div class=\"pull-left\" style=\"width:35px; line-height:1;\">
  1699. \t\t\t\t\t\t<div style=\"height:9px; margin:5px 0;\">1  <i class=\"fa fa-star\"></i></div>
  1700. \t\t\t\t\t</div>
  1701. \t\t\t\t\t<div class=\"pull-left\" style=\"width:180px;\">
  1702. \t\t\t\t\t\t<div class=\"progress\" style=\"height:9px; margin:8px 0;\">
  1703.                             {% set percentage = 0 %}
  1704.                             {% if singleOffer.getStars1 > 0 %}
  1705.                             {% set percentage = (singleOffer.getStars1 / singleOffer.comments|length ) * 100 %}
  1706.                             {% endif  %}
  1707. \t\t\t\t\t\t  <div class=\"progress-bar progress-bar-danger\" role=\"progressbar\" aria-valuenow=\"1\" aria-valuemin=\"0\" aria-valuemax=\"5\" style=\"width: {{percentage}}%\">
  1708. \t\t\t\t\t\t\t<span class=\"sr-only\">80% Complete (danger)</span>
  1709. \t\t\t\t\t\t  </div>
  1710. \t\t\t\t\t\t</div>
  1711. \t\t\t\t\t</div>
  1712. \t\t\t\t\t<div class=\"pull-right\" style=\"margin-left:10px;\">{{singleOffer.getStars1}}</div>
  1713. \t\t\t\t</div>
  1714. \t\t\t</div>\t\t\t
  1715. \t\t</div>\t\t\t
  1716. \t\t
  1717. \t\t<div class=\"row\">
  1718. \t\t\t<div class=\"col-sm-7\">
  1719.                   
  1720. \t\t\t\t<hr/>
  1721. \t\t\t\t<div class=\"review-block\">
  1722.                    {% for singleComment in singleOffer.comments %}
  1723. \t\t\t\t\t<div class=\"row\">
  1724. \t\t\t\t\t\t<div class=\"col-sm-3\">
  1725. \t\t\t\t\t\t\t<img src=\"http://dummyimage.com/60x60/666/ffffff&text=No+Image\" class=\"img-rounded\">
  1726. \t\t\t\t\t\t\t<div class=\"review-block-name\"><b> {{singleComment.customer.lastName}} {{singleComment.customer.firstName}}</b></div>
  1727. \t\t\t\t\t\t\t<div class=\"review-block-date\">{{singleComment.createdAt|date(\"Y-m-d H:i\")}} </div>
  1728. \t\t\t\t\t\t</div>
  1729. \t\t\t\t\t\t<div class=\"col-sm-9\">
  1730. \t\t\t\t\t\t\t<div class=\"review-block-rate\">
  1731.                                    {% for stars in 1..singleComment.rating %}
  1732.                             \t<button type=\"button\" class=\"btn btn-warning btn-xs\" aria-label=\"Left Align\">
  1733. \t\t\t\t\t\t\t\t  <i class=\"fa fa-star\"></i>
  1734. \t\t\t\t\t\t\t\t</button>
  1735.                    
  1736.                                      {% endfor %}
  1737. \t\t\t\t\t\t\t
  1738. \t\t\t\t\t\t\t\t    {% if singleComment.rating < 5 %}
  1739.                                  {% for stars in singleComment.rating..4 %}
  1740. \t\t\t\t\t\t\t\t<button type=\"button\" class=\"btn btn-default btn-grey btn-xs\" aria-label=\"Left Align\">
  1741. \t\t\t\t\t\t\t\t  <i class=\"fa fa-star\"></i>
  1742. \t\t\t\t\t\t\t\t</button>
  1743.                                  {% endfor %}
  1744.                                  {% endif %}
  1745. \t\t\t\t\t\t\t</div>
  1746. \t\t\t\t\t\t\t<div class=\"review-block-title\">COMMENTAIRES</div>
  1747. \t\t\t\t\t\t\t<div class=\"review-block-description\">{{singleComment.comment|raw}}</div>
  1748. \t\t\t\t\t\t</div>
  1749. \t\t\t\t\t</div>
  1750.                     
  1751. \t\t\t\t\t<hr/>
  1752.                      {% endfor %}
  1753. \t\t\t\t\t 
  1754. \t\t\t\t</div>
  1755. \t\t\t</div>
  1756. \t\t</div>
  1757. \t\t
  1758.     </div> <!-- /container -->
  1759.                                 <div class=\"product-details-comment-block\">
  1760.                                        {% for singleComment in singleOffer.comments %}
  1761.                                     
  1762.                                         <!-- <div class=\"comment-details\">
  1763.                                          <div class=\"comment-author-infos pt-25\">
  1764.                                             <span>
  1765.                                             {{singleComment.customer.lastName}} {{singleComment.customer.firstName}}
  1766.                                             <ul class=\"rating d-inline\">
  1767.                                             {% for stars in 1..singleComment.rating %}
  1768.                                                 <li><i class=\"fa fa-star\"></i></li>
  1769.                                                 
  1770.                                             {% endfor %}
  1771.                                             
  1772.                                             {% if singleComment.rating < 5 %}
  1773.                                                 {% for stars in singleComment.rating..4 %}
  1774.                                                     <li class=\"no-star\"><i class=\"fa fa-star\"></i></li>
  1775.                                                 {% endfor %}
  1776.                                             {% endif %}
  1777.                                             
  1778.                                         </ul>
  1779.                                             </span>
  1780.                                             
  1781.                                             <em>{{singleComment.createdAt|date(\"Y-m-d H:i\")}}</em>
  1782.                                         </div>
  1783.                                             
  1784.                                             <p>{{singleComment.comment|raw}}</p>
  1785.                                         </div>
  1786.                                         <hr style=\"margin:0;\">-->
  1787.                                     {% endfor %}
  1788.                                     {% if is_granted(\"ROLE_CUSTOMER\") %}
  1789.                                     <div class=\"review-btn\">
  1790.                                         <a class=\"review-links\" href=\"#\" data-toggle=\"modal\" data-target=\"#mymodal\">Ajouter un commentaire!</a>
  1791.                                     </div>
  1792.                                     
  1793.                                     <!-- Begin PrĂ©visualiser | Modal Area -->
  1794.                                     <div class=\"modal fade modal-wrapper\" id=\"mymodal\" >
  1795.                                         <div class=\"modal-dialog modal-dialog-centered\" role=\"document\">
  1796.                                             <div class=\"modal-content\">
  1797.                                                 <div class=\"modal-body\">
  1798.                                                     <h3 class=\"review-page-title\">Ajouter un commentaire</h3>
  1799.                                                     <div class=\"modal-inner-area row\">
  1800.                                                         <div class=\"col-lg-6\">
  1801.                                                            <div class=\"li-review-product\">
  1802.                                                                <img width=\"200px\" src=\"/uploads/{{asset(singleOffer.image)}}\" alt=\"Li's Product\">
  1803.                                                                <div class=\"li-review-product-desc\">
  1804.                                                                    <p class=\"li-product-name\">{{singleOffer.name}}</p>
  1805.                                                                    <p>
  1806.                                                                        <span>{{singleOffer.shortDescription|raw}}</span>
  1807.                                                                    </p>
  1808.                                                                </div>
  1809.                                                            </div>
  1810.                                                         </div>
  1811.                                                         <div class=\"col-lg-6\">
  1812.                                                             <div class=\"li-review-content\">
  1813.                                                                 <!-- Begin Feedback Area -->
  1814.                                                                 <div class=\"feedback-area\">
  1815.                                                                     <div class=\"feedback\">
  1816.                                                                         <h3 class=\"feedback-title\">Votre avis</h3>
  1817.                                                                         <form action=\"{{path('comment_product',{id:singleOffer.id})}}\" method=\"POST\">
  1818.                                                                             <p class=\"your-opinion\">
  1819.                                                                                 <label>Evaluer le produit</label>
  1820.                                                                                 <span>
  1821.                                                                                     <select name=\"rating\" class=\"star-rating\">
  1822.                                                                                       <option value=\"1\">1</option>
  1823.                                                                                       <option value=\"2\">2</option>
  1824.                                                                                       <option value=\"3\">3</option>
  1825.                                                                                       <option value=\"4\">4</option>
  1826.                                                                                       <option value=\"5\">5</option>
  1827.                                                                                     </select>
  1828.                                                                                 </span>
  1829.                                                                             </p>
  1830.                                                                             <p class=\"feedback-form\">
  1831.                                                                                 <label for=\"feedback\">Votre commentaire</label>
  1832.                                                                                 <textarea id=\"feedback\" name=\"comment\" cols=\"45\" rows=\"8\" aria-required=\"true\"></textarea>
  1833.                                                                             </p>
  1834.                                                                             <div class=\"feedback-input\">
  1835.                                                                               
  1836.                                                                                 
  1837.                                                                                 <div class=\"feedback-btn pb-15\">
  1838.                                                                                     <a href=\"#\" class=\"close register-button d-none\" data-dismiss=\"modal\" aria-label=\"Close\">Close</a>
  1839.                                                                                     <button class=\"register-button\" type=\"submit\">Envoyer</button>
  1840.                                                                                 </div>
  1841.                                                                             </div>
  1842.                                                                         </form>
  1843.                                                                     </div>
  1844.                                                                 </div>
  1845.                                                                 <!-- Feedback Area End Here -->
  1846.                                                             </div>
  1847.                                                         </div>
  1848.                                                     </div>
  1849.                                                 </div>
  1850.                                             </div>
  1851.                                         </div>
  1852.                                     </div>   
  1853.                                     <!-- PrĂ©visualiser | Modal Area End Here -->
  1854.                                     {% endif  %}
  1855.                                 </div>
  1856.                             </div>
  1857.                         </div>
  1858.                     </div>
  1859.                 </div>
  1860.             </div>
  1861.             <!-- Product Area End Here -->
  1862.             <!-- Begin Li's PC Portable Product Area -->
  1863.             <section class=\"product-area li-laptop-product pt-30 pb-50\">
  1864.                  {# <div class=\"container\">
  1865.                     <div class=\"row\">
  1866.                         <!-- Begin Li's Section Area -->
  1867.                         <div class=\"col-lg-12\">
  1868.                             <div class=\"li-section-title\">
  1869.                                 <h2>
  1870.                                     <span>Produits en relation</span>
  1871.                                 </h2>
  1872.                             </div>
  1873.                             {#
  1874.                             <div class=\"row\">
  1875.                                 <div class=\"product-active owl-carousel\">
  1876.                                 
  1877.                                   {% for singleOffer in associatedProducts %}
  1878.                                         {% 
  1879.                                         include \"@Flexy/FrontBundle/templates/products/includes/_singleOffer.html.twig\" with
  1880.                                         {
  1881.                                             singleOffer:singleOffer,
  1882.                                         }
  1883.                                          %} 
  1884.                                 {% endfor %}
  1885.                                 </div>
  1886.                             </div>
  1887.                             #}
  1888.                         </div>
  1889.                         <!-- Li's Section Area End Here -->
  1890.                     </div>
  1891.                 </div>
  1892.             </section>  
  1893.             <!-- Li's PC Portable Product Area End Here -->
  1894.             <!-- Begin Footer Area -->
  1895.          
  1896. </div>
  1897. {% endblock %}
  1898. {% block javascripts %}
  1899. {{parent()}}
  1900. <script>
  1901. \$(document).ready(function(){
  1902.                     \$.ajax({
  1903.                         url: \"{{path('departements_ajax')}}\",
  1904.                         data:{
  1905.                             city:\$(\"select[name='city']\").val()
  1906.                         },
  1907.                         success:function(data){
  1908.                             
  1909.                             \$(\"select[name='departement']\").html(data);
  1910.                         },
  1911.                     });
  1912.                     \$(\"select[name='city'\").change(function(){
  1913.                     \$.ajax({
  1914.                         url: \"{{path('departements_ajax')}}\",
  1915.                         data:{
  1916.                             city:\$(this).val()
  1917.                         },
  1918.                         success:function(data){
  1919.                             
  1920.                             \$(\"select[name='departement']\").html(data);
  1921.                         },
  1922.                     });
  1923.                     });
  1924.           \$(\"#showcomments\").click(function(){
  1925.                
  1926.                \$(\"#comments\").addClass(\"active show\");
  1927.                \$(\"#reviews\").addClass(\"active show\");
  1928.                \$(\"#description_technique\").removeClass(\"active show\");
  1929.                \$(\"#product-details\").removeClass(\"active show\");
  1930.                 \$(\"#description_pro\").removeClass(\"active show\");
  1931.                 \$(\"#description\").removeClass(\"active show\");
  1932.                 
  1933.      });
  1934. (function () {
  1935.   const second = 1000,
  1936.         minute = second * 60,
  1937.         hour = minute * 60,
  1938.         day = hour * 24;
  1939.   //I'm adding this section so I don't have to keep updating this pen every year :-)
  1940.   //remove this if you don't need it
  1941.   let today = new Date(),
  1942.    
  1943.     
  1944.       dd = String(today.getDate()).padStart(2, \"0\"),
  1945.       mm = String(today.getMonth() + 1).padStart(2, \"0\"),
  1946.       yyyy = today.getFullYear(),
  1947.       nextYear = yyyy + 1,
  1948.       dayMonth = \"09/30/\", 
  1949.       birthday = dayMonth + yyyy;
  1950.   
  1951.   today = mm + \"/\" + dd + \"/\" + yyyy;
  1952.   if (today > birthday) {
  1953.     birthday = dayMonth + nextYear;
  1954.   }
  1955.   //end
  1956.   
  1957.   const countDown = new Date(birthday).getTime(),
  1958.       x = setInterval(function() {    
  1959.         const now = new Date().getTime(),
  1960.               distance = countDown - now;
  1961.           document.getElementById(\"days\").innerText = Math.floor(distance / (day)),
  1962.           document.getElementById(\"hours\").innerText = Math.floor((distance % (day)) / (hour)),
  1963.           document.getElementById(\"minutes\").innerText = Math.floor((distance % (hour)) / (minute)),
  1964.           document.getElementById(\"seconds\").innerText = Math.floor((distance % (minute)) / second);
  1965.         
  1966.       }, 0)
  1967.   }());
  1968.         });
  1969. </script>
  1970. {% endblock %}""@Flexy\\FrontBundle/templates/booking/singleOffer/singleOffer.html.twig""/home/gebcloud/public_html/saisimmo.gebanalysis.cloud/src/Flexy/FrontBundle/templates/booking/singleOffer/singleOffer.html.twig");
  1971.     }
  1972. }