<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* front/company/single.html.twig */
class __TwigTemplate_d794439d8d680eef3a28a1d4e5645778c21e1ffb9a27c9eb30f4b21de01d32d2 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'meta' => [$this, 'block_meta'],
'body' => [$this, 'block_body'],
'javascript' => [$this, 'block_javascript'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "base_front.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/company/single.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/company/single.html.twig"));
$this->parent = $this->loadTemplate("base_front.html.twig", "front/company/single.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_meta($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
// line 4
yield "\t<title>Prestataire
\t\t";
// line 5
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", false, false, false, 5), "html", null, true);
yield "</title>
\t<meta name=\"description\" content=\"Page du prestataire ";
// line 6
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", false, false, false, 6), "html", null, true);
yield " présent dans la catégorie ";
$context['_parent'] = $context;
$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", false, false, false, 6));
foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 6), "html", null, true);
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
yield ". ";
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", null, true);
yield " avis disponibles sur ce prestataire\">
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 9
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 10
yield "\t<style>
\t\t.cont_avis{
\t\t\twidth: 92%;
\t\t\tmargin:auto;
\t\t\tbox-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
\t\t\tpadding-bottom: 40px;
\t\t\tborder-radius: 0 0 20px 20px;
\t\t\tmargin-top: -80px;
\t\t}
\t\t.img_profil_presta {
\t\t\tfilter: drop-shadow(3px 3px 9px rgba(0, 0, 0, 0.25));
\t\t\tborder-radius: 24px;
\t\t\twidth: 160px;
\t\t\theight: 160px;
\t\t\tbackground-color: violet;
\t\t\tobject-fit: cover;
\t\t}
\t\t.cont_notess {
\t\t\tdisplay: flex;
\t\t\tcolumn-gap: 40px;
\t\t\tflex-direction: row;
\t\t}
\t\t";
// line 33
yield "\t\t.cont_img_comment {
\t\t\tdisplay: flex;
\t\t\tcolumn-gap: 10px;
\t\t\tmargin-bottom: 10px;
\t\t}
\t\t.cont_img_comment img {
\t\t\twidth: 100px;
\t\t\theight: 100px;
\t\t\tbox-shadow: 1px 1px 5px #0000005c;
\t\t\tborder-radius: 20px;
\t\t\tobject-fit: cover;
\t\t}
\t\t";
// line 46
yield "\t\t.user-meta {
\t\t\tdisplay: flex;
\t\t\tjustify-content: space-between;
\t\t}
\t</style>
\t<!-- Modal -->
\t<div class=\"modal fade\" id=\"exampleModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\" aria-hidden=\"true\">
\t\t<div class=\"modal-dialog\" role=\"document\" style=\"max-width:50%\">
\t\t\t<div class=\"modal-content\">
\t\t\t\t<div class=\"modal-header\">
\t\t\t\t\t<h5 class=\"modal-title\" id=\"exampleModalLabel\">Conditions de vente de l'entreprise
\t\t\t\t\t\t";
// line 57
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", false, false, false, 57), "html", null, true);
yield "</h5>
\t\t\t\t\t<a href=\"#\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
\t\t\t\t\t\t<span aria-hidden=\"true\">×</span>
\t\t\t\t\t</a>
\t\t\t\t</div>
\t\t\t\t<div class=\"modal-body\">
\t\t\t\t\t<p>";
// line 63
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", false, false, false, 63), "html", null, true);
yield "</p>
\t\t\t\t</div>
\t\t\t\t<div class=\"modal-footer\">
\t\t\t\t\t<a href=\"#\" class=\"btn btn-secondary\" data-dismiss=\"modal\">Fermer</a>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</div>
\t";
// line 73
yield "\t";
$context["isAbonnementPayed"] = false;
// line 74
yield "\t";
if ((CoreExtension::getAttribute($this->env, $this->source, 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.', 74, $this->source); })()), "abonnements", [], "any", false, false, false, 74), "count", [], "method", false, false, false, 74) > 0)) {
// line 75
yield "\t\t";
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, 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.', 75, $this->source); })()), "abonnements", [], "any", false, false, false, 75), "last", [], "any", false, false, false, 75), "isActive", [], "any", false, false, false, 75)) {
// line 76
yield "\t\t\t";
$context["isAbonnementPayed"] = true;
// line 77
yield "\t\t";
}
// line 78
yield "\t";
}
// line 79
yield "
\t<div class=\"real-wedding-single-img\" style=\"background: url('/images/vacncance_blog.jpg')no-repeat center;background-size: cover;\">
\t\t<div class=\"container\">
\t\t\t<div class=\"row\">
\t\t\t\t<div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12 text-center\">
\t\t\t\t\t<div class=\"realwed-caption\">
\t\t\t\t\t\t<h1 class=\"real-wedding-single-title\">";
// line 85
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", false, false, false, 85), "html", null, true);
yield "</h1>
\t\t\t\t\t\t<span class=\"real-wedding-place ml-4 text-white\">
\t\t\t\t\t\t\t<i class=\"fas fa-map-marker-alt pr-2\"></i>
\t\t\t\t\t\t\t";
// line 88
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", false, false, false, 88), "html", null, true);
yield "</span>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t\t<!-- page caption -->
\t\t";
// line 113
yield "\t\t<!-- page breadcrumb -->
\t</div>
\t";
// line 116
yield "\t<div class=\"cont_avis\">
\t\t<div class=\"container\">
\t\t\t";
// line 118
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", false, false, false, 118) != null)) {
// line 119
yield "\t\t\t\t<img src=\"";
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", false, false, false, 119))), "html", null, true);
yield "\" class=\"img_profil_presta mb-3\" alt=\"\">
\t\t\t";
} else {
// line 121
yield "\t\t\t\t<img src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/user-default.jpg"), "html", null, true);
yield "\" class=\"img_profil_presta mb-3\" alt=\"\">
\t\t\t";
}
// line 123
yield "\t\t\t<h1>";
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", false, false, false, 123), "html", null, true);
yield "</h1>
\t\t\t";
// line 124
if ((CoreExtension::getAttribute($this->env, $this->source, 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.', 124, $this->source); })()), "category", [], "any", false, false, false, 124), "toArray", [], "method", false, false, false, 124) != [])) {
// line 125
yield "\t\t\t<p>Prestataire de la catégorie :
\t\t\t\t<strong>
\t\t\t\t\t";
// line 127
$context['_parent'] = $context;
$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", false, false, false, 127));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
// line 128
yield "\t\t\t\t\t\t";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 128), "html", null, true);
yield "
\t\t\t\t\t\t";
// line 129
if ( !CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 129)) {
yield ",
\t\t\t\t\t\t";
}
// line 131
yield "\t\t\t\t\t";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 132
yield "\t\t\t\t</strong>
\t\t\t</p>
\t\t\t";
}
// line 135
yield "\t\t\t";
if ((isset($context["isAbonnementPayed"]) || array_key_exists("isAbonnementPayed", $context) ? $context["isAbonnementPayed"] : (function () { throw new RuntimeError('Variable "isAbonnementPayed" does not exist.', 135, $this->source); })())) {
// line 136
yield "\t\t\t<div class=\"cont_notess\">
\t\t\t\t<div class=\"one_infos\">
\t\t\t\t\t<strong> . Note : </strong>
\t\t\t\t\t<p class=\"mb-0\">
\t\t\t\t\t\t<span style=\"color:#ffa912\">
\t\t\t\t\t\t\t";
// line 141
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 141), "count", [], "array", false, false, false, 141) > 0)) {
// line 142
yield "\t\t\t\t\t\t\t\t";
$context["globalNotePresta"] = (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 142), "totalNote", [], "array", false, false, false, 142) / CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 142), "count", [], "array", false, false, false, 142));
// line 143
yield "\t\t\t\t\t\t\t";
} else {
// line 144
yield "\t\t\t\t\t\t\t\t";
$context["globalNotePresta"] = 0;
// line 145
yield "\t\t\t\t\t\t\t";
}
// line 146
yield "\t\t\t\t\t\t\t";
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", null, true);
yield "
\t\t\t\t\t\t</span>
\t\t\t\t\t\t";
// line 148
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(range(1, 5));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 149
yield "\t\t\t\t\t\t\t";
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, "."))) {
// line 150
yield "\t\t\t\t\t\t\t\t<i class=\"fa fa-star rated\"></i>
\t\t\t\t\t\t\t";
} else {
// line 152
yield "\t\t\t\t\t\t\t\t<i class=\"far fa-star rated\"></i>
\t\t\t\t\t\t\t";
}
// line 154
yield "\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 155
yield "\t\t\t\t\t</p>
\t\t\t\t\t<p style=\"text-align: center;\">(";
// line 156
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 156), "count", [], "array", false, false, false, 156), "html", null, true);
yield " évaluations)</p>
\t\t\t\t</div>
\t\t\t\t<div class=\"one_infos\">
\t\t\t\t\t<strong> . Date : </strong>
\t\t\t\t\t";
// line 161
yield "\t\t\t\t\t<p> ";
((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", false, false, false, 161)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extra\Intl\IntlExtension']->formatDateTime($this->env, 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", false, false, false, 161), "medium", "medium", "dd MMMM YYYY", null, "gregorian", "fr"), "html", null, true)) : (yield ""));
yield "</p>
\t\t\t\t</div>
\t\t\t\t<div class=\"one_infos\">
\t\t\t\t\t<strong> . Adresse : </strong>
\t\t\t\t\t";
// line 166
yield "\t\t\t\t\t<p> ";
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", false, false, false, 166), "html", null, true);
yield " (";
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", false, false, false, 166), "html", null, true);
yield ")</p>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t";
}
// line 170
yield "\t\t</div>
\t</div>
\t<!-- /.page-header -->
\t<div class=\"content\">
\t\t<div class=\"container\">
\t\t\t<div class=\"row\">
\t\t\t\t<div class=\"col-xl-8 col-lg-8 col-md-8 col-sm-12 col-12\">
\t\t\t\t\t";
// line 177
if ((isset($context["isAbonnementPayed"]) || array_key_exists("isAbonnementPayed", $context) ? $context["isAbonnementPayed"] : (function () { throw new RuntimeError('Variable "isAbonnementPayed" does not exist.', 177, $this->source); })())) {
// line 178
yield "\t\t\t\t\t<div class=\"card border card-shadow-none\">
\t\t\t\t\t\t<div class=\"card-header bg-white\">
\t\t\t\t\t\t\t<h3 class=\"mb-0\">À propos de
\t\t\t\t\t\t\t\t";
// line 181
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", false, false, false, 181), "html", null, true);
yield "</h3>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"card-body border-top\">
\t\t\t\t\t\t\t";
// line 184
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", false, false, false, 184);
yield "
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t\t";
}
// line 188
yield "\t\t\t\t\t<div class=\"real-wedding-content bg-white border\">
\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12\">
\t\t\t\t\t\t\t\t<div class=\"card review-summary-table table-responsive\">
\t\t\t\t\t\t\t\t\t<table class=\"table\">
\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t<th>Prénom</th>
\t\t\t\t\t\t\t\t\t\t\t\t<th>Note</th>
\t\t\t\t\t\t\t\t\t\t\t\t<th>Date</th>
\t\t\t\t\t\t\t\t\t\t\t\t<th>Action</th>
\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t";
// line 202
$context['_parent'] = $context;
$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); })()));
$context['_iterated'] = false;
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["key"] => $context["avi"]) {
// line 203
yield "\t\t\t\t\t\t\t\t\t\t\t\t";
if (((CoreExtension::getAttribute($this->env, $this->source, $context["avi"], "isDesactivatedByAdmin", [], "any", false, false, false, 203) == null) && (CoreExtension::getAttribute($this->env, $this->source, $context["avi"], "isDesactivatedByAdmin", [], "any", false, false, false, 203) == false))) {
// line 204
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"review-summary-name\">";
// line 205
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["avi"], "client", [], "any", false, false, false, 205), "firstName", [], "any", false, false, false, 205), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"review-summary-rating\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"rated\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 208
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(range(1, 5));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 209
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
if (($context["i"] <= CoreExtension::getAttribute($this->env, $this->source, $context["avi"], "globalNote", [], "any", false, false, false, 209))) {
// line 210
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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 212
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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 214
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 215
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"ml-2\">";
// line 216
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatNumber(CoreExtension::getAttribute($this->env, $this->source, $context["avi"], "globalNote", [], "any", false, false, false, 216), 1, "."), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"review-summary-id\">";
// line 218
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["avi"], "createdAt", [], "any", false, false, false, 218), "d/m/Y"), "html", null, true);
yield "</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"review-summary-action\">
\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=\"#";
// line 220
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["avi"], "product", [], "any", false, false, false, 220), "productSlug", [], "any", false, false, false, 220), "html", null, true);
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 220), "html", null, true);
yield "\" aria-expanded=\"false\" aria-controls=\"collapseExample\">Details
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td colspan=\"12\" class=\"expandable-info\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"collapse expandable-collapse\" id=\"";
// line 226
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["avi"], "product", [], "any", false, false, false, 226), "productSlug", [], "any", false, false, false, 226), "html", null, true);
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 226), "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div
\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\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- review-user -->
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-user\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"user-img\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 233
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["avi"], "client", [], "any", false, false, false, 233), "image", [], "any", false, false, false, 233) == null)) {
// line 234
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/user-default.jpg"), "html", null, true);
yield "\" alt=\"star rating jquery\" class=\"rounded-circle\" style=\"width:50px;height:50px;\"></div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 236
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"";
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->source, CoreExtension::getAttribute($this->env, $this->source, $context["avi"], "client", [], "any", false, false, false, 236), "image", [], "any", false, false, false, 236))), "html", null, true);
yield "\" alt=\"star rating jquery\" class=\"rounded-circle\" style=\"width:50px;height:50px;\"></div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 238
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"user-meta\">
\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\">";
// line 239
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["avi"], "client", [], "any", false, false, false, 239), "firstName", [], "any", false, false, false, 239), "html", null, true);
yield "</span>
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>";
// line 241
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["avi"], "product", [], "any", false, false, false, 241), "name", [], "any", false, false, false, 241), "html", null, true);
yield "</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- /.review-user -->
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- review-descripttions -->
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-descriptions mt-4\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 247
if (CoreExtension::getAttribute($this->env, $this->source, $context["avi"], "text", [], "any", false, false, false, 247)) {
// line 248
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p>";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["avi"], "text", [], "any", false, false, false, 248), "html", null, true);
yield "</p>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 250
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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 252
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_";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["key"], "html", null, true);
yield "\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 253
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["avi"], "imageComments", [], "any", false, false, false, 253), "toArray", [], "method", false, false, false, 253));
foreach ($context['_seq'] as $context["_key"] => $context["imgcomment"]) {
// line 254
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=";
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", false, false, false, 254))), "html", null, true);
yield " class=\"img_comment\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['imgcomment'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 256
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div
\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\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- review-list -->
\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\">
\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>
\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\">
\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\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 265
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(range(1, 5));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 266
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";
if (($context["i"] <= CoreExtension::getAttribute($this->env, $this->source, $context["avi"], "serviceQuality", [], "any", false, false, false, 266))) {
// line 267
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>
\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 {
// line 269
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>
\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";
}
// line 271
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";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 272
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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\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\">";
// line 274
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["avi"], "serviceQuality", [], "any", false, false, false, 274), "html", null, true);
yield "</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- /.review-list -->
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- review-list -->
\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\">
\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>
\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\">
\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\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 282
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(range(1, 5));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 283
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";
if (($context["i"] <= CoreExtension::getAttribute($this->env, $this->source, $context["avi"], "fiability", [], "any", false, false, false, 283))) {
// line 284
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>
\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 {
// line 286
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>
\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";
}
// line 288
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";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 289
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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\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\">";
// line 291
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["avi"], "fiability", [], "any", false, false, false, 291), "html", null, true);
yield "</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- /.review-list -->
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- review-list -->
\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\">
\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>
\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\">
\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\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 299
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(range(1, 5));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 300
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";
if (($context["i"] <= CoreExtension::getAttribute($this->env, $this->source, $context["avi"], "price", [], "any", false, false, false, 300))) {
// line 301
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>
\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 {
// line 303
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>
\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";
}
// line 305
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";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 306
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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\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\">";
// line 308
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["avi"], "price", [], "any", false, false, false, 308), "html", null, true);
yield "</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- /.review-list -->
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- review-list -->
\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\">
\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>
\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\">
\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\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 316
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(range(1, 5));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 317
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";
if (($context["i"] <= CoreExtension::getAttribute($this->env, $this->source, $context["avi"], "speed", [], "any", false, false, false, 317))) {
// line 318
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>
\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 {
// line 320
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>
\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";
}
// line 322
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";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 323
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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\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\">";
// line 325
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["avi"], "speed", [], "any", false, false, false, 325), "html", null, true);
yield "</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\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\">
\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>
\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\">
\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\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 331
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(range(1, 5));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 332
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";
if (($context["i"] <= CoreExtension::getAttribute($this->env, $this->source, $context["avi"], "conformDescription", [], "any", false, false, false, 332))) {
// line 333
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>
\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 {
// line 335
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>
\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";
}
// line 337
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";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 338
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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\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\">";
// line 340
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["avi"], "conformDescription", [], "any", false, false, false, 340), "html", null, true);
yield "</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\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\">
\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>
\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\">
\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\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 346
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(range(1, 5));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 347
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";
if (($context["i"] <= CoreExtension::getAttribute($this->env, $this->source, $context["avi"], "communication", [], "any", false, false, false, 347))) {
// line 348
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>
\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 {
// line 350
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>
\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";
}
// line 352
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";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 353
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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\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\">";
// line 355
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["avi"], "communication", [], "any", false, false, false, 355), "html", null, true);
yield "</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- /.review-list -->
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- review-list -->
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- /.review-list -->
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- /.review-descripttions -->
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 370
yield "\t\t\t\t\t\t\t\t\t\t\t";
$context['_iterated'] = true;
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
if (!$context['_iterated']) {
// line 371
yield "\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t<td>Aucun avis pour le moment</td>
\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['avi'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 375
yield "\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"pagination float-right\">
\t\t\t\t\t\t\t\t\t<nav aria-label=\"Page navigation example\">
\t\t\t\t\t\t\t\t\t\t";
// line 380
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); })()));
yield "
\t\t\t\t\t\t\t\t\t</nav>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t\t<!-- /.real-wedding-grid -->
\t\t\t\t</div>
\t\t\t\t<!-- sidebar -->
\t\t\t\t<div class=\"col-xl-4 col-lg-4 col-md-4 col-sm-12 col-12\">
\t\t\t\t\t<div class=\"sidebar \">
\t\t\t\t\t\t<div class=\"card border card-shadow-none widget-vendor-list \">
\t\t\t\t\t\t\t<div class=\"card-header bg-white\">
\t\t\t\t\t\t\t\t<h3 class=\"mb-0\">Prestataire</h3>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"card-body border-top vendor-sidebar-list\">
\t\t\t\t\t\t\t\t<h5 class=\"vendor-list-title\">Conditions de vente :</h5>
\t\t\t\t\t\t\t\t<a href=\"#\" class=\"btn btn-primary\" data-toggle=\"modal\" data-target=\"#exampleModal\">
\t\t\t\t\t\t\t\t\tVoir
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"card-body border-top vendor-sidebar-list\">
\t\t\t\t\t\t\t\t<h5 class=\"vendor-list-title\">Prestations :</h5>
\t\t\t\t\t\t\t\t";
// line 403
$context['_parent'] = $context;
$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", false, false, false, 403));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
// line 404
yield "\t\t\t\t\t\t\t\t\t";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 404), "html", null, true);
yield "
\t\t\t\t\t\t\t\t\t";
// line 405
if ( !CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 405)) {
yield ",
\t\t\t\t\t\t\t\t\t";
}
// line 407
yield "\t\t\t\t\t\t\t\t";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 408
yield "\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"card-body border-top vendor-sidebar-list\">
\t\t\t\t\t\t\t\t<h5 class=\"vendor-list-title\">Nombre de services proposés :</h5>
\t\t\t\t\t\t\t\t";
// line 411
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", null, true);
yield "
\t\t\t\t\t\t\t\tservice";
// line 412
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)) {
yield "s";
}
// line 413
yield "\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"card-body border-top vendor-sidebar-list\">
\t\t\t\t\t\t\t\t<h5 class=\"vendor-list-title\">Note globale du prestataire :</h5>
\t\t\t\t\t\t\t\t";
// line 416
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 416), "count", [], "array", false, false, false, 416) > 0)) {
// line 417
yield "\t\t\t\t\t\t\t\t\t";
$context["globalNotePresta"] = (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 417), "totalNote", [], "array", false, false, false, 417) / CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 417), "count", [], "array", false, false, false, 417));
// line 418
yield "\t\t\t\t\t\t\t\t";
} else {
// line 419
yield "\t\t\t\t\t\t\t\t\t";
$context["globalNotePresta"] = 0;
// line 420
yield "\t\t\t\t\t\t\t\t";
}
// line 421
yield "\t\t\t\t\t\t\t\t<a href=\"#\" class=\"vendor-list-link\">";
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", null, true);
yield "</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<!-- /.sidebar -->
\t\t\t</div>
\t\t\t<div class=\"row\">
\t\t\t\t
\t\t\t</div>
\t\t\t<div class=\"row\">
\t\t\t\t<div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12\">
\t\t\t\t\t<div class=\"section-block\">
\t\t\t\t\t\t<h2>Produits du prestataire</h2>
\t\t\t\t\t</div>
\t\t\t\t</div>
";
// line 440
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["otherProduct"]) {
// line 441
yield "\t\t\t\t\t<div class=\"col-xl-4 col-lg-4 col-md-6 col-sm-6 col-12\">
\t\t\t\t\t\t<div class=\"container-block-Pcompanies mb-3\">
\t\t\t\t\t\t\t<div class=\"container-imageP zoomimg\">
\t\t\t\t\t\t\t\t";
// line 444
if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, $context["otherProduct"], "photos", [], "any", false, false, false, 444))) {
// line 445
yield "\t\t\t\t\t\t\t\t\t<img src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((Twig\Extension\CoreExtension::constant("App\\Services\\File::IMAGE_PRODUCT_DIR") . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["otherProduct"], "photos", [], "any", false, false, false, 445), "first", [], "any", false, false, false, 445), "url", [], "any", false, false, false, 445))), "html", null, true);
yield "\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["otherProduct"], "name", [], "any", false, false, false, 445), "html", null, true);
yield "\" class=\"img-fluid\" style=\"object-fit: cover; border-radius: .5rem .5rem 0 0;\">
\t\t\t\t\t\t\t\t";
} else {
// line 447
yield "\t\t\t\t\t\t\t\t\t<img src=\"";
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", null, true);
yield "\" alt=\"default image\" class=\"img-fluid\" style=\"height: 213px;object-fit: cover; border-radius: .5rem .5rem 0 0;\">
\t\t\t\t\t\t\t\t";
}
// line 449
yield "\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"container-info-presta\" style=\"padding-bottom: 80px;\">
\t\t\t\t\t\t\t\t<h2 class=\"vendor-title\">
\t\t\t\t\t\t\t\t\t<a href=\"";
// line 452
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->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["otherProduct"], "subCategories", [], "any", false, false, false, 452), 0, [], "array", false, false, false, 452), "categories", [], "any", false, false, false, 452), 0, [], "array", false, false, false, 452), "slug", [], "any", false, false, false, 452), "subCategorySlug" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["otherProduct"], "subCategories", [], "any", false, false, false, 452), 0, [], "array", false, false, false, 452), "subCategorySlug", [], "any", false, false, false, 452), "product_id" => CoreExtension::getAttribute($this->env, $this->source, $context["otherProduct"], "id", [], "any", false, false, false, 452), "productSlug" => CoreExtension::getAttribute($this->env, $this->source, $context["otherProduct"], "productSlug", [], "any", false, false, false, 452)]), "html", null, true);
yield "\" class=\"title\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["otherProduct"], "name", [], "any", false, false, false, 452), "html", null, true);
yield "</a>
\t\t\t\t\t\t\t\t</h2>
\t\t\t\t\t\t\t\t<p class=\"vendor-address\">
\t\t\t\t\t\t\t\t\t";
// line 455
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["otherProduct"], "departments", [], "any", false, false, false, 455));
$context['_iterated'] = false;
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["department"]) {
// line 456
yield "\t\t\t\t\t\t\t\t\t\t";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["department"], "name", [], "any", false, false, false, 456), "html", null, true);
yield "
\t\t\t\t\t\t\t\t\t\t";
// line 457
if ( !CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 457)) {
yield ",
\t\t\t\t\t\t\t\t\t\t";
}
// line 459
yield "\t\t\t\t\t\t\t\t\t";
$context['_iterated'] = true;
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
if (!$context['_iterated']) {
// line 460
yield "\t\t\t\t\t\t\t\t\t\tToute la France
\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['department'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 462
yield "\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t\t<p><i class=\"fas fa-money-bill-wave\"></i> Prix
\t\t\t\t\t\t\t\t\t<strong>";
// line 464
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatNumber(CoreExtension::getAttribute($this->env, $this->source, $context["otherProduct"], "price", [], "any", false, false, false, 464), 2, "."), "html", null, true);
yield "</strong>
\t\t\t\t\t\t\t\t\t€</p>
\t\t\t\t\t\t\t\t<p><i class=\"fa fa-star rated\"></i>
\t\t\t\t\t\t\t\t\t4,9 Avis</p>
<p>";
// line 468
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["otherProduct"], "quantity", [], "any", false, false, false, 468), "html", null, true);
yield " Quantité restante</p>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"wishlist-sign\">
\t\t\t\t\t\t\t\t<a href=\"#\" class=\"btn-wishlist\">
\t\t\t\t\t\t\t\t\t<i class=\"fa fa-heart\"></i>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</div>
<a href=\"";
// line 475
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->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["otherProduct"], "subCategories", [], "any", false, false, false, 475), 0, [], "array", false, false, false, 475), "categories", [], "any", false, false, false, 475), 0, [], "array", false, false, false, 475), "slug", [], "any", false, false, false, 475), "subCategorySlug" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["otherProduct"], "subCategories", [], "any", false, false, false, 475), 0, [], "array", false, false, false, 475), "subCategorySlug", [], "any", false, false, false, 475), "product_id" => CoreExtension::getAttribute($this->env, $this->source, $context["otherProduct"], "id", [], "any", false, false, false, 475), "productSlug" => CoreExtension::getAttribute($this->env, $this->source, $context["otherProduct"], "productSlug", [], "any", false, false, false, 475)]), "html", null, true);
yield "\" class=\"title\">
<button class=\"btnVoirP btn\">Voir le produit</button>
</a>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['otherProduct'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 481
yield "
\t\t\t\t";
// line 543
yield "\t\t\t</div>
\t\t</div>
\t</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 547
public function block_javascript($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
// line 548
yield "\t<script title=\"zoom img comment\">
\t";
// line 549
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["key"] => $context["avi"]) {
// line 550
yield "\t\tif (\$('.img_comment').length) {
\t\t\tconsole.log(\"tafiditra....\");
\t\t\t\$('#id_img_";
// line 552
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["key"], "html", null, true);
yield " .img_comment').magnificPopup({
\t\t\t\titems: [";
// line 553
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["avi"], "imageComments", [], "any", false, false, false, 553), "toArray", [], "method", false, false, false, 553));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["imgcomment"]) {
yield "{
\t\t\t\t\t\tsrc: \"";
// line 554
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", false, false, false, 554))), "html", null, true);
yield "\",
\t\t\t\t\t\ttitle: 'Photo ' + ";
// line 555
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 555), "html", null, true);
yield "
\t\t\t\t\t},";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['imgcomment'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 556
yield "],
\t\t\t\tgallery: {
\t\t\t\t\tenabled: true
\t\t\t\t},
\t\t\t\ttype: 'image' // this is a default type
\t\t\t});
\t\t}
\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['avi'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 564
yield "\t</script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "front/company/single.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends 'base_front.html.twig' %}
{% block meta %}
\t<title>Prestataire
\t\t{{ company.companyName }}</title>
\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\">
{% endblock %}
{% block body %}
\t<style>
\t\t.cont_avis{
\t\t\twidth: 92%;
\t\t\tmargin:auto;
\t\t\tbox-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
\t\t\tpadding-bottom: 40px;
\t\t\tborder-radius: 0 0 20px 20px;
\t\t\tmargin-top: -80px;
\t\t}
\t\t.img_profil_presta {
\t\t\tfilter: drop-shadow(3px 3px 9px rgba(0, 0, 0, 0.25));
\t\t\tborder-radius: 24px;
\t\t\twidth: 160px;
\t\t\theight: 160px;
\t\t\tbackground-color: violet;
\t\t\tobject-fit: cover;
\t\t}
\t\t.cont_notess {
\t\t\tdisplay: flex;
\t\t\tcolumn-gap: 40px;
\t\t\tflex-direction: row;
\t\t}
\t\t{# image comment #}
\t\t.cont_img_comment {
\t\t\tdisplay: flex;
\t\t\tcolumn-gap: 10px;
\t\t\tmargin-bottom: 10px;
\t\t}
\t\t.cont_img_comment img {
\t\t\twidth: 100px;
\t\t\theight: 100px;
\t\t\tbox-shadow: 1px 1px 5px #0000005c;
\t\t\tborder-radius: 20px;
\t\t\tobject-fit: cover;
\t\t}
\t\t{# name product avi #}
\t\t.user-meta {
\t\t\tdisplay: flex;
\t\t\tjustify-content: space-between;
\t\t}
\t</style>
\t<!-- Modal -->
\t<div class=\"modal fade\" id=\"exampleModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\" aria-hidden=\"true\">
\t\t<div class=\"modal-dialog\" role=\"document\" style=\"max-width:50%\">
\t\t\t<div class=\"modal-content\">
\t\t\t\t<div class=\"modal-header\">
\t\t\t\t\t<h5 class=\"modal-title\" id=\"exampleModalLabel\">Conditions de vente de l'entreprise
\t\t\t\t\t\t{{ company.companyName }}</h5>
\t\t\t\t\t<a href=\"#\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
\t\t\t\t\t\t<span aria-hidden=\"true\">×</span>
\t\t\t\t\t</a>
\t\t\t\t</div>
\t\t\t\t<div class=\"modal-body\">
\t\t\t\t\t<p>{{ company.conditionsVente }}</p>
\t\t\t\t</div>
\t\t\t\t<div class=\"modal-footer\">
\t\t\t\t\t<a href=\"#\" class=\"btn btn-secondary\" data-dismiss=\"modal\">Fermer</a>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</div>
\t{# Variable for condition to show info or not depend of abonnement and abonnement isActive #}
\t{% set isAbonnementPayed = false %}
\t{% if company.abonnements.count() > 0 %}
\t\t{% if company.abonnements.last.isActive %}
\t\t\t{% set isAbonnementPayed = true %}
\t\t{% endif %}
\t{% endif %}
\t<div class=\"real-wedding-single-img\" style=\"background: url('/images/vacncance_blog.jpg')no-repeat center;background-size: cover;\">
\t\t<div class=\"container\">
\t\t\t<div class=\"row\">
\t\t\t\t<div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12 text-center\">
\t\t\t\t\t<div class=\"realwed-caption\">
\t\t\t\t\t\t<h1 class=\"real-wedding-single-title\">{{ company.companyName }}</h1>
\t\t\t\t\t\t<span class=\"real-wedding-place ml-4 text-white\">
\t\t\t\t\t\t\t<i class=\"fas fa-map-marker-alt pr-2\"></i>
\t\t\t\t\t\t\t{{ company.city }}</span>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t\t<!-- page caption -->
\t\t{# <div class=\"realwed-addressbar\">
\t\t\t<div class=\"container\">
\t\t\t\t<div class=\"row\">
\t\t\t\t\t<div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12\">
\t\t\t\t\t\t<p>
\t\t\t\t\t\t\t<span class=\"ml-4\" style=\"color: white\">Prestataire de la catégorie :
\t\t\t\t\t\t\t\t<strong>
\t\t\t\t\t\t\t\t\t{% for category in company.category %}
\t\t\t\t\t\t\t\t\t\t{{ category.name }}
\t\t\t\t\t\t\t\t\t\t{% if not loop.last %},
\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t</strong>
\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t</p>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div> #}
\t\t<!-- page breadcrumb -->
\t</div>
\t{# <img src=\"#\" alt=\"\" style=\"width:100px;height:100px;background-color:red\"> #}
\t<div class=\"cont_avis\">
\t\t<div class=\"container\">
\t\t\t{% if company.image != null %}
\t\t\t\t<img src=\"{{asset(constant('App\\\\Services\\\\File::IMAGE_COMPANY_DIR') ~ company.image)}}\" class=\"img_profil_presta mb-3\" alt=\"\">
\t\t\t{% else %}
\t\t\t\t<img src=\"{{ asset('images/user-default.jpg') }}\" class=\"img_profil_presta mb-3\" alt=\"\">
\t\t\t{% endif %}
\t\t\t<h1>{{company.companyName}}</h1>
\t\t\t{% if company.category.toArray() != [] %}
\t\t\t<p>Prestataire de la catégorie :
\t\t\t\t<strong>
\t\t\t\t\t{% for category in company.category %}
\t\t\t\t\t\t{{ category.name }}
\t\t\t\t\t\t{% if not loop.last %},
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t{% endfor %}
\t\t\t\t</strong>
\t\t\t</p>
\t\t\t{% endif %}
\t\t\t{% if isAbonnementPayed %}
\t\t\t<div class=\"cont_notess\">
\t\t\t\t<div class=\"one_infos\">
\t\t\t\t\t<strong> . Note : </strong>
\t\t\t\t\t<p class=\"mb-0\">
\t\t\t\t\t\t<span style=\"color:#ffa912\">
\t\t\t\t\t\t\t{% if notes['globalNote']['count'] > 0 %}
\t\t\t\t\t\t\t\t{% set globalNotePresta = notes['globalNote']['totalNote'] / notes['globalNote']['count'] %}
\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t{% set globalNotePresta = 0 %}
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t{{ globalNotePresta|number_format(1, '.') }}
\t\t\t\t\t\t</span>
\t\t\t\t\t\t{% for i in 1..5 %}
\t\t\t\t\t\t\t{% if i <= globalNotePresta|number_format(1, '.') %}
\t\t\t\t\t\t\t\t<i class=\"fa fa-star rated\"></i>
\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t<i class=\"far fa-star rated\"></i>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t</p>
\t\t\t\t\t<p style=\"text-align: center;\">({{notes['globalNote']['count']}} évaluations)</p>
\t\t\t\t</div>
\t\t\t\t<div class=\"one_infos\">
\t\t\t\t\t<strong> . Date : </strong>
\t\t\t\t\t{# <p> 22 Octobre 2022</p> #}
\t\t\t\t\t<p> {{ company.createdAt ? company.createdAt|format_datetime(locale='fr',pattern=\"dd MMMM YYYY\"):\"\" }}</p>
\t\t\t\t</div>
\t\t\t\t<div class=\"one_infos\">
\t\t\t\t\t<strong> . Adresse : </strong>
\t\t\t\t\t{# <p> Pune, Inde (adresse secondaire)</p> #}
\t\t\t\t\t<p> {{company.city}} ({{company.adress}})</p>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t{% endif %}
\t\t</div>
\t</div>
\t<!-- /.page-header -->
\t<div class=\"content\">
\t\t<div class=\"container\">
\t\t\t<div class=\"row\">
\t\t\t\t<div class=\"col-xl-8 col-lg-8 col-md-8 col-sm-12 col-12\">
\t\t\t\t\t{% if isAbonnementPayed %}
\t\t\t\t\t<div class=\"card border card-shadow-none\">
\t\t\t\t\t\t<div class=\"card-header bg-white\">
\t\t\t\t\t\t\t<h3 class=\"mb-0\">À propos de
\t\t\t\t\t\t\t\t{{ company.companyName }}</h3>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"card-body border-top\">
\t\t\t\t\t\t\t{{ company.description | raw }}
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t\t{% endif %}
\t\t\t\t\t<div class=\"real-wedding-content bg-white border\">
\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t<div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12\">
\t\t\t\t\t\t\t\t<div class=\"card review-summary-table table-responsive\">
\t\t\t\t\t\t\t\t\t<table class=\"table\">
\t\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t<th>Prénom</th>
\t\t\t\t\t\t\t\t\t\t\t\t<th>Note</th>
\t\t\t\t\t\t\t\t\t\t\t\t<th>Date</th>
\t\t\t\t\t\t\t\t\t\t\t\t<th>Action</th>
\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t\t{% for key,avi in avis %}
\t\t\t\t\t\t\t\t\t\t\t\t{% if avi.isDesactivatedByAdmin == null and avi.isDesactivatedByAdmin == false %}
\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"review-summary-name\">{{ avi.client.firstName }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"review-summary-rating\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"rated\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for i in 1..5 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if i <= avi.globalNote %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star\"></i>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"far fa-star\"></i>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</span>
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"review-summary-action\">
\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
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td colspan=\"12\" class=\"expandable-info\">
\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 }}\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div
\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\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- review-user -->
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-user\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"user-img\">
\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 %}
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"user-meta\">
\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>
\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>
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- /.review-user -->
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- review-descripttions -->
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"review-descriptions mt-4\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if avi.text %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p>{{ avi.text }}</p>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\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}}\">
\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() %}
\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\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div
\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\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- review-list -->
\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\">
\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>
\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\">
\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\">
\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 %}
\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 %}
\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>
\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 %}
\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>
\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 %}
\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 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- /.review-list -->
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- review-list -->
\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\">
\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>
\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\">
\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\">
\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 %}
\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 %}
\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>
\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 %}
\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>
\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 %}
\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 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- /.review-list -->
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- review-list -->
\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\">
\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>
\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\">
\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\">
\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 %}
\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 %}
\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>
\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 %}
\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>
\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 %}
\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 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- /.review-list -->
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- review-list -->
\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\">
\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>
\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\">
\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\">
\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 %}
\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 %}
\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>
\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 %}
\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>
\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 %}
\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 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\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\">
\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>
\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\">
\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\">
\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 %}
\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 %}
\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>
\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 %}
\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>
\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 %}
\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 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\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\">
\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>
\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\">
\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\">
\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 %}
\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 %}
\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>
\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 %}
\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>
\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 %}
\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 %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- /.review-list -->
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- review-list -->
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- /.review-list -->
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- /.review-descripttions -->
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t<td>Aucun avis pour le moment</td>
\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"pagination float-right\">
\t\t\t\t\t\t\t\t\t<nav aria-label=\"Page navigation example\">
\t\t\t\t\t\t\t\t\t\t{{ knp_pagination_render(avis) }}
\t\t\t\t\t\t\t\t\t</nav>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t\t<!-- /.real-wedding-grid -->
\t\t\t\t</div>
\t\t\t\t<!-- sidebar -->
\t\t\t\t<div class=\"col-xl-4 col-lg-4 col-md-4 col-sm-12 col-12\">
\t\t\t\t\t<div class=\"sidebar \">
\t\t\t\t\t\t<div class=\"card border card-shadow-none widget-vendor-list \">
\t\t\t\t\t\t\t<div class=\"card-header bg-white\">
\t\t\t\t\t\t\t\t<h3 class=\"mb-0\">Prestataire</h3>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"card-body border-top vendor-sidebar-list\">
\t\t\t\t\t\t\t\t<h5 class=\"vendor-list-title\">Conditions de vente :</h5>
\t\t\t\t\t\t\t\t<a href=\"#\" class=\"btn btn-primary\" data-toggle=\"modal\" data-target=\"#exampleModal\">
\t\t\t\t\t\t\t\t\tVoir
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"card-body border-top vendor-sidebar-list\">
\t\t\t\t\t\t\t\t<h5 class=\"vendor-list-title\">Prestations :</h5>
\t\t\t\t\t\t\t\t{% for category in company.category %}
\t\t\t\t\t\t\t\t\t{{ category.name }}
\t\t\t\t\t\t\t\t\t{% if not loop.last %},
\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"card-body border-top vendor-sidebar-list\">
\t\t\t\t\t\t\t\t<h5 class=\"vendor-list-title\">Nombre de services proposés :</h5>
\t\t\t\t\t\t\t\t{{ lastProducts|length }}
\t\t\t\t\t\t\t\tservice{% if lastProducts|length > 1 %}s{% endif %}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"card-body border-top vendor-sidebar-list\">
\t\t\t\t\t\t\t\t<h5 class=\"vendor-list-title\">Note globale du prestataire :</h5>
\t\t\t\t\t\t\t\t{% if notes['globalNote']['count'] > 0 %}
\t\t\t\t\t\t\t\t\t{% set globalNotePresta = notes['globalNote']['totalNote'] / notes['globalNote']['count'] %}
\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t{% set globalNotePresta = 0 %}
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t<a href=\"#\" class=\"vendor-list-link\">{{ globalNotePresta|number_format(1, '.') }}</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<!-- /.sidebar -->
\t\t\t</div>
\t\t\t<div class=\"row\">
\t\t\t\t
\t\t\t</div>
\t\t\t<div class=\"row\">
\t\t\t\t<div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12\">
\t\t\t\t\t<div class=\"section-block\">
\t\t\t\t\t\t<h2>Produits du prestataire</h2>
\t\t\t\t\t</div>
\t\t\t\t</div>
{% for otherProduct in lastProducts %}
\t\t\t\t\t<div class=\"col-xl-4 col-lg-4 col-md-6 col-sm-6 col-12\">
\t\t\t\t\t\t<div class=\"container-block-Pcompanies mb-3\">
\t\t\t\t\t\t\t<div class=\"container-imageP zoomimg\">
\t\t\t\t\t\t\t\t{% if otherProduct.photos is not empty %}
\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;\">
\t\t\t\t\t\t\t\t{% else %}
\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;\">
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"container-info-presta\" style=\"padding-bottom: 80px;\">
\t\t\t\t\t\t\t\t<h2 class=\"vendor-title\">
\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>
\t\t\t\t\t\t\t\t</h2>
\t\t\t\t\t\t\t\t<p class=\"vendor-address\">
\t\t\t\t\t\t\t\t\t{% for department in otherProduct.departments %}
\t\t\t\t\t\t\t\t\t\t{{ department.name }}
\t\t\t\t\t\t\t\t\t\t{% if not loop.last %},
\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\tToute la France
\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t\t<p><i class=\"fas fa-money-bill-wave\"></i> Prix
\t\t\t\t\t\t\t\t\t<strong>{{ otherProduct.price|number_format(2, '.') }}</strong>
\t\t\t\t\t\t\t\t\t€</p>
\t\t\t\t\t\t\t\t<p><i class=\"fa fa-star rated\"></i>
\t\t\t\t\t\t\t\t\t4,9 Avis</p>
<p>{{ otherProduct.quantity }} Quantité restante</p>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"wishlist-sign\">
\t\t\t\t\t\t\t\t<a href=\"#\" class=\"btn-wishlist\">
\t\t\t\t\t\t\t\t\t<i class=\"fa fa-heart\"></i>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t</div>
<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\">
<button class=\"btnVoirP btn\">Voir le produit</button>
</a>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t{% endfor %}
\t\t\t\t{# {% for otherProduct in lastProducts %}
\t\t\t\t\t<div class=\"col-xl-4 col-lg-4 col-md-6 col-sm-6 col-12\">
\t\t\t\t\t\t<div
\t\t\t\t\t\t\tclass=\"vendor-thumbnail\">
\t\t\t\t\t\t\t<!-- Vendor thumbnail -->
\t\t\t\t\t\t\t<div
\t\t\t\t\t\t\t\tclass=\"vendor-img zoomimg\">
\t\t\t\t\t\t\t\t<!-- Vendor img -->
\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>
\t\t\t\t\t\t\t\t<div class=\"wishlist-sign\">
\t\t\t\t\t\t\t\t\t<a href=\"#\" class=\"btn-wishlist\">
\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-heart\"></i>
\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<!-- /.Vendor img -->
\t\t\t\t\t\t\t<div
\t\t\t\t\t\t\t\tclass=\"vendor-content\">
\t\t\t\t\t\t\t\t<!-- Vendor Content -->
\t\t\t\t\t\t\t\t<h2 class=\"vendor-title\">
\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>
\t\t\t\t\t\t\t\t</h2>
\t\t\t\t\t\t\t\t<p class=\"vendor-address\">
\t\t\t\t\t\t\t\t\t{% for department in otherProduct.departments %}
\t\t\t\t\t\t\t\t\t\t{{ department.name }}
\t\t\t\t\t\t\t\t\t\t{% if not loop.last %},
\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\tToute la France
\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<div class=\"vendor-meta\">
\t\t\t\t\t\t\t\t<div class=\"vendor-meta-item vendor-meta-item-bordered\">
\t\t\t\t\t\t\t\t\t<span class=\"vendor-price\">
\t\t\t\t\t\t\t\t\t\t{{ otherProduct.price|number_format(2, '.') }}€
\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t<span class=\"vendor-text\">Prix</span>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"vendor-meta-item vendor-meta-item-bordered\">
\t\t\t\t\t\t\t\t\t<span class=\"vendor-guest\">
\t\t\t\t\t\t\t\t\t\t{{ otherProduct.quantity }}
\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t<span class=\"vendor-text\">Quantité restante</span>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"vendor-meta-item vendor-meta-item-bordered\">
\t\t\t\t\t\t\t\t\t<span class=\"rating-star\">
\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star rated\"></i>
\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star rated\"></i>
\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star rated\"></i>
\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star rated\"></i>
\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star rate-mute\"></i>
\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t<span class=\"rating-count vendor-text\">(20)</span>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<!-- /.Vendor Content -->
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<!-- /.Vendor thumbnail -->
\t\t\t\t\t</div>
\t\t\t\t{% endfor %} #}
\t\t\t</div>
\t\t</div>
\t</div>
{% endblock %}
{% block javascript %}
\t<script title=\"zoom img comment\">
\t{% for key,avi in avis %}
\t\tif (\$('.img_comment').length) {
\t\t\tconsole.log(\"tafiditra....\");
\t\t\t\$('#id_img_{{key}} .img_comment').magnificPopup({
\t\t\t\titems: [{% for imgcomment in avi.imageComments.toArray() %}{
\t\t\t\t\t\tsrc: \"{{ asset(constant('App\\\\Services\\\\File::IMAGE_COMMENT_DIR') ~ imgcomment.url) }}\",
\t\t\t\t\t\ttitle: 'Photo ' + {{ loop.index }}
\t\t\t\t\t},{% endfor %}],
\t\t\t\tgallery: {
\t\t\t\t\tenabled: true
\t\t\t\t},
\t\t\t\ttype: 'image' // this is a default type
\t\t\t});
\t\t}
\t{% endfor %}
\t</script>
{% endblock %}
", "front/company/single.html.twig", "/var/www/vhosts/hobbiinn.com/httpdocs/providdersvacance/templates/front/company/single.html.twig");
}
}