var/cache/dev/twig/ac/ac5a9bb68d8d66e695bcdd52bacc8aee2173c35089736da7845c9192fb4f6e44.php line 51

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* front/company/single.html.twig */
  15. class __TwigTemplate_d794439d8d680eef3a28a1d4e5645778c21e1ffb9a27c9eb30f4b21de01d32d2 extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->blocks = [
  24.             'meta' => [$this'block_meta'],
  25.             'body' => [$this'block_body'],
  26.             'javascript' => [$this'block_javascript'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "base_front.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/company/single.html.twig"));
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/company/single.html.twig"));
  41.         $this->parent $this->loadTemplate("base_front.html.twig""front/company/single.html.twig"1);
  42.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  45.         
  46.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  47.     }
  48.     // line 3
  49.     public function block_meta($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta"));
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta"));
  56.         // line 4
  57.         yield "\t<title>Prestataire
  58. \t\t";
  59.         // line 5
  60.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'5$this->source); })()), "companyName", [], "any"falsefalsefalse5), "html"nulltrue);
  61.         yield "</title>
  62. \t<meta name=\"description\" content=\"Page du prestataire ";
  63.         // line 6
  64.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'6$this->source); })()), "companyName", [], "any"falsefalsefalse6), "html"nulltrue);
  65.         yield " présent dans la catégorie ";
  66.         $context['_parent'] = $context;
  67.         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'6$this->source); })()), "category", [], "any"falsefalsefalse6));
  68.         foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
  69.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["category"], "name", [], "any"falsefalsefalse6), "html"nulltrue);
  70.         }
  71.         $_parent $context['_parent'];
  72.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
  73.         $context array_intersect_key($context$_parent) + $_parent;
  74.         yield ". ";
  75.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["avis"]) || array_key_exists("avis"$context) ? $context["avis"] : (function () { throw new RuntimeError('Variable "avis" does not exist.'6$this->source); })())), "html"nulltrue);
  76.         yield " avis disponibles sur ce prestataire\">
  77. ";
  78.         
  79.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  80.         
  81.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  82.         return; yield '';
  83.     }
  84.     // line 9
  85.     public function block_body($context, array $blocks = [])
  86.     {
  87.         $macros $this->macros;
  88.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  89.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  90.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  91.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  92.         // line 10
  93.         yield "\t<style>
  94. \t\t.cont_avis{
  95. \t\t\twidth: 92%;
  96. \t\t\tmargin:auto;
  97. \t\t\tbox-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
  98. \t\t\tpadding-bottom: 40px;
  99. \t\t\tborder-radius: 0 0 20px 20px;
  100. \t\t\tmargin-top: -80px;
  101. \t\t}
  102. \t\t.img_profil_presta {
  103. \t\t\tfilter: drop-shadow(3px 3px 9px rgba(0, 0, 0, 0.25));
  104. \t\t\tborder-radius: 24px;
  105. \t\t\twidth: 160px;
  106. \t\t\theight: 160px;
  107. \t\t\tbackground-color: violet;
  108. \t\t\tobject-fit: cover;
  109. \t\t}
  110. \t\t.cont_notess {
  111. \t\t\tdisplay: flex;
  112. \t\t\tcolumn-gap: 40px;
  113. \t\t\tflex-direction: row;
  114. \t\t}
  115. \t\t";
  116.         // line 33
  117.         yield "\t\t.cont_img_comment {
  118. \t\t\tdisplay: flex;
  119. \t\t\tcolumn-gap: 10px;
  120. \t\t\tmargin-bottom: 10px;
  121. \t\t}
  122. \t\t.cont_img_comment img {
  123. \t\t\twidth: 100px;
  124. \t\t\theight: 100px;
  125. \t\t\tbox-shadow: 1px 1px 5px #0000005c;
  126. \t\t\tborder-radius: 20px;
  127. \t\t\tobject-fit: cover;
  128. \t\t}
  129. \t\t";
  130.         // line 46
  131.         yield "\t\t.user-meta {
  132. \t\t\tdisplay: flex;
  133. \t\t\tjustify-content: space-between;
  134. \t\t}
  135. \t</style>
  136. \t<!-- Modal -->
  137. \t<div class=\"modal fade\" id=\"exampleModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\" aria-hidden=\"true\">
  138. \t\t<div class=\"modal-dialog\" role=\"document\" style=\"max-width:50%\">
  139. \t\t\t<div class=\"modal-content\">
  140. \t\t\t\t<div class=\"modal-header\">
  141. \t\t\t\t\t<h5 class=\"modal-title\" id=\"exampleModalLabel\">Conditions de vente de l'entreprise
  142. \t\t\t\t\t\t";
  143.         // line 57
  144.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'57$this->source); })()), "companyName", [], "any"falsefalsefalse57), "html"nulltrue);
  145.         yield "</h5>
  146. \t\t\t\t\t<a href=\"#\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
  147. \t\t\t\t\t\t<span aria-hidden=\"true\">&times;</span>
  148. \t\t\t\t\t</a>
  149. \t\t\t\t</div>
  150. \t\t\t\t<div class=\"modal-body\">
  151. \t\t\t\t\t<p>";
  152.         // line 63
  153.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'63$this->source); })()), "conditionsVente", [], "any"falsefalsefalse63), "html"nulltrue);
  154.         yield "</p>
  155. \t\t\t\t</div>
  156. \t\t\t\t<div class=\"modal-footer\">
  157. \t\t\t\t\t<a href=\"#\" class=\"btn btn-secondary\" data-dismiss=\"modal\">Fermer</a>
  158. \t\t\t\t</div>
  159. \t\t\t</div>
  160. \t\t</div>
  161. \t</div>
  162. \t";
  163.         // line 73
  164.         yield "\t";
  165.         $context["isAbonnementPayed"] = false;
  166.         // line 74
  167.         yield "\t";
  168.         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'74$this->source); })()), "abonnements", [], "any"falsefalsefalse74), "count", [], "method"falsefalsefalse74) > 0)) {
  169.             // line 75
  170.             yield "\t\t";
  171.             if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'75$this->source); })()), "abonnements", [], "any"falsefalsefalse75), "last", [], "any"falsefalsefalse75), "isActive", [], "any"falsefalsefalse75)) {
  172.                 // line 76
  173.                 yield "\t\t\t";
  174.                 $context["isAbonnementPayed"] = true;
  175.                 // line 77
  176.                 yield "\t\t";
  177.             }
  178.             // line 78
  179.             yield "\t";
  180.         }
  181.         // line 79
  182.         yield "
  183. \t<div class=\"real-wedding-single-img\" style=\"background: url('/images/vacncance_blog.jpg')no-repeat center;background-size: cover;\">
  184. \t\t<div class=\"container\">
  185. \t\t\t<div class=\"row\">
  186. \t\t\t\t<div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12 text-center\">
  187. \t\t\t\t\t<div class=\"realwed-caption\">
  188. \t\t\t\t\t\t<h1 class=\"real-wedding-single-title\">";
  189.         // line 85
  190.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'85$this->source); })()), "companyName", [], "any"falsefalsefalse85), "html"nulltrue);
  191.         yield "</h1>
  192. \t\t\t\t\t\t<span class=\"real-wedding-place ml-4 text-white\">
  193. \t\t\t\t\t\t\t<i class=\"fas fa-map-marker-alt pr-2\"></i>
  194. \t\t\t\t\t\t\t";
  195.         // line 88
  196.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'88$this->source); })()), "city", [], "any"falsefalsefalse88), "html"nulltrue);
  197.         yield "</span>
  198. \t\t\t\t\t</div>
  199. \t\t\t\t</div>
  200. \t\t\t</div>
  201. \t\t</div>
  202. \t\t<!-- page caption -->
  203. \t\t";
  204.         // line 113
  205.         yield "\t\t<!-- page breadcrumb -->
  206. \t</div>
  207. \t";
  208.         // line 116
  209.         yield "\t<div class=\"cont_avis\">
  210. \t\t<div class=\"container\">
  211. \t\t\t";
  212.         // line 118
  213.         if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'118$this->source); })()), "image", [], "any"falsefalsefalse118) != null)) {
  214.             // line 119
  215.             yield "\t\t\t\t<img src=\"";
  216.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((Twig\Extension\CoreExtension::constant("App\\Services\\File::IMAGE_COMPANY_DIR") . CoreExtension::getAttribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'119$this->source); })()), "image", [], "any"falsefalsefalse119))), "html"nulltrue);
  217.             yield "\" class=\"img_profil_presta mb-3\" alt=\"\">
  218. \t\t\t";
  219.         } else {
  220.             // line 121
  221.             yield "\t\t\t\t<img src=\"";
  222.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/user-default.jpg"), "html"nulltrue);
  223.             yield "\" class=\"img_profil_presta mb-3\" alt=\"\">
  224. \t\t\t";
  225.         }
  226.         // line 123
  227.         yield "\t\t\t<h1>";
  228.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'123$this->source); })()), "companyName", [], "any"falsefalsefalse123), "html"nulltrue);
  229.         yield "</h1>
  230. \t\t\t";
  231.         // line 124
  232.         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'124$this->source); })()), "category", [], "any"falsefalsefalse124), "toArray", [], "method"falsefalsefalse124) != [])) {
  233.             // line 125
  234.             yield "\t\t\t<p>Prestataire de la catégorie :
  235. \t\t\t\t<strong>
  236. \t\t\t\t\t";
  237.             // line 127
  238.             $context['_parent'] = $context;
  239.             $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'127$this->source); })()), "category", [], "any"falsefalsefalse127));
  240.             $context['loop'] = [
  241.               'parent' => $context['_parent'],
  242.               'index0' => 0,
  243.               'index'  => 1,
  244.               'first'  => true,
  245.             ];
  246.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  247.                 $length count($context['_seq']);
  248.                 $context['loop']['revindex0'] = $length 1;
  249.                 $context['loop']['revindex'] = $length;
  250.                 $context['loop']['length'] = $length;
  251.                 $context['loop']['last'] = === $length;
  252.             }
  253.             foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
  254.                 // line 128
  255.                 yield "\t\t\t\t\t\t";
  256.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["category"], "name", [], "any"falsefalsefalse128), "html"nulltrue);
  257.                 yield "
  258. \t\t\t\t\t\t";
  259.                 // line 129
  260.                 if ( !CoreExtension::getAttribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse129)) {
  261.                     yield ",
  262. \t\t\t\t\t\t";
  263.                 }
  264.                 // line 131
  265.                 yield "\t\t\t\t\t";
  266.                 ++$context['loop']['index0'];
  267.                 ++$context['loop']['index'];
  268.                 $context['loop']['first'] = false;
  269.                 if (isset($context['loop']['length'])) {
  270.                     --$context['loop']['revindex0'];
  271.                     --$context['loop']['revindex'];
  272.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  273.                 }
  274.             }
  275.             $_parent $context['_parent'];
  276.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
  277.             $context array_intersect_key($context$_parent) + $_parent;
  278.             // line 132
  279.             yield "\t\t\t\t</strong>
  280. \t\t\t</p>
  281. \t\t\t";
  282.         }
  283.         // line 135
  284.         yield "\t\t\t";
  285.         if ((isset($context["isAbonnementPayed"]) || array_key_exists("isAbonnementPayed"$context) ? $context["isAbonnementPayed"] : (function () { throw new RuntimeError('Variable "isAbonnementPayed" does not exist.'135$this->source); })())) {
  286.             // line 136
  287.             yield "\t\t\t<div class=\"cont_notess\">
  288. \t\t\t\t<div class=\"one_infos\">
  289. \t\t\t\t\t<strong> . Note : </strong>
  290. \t\t\t\t\t<p class=\"mb-0\">&nbsp; 
  291. \t\t\t\t\t\t<span style=\"color:#ffa912\">
  292. \t\t\t\t\t\t\t";
  293.             // line 141
  294.             if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["notes"]) || array_key_exists("notes"$context) ? $context["notes"] : (function () { throw new RuntimeError('Variable "notes" does not exist.'141$this->source); })()), "globalNote", [], "array"falsefalsefalse141), "count", [], "array"falsefalsefalse141) > 0)) {
  295.                 // line 142
  296.                 yield "\t\t\t\t\t\t\t\t";
  297.                 $context["globalNotePresta"] = (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["notes"]) || array_key_exists("notes"$context) ? $context["notes"] : (function () { throw new RuntimeError('Variable "notes" does not exist.'142$this->source); })()), "globalNote", [], "array"falsefalsefalse142), "totalNote", [], "array"falsefalsefalse142) / CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["notes"]) || array_key_exists("notes"$context) ? $context["notes"] : (function () { throw new RuntimeError('Variable "notes" does not exist.'142$this->source); })()), "globalNote", [], "array"falsefalsefalse142), "count", [], "array"falsefalsefalse142));
  298.                 // line 143
  299.                 yield "\t\t\t\t\t\t\t";
  300.             } else {
  301.                 // line 144
  302.                 yield "\t\t\t\t\t\t\t\t";
  303.                 $context["globalNotePresta"] = 0;
  304.                 // line 145
  305.                 yield "\t\t\t\t\t\t\t";
  306.             }
  307.             // line 146
  308.             yield "\t\t\t\t\t\t\t";
  309.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatNumber((isset($context["globalNotePresta"]) || array_key_exists("globalNotePresta"$context) ? $context["globalNotePresta"] : (function () { throw new RuntimeError('Variable "globalNotePresta" does not exist.'146$this->source); })()), 1"."), "html"nulltrue);
  310.             yield "
  311. \t\t\t\t\t\t</span> 
  312. \t\t\t\t\t\t";
  313.             // line 148
  314.             $context['_parent'] = $context;
  315.             $context['_seq'] = CoreExtension::ensureTraversable(range(15));
  316.             foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  317.                 // line 149
  318.                 yield "\t\t\t\t\t\t\t";
  319.                 if (($context["i"] <= $this->extensions['Twig\Extension\CoreExtension']->formatNumber((isset($context["globalNotePresta"]) || array_key_exists("globalNotePresta"$context) ? $context["globalNotePresta"] : (function () { throw new RuntimeError('Variable "globalNotePresta" does not exist.'149$this->source); })()), 1"."))) {
  320.                     // line 150
  321.                     yield "\t\t\t\t\t\t\t\t<i class=\"fa fa-star rated\"></i>
  322. \t\t\t\t\t\t\t";
  323.                 } else {
  324.                     // line 152
  325.                     yield "\t\t\t\t\t\t\t\t<i class=\"far fa-star rated\"></i>
  326. \t\t\t\t\t\t\t";
  327.                 }
  328.                 // line 154
  329.                 yield "\t\t\t\t\t\t";
  330.             }
  331.             $_parent $context['_parent'];
  332.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  333.             $context array_intersect_key($context$_parent) + $_parent;
  334.             // line 155
  335.             yield "\t\t\t\t\t</p>
  336. \t\t\t\t\t<p style=\"text-align: center;\">(";
  337.             // line 156
  338.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["notes"]) || array_key_exists("notes"$context) ? $context["notes"] : (function () { throw new RuntimeError('Variable "notes" does not exist.'156$this->source); })()), "globalNote", [], "array"falsefalsefalse156), "count", [], "array"falsefalsefalse156), "html"nulltrue);
  339.             yield " évaluations)</p>
  340. \t\t\t\t</div>
  341. \t\t\t\t<div class=\"one_infos\">
  342. \t\t\t\t\t<strong> . Date : </strong>
  343. \t\t\t\t\t";
  344.             // line 161
  345.             yield "\t\t\t\t\t<p>&nbsp; ";
  346.             ((CoreExtension::getAttribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'161$this->source); })()), "createdAt", [], "any"falsefalsefalse161)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extra\Intl\IntlExtension']->formatDateTime($this->envCoreExtension::getAttribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'161$this->source); })()), "createdAt", [], "any"falsefalsefalse161), "medium""medium""dd MMMM YYYY"null"gregorian""fr"), "html"nulltrue)) : (yield ""));
  347.             yield "</p>
  348. \t\t\t\t</div>
  349. \t\t\t\t<div class=\"one_infos\">
  350. \t\t\t\t\t<strong> . Adresse  : </strong>
  351. \t\t\t\t\t";
  352.             // line 166
  353.             yield "\t\t\t\t\t<p>&nbsp; ";
  354.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'166$this->source); })()), "city", [], "any"falsefalsefalse166), "html"nulltrue);
  355.             yield " (";
  356.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'166$this->source); })()), "adress", [], "any"falsefalsefalse166), "html"nulltrue);
  357.             yield ")</p>
  358. \t\t\t\t</div>
  359. \t\t\t</div>
  360. \t\t\t";
  361.         }
  362.         // line 170
  363.         yield "\t\t</div>
  364. \t</div>
  365. \t<!-- /.page-header -->
  366. \t<div class=\"content\">
  367. \t\t<div class=\"container\">
  368. \t\t\t<div class=\"row\">
  369. \t\t\t\t<div class=\"col-xl-8 col-lg-8 col-md-8 col-sm-12 col-12\">
  370. \t\t\t\t\t";
  371.         // line 177
  372.         if ((isset($context["isAbonnementPayed"]) || array_key_exists("isAbonnementPayed"$context) ? $context["isAbonnementPayed"] : (function () { throw new RuntimeError('Variable "isAbonnementPayed" does not exist.'177$this->source); })())) {
  373.             // line 178
  374.             yield "\t\t\t\t\t<div class=\"card border card-shadow-none\">
  375. \t\t\t\t\t\t<div class=\"card-header bg-white\">
  376. \t\t\t\t\t\t\t<h3 class=\"mb-0\">À propos de
  377. \t\t\t\t\t\t\t\t";
  378.             // line 181
  379.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'181$this->source); })()), "companyName", [], "any"falsefalsefalse181), "html"nulltrue);
  380.             yield "</h3>
  381. \t\t\t\t\t\t</div>
  382. \t\t\t\t\t\t<div class=\"card-body border-top\">
  383. \t\t\t\t\t\t\t";
  384.             // line 184
  385.             yield CoreExtension::getAttribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'184$this->source); })()), "description", [], "any"falsefalsefalse184);
  386.             yield "
  387. \t\t\t\t\t\t</div>
  388. \t\t\t\t\t</div>
  389. \t\t\t\t\t";
  390.         }
  391.         // line 188
  392.         yield "\t\t\t\t\t<div class=\"real-wedding-content bg-white border\">
  393. \t\t\t\t\t\t<div class=\"row\">
  394. \t\t\t\t\t\t\t<div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12\">
  395. \t\t\t\t\t\t\t\t<div class=\"card review-summary-table table-responsive\">
  396. \t\t\t\t\t\t\t\t\t<table class=\"table\">
  397. \t\t\t\t\t\t\t\t\t\t<thead>
  398. \t\t\t\t\t\t\t\t\t\t\t<tr>
  399. \t\t\t\t\t\t\t\t\t\t\t\t<th>Prénom</th>
  400. \t\t\t\t\t\t\t\t\t\t\t\t<th>Note</th>
  401. \t\t\t\t\t\t\t\t\t\t\t\t<th>Date</th>
  402. \t\t\t\t\t\t\t\t\t\t\t\t<th>Action</th>
  403. \t\t\t\t\t\t\t\t\t\t\t</tr>
  404. \t\t\t\t\t\t\t\t\t\t</thead>
  405. \t\t\t\t\t\t\t\t\t\t<tbody>
  406. \t\t\t\t\t\t\t\t\t\t\t";
  407.         // line 202
  408.         $context['_parent'] = $context;
  409.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["avis"]) || array_key_exists("avis"$context) ? $context["avis"] : (function () { throw new RuntimeError('Variable "avis" does not exist.'202$this->source); })()));
  410.         $context['_iterated'] = false;
  411.         $context['loop'] = [
  412.           'parent' => $context['_parent'],
  413.           'index0' => 0,
  414.           'index'  => 1,
  415.           'first'  => true,
  416.         ];
  417.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  418.             $length count($context['_seq']);
  419.             $context['loop']['revindex0'] = $length 1;
  420.             $context['loop']['revindex'] = $length;
  421.             $context['loop']['length'] = $length;
  422.             $context['loop']['last'] = === $length;
  423.         }
  424.         foreach ($context['_seq'] as $context["key"] => $context["avi"]) {
  425.             // line 203
  426.             yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  427.             if (((CoreExtension::getAttribute($this->env$this->source$context["avi"], "isDesactivatedByAdmin", [], "any"falsefalsefalse203) == null) && (CoreExtension::getAttribute($this->env$this->source$context["avi"], "isDesactivatedByAdmin", [], "any"falsefalsefalse203) == false))) {
  428.                 // line 204
  429.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
  430. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"review-summary-name\">";
  431.                 // line 205
  432.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["avi"], "client", [], "any"falsefalsefalse205), "firstName", [], "any"falsefalsefalse205), "html"nulltrue);
  433.                 yield "</td>
  434. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"review-summary-rating\">
  435. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"rated\">
  436. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  437.                 // line 208
  438.                 $context['_parent'] = $context;
  439.                 $context['_seq'] = CoreExtension::ensureTraversable(range(15));
  440.                 foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  441.                     // line 209
  442.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  443.                     if (($context["i"] <= CoreExtension::getAttribute($this->env$this->source$context["avi"], "globalNote", [], "any"falsefalsefalse209))) {
  444.                         // line 210
  445.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  446. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  447.                     } else {
  448.                         // line 212
  449.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"far fa-star\"></i>
  450. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  451.                     }
  452.                     // line 214
  453.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  454.                 }
  455.                 $_parent $context['_parent'];
  456.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  457.                 $context array_intersect_key($context$_parent) + $_parent;
  458.                 // line 215
  459.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</span>
  460. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"ml-2\">";
  461.                 // line 216
  462.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatNumber(CoreExtension::getAttribute($this->env$this->source$context["avi"], "globalNote", [], "any"falsefalsefalse216), 1"."), "html"nulltrue);
  463.                 yield "</span>
  464. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  465. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"review-summary-id\">";
  466.                 // line 218
  467.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env$this->source$context["avi"], "createdAt", [], "any"falsefalsefalse218), "d/m/Y"), "html"nulltrue);
  468.                 yield "</td>
  469. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"review-summary-action\">
  470. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"btn btn-outline-pink btn-xs\" data-toggle=\"collapse\" id=\"example-one\" data-text-swap=\"close\" data-text-original=\"Details\" href=\"#";
  471.                 // line 220
  472.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["avi"], "product", [], "any"falsefalsefalse220), "productSlug", [], "any"falsefalsefalse220), "html"nulltrue);
  473.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse220), "html"nulltrue);
  474.                 yield "\" aria-expanded=\"false\" aria-controls=\"collapseExample\">Details
  475. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>
  476. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  477. \t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  478. \t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
  479. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<td colspan=\"12\" class=\"expandable-info\">
  480. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"collapse expandable-collapse\" id=\"";
  481.                 // line 226
  482.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["avi"], "product", [], "any"falsefalsefalse226), "productSlug", [], "any"falsefalsefalse226), "html"nulltrue);
  483.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse226), "html"nulltrue);
  484.                 yield "\">
  485. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
  486. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div
  487. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12\">
  488. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- review-user -->
  489. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-user\">
  490. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"user-img\">
  491. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  492.                 // line 233
  493.                 if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["avi"], "client", [], "any"falsefalsefalse233), "image", [], "any"falsefalsefalse233) == null)) {
  494.                     // line 234
  495.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"";
  496.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/user-default.jpg"), "html"nulltrue);
  497.                     yield "\" alt=\"star rating jquery\" class=\"rounded-circle\" style=\"width:50px;height:50px;\"></div>
  498. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  499.                 } else {
  500.                     // line 236
  501.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"";
  502.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((Twig\Extension\CoreExtension::constant("App\\Services\\File::IMAGE_CLIENT_DIR") . CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["avi"], "client", [], "any"falsefalsefalse236), "image", [], "any"falsefalsefalse236))), "html"nulltrue);
  503.                     yield "\" alt=\"star rating jquery\" class=\"rounded-circle\" style=\"width:50px;height:50px;\"></div>
  504. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  505.                 }
  506.                 // line 238
  507.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"user-meta\">
  508. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"user-name mb-2\">";
  509.                 // line 239
  510.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["avi"], "client", [], "any"falsefalsefalse239), "firstName", [], "any"falsefalsefalse239), "html"nulltrue);
  511.                 yield "</span>
  512. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"given-review\"></div>
  513. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>";
  514.                 // line 241
  515.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["avi"], "product", [], "any"falsefalsefalse241), "name", [], "any"falsefalsefalse241), "html"nulltrue);
  516.                 yield "</span>
  517. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  518. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  519. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- /.review-user -->
  520. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- review-descripttions -->
  521. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-descriptions mt-4\">
  522. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  523.                 // line 247
  524.                 if (CoreExtension::getAttribute($this->env$this->source$context["avi"], "text", [], "any"falsefalsefalse247)) {
  525.                     // line 248
  526.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p>";
  527.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["avi"], "text", [], "any"falsefalsefalse248), "html"nulltrue);
  528.                     yield "</p>
  529. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  530.                 } else {
  531.                     // line 250
  532.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p>Aucun avis déposé</p>
  533. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  534.                 }
  535.                 // line 252
  536.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"cont_img_comment\" id=\"id_img_";
  537.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["key"], "html"nulltrue);
  538.                 yield "\">
  539. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  540.                 // line 253
  541.                 $context['_parent'] = $context;
  542.                 $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["avi"], "imageComments", [], "any"falsefalsefalse253), "toArray", [], "method"falsefalsefalse253));
  543.                 foreach ($context['_seq'] as $context["_key"] => $context["imgcomment"]) {
  544.                     // line 254
  545.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=";
  546.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((Twig\Extension\CoreExtension::constant("App\\Services\\File::IMAGE_COMMENT_DIR") . CoreExtension::getAttribute($this->env$this->source$context["imgcomment"], "url", [], "any"falsefalsefalse254))), "html"nulltrue);
  547.                     yield " class=\"img_comment\">
  548. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  549.                 }
  550.                 $_parent $context['_parent'];
  551.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['imgcomment'], $context['_parent'], $context['loop']);
  552.                 $context array_intersect_key($context$_parent) + $_parent;
  553.                 // line 256
  554.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  555. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
  556. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div
  557. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12\">
  558. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- review-list -->
  559. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-list mr-1\">
  560. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-for\">Qualité du service</div>
  561. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-rating\">
  562. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"rated\">
  563. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  564.                 // line 265
  565.                 $context['_parent'] = $context;
  566.                 $context['_seq'] = CoreExtension::ensureTraversable(range(15));
  567.                 foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  568.                     // line 266
  569.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  570.                     if (($context["i"] <= CoreExtension::getAttribute($this->env$this->source$context["avi"], "serviceQuality", [], "any"falsefalsefalse266))) {
  571.                         // line 267
  572.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  573. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  574.                     } else {
  575.                         // line 269
  576.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"far fa-star\"></i>
  577. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  578.                     }
  579.                     // line 271
  580.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  581.                 }
  582.                 $_parent $context['_parent'];
  583.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  584.                 $context array_intersect_key($context$_parent) + $_parent;
  585.                 // line 272
  586.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</span>
  587. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  588. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-number\">";
  589.                 // line 274
  590.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["avi"], "serviceQuality", [], "any"falsefalsefalse274), "html"nulltrue);
  591.                 yield "</div>
  592. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  593. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- /.review-list -->
  594. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- review-list -->
  595. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-list mr-1\">
  596. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-for\">Fiabilité</div>
  597. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-rating\">
  598. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"rated\">
  599. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  600.                 // line 282
  601.                 $context['_parent'] = $context;
  602.                 $context['_seq'] = CoreExtension::ensureTraversable(range(15));
  603.                 foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  604.                     // line 283
  605.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  606.                     if (($context["i"] <= CoreExtension::getAttribute($this->env$this->source$context["avi"], "fiability", [], "any"falsefalsefalse283))) {
  607.                         // line 284
  608.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  609. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  610.                     } else {
  611.                         // line 286
  612.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"far fa-star\"></i>
  613. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  614.                     }
  615.                     // line 288
  616.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  617.                 }
  618.                 $_parent $context['_parent'];
  619.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  620.                 $context array_intersect_key($context$_parent) + $_parent;
  621.                 // line 289
  622.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</span>
  623. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  624. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-number\">";
  625.                 // line 291
  626.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["avi"], "fiability", [], "any"falsefalsefalse291), "html"nulltrue);
  627.                 yield "</div>
  628. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  629. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- /.review-list -->
  630. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- review-list -->
  631. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-list mr-1\">
  632. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-for\">Prix</div>
  633. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-rating\">
  634. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"rated\">
  635. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  636.                 // line 299
  637.                 $context['_parent'] = $context;
  638.                 $context['_seq'] = CoreExtension::ensureTraversable(range(15));
  639.                 foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  640.                     // line 300
  641.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  642.                     if (($context["i"] <= CoreExtension::getAttribute($this->env$this->source$context["avi"], "price", [], "any"falsefalsefalse300))) {
  643.                         // line 301
  644.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  645. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  646.                     } else {
  647.                         // line 303
  648.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"far fa-star\"></i>
  649. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  650.                     }
  651.                     // line 305
  652.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  653.                 }
  654.                 $_parent $context['_parent'];
  655.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  656.                 $context array_intersect_key($context$_parent) + $_parent;
  657.                 // line 306
  658.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</span>
  659. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  660. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-number\">";
  661.                 // line 308
  662.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["avi"], "price", [], "any"falsefalsefalse308), "html"nulltrue);
  663.                 yield "</div>
  664. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  665. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- /.review-list -->
  666. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- review-list -->
  667. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-list\">
  668. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-for\">Rapidité</div>
  669. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-rating\">
  670. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"rated\">
  671. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  672.                 // line 316
  673.                 $context['_parent'] = $context;
  674.                 $context['_seq'] = CoreExtension::ensureTraversable(range(15));
  675.                 foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  676.                     // line 317
  677.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  678.                     if (($context["i"] <= CoreExtension::getAttribute($this->env$this->source$context["avi"], "speed", [], "any"falsefalsefalse317))) {
  679.                         // line 318
  680.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  681. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  682.                     } else {
  683.                         // line 320
  684.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"far fa-star\"></i>
  685. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  686.                     }
  687.                     // line 322
  688.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  689.                 }
  690.                 $_parent $context['_parent'];
  691.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  692.                 $context array_intersect_key($context$_parent) + $_parent;
  693.                 // line 323
  694.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</span>
  695. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  696. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-number\">";
  697.                 // line 325
  698.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["avi"], "speed", [], "any"falsefalsefalse325), "html"nulltrue);
  699.                 yield "</div>
  700. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  701. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-list mr-1\">
  702. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-for\">Description conforme</div>
  703. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-rating\">
  704. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"rated\">
  705. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  706.                 // line 331
  707.                 $context['_parent'] = $context;
  708.                 $context['_seq'] = CoreExtension::ensureTraversable(range(15));
  709.                 foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  710.                     // line 332
  711.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  712.                     if (($context["i"] <= CoreExtension::getAttribute($this->env$this->source$context["avi"], "conformDescription", [], "any"falsefalsefalse332))) {
  713.                         // line 333
  714.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  715. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  716.                     } else {
  717.                         // line 335
  718.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"far fa-star\"></i>
  719. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  720.                     }
  721.                     // line 337
  722.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  723.                 }
  724.                 $_parent $context['_parent'];
  725.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  726.                 $context array_intersect_key($context$_parent) + $_parent;
  727.                 // line 338
  728.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</span>
  729. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  730. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-number\">";
  731.                 // line 340
  732.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["avi"], "conformDescription", [], "any"falsefalsefalse340), "html"nulltrue);
  733.                 yield "</div>
  734. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  735. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-list\">
  736. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-for\">Communication</div>
  737. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-rating\">
  738. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"rated\">
  739. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  740.                 // line 346
  741.                 $context['_parent'] = $context;
  742.                 $context['_seq'] = CoreExtension::ensureTraversable(range(15));
  743.                 foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  744.                     // line 347
  745.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  746.                     if (($context["i"] <= CoreExtension::getAttribute($this->env$this->source$context["avi"], "communication", [], "any"falsefalsefalse347))) {
  747.                         // line 348
  748.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  749. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  750.                     } else {
  751.                         // line 350
  752.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"far fa-star\"></i>
  753. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  754.                     }
  755.                     // line 352
  756.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  757.                 }
  758.                 $_parent $context['_parent'];
  759.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  760.                 $context array_intersect_key($context$_parent) + $_parent;
  761.                 // line 353
  762.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</span>
  763. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  764. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-number\">";
  765.                 // line 355
  766.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["avi"], "communication", [], "any"falsefalsefalse355), "html"nulltrue);
  767.                 yield "</div>
  768. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  769. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- /.review-list -->
  770. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- review-list -->
  771. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  772. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- /.review-list -->
  773. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  774. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  775. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- /.review-descripttions -->
  776. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  777. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  778. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  779. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  780. \t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  781. \t\t\t\t\t\t\t\t\t\t\t\t";
  782.             }
  783.             // line 370
  784.             yield "\t\t\t\t\t\t\t\t\t\t\t";
  785.             $context['_iterated'] = true;
  786.             ++$context['loop']['index0'];
  787.             ++$context['loop']['index'];
  788.             $context['loop']['first'] = false;
  789.             if (isset($context['loop']['length'])) {
  790.                 --$context['loop']['revindex0'];
  791.                 --$context['loop']['revindex'];
  792.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  793.             }
  794.         }
  795.         if (!$context['_iterated']) {
  796.             // line 371
  797.             yield "\t\t\t\t\t\t\t\t\t\t\t\t<tr>
  798. \t\t\t\t\t\t\t\t\t\t\t\t\t<td>Aucun avis pour le moment</td>
  799. \t\t\t\t\t\t\t\t\t\t\t\t</tr>
  800. \t\t\t\t\t\t\t\t\t\t\t";
  801.         }
  802.         $_parent $context['_parent'];
  803.         unset($context['_seq'], $context['_iterated'], $context['key'], $context['avi'], $context['_parent'], $context['loop']);
  804.         $context array_intersect_key($context$_parent) + $_parent;
  805.         // line 375
  806.         yield "\t\t\t\t\t\t\t\t\t\t</tbody>
  807. \t\t\t\t\t\t\t\t\t</table>
  808. \t\t\t\t\t\t\t\t</div>
  809. \t\t\t\t\t\t\t\t<div class=\"pagination float-right\">
  810. \t\t\t\t\t\t\t\t\t<nav aria-label=\"Page navigation example\">
  811. \t\t\t\t\t\t\t\t\t\t";
  812.         // line 380
  813.         yield $this->extensions['Knp\Bundle\PaginatorBundle\Twig\Extension\PaginationExtension']->render($this->env, (isset($context["avis"]) || array_key_exists("avis"$context) ? $context["avis"] : (function () { throw new RuntimeError('Variable "avis" does not exist.'380$this->source); })()));
  814.         yield "
  815. \t\t\t\t\t\t\t\t\t</nav>
  816. \t\t\t\t\t\t\t\t</div>
  817. \t\t\t\t\t\t\t</div>
  818. \t\t\t\t\t\t</div>
  819. \t\t\t\t\t</div>
  820. \t\t\t\t\t<!-- /.real-wedding-grid -->
  821. \t\t\t\t</div>
  822. \t\t\t\t<!-- sidebar -->
  823. \t\t\t\t<div class=\"col-xl-4 col-lg-4 col-md-4 col-sm-12 col-12\">
  824. \t\t\t\t\t<div class=\"sidebar \">
  825. \t\t\t\t\t\t<div class=\"card border card-shadow-none widget-vendor-list \">
  826. \t\t\t\t\t\t\t<div class=\"card-header bg-white\">
  827. \t\t\t\t\t\t\t\t<h3 class=\"mb-0\">Prestataire</h3>
  828. \t\t\t\t\t\t\t</div>
  829. \t\t\t\t\t\t\t<div class=\"card-body border-top vendor-sidebar-list\">
  830. \t\t\t\t\t\t\t\t<h5 class=\"vendor-list-title\">Conditions de vente :</h5>
  831. \t\t\t\t\t\t\t\t<a href=\"#\" class=\"btn btn-primary\" data-toggle=\"modal\" data-target=\"#exampleModal\">
  832. \t\t\t\t\t\t\t\t\tVoir
  833. \t\t\t\t\t\t\t\t</a>
  834. \t\t\t\t\t\t\t</div>
  835. \t\t\t\t\t\t\t<div class=\"card-body border-top vendor-sidebar-list\">
  836. \t\t\t\t\t\t\t\t<h5 class=\"vendor-list-title\">Prestations :</h5>
  837. \t\t\t\t\t\t\t\t";
  838.         // line 403
  839.         $context['_parent'] = $context;
  840.         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'403$this->source); })()), "category", [], "any"falsefalsefalse403));
  841.         $context['loop'] = [
  842.           'parent' => $context['_parent'],
  843.           'index0' => 0,
  844.           'index'  => 1,
  845.           'first'  => true,
  846.         ];
  847.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  848.             $length count($context['_seq']);
  849.             $context['loop']['revindex0'] = $length 1;
  850.             $context['loop']['revindex'] = $length;
  851.             $context['loop']['length'] = $length;
  852.             $context['loop']['last'] = === $length;
  853.         }
  854.         foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
  855.             // line 404
  856.             yield "\t\t\t\t\t\t\t\t\t";
  857.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["category"], "name", [], "any"falsefalsefalse404), "html"nulltrue);
  858.             yield "
  859. \t\t\t\t\t\t\t\t\t";
  860.             // line 405
  861.             if ( !CoreExtension::getAttribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse405)) {
  862.                 yield ",
  863. \t\t\t\t\t\t\t\t\t";
  864.             }
  865.             // line 407
  866.             yield "\t\t\t\t\t\t\t\t";
  867.             ++$context['loop']['index0'];
  868.             ++$context['loop']['index'];
  869.             $context['loop']['first'] = false;
  870.             if (isset($context['loop']['length'])) {
  871.                 --$context['loop']['revindex0'];
  872.                 --$context['loop']['revindex'];
  873.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  874.             }
  875.         }
  876.         $_parent $context['_parent'];
  877.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
  878.         $context array_intersect_key($context$_parent) + $_parent;
  879.         // line 408
  880.         yield "\t\t\t\t\t\t\t</div>
  881. \t\t\t\t\t\t\t<div class=\"card-body border-top vendor-sidebar-list\">
  882. \t\t\t\t\t\t\t\t<h5 class=\"vendor-list-title\">Nombre de services proposés :</h5>
  883. \t\t\t\t\t\t\t\t";
  884.         // line 411
  885.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["lastProducts"]) || array_key_exists("lastProducts"$context) ? $context["lastProducts"] : (function () { throw new RuntimeError('Variable "lastProducts" does not exist.'411$this->source); })())), "html"nulltrue);
  886.         yield "
  887. \t\t\t\t\t\t\t\tservice";
  888.         // line 412
  889.         if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["lastProducts"]) || array_key_exists("lastProducts"$context) ? $context["lastProducts"] : (function () { throw new RuntimeError('Variable "lastProducts" does not exist.'412$this->source); })())) > 1)) {
  890.             yield "s";
  891.         }
  892.         // line 413
  893.         yield "\t\t\t\t\t\t\t</div>
  894. \t\t\t\t\t\t\t<div class=\"card-body border-top vendor-sidebar-list\">
  895. \t\t\t\t\t\t\t\t<h5 class=\"vendor-list-title\">Note globale du prestataire :</h5>
  896. \t\t\t\t\t\t\t\t";
  897.         // line 416
  898.         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["notes"]) || array_key_exists("notes"$context) ? $context["notes"] : (function () { throw new RuntimeError('Variable "notes" does not exist.'416$this->source); })()), "globalNote", [], "array"falsefalsefalse416), "count", [], "array"falsefalsefalse416) > 0)) {
  899.             // line 417
  900.             yield "\t\t\t\t\t\t\t\t\t";
  901.             $context["globalNotePresta"] = (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["notes"]) || array_key_exists("notes"$context) ? $context["notes"] : (function () { throw new RuntimeError('Variable "notes" does not exist.'417$this->source); })()), "globalNote", [], "array"falsefalsefalse417), "totalNote", [], "array"falsefalsefalse417) / CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["notes"]) || array_key_exists("notes"$context) ? $context["notes"] : (function () { throw new RuntimeError('Variable "notes" does not exist.'417$this->source); })()), "globalNote", [], "array"falsefalsefalse417), "count", [], "array"falsefalsefalse417));
  902.             // line 418
  903.             yield "\t\t\t\t\t\t\t\t";
  904.         } else {
  905.             // line 419
  906.             yield "\t\t\t\t\t\t\t\t\t";
  907.             $context["globalNotePresta"] = 0;
  908.             // line 420
  909.             yield "\t\t\t\t\t\t\t\t";
  910.         }
  911.         // line 421
  912.         yield "\t\t\t\t\t\t\t\t<a href=\"#\" class=\"vendor-list-link\">";
  913.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatNumber((isset($context["globalNotePresta"]) || array_key_exists("globalNotePresta"$context) ? $context["globalNotePresta"] : (function () { throw new RuntimeError('Variable "globalNotePresta" does not exist.'421$this->source); })()), 1"."), "html"nulltrue);
  914.         yield "</a>
  915. \t\t\t\t\t\t\t</div>
  916. \t\t\t\t\t\t</div>
  917. \t\t\t\t\t</div>
  918. \t\t\t\t</div>
  919. \t\t\t\t<!-- /.sidebar -->
  920. \t\t\t</div>
  921. \t\t\t<div class=\"row\">
  922. \t\t\t\t
  923. \t\t\t</div>
  924. \t\t\t<div class=\"row\">
  925. \t\t\t\t<div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12\">
  926. \t\t\t\t\t<div class=\"section-block\">
  927. \t\t\t\t\t\t<h2>Produits du prestataire</h2>
  928. \t\t\t\t\t</div>
  929. \t\t\t\t</div>
  930.                 ";
  931.         // line 440
  932.         $context['_parent'] = $context;
  933.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["lastProducts"]) || array_key_exists("lastProducts"$context) ? $context["lastProducts"] : (function () { throw new RuntimeError('Variable "lastProducts" does not exist.'440$this->source); })()));
  934.         foreach ($context['_seq'] as $context["_key"] => $context["otherProduct"]) {
  935.             // line 441
  936.             yield "\t\t\t\t\t<div class=\"col-xl-4 col-lg-4 col-md-6 col-sm-6 col-12\">
  937. \t\t\t\t\t\t<div class=\"container-block-Pcompanies mb-3\">
  938. \t\t\t\t\t\t\t<div class=\"container-imageP zoomimg\">
  939. \t\t\t\t\t\t\t\t";
  940.             // line 444
  941.             if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source$context["otherProduct"], "photos", [], "any"falsefalsefalse444))) {
  942.                 // line 445
  943.                 yield "\t\t\t\t\t\t\t\t\t<img src=\"";
  944.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((Twig\Extension\CoreExtension::constant("App\\Services\\File::IMAGE_PRODUCT_DIR") . CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["otherProduct"], "photos", [], "any"falsefalsefalse445), "first", [], "any"falsefalsefalse445), "url", [], "any"falsefalsefalse445))), "html"nulltrue);
  945.                 yield "\" alt=\"";
  946.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["otherProduct"], "name", [], "any"falsefalsefalse445), "html"nulltrue);
  947.                 yield "\" class=\"img-fluid\" style=\"object-fit: cover; border-radius: .5rem .5rem 0 0;\">
  948. \t\t\t\t\t\t\t\t";
  949.             } else {
  950.                 // line 447
  951.                 yield "\t\t\t\t\t\t\t\t\t<img src=\"";
  952.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/vecteezy_vector-gear-logo-design-with-multi-colors-range_6172776.jpg"), "html"nulltrue);
  953.                 yield "\" alt=\"default image\" class=\"img-fluid\" style=\"height: 213px;object-fit: cover; border-radius: .5rem .5rem 0 0;\">
  954. \t\t\t\t\t\t\t\t";
  955.             }
  956.             // line 449
  957.             yield "\t\t\t\t\t\t\t</div>
  958. \t\t\t\t\t\t\t<div class=\"container-info-presta\" style=\"padding-bottom: 80px;\">
  959. \t\t\t\t\t\t\t\t<h2 class=\"vendor-title\">
  960. \t\t\t\t\t\t\t\t\t<a href=\"";
  961.             // line 452
  962.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("front_product_single", ["slug" => CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["otherProduct"], "subCategories", [], "any"falsefalsefalse452), 0, [], "array"falsefalsefalse452), "categories", [], "any"falsefalsefalse452), 0, [], "array"falsefalsefalse452), "slug", [], "any"falsefalsefalse452), "subCategorySlug" => CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["otherProduct"], "subCategories", [], "any"falsefalsefalse452), 0, [], "array"falsefalsefalse452), "subCategorySlug", [], "any"falsefalsefalse452), "product_id" => CoreExtension::getAttribute($this->env$this->source$context["otherProduct"], "id", [], "any"falsefalsefalse452), "productSlug" => CoreExtension::getAttribute($this->env$this->source$context["otherProduct"], "productSlug", [], "any"falsefalsefalse452)]), "html"nulltrue);
  963.             yield "\" class=\"title\">";
  964.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["otherProduct"], "name", [], "any"falsefalsefalse452), "html"nulltrue);
  965.             yield "</a>
  966. \t\t\t\t\t\t\t\t</h2>
  967. \t\t\t\t\t\t\t\t<p class=\"vendor-address\">
  968. \t\t\t\t\t\t\t\t\t";
  969.             // line 455
  970.             $context['_parent'] = $context;
  971.             $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source$context["otherProduct"], "departments", [], "any"falsefalsefalse455));
  972.             $context['_iterated'] = false;
  973.             $context['loop'] = [
  974.               'parent' => $context['_parent'],
  975.               'index0' => 0,
  976.               'index'  => 1,
  977.               'first'  => true,
  978.             ];
  979.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  980.                 $length count($context['_seq']);
  981.                 $context['loop']['revindex0'] = $length 1;
  982.                 $context['loop']['revindex'] = $length;
  983.                 $context['loop']['length'] = $length;
  984.                 $context['loop']['last'] = === $length;
  985.             }
  986.             foreach ($context['_seq'] as $context["_key"] => $context["department"]) {
  987.                 // line 456
  988.                 yield "\t\t\t\t\t\t\t\t\t\t";
  989.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["department"], "name", [], "any"falsefalsefalse456), "html"nulltrue);
  990.                 yield "
  991. \t\t\t\t\t\t\t\t\t\t";
  992.                 // line 457
  993.                 if ( !CoreExtension::getAttribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse457)) {
  994.                     yield ",
  995. \t\t\t\t\t\t\t\t\t\t";
  996.                 }
  997.                 // line 459
  998.                 yield "\t\t\t\t\t\t\t\t\t";
  999.                 $context['_iterated'] = true;
  1000.                 ++$context['loop']['index0'];
  1001.                 ++$context['loop']['index'];
  1002.                 $context['loop']['first'] = false;
  1003.                 if (isset($context['loop']['length'])) {
  1004.                     --$context['loop']['revindex0'];
  1005.                     --$context['loop']['revindex'];
  1006.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  1007.                 }
  1008.             }
  1009.             if (!$context['_iterated']) {
  1010.                 // line 460
  1011.                 yield "\t\t\t\t\t\t\t\t\t\tToute la France
  1012. \t\t\t\t\t\t\t\t\t";
  1013.             }
  1014.             $_parent $context['_parent'];
  1015.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['department'], $context['_parent'], $context['loop']);
  1016.             $context array_intersect_key($context$_parent) + $_parent;
  1017.             // line 462
  1018.             yield "\t\t\t\t\t\t\t\t</p>
  1019. \t\t\t\t\t\t\t\t<p><i class=\"fas fa-money-bill-wave\"></i> Prix
  1020. \t\t\t\t\t\t\t\t\t<strong>";
  1021.             // line 464
  1022.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatNumber(CoreExtension::getAttribute($this->env$this->source$context["otherProduct"], "price", [], "any"falsefalsefalse464), 2"."), "html"nulltrue);
  1023.             yield "</strong>
  1024. \t\t\t\t\t\t\t\t\t€</p>
  1025. \t\t\t\t\t\t\t\t<p><i class=\"fa fa-star rated\"></i>
  1026. \t\t\t\t\t\t\t\t\t4,9 Avis</p>
  1027.                                 <p>";
  1028.             // line 468
  1029.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["otherProduct"], "quantity", [], "any"falsefalsefalse468), "html"nulltrue);
  1030.             yield " Quantité restante</p>
  1031. \t\t\t\t\t\t\t</div>
  1032. \t\t\t\t\t\t\t<div class=\"wishlist-sign\">
  1033. \t\t\t\t\t\t\t\t<a href=\"#\" class=\"btn-wishlist\">
  1034. \t\t\t\t\t\t\t\t\t<i class=\"fa fa-heart\"></i>
  1035. \t\t\t\t\t\t\t\t</a>
  1036. \t\t\t\t\t\t\t</div>
  1037.                             <a href=\"";
  1038.             // line 475
  1039.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("front_product_single", ["slug" => CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["otherProduct"], "subCategories", [], "any"falsefalsefalse475), 0, [], "array"falsefalsefalse475), "categories", [], "any"falsefalsefalse475), 0, [], "array"falsefalsefalse475), "slug", [], "any"falsefalsefalse475), "subCategorySlug" => CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["otherProduct"], "subCategories", [], "any"falsefalsefalse475), 0, [], "array"falsefalsefalse475), "subCategorySlug", [], "any"falsefalsefalse475), "product_id" => CoreExtension::getAttribute($this->env$this->source$context["otherProduct"], "id", [], "any"falsefalsefalse475), "productSlug" => CoreExtension::getAttribute($this->env$this->source$context["otherProduct"], "productSlug", [], "any"falsefalsefalse475)]), "html"nulltrue);
  1040.             yield "\" class=\"title\">
  1041.                                 <button class=\"btnVoirP btn\">Voir le produit</button>
  1042.                             </a>
  1043. \t\t\t\t\t\t</div>
  1044. \t\t\t\t\t</div>
  1045. \t\t\t\t";
  1046.         }
  1047.         $_parent $context['_parent'];
  1048.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['otherProduct'], $context['_parent'], $context['loop']);
  1049.         $context array_intersect_key($context$_parent) + $_parent;
  1050.         // line 481
  1051.         yield "
  1052. \t\t\t\t";
  1053.         // line 543
  1054.         yield "\t\t\t</div>
  1055. \t\t</div>
  1056. \t</div>
  1057. ";
  1058.         
  1059.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1060.         
  1061.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1062.         return; yield '';
  1063.     }
  1064.     // line 547
  1065.     public function block_javascript($context, array $blocks = [])
  1066.     {
  1067.         $macros $this->macros;
  1068.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1069.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  1070.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1071.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  1072.         // line 548
  1073.         yield "\t<script title=\"zoom img comment\">
  1074. \t";
  1075.         // line 549
  1076.         $context['_parent'] = $context;
  1077.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["avis"]) || array_key_exists("avis"$context) ? $context["avis"] : (function () { throw new RuntimeError('Variable "avis" does not exist.'549$this->source); })()));
  1078.         foreach ($context['_seq'] as $context["key"] => $context["avi"]) {
  1079.             // line 550
  1080.             yield "\t\tif (\$('.img_comment').length) {
  1081. \t\t\tconsole.log(\"tafiditra....\");
  1082. \t\t\t\$('#id_img_";
  1083.             // line 552
  1084.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["key"], "html"nulltrue);
  1085.             yield " .img_comment').magnificPopup({
  1086. \t\t\t\titems: [";
  1087.             // line 553
  1088.             $context['_parent'] = $context;
  1089.             $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["avi"], "imageComments", [], "any"falsefalsefalse553), "toArray", [], "method"falsefalsefalse553));
  1090.             $context['loop'] = [
  1091.               'parent' => $context['_parent'],
  1092.               'index0' => 0,
  1093.               'index'  => 1,
  1094.               'first'  => true,
  1095.             ];
  1096.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  1097.                 $length count($context['_seq']);
  1098.                 $context['loop']['revindex0'] = $length 1;
  1099.                 $context['loop']['revindex'] = $length;
  1100.                 $context['loop']['length'] = $length;
  1101.                 $context['loop']['last'] = === $length;
  1102.             }
  1103.             foreach ($context['_seq'] as $context["_key"] => $context["imgcomment"]) {
  1104.                 yield "{
  1105. \t\t\t\t\t\tsrc: \"";
  1106.                 // line 554
  1107.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((Twig\Extension\CoreExtension::constant("App\\Services\\File::IMAGE_COMMENT_DIR") . CoreExtension::getAttribute($this->env$this->source$context["imgcomment"], "url", [], "any"falsefalsefalse554))), "html"nulltrue);
  1108.                 yield "\",
  1109. \t\t\t\t\t\ttitle: 'Photo ' + ";
  1110.                 // line 555
  1111.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse555), "html"nulltrue);
  1112.                 yield "
  1113. \t\t\t\t\t},";
  1114.                 ++$context['loop']['index0'];
  1115.                 ++$context['loop']['index'];
  1116.                 $context['loop']['first'] = false;
  1117.                 if (isset($context['loop']['length'])) {
  1118.                     --$context['loop']['revindex0'];
  1119.                     --$context['loop']['revindex'];
  1120.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  1121.                 }
  1122.             }
  1123.             $_parent $context['_parent'];
  1124.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['imgcomment'], $context['_parent'], $context['loop']);
  1125.             $context array_intersect_key($context$_parent) + $_parent;
  1126.             // line 556
  1127.             yield "],
  1128. \t\t\t\tgallery: {
  1129. \t\t\t\t\tenabled: true
  1130. \t\t\t\t},
  1131. \t\t\t\ttype: 'image' // this is a default type
  1132. \t\t\t});
  1133. \t\t}
  1134. \t";
  1135.         }
  1136.         $_parent $context['_parent'];
  1137.         unset($context['_seq'], $context['_iterated'], $context['key'], $context['avi'], $context['_parent'], $context['loop']);
  1138.         $context array_intersect_key($context$_parent) + $_parent;
  1139.         // line 564
  1140.         yield "\t</script>
  1141. ";
  1142.         
  1143.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1144.         
  1145.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1146.         return; yield '';
  1147.     }
  1148.     /**
  1149.      * @codeCoverageIgnore
  1150.      */
  1151.     public function getTemplateName()
  1152.     {
  1153.         return "front/company/single.html.twig";
  1154.     }
  1155.     /**
  1156.      * @codeCoverageIgnore
  1157.      */
  1158.     public function isTraitable()
  1159.     {
  1160.         return false;
  1161.     }
  1162.     /**
  1163.      * @codeCoverageIgnore
  1164.      */
  1165.     public function getDebugInfo()
  1166.     {
  1167.         return array (  1168 => 564,  1155 => 556,  1139 => 555,  1135 => 554,  1116 => 553,  1112 => 552,  1108 => 550,  1104 => 549,  1101 => 548,  1091 => 547,  1077 => 543,  1074 => 481,  1062 => 475,  1052 => 468,  1045 => 464,  1041 => 462,  1034 => 460,  1021 => 459,  1016 => 457,  1011 => 456,  993 => 455,  985 => 452,  980 => 449,  974 => 447,  966 => 445,  964 => 444,  959 => 441,  955 => 440,  932 => 421,  929 => 420,  926 => 419,  923 => 418,  920 => 417,  918 => 416,  913 => 413,  909 => 412,  905 => 411,  900 => 408,  886 => 407,  881 => 405,  876 => 404,  859 => 403,  833 => 380,  826 => 375,  817 => 371,  804 => 370,  786 => 355,  782 => 353,  776 => 352,  772 => 350,  768 => 348,  765 => 347,  761 => 346,  752 => 340,  748 => 338,  742 => 337,  738 => 335,  734 => 333,  731 => 332,  727 => 331,  718 => 325,  714 => 323,  708 => 322,  704 => 320,  700 => 318,  697 => 317,  693 => 316,  682 => 308,  678 => 306,  672 => 305,  668 => 303,  664 => 301,  661 => 300,  657 => 299,  646 => 291,  642 => 289,  636 => 288,  632 => 286,  628 => 284,  625 => 283,  621 => 282,  610 => 274,  606 => 272,  600 => 271,  596 => 269,  592 => 267,  589 => 266,  585 => 265,  574 => 256,  565 => 254,  561 => 253,  556 => 252,  552 => 250,  546 => 248,  544 => 247,  535 => 241,  530 => 239,  527 => 238,  521 => 236,  515 => 234,  513 => 233,  502 => 226,  492 => 220,  487 => 218,  482 => 216,  479 => 215,  473 => 214,  469 => 212,  465 => 210,  462 => 209,  458 => 208,  452 => 205,  449 => 204,  446 => 203,  428 => 202,  412 => 188,  405 => 184,  399 => 181,  394 => 178,  392 => 177,  383 => 170,  373 => 166,  365 => 161,  358 => 156,  355 => 155,  349 => 154,  345 => 152,  341 => 150,  338 => 149,  334 => 148,  328 => 146,  325 => 145,  322 => 144,  319 => 143,  316 => 142,  314 => 141,  307 => 136,  304 => 135,  299 => 132,  285 => 131,  280 => 129,  275 => 128,  258 => 127,  254 => 125,  252 => 124,  247 => 123,  241 => 121,  235 => 119,  233 => 118,  229 => 116,  225 => 113,  216 => 88,  210 => 85,  202 => 79,  199 => 78,  196 => 77,  193 => 76,  190 => 75,  187 => 74,  184 => 73,  172 => 63,  163 => 57,  150 => 46,  136 => 33,  112 => 10,  102 => 9,  78 => 6,  74 => 5,  71 => 4,  61 => 3,  38 => 1,);
  1168.     }
  1169.     public function getSourceContext()
  1170.     {
  1171.         return new Source("{% extends 'base_front.html.twig' %}
  1172. {% block meta %}
  1173. \t<title>Prestataire
  1174. \t\t{{ company.companyName }}</title>
  1175. \t<meta name=\"description\" content=\"Page du prestataire {{ company.companyName }} présent dans la catégorie {% for category in company.category %}{{ category.name }}{% endfor %}. {{ avis|length }} avis disponibles sur ce prestataire\">
  1176. {% endblock %}
  1177. {% block body %}
  1178. \t<style>
  1179. \t\t.cont_avis{
  1180. \t\t\twidth: 92%;
  1181. \t\t\tmargin:auto;
  1182. \t\t\tbox-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
  1183. \t\t\tpadding-bottom: 40px;
  1184. \t\t\tborder-radius: 0 0 20px 20px;
  1185. \t\t\tmargin-top: -80px;
  1186. \t\t}
  1187. \t\t.img_profil_presta {
  1188. \t\t\tfilter: drop-shadow(3px 3px 9px rgba(0, 0, 0, 0.25));
  1189. \t\t\tborder-radius: 24px;
  1190. \t\t\twidth: 160px;
  1191. \t\t\theight: 160px;
  1192. \t\t\tbackground-color: violet;
  1193. \t\t\tobject-fit: cover;
  1194. \t\t}
  1195. \t\t.cont_notess {
  1196. \t\t\tdisplay: flex;
  1197. \t\t\tcolumn-gap: 40px;
  1198. \t\t\tflex-direction: row;
  1199. \t\t}
  1200. \t\t{# image comment #}
  1201. \t\t.cont_img_comment {
  1202. \t\t\tdisplay: flex;
  1203. \t\t\tcolumn-gap: 10px;
  1204. \t\t\tmargin-bottom: 10px;
  1205. \t\t}
  1206. \t\t.cont_img_comment img {
  1207. \t\t\twidth: 100px;
  1208. \t\t\theight: 100px;
  1209. \t\t\tbox-shadow: 1px 1px 5px #0000005c;
  1210. \t\t\tborder-radius: 20px;
  1211. \t\t\tobject-fit: cover;
  1212. \t\t}
  1213. \t\t{# name product avi #}
  1214. \t\t.user-meta {
  1215. \t\t\tdisplay: flex;
  1216. \t\t\tjustify-content: space-between;
  1217. \t\t}
  1218. \t</style>
  1219. \t<!-- Modal -->
  1220. \t<div class=\"modal fade\" id=\"exampleModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\" aria-hidden=\"true\">
  1221. \t\t<div class=\"modal-dialog\" role=\"document\" style=\"max-width:50%\">
  1222. \t\t\t<div class=\"modal-content\">
  1223. \t\t\t\t<div class=\"modal-header\">
  1224. \t\t\t\t\t<h5 class=\"modal-title\" id=\"exampleModalLabel\">Conditions de vente de l'entreprise
  1225. \t\t\t\t\t\t{{ company.companyName }}</h5>
  1226. \t\t\t\t\t<a href=\"#\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
  1227. \t\t\t\t\t\t<span aria-hidden=\"true\">&times;</span>
  1228. \t\t\t\t\t</a>
  1229. \t\t\t\t</div>
  1230. \t\t\t\t<div class=\"modal-body\">
  1231. \t\t\t\t\t<p>{{ company.conditionsVente }}</p>
  1232. \t\t\t\t</div>
  1233. \t\t\t\t<div class=\"modal-footer\">
  1234. \t\t\t\t\t<a href=\"#\" class=\"btn btn-secondary\" data-dismiss=\"modal\">Fermer</a>
  1235. \t\t\t\t</div>
  1236. \t\t\t</div>
  1237. \t\t</div>
  1238. \t</div>
  1239. \t{# Variable for condition to show info or not depend of abonnement and abonnement isActive #}
  1240. \t{% set isAbonnementPayed = false %}
  1241. \t{% if company.abonnements.count() > 0 %}
  1242. \t\t{% if company.abonnements.last.isActive %}
  1243. \t\t\t{% set isAbonnementPayed = true %}
  1244. \t\t{% endif %}
  1245. \t{% endif %}
  1246. \t<div class=\"real-wedding-single-img\" style=\"background: url('/images/vacncance_blog.jpg')no-repeat center;background-size: cover;\">
  1247. \t\t<div class=\"container\">
  1248. \t\t\t<div class=\"row\">
  1249. \t\t\t\t<div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12 text-center\">
  1250. \t\t\t\t\t<div class=\"realwed-caption\">
  1251. \t\t\t\t\t\t<h1 class=\"real-wedding-single-title\">{{ company.companyName }}</h1>
  1252. \t\t\t\t\t\t<span class=\"real-wedding-place ml-4 text-white\">
  1253. \t\t\t\t\t\t\t<i class=\"fas fa-map-marker-alt pr-2\"></i>
  1254. \t\t\t\t\t\t\t{{ company.city }}</span>
  1255. \t\t\t\t\t</div>
  1256. \t\t\t\t</div>
  1257. \t\t\t</div>
  1258. \t\t</div>
  1259. \t\t<!-- page caption -->
  1260. \t\t{# <div class=\"realwed-addressbar\">
  1261. \t\t\t<div class=\"container\">
  1262. \t\t\t\t<div class=\"row\">
  1263. \t\t\t\t\t<div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12\">
  1264. \t\t\t\t\t\t<p>
  1265. \t\t\t\t\t\t\t<span class=\"ml-4\" style=\"color: white\">Prestataire de la catégorie :
  1266. \t\t\t\t\t\t\t\t<strong>
  1267. \t\t\t\t\t\t\t\t\t{% for category in company.category %}
  1268. \t\t\t\t\t\t\t\t\t\t{{ category.name }}
  1269. \t\t\t\t\t\t\t\t\t\t{% if not loop.last %},
  1270. \t\t\t\t\t\t\t\t\t\t{% endif %}
  1271. \t\t\t\t\t\t\t\t\t{% endfor %}
  1272. \t\t\t\t\t\t\t\t</strong>
  1273. \t\t\t\t\t\t\t</span>
  1274. \t\t\t\t\t\t</p>
  1275. \t\t\t\t\t</div>
  1276. \t\t\t\t</div>
  1277. \t\t\t</div>
  1278. \t\t</div> #}
  1279. \t\t<!-- page breadcrumb -->
  1280. \t</div>
  1281. \t{# <img src=\"#\" alt=\"\" style=\"width:100px;height:100px;background-color:red\"> #}
  1282. \t<div class=\"cont_avis\">
  1283. \t\t<div class=\"container\">
  1284. \t\t\t{% if company.image != null %}
  1285. \t\t\t\t<img src=\"{{asset(constant('App\\\\Services\\\\File::IMAGE_COMPANY_DIR') ~ company.image)}}\" class=\"img_profil_presta mb-3\" alt=\"\">
  1286. \t\t\t{% else %}
  1287. \t\t\t\t<img src=\"{{ asset('images/user-default.jpg') }}\" class=\"img_profil_presta mb-3\" alt=\"\">
  1288. \t\t\t{% endif %}
  1289. \t\t\t<h1>{{company.companyName}}</h1>
  1290. \t\t\t{% if company.category.toArray() != [] %}
  1291. \t\t\t<p>Prestataire de la catégorie :
  1292. \t\t\t\t<strong>
  1293. \t\t\t\t\t{% for category in company.category %}
  1294. \t\t\t\t\t\t{{ category.name }}
  1295. \t\t\t\t\t\t{% if not loop.last %},
  1296. \t\t\t\t\t\t{% endif %}
  1297. \t\t\t\t\t{% endfor %}
  1298. \t\t\t\t</strong>
  1299. \t\t\t</p>
  1300. \t\t\t{% endif %}
  1301. \t\t\t{% if isAbonnementPayed %}
  1302. \t\t\t<div class=\"cont_notess\">
  1303. \t\t\t\t<div class=\"one_infos\">
  1304. \t\t\t\t\t<strong> . Note : </strong>
  1305. \t\t\t\t\t<p class=\"mb-0\">&nbsp; 
  1306. \t\t\t\t\t\t<span style=\"color:#ffa912\">
  1307. \t\t\t\t\t\t\t{% if notes['globalNote']['count'] > 0 %}
  1308. \t\t\t\t\t\t\t\t{% set globalNotePresta = notes['globalNote']['totalNote'] / notes['globalNote']['count'] %}
  1309. \t\t\t\t\t\t\t{% else %}
  1310. \t\t\t\t\t\t\t\t{% set globalNotePresta = 0 %}
  1311. \t\t\t\t\t\t\t{% endif %}
  1312. \t\t\t\t\t\t\t{{ globalNotePresta|number_format(1, '.') }}
  1313. \t\t\t\t\t\t</span> 
  1314. \t\t\t\t\t\t{% for i in 1..5 %}
  1315. \t\t\t\t\t\t\t{% if i <= globalNotePresta|number_format(1, '.') %}
  1316. \t\t\t\t\t\t\t\t<i class=\"fa fa-star rated\"></i>
  1317. \t\t\t\t\t\t\t{% else %}
  1318. \t\t\t\t\t\t\t\t<i class=\"far fa-star rated\"></i>
  1319. \t\t\t\t\t\t\t{% endif %}
  1320. \t\t\t\t\t\t{% endfor %}
  1321. \t\t\t\t\t</p>
  1322. \t\t\t\t\t<p style=\"text-align: center;\">({{notes['globalNote']['count']}} évaluations)</p>
  1323. \t\t\t\t</div>
  1324. \t\t\t\t<div class=\"one_infos\">
  1325. \t\t\t\t\t<strong> . Date : </strong>
  1326. \t\t\t\t\t{# <p>&nbsp; 22 Octobre 2022</p> #}
  1327. \t\t\t\t\t<p>&nbsp; {{ company.createdAt ? company.createdAt|format_datetime(locale='fr',pattern=\"dd MMMM YYYY\"):\"\" }}</p>
  1328. \t\t\t\t</div>
  1329. \t\t\t\t<div class=\"one_infos\">
  1330. \t\t\t\t\t<strong> . Adresse  : </strong>
  1331. \t\t\t\t\t{# <p>&nbsp; Pune, Inde (adresse secondaire)</p> #}
  1332. \t\t\t\t\t<p>&nbsp; {{company.city}} ({{company.adress}})</p>
  1333. \t\t\t\t</div>
  1334. \t\t\t</div>
  1335. \t\t\t{% endif %}
  1336. \t\t</div>
  1337. \t</div>
  1338. \t<!-- /.page-header -->
  1339. \t<div class=\"content\">
  1340. \t\t<div class=\"container\">
  1341. \t\t\t<div class=\"row\">
  1342. \t\t\t\t<div class=\"col-xl-8 col-lg-8 col-md-8 col-sm-12 col-12\">
  1343. \t\t\t\t\t{% if isAbonnementPayed %}
  1344. \t\t\t\t\t<div class=\"card border card-shadow-none\">
  1345. \t\t\t\t\t\t<div class=\"card-header bg-white\">
  1346. \t\t\t\t\t\t\t<h3 class=\"mb-0\">À propos de
  1347. \t\t\t\t\t\t\t\t{{ company.companyName }}</h3>
  1348. \t\t\t\t\t\t</div>
  1349. \t\t\t\t\t\t<div class=\"card-body border-top\">
  1350. \t\t\t\t\t\t\t{{ company.description | raw }}
  1351. \t\t\t\t\t\t</div>
  1352. \t\t\t\t\t</div>
  1353. \t\t\t\t\t{% endif %}
  1354. \t\t\t\t\t<div class=\"real-wedding-content bg-white border\">
  1355. \t\t\t\t\t\t<div class=\"row\">
  1356. \t\t\t\t\t\t\t<div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12\">
  1357. \t\t\t\t\t\t\t\t<div class=\"card review-summary-table table-responsive\">
  1358. \t\t\t\t\t\t\t\t\t<table class=\"table\">
  1359. \t\t\t\t\t\t\t\t\t\t<thead>
  1360. \t\t\t\t\t\t\t\t\t\t\t<tr>
  1361. \t\t\t\t\t\t\t\t\t\t\t\t<th>Prénom</th>
  1362. \t\t\t\t\t\t\t\t\t\t\t\t<th>Note</th>
  1363. \t\t\t\t\t\t\t\t\t\t\t\t<th>Date</th>
  1364. \t\t\t\t\t\t\t\t\t\t\t\t<th>Action</th>
  1365. \t\t\t\t\t\t\t\t\t\t\t</tr>
  1366. \t\t\t\t\t\t\t\t\t\t</thead>
  1367. \t\t\t\t\t\t\t\t\t\t<tbody>
  1368. \t\t\t\t\t\t\t\t\t\t\t{% for key,avi in avis %}
  1369. \t\t\t\t\t\t\t\t\t\t\t\t{% if avi.isDesactivatedByAdmin == null and avi.isDesactivatedByAdmin == false %}
  1370. \t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
  1371. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"review-summary-name\">{{ avi.client.firstName }}</td>
  1372. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"review-summary-rating\">
  1373. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"rated\">
  1374. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for i in 1..5 %}
  1375. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if i <= avi.globalNote %}
  1376. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  1377. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  1378. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"far fa-star\"></i>
  1379. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1380. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  1381. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</span>
  1382. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"ml-2\">{{ avi.globalNote|number_format(1, '.') }}</span>
  1383. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  1384. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"review-summary-id\">{{ avi.createdAt|date('d/m/Y') }}</td>
  1385. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"review-summary-action\">
  1386. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"btn btn-outline-pink btn-xs\" data-toggle=\"collapse\" id=\"example-one\" data-text-swap=\"close\" data-text-original=\"Details\" href=\"#{{ avi.product.productSlug }}{{ loop.index }}\" aria-expanded=\"false\" aria-controls=\"collapseExample\">Details
  1387. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>
  1388. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  1389. \t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  1390. \t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
  1391. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<td colspan=\"12\" class=\"expandable-info\">
  1392. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"collapse expandable-collapse\" id=\"{{ avi.product.productSlug }}{{ loop.index }}\">
  1393. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
  1394. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div
  1395. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12\">
  1396. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- review-user -->
  1397. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-user\">
  1398. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"user-img\">
  1399. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if avi.client.image == null %}
  1400. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"{{ asset('images/user-default.jpg') }}\" alt=\"star rating jquery\" class=\"rounded-circle\" style=\"width:50px;height:50px;\"></div>
  1401. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  1402. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"{{ asset(constant('App\\\\Services\\\\File::IMAGE_CLIENT_DIR') ~ avi.client.image) }}\" alt=\"star rating jquery\" class=\"rounded-circle\" style=\"width:50px;height:50px;\"></div>
  1403. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1404. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"user-meta\">
  1405. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"user-name mb-2\">{{ avi.client.firstName }}</span>
  1406. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"given-review\"></div>
  1407. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>{{ avi.product.name }}</span>
  1408. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1409. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1410. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- /.review-user -->
  1411. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- review-descripttions -->
  1412. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-descriptions mt-4\">
  1413. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if avi.text %}
  1414. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p>{{ avi.text }}</p>
  1415. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  1416. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p>Aucun avis déposé</p>
  1417. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1418. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"cont_img_comment\" id=\"id_img_{{key}}\">
  1419. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for imgcomment in avi.imageComments.toArray() %}
  1420. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src={{ asset(constant('App\\\\Services\\\\File::IMAGE_COMMENT_DIR') ~ imgcomment.url) }} class=\"img_comment\">
  1421. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  1422. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1423. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
  1424. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div
  1425. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12\">
  1426. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- review-list -->
  1427. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-list mr-1\">
  1428. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-for\">Qualité du service</div>
  1429. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-rating\">
  1430. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"rated\">
  1431. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for i in 1..5 %}
  1432. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if i <= avi.serviceQuality %}
  1433. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  1434. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  1435. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"far fa-star\"></i>
  1436. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1437. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  1438. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</span>
  1439. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1440. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-number\">{{ avi.serviceQuality }}</div>
  1441. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1442. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- /.review-list -->
  1443. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- review-list -->
  1444. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-list mr-1\">
  1445. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-for\">Fiabilité</div>
  1446. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-rating\">
  1447. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"rated\">
  1448. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for i in 1..5 %}
  1449. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if i <= avi.fiability %}
  1450. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  1451. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  1452. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"far fa-star\"></i>
  1453. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1454. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  1455. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</span>
  1456. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1457. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-number\">{{ avi.fiability }}</div>
  1458. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1459. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- /.review-list -->
  1460. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- review-list -->
  1461. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-list mr-1\">
  1462. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-for\">Prix</div>
  1463. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-rating\">
  1464. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"rated\">
  1465. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for i in 1..5 %}
  1466. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if i <= avi.price %}
  1467. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  1468. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  1469. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"far fa-star\"></i>
  1470. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1471. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  1472. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</span>
  1473. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1474. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-number\">{{ avi.price }}</div>
  1475. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1476. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- /.review-list -->
  1477. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- review-list -->
  1478. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-list\">
  1479. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-for\">Rapidité</div>
  1480. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-rating\">
  1481. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"rated\">
  1482. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for i in 1..5 %}
  1483. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if i <= avi.speed %}
  1484. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  1485. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  1486. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"far fa-star\"></i>
  1487. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1488. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  1489. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</span>
  1490. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1491. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-number\">{{ avi.speed }}</div>
  1492. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1493. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-list mr-1\">
  1494. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-for\">Description conforme</div>
  1495. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-rating\">
  1496. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"rated\">
  1497. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for i in 1..5 %}
  1498. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if i <= avi.conformDescription %}
  1499. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  1500. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  1501. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"far fa-star\"></i>
  1502. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1503. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  1504. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</span>
  1505. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1506. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-number\">{{ avi.conformDescription }}</div>
  1507. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1508. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-list\">
  1509. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-for\">Communication</div>
  1510. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-rating\">
  1511. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"rated\">
  1512. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for i in 1..5 %}
  1513. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if i <= avi.communication %}
  1514. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
  1515. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  1516. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"far fa-star\"></i>
  1517. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1518. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  1519. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</span>
  1520. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1521. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-number\">{{ avi.communication }}</div>
  1522. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1523. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- /.review-list -->
  1524. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- review-list -->
  1525. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1526. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- /.review-list -->
  1527. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1528. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1529. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- /.review-descripttions -->
  1530. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1531. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1532. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1533. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
  1534. \t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
  1535. \t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1536. \t\t\t\t\t\t\t\t\t\t\t{% else %}
  1537. \t\t\t\t\t\t\t\t\t\t\t\t<tr>
  1538. \t\t\t\t\t\t\t\t\t\t\t\t\t<td>Aucun avis pour le moment</td>
  1539. \t\t\t\t\t\t\t\t\t\t\t\t</tr>
  1540. \t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  1541. \t\t\t\t\t\t\t\t\t\t</tbody>
  1542. \t\t\t\t\t\t\t\t\t</table>
  1543. \t\t\t\t\t\t\t\t</div>
  1544. \t\t\t\t\t\t\t\t<div class=\"pagination float-right\">
  1545. \t\t\t\t\t\t\t\t\t<nav aria-label=\"Page navigation example\">
  1546. \t\t\t\t\t\t\t\t\t\t{{ knp_pagination_render(avis) }}
  1547. \t\t\t\t\t\t\t\t\t</nav>
  1548. \t\t\t\t\t\t\t\t</div>
  1549. \t\t\t\t\t\t\t</div>
  1550. \t\t\t\t\t\t</div>
  1551. \t\t\t\t\t</div>
  1552. \t\t\t\t\t<!-- /.real-wedding-grid -->
  1553. \t\t\t\t</div>
  1554. \t\t\t\t<!-- sidebar -->
  1555. \t\t\t\t<div class=\"col-xl-4 col-lg-4 col-md-4 col-sm-12 col-12\">
  1556. \t\t\t\t\t<div class=\"sidebar \">
  1557. \t\t\t\t\t\t<div class=\"card border card-shadow-none widget-vendor-list \">
  1558. \t\t\t\t\t\t\t<div class=\"card-header bg-white\">
  1559. \t\t\t\t\t\t\t\t<h3 class=\"mb-0\">Prestataire</h3>
  1560. \t\t\t\t\t\t\t</div>
  1561. \t\t\t\t\t\t\t<div class=\"card-body border-top vendor-sidebar-list\">
  1562. \t\t\t\t\t\t\t\t<h5 class=\"vendor-list-title\">Conditions de vente :</h5>
  1563. \t\t\t\t\t\t\t\t<a href=\"#\" class=\"btn btn-primary\" data-toggle=\"modal\" data-target=\"#exampleModal\">
  1564. \t\t\t\t\t\t\t\t\tVoir
  1565. \t\t\t\t\t\t\t\t</a>
  1566. \t\t\t\t\t\t\t</div>
  1567. \t\t\t\t\t\t\t<div class=\"card-body border-top vendor-sidebar-list\">
  1568. \t\t\t\t\t\t\t\t<h5 class=\"vendor-list-title\">Prestations :</h5>
  1569. \t\t\t\t\t\t\t\t{% for category in company.category %}
  1570. \t\t\t\t\t\t\t\t\t{{ category.name }}
  1571. \t\t\t\t\t\t\t\t\t{% if not loop.last %},
  1572. \t\t\t\t\t\t\t\t\t{% endif %}
  1573. \t\t\t\t\t\t\t\t{% endfor %}
  1574. \t\t\t\t\t\t\t</div>
  1575. \t\t\t\t\t\t\t<div class=\"card-body border-top vendor-sidebar-list\">
  1576. \t\t\t\t\t\t\t\t<h5 class=\"vendor-list-title\">Nombre de services proposés :</h5>
  1577. \t\t\t\t\t\t\t\t{{ lastProducts|length }}
  1578. \t\t\t\t\t\t\t\tservice{% if lastProducts|length > 1 %}s{% endif %}
  1579. \t\t\t\t\t\t\t</div>
  1580. \t\t\t\t\t\t\t<div class=\"card-body border-top vendor-sidebar-list\">
  1581. \t\t\t\t\t\t\t\t<h5 class=\"vendor-list-title\">Note globale du prestataire :</h5>
  1582. \t\t\t\t\t\t\t\t{% if notes['globalNote']['count'] > 0 %}
  1583. \t\t\t\t\t\t\t\t\t{% set globalNotePresta = notes['globalNote']['totalNote'] / notes['globalNote']['count'] %}
  1584. \t\t\t\t\t\t\t\t{% else %}
  1585. \t\t\t\t\t\t\t\t\t{% set globalNotePresta = 0 %}
  1586. \t\t\t\t\t\t\t\t{% endif %}
  1587. \t\t\t\t\t\t\t\t<a href=\"#\" class=\"vendor-list-link\">{{ globalNotePresta|number_format(1, '.') }}</a>
  1588. \t\t\t\t\t\t\t</div>
  1589. \t\t\t\t\t\t</div>
  1590. \t\t\t\t\t</div>
  1591. \t\t\t\t</div>
  1592. \t\t\t\t<!-- /.sidebar -->
  1593. \t\t\t</div>
  1594. \t\t\t<div class=\"row\">
  1595. \t\t\t\t
  1596. \t\t\t</div>
  1597. \t\t\t<div class=\"row\">
  1598. \t\t\t\t<div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12\">
  1599. \t\t\t\t\t<div class=\"section-block\">
  1600. \t\t\t\t\t\t<h2>Produits du prestataire</h2>
  1601. \t\t\t\t\t</div>
  1602. \t\t\t\t</div>
  1603.                 {% for otherProduct in lastProducts %}
  1604. \t\t\t\t\t<div class=\"col-xl-4 col-lg-4 col-md-6 col-sm-6 col-12\">
  1605. \t\t\t\t\t\t<div class=\"container-block-Pcompanies mb-3\">
  1606. \t\t\t\t\t\t\t<div class=\"container-imageP zoomimg\">
  1607. \t\t\t\t\t\t\t\t{% if otherProduct.photos is not empty %}
  1608. \t\t\t\t\t\t\t\t\t<img src=\"{{ asset(constant('App\\\\Services\\\\File::IMAGE_PRODUCT_DIR') ~ otherProduct.photos.first.url) }}\" alt=\"{{ otherProduct.name }}\" class=\"img-fluid\" style=\"object-fit: cover; border-radius: .5rem .5rem 0 0;\">
  1609. \t\t\t\t\t\t\t\t{% else %}
  1610. \t\t\t\t\t\t\t\t\t<img src=\"{{ asset('images/vecteezy_vector-gear-logo-design-with-multi-colors-range_6172776.jpg') }}\" alt=\"default image\" class=\"img-fluid\" style=\"height: 213px;object-fit: cover; border-radius: .5rem .5rem 0 0;\">
  1611. \t\t\t\t\t\t\t\t{% endif %}
  1612. \t\t\t\t\t\t\t</div>
  1613. \t\t\t\t\t\t\t<div class=\"container-info-presta\" style=\"padding-bottom: 80px;\">
  1614. \t\t\t\t\t\t\t\t<h2 class=\"vendor-title\">
  1615. \t\t\t\t\t\t\t\t\t<a href=\"{{ path('front_product_single', {'slug': otherProduct.subCategories[0].categories[0].slug, 'subCategorySlug': otherProduct.subCategories[0].subCategorySlug, 'product_id': otherProduct.id, 'productSlug': otherProduct.productSlug}) }}\" class=\"title\">{{ otherProduct.name }}</a>
  1616. \t\t\t\t\t\t\t\t</h2>
  1617. \t\t\t\t\t\t\t\t<p class=\"vendor-address\">
  1618. \t\t\t\t\t\t\t\t\t{% for department in otherProduct.departments %}
  1619. \t\t\t\t\t\t\t\t\t\t{{ department.name }}
  1620. \t\t\t\t\t\t\t\t\t\t{% if not loop.last %},
  1621. \t\t\t\t\t\t\t\t\t\t{% endif %}
  1622. \t\t\t\t\t\t\t\t\t{% else %}
  1623. \t\t\t\t\t\t\t\t\t\tToute la France
  1624. \t\t\t\t\t\t\t\t\t{% endfor %}
  1625. \t\t\t\t\t\t\t\t</p>
  1626. \t\t\t\t\t\t\t\t<p><i class=\"fas fa-money-bill-wave\"></i> Prix
  1627. \t\t\t\t\t\t\t\t\t<strong>{{ otherProduct.price|number_format(2, '.') }}</strong>
  1628. \t\t\t\t\t\t\t\t\t€</p>
  1629. \t\t\t\t\t\t\t\t<p><i class=\"fa fa-star rated\"></i>
  1630. \t\t\t\t\t\t\t\t\t4,9 Avis</p>
  1631.                                 <p>{{ otherProduct.quantity }} Quantité restante</p>
  1632. \t\t\t\t\t\t\t</div>
  1633. \t\t\t\t\t\t\t<div class=\"wishlist-sign\">
  1634. \t\t\t\t\t\t\t\t<a href=\"#\" class=\"btn-wishlist\">
  1635. \t\t\t\t\t\t\t\t\t<i class=\"fa fa-heart\"></i>
  1636. \t\t\t\t\t\t\t\t</a>
  1637. \t\t\t\t\t\t\t</div>
  1638.                             <a href=\"{{ path('front_product_single', {'slug': otherProduct.subCategories[0].categories[0].slug, 'subCategorySlug': otherProduct.subCategories[0].subCategorySlug, 'product_id': otherProduct.id, 'productSlug': otherProduct.productSlug}) }}\" class=\"title\">
  1639.                                 <button class=\"btnVoirP btn\">Voir le produit</button>
  1640.                             </a>
  1641. \t\t\t\t\t\t</div>
  1642. \t\t\t\t\t</div>
  1643. \t\t\t\t{% endfor %}
  1644. \t\t\t\t{# {% for otherProduct in lastProducts %}
  1645. \t\t\t\t\t<div class=\"col-xl-4 col-lg-4 col-md-6 col-sm-6 col-12\">
  1646. \t\t\t\t\t\t<div
  1647. \t\t\t\t\t\t\tclass=\"vendor-thumbnail\">
  1648. \t\t\t\t\t\t\t<!-- Vendor thumbnail -->
  1649. \t\t\t\t\t\t\t<div
  1650. \t\t\t\t\t\t\t\tclass=\"vendor-img zoomimg\">
  1651. \t\t\t\t\t\t\t\t<!-- Vendor img -->
  1652. \t\t\t\t\t\t\t\t<a href=\"{{ path('front_product_single', {'slug': otherProduct.subCategories[0].categories[0].slug, 'subCategorySlug': otherProduct.subCategories[0].subCategorySlug, 'product_id': otherProduct.id, 'productSlug': otherProduct.productSlug}) }}\"><img src=\"{{ asset(constant('App\\\\Services\\\\File::IMAGE_PRODUCT_DIR') ~ otherProduct.photos.first.url) }}\" alt=\"{{ otherProduct.name }}\" class=\"img-fluid\"></a>
  1653. \t\t\t\t\t\t\t\t<div class=\"wishlist-sign\">
  1654. \t\t\t\t\t\t\t\t\t<a href=\"#\" class=\"btn-wishlist\">
  1655. \t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-heart\"></i>
  1656. \t\t\t\t\t\t\t\t\t</a>
  1657. \t\t\t\t\t\t\t\t</div>
  1658. \t\t\t\t\t\t\t</div>
  1659. \t\t\t\t\t\t\t<!-- /.Vendor img -->
  1660. \t\t\t\t\t\t\t<div
  1661. \t\t\t\t\t\t\t\tclass=\"vendor-content\">
  1662. \t\t\t\t\t\t\t\t<!-- Vendor Content -->
  1663. \t\t\t\t\t\t\t\t<h2 class=\"vendor-title\">
  1664. \t\t\t\t\t\t\t\t\t<a href=\"{{ path('front_product_single', {'slug': otherProduct.subCategories[0].categories[0].slug, 'subCategorySlug': otherProduct.subCategories[0].subCategorySlug, 'product_id': otherProduct.id, 'productSlug': otherProduct.productSlug}) }}\" class=\"title\">{{ otherProduct.name }}</a>
  1665. \t\t\t\t\t\t\t\t</h2>
  1666. \t\t\t\t\t\t\t\t<p class=\"vendor-address\">
  1667. \t\t\t\t\t\t\t\t\t{% for department in otherProduct.departments %}
  1668. \t\t\t\t\t\t\t\t\t\t{{ department.name }}
  1669. \t\t\t\t\t\t\t\t\t\t{% if not loop.last %},
  1670. \t\t\t\t\t\t\t\t\t\t{% endif %}
  1671. \t\t\t\t\t\t\t\t\t{% else %}
  1672. \t\t\t\t\t\t\t\t\t\tToute la France
  1673. \t\t\t\t\t\t\t\t\t{% endfor %}
  1674. \t\t\t\t\t\t\t\t</p>
  1675. \t\t\t\t\t\t\t</div>
  1676. \t\t\t\t\t\t\t<div class=\"vendor-meta\">
  1677. \t\t\t\t\t\t\t\t<div class=\"vendor-meta-item vendor-meta-item-bordered\">
  1678. \t\t\t\t\t\t\t\t\t<span class=\"vendor-price\">
  1679. \t\t\t\t\t\t\t\t\t\t{{ otherProduct.price|number_format(2, '.') }}€
  1680. \t\t\t\t\t\t\t\t\t</span>
  1681. \t\t\t\t\t\t\t\t\t<span class=\"vendor-text\">Prix</span>
  1682. \t\t\t\t\t\t\t\t</div>
  1683. \t\t\t\t\t\t\t\t<div class=\"vendor-meta-item vendor-meta-item-bordered\">
  1684. \t\t\t\t\t\t\t\t\t<span class=\"vendor-guest\">
  1685. \t\t\t\t\t\t\t\t\t\t{{ otherProduct.quantity }}
  1686. \t\t\t\t\t\t\t\t\t</span>
  1687. \t\t\t\t\t\t\t\t\t<span class=\"vendor-text\">Quantité restante</span>
  1688. \t\t\t\t\t\t\t\t</div>
  1689. \t\t\t\t\t\t\t\t<div class=\"vendor-meta-item vendor-meta-item-bordered\">
  1690. \t\t\t\t\t\t\t\t\t<span class=\"rating-star\">
  1691. \t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star rated\"></i>
  1692. \t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star rated\"></i>
  1693. \t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star rated\"></i>
  1694. \t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star rated\"></i>
  1695. \t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star rate-mute\"></i>
  1696. \t\t\t\t\t\t\t\t\t</span>
  1697. \t\t\t\t\t\t\t\t\t<span class=\"rating-count vendor-text\">(20)</span>
  1698. \t\t\t\t\t\t\t\t</div>
  1699. \t\t\t\t\t\t\t</div>
  1700. \t\t\t\t\t\t\t<!-- /.Vendor Content -->
  1701. \t\t\t\t\t\t</div>
  1702. \t\t\t\t\t\t<!-- /.Vendor thumbnail -->
  1703. \t\t\t\t\t</div>
  1704. \t\t\t\t{% endfor %} #}
  1705. \t\t\t</div>
  1706. \t\t</div>
  1707. \t</div>
  1708. {% endblock %}
  1709. {% block javascript %}
  1710. \t<script title=\"zoom img comment\">
  1711. \t{% for key,avi in avis %}
  1712. \t\tif (\$('.img_comment').length) {
  1713. \t\t\tconsole.log(\"tafiditra....\");
  1714. \t\t\t\$('#id_img_{{key}} .img_comment').magnificPopup({
  1715. \t\t\t\titems: [{% for imgcomment in avi.imageComments.toArray() %}{
  1716. \t\t\t\t\t\tsrc: \"{{ asset(constant('App\\\\Services\\\\File::IMAGE_COMMENT_DIR') ~ imgcomment.url) }}\",
  1717. \t\t\t\t\t\ttitle: 'Photo ' + {{ loop.index }}
  1718. \t\t\t\t\t},{% endfor %}],
  1719. \t\t\t\tgallery: {
  1720. \t\t\t\t\tenabled: true
  1721. \t\t\t\t},
  1722. \t\t\t\ttype: 'image' // this is a default type
  1723. \t\t\t});
  1724. \t\t}
  1725. \t{% endfor %}
  1726. \t</script>
  1727. {% endblock %}
  1728. ""front/company/single.html.twig""/var/www/vhosts/hobbiinn.com/httpdocs/providdersvacance/templates/front/company/single.html.twig");
  1729.     }
  1730. }