var/cache/dev/twig/50/5094b557527c20d49768cb6c336eeaea2381339e74877e2339a5052f13648c7b.php line 40

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* front/company/list.html.twig */
  15. class __TwigTemplate_c798fc0b1cf2cedb16c97653cc0cb11d222c61f50ca57592414d2fbaff5b8088 extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->blocks = [
  24.             'meta' => [$this'block_meta'],
  25.             'body' => [$this'block_body'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "base_front.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/company/list.html.twig"));
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/company/list.html.twig"));
  40.         $this->parent $this->loadTemplate("base_front.html.twig""front/company/list.html.twig"1);
  41.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  44.         
  45.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  46.     }
  47.     // line 3
  48.     public function block_meta($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta"));
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta"));
  55.         // line 4
  56.         yield "\t<title>Les prestataires disponibles</title>
  57. \t<meta name=\"description\" content=\"Liste des prestataires disponibles pour votre mariage. Recherchez par département et par type de service\">
  58. ";
  59.         
  60.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  61.         
  62.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  63.         return; yield '';
  64.     }
  65.     // line 8
  66.     public function block_body($context, array $blocks = [])
  67.     {
  68.         $macros $this->macros;
  69.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  70.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  71.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  72.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  73.         // line 9
  74.         yield "\t<div class=\"page-header\" style=\"height: 100%;background: url(";
  75.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/background_presta_hobbiinn.jpg"), "html"nulltrue);
  76.         yield ") no-repeat center;background-size: cover\">
  77. \t\t<div class=\"container\">
  78. \t\t\t<div
  79. \t\t\t\tclass=\"row\">
  80. \t\t\t\t<!-- page caption -->
  81. \t\t\t\t<div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12 \">
  82. \t\t\t\t\t<div class=\"page-caption\">
  83. \t\t\t\t\t\t<h1 class=\"page-title shadow\">Prestataires</h1>
  84. \t\t\t\t\t</div>
  85. \t\t\t\t</div>
  86. \t\t\t\t<!-- /.page caption -->
  87. \t\t\t</div>
  88. \t\t</div>
  89. \t\t<!-- page caption -->
  90. \t\t<div class=\"page-breadcrumb\">
  91. \t\t\t<div class=\"container\">
  92. \t\t\t\t<div class=\"row\">
  93. \t\t\t\t\t<nav aria-label=\"breadcrumb\">
  94. \t\t\t\t\t\t<ol class=\"breadcrumb\">
  95. \t\t\t\t\t\t\t<li class=\"breadcrumb-item\">
  96. \t\t\t\t\t\t\t\t<a href=\"";
  97.         // line 29
  98.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("front_home");
  99.         yield "\" class=\"breadcrumb-link\">Accueil</a>
  100. \t\t\t\t\t\t\t</li>
  101. \t\t\t\t\t\t\t<li class=\"breadcrumb-item active text-white\" aria-current=\"page\">Tous les prestataires (";
  102.         // line 31
  103.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["countCompanies"]) || array_key_exists("countCompanies"$context) ? $context["countCompanies"] : (function () { throw new RuntimeError('Variable "countCompanies" does not exist.'31$this->source); })()), "html"nulltrue);
  104.         yield "
  105. \t\t\t\t\t\t\t\t";
  106.         // line 32
  107.         if (((isset($context["countCompanies"]) || array_key_exists("countCompanies"$context) ? $context["countCompanies"] : (function () { throw new RuntimeError('Variable "countCompanies" does not exist.'32$this->source); })()) > 1)) {
  108.             yield "prestataires trouvés";
  109.         } else {
  110.             yield "prestataire trouvé
  111. \t\t\t\t\t\t\t\t";
  112.         }
  113.         // line 33
  114.         yield ")</li>
  115. \t\t\t\t\t\t</ol>
  116. \t\t\t\t\t</nav>
  117. \t\t\t\t</div>
  118. \t\t\t</div>
  119. \t\t</div>
  120. \t\t<!-- page breadcrumb -->
  121. \t</div>
  122. \t<!-- /.page-header -->
  123. \t<!-- filter-form -->
  124. \t<div class=\"filter-form\">
  125. \t\t<div class=\"container\">
  126. \t\t\t<div class=\"row\">
  127. \t\t\t\t<div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12\">
  128. \t\t\t\t\t<form
  129. \t\t\t\t\t\tclass=\"form-row\" method=\"post\" action=\"";
  130.         // line 48
  131.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("front_company_search");
  132.         yield "\" style=\"justify-content:center\">
  133. \t\t\t\t\t\t<!-- venue-type -->
  134. \t\t\t\t\t\t<div class=\"col-xl-3 col-lg-3 col-md-3 col-sm-12 col-12\">
  135. \t\t\t\t\t\t\t<select class=\"form-control select2\" style=\"width:100%;padding:5px 14px;height:50px!important\" name=\"department_filter\">
  136. \t\t\t\t\t\t\t\t<option value=\"\">Département</option>
  137. \t\t\t\t\t\t\t\t";
  138.         // line 53
  139.         $context['_parent'] = $context;
  140.         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["filter_service"]) || array_key_exists("filter_service"$context) ? $context["filter_service"] : (function () { throw new RuntimeError('Variable "filter_service" does not exist.'53$this->source); })()), "getDepartments", [], "any"falsefalsefalse53));
  141.         foreach ($context['_seq'] as $context["_key"] => $context["department"]) {
  142.             // line 54
  143.             yield "\t\t\t\t\t\t\t\t\t<option value=\"";
  144.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["department"], "id", [], "any"falsefalsefalse54), "html"nulltrue);
  145.             yield "\" ";
  146.             if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'54$this->source); })()), "session", [], "any"falsefalsefalse54), "get", ["department"], "method"falsefalsefalse54) == CoreExtension::getAttribute($this->env$this->source$context["department"], "id", [], "any"falsefalsefalse54))) {
  147.                 yield " selected ";
  148.             }
  149.             yield ">";
  150.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["department"], "numero", [], "any"falsefalsefalse54), "html"nulltrue);
  151.             yield "
  152. \t\t\t\t\t\t\t\t\t\t-
  153. \t\t\t\t\t\t\t\t\t\t";
  154.             // line 56
  155.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["department"], "name", [], "any"falsefalsefalse56), "html"nulltrue);
  156.             yield "</option>
  157. \t\t\t\t\t\t\t\t";
  158.         }
  159.         $_parent $context['_parent'];
  160.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['department'], $context['_parent'], $context['loop']);
  161.         $context array_intersect_key($context$_parent) + $_parent;
  162.         // line 58
  163.         yield "\t\t\t\t\t\t\t</select>
  164. \t\t\t\t\t\t</div>
  165. \t\t\t\t\t\t<!-- /.venue-type -->
  166. \t\t\t\t\t\t<!-- distance km -->
  167. \t\t\t\t\t\t<div class=\"col-xl-3 col-lg-3 col-md-3 col-sm-12 col-12\">
  168. \t\t\t\t\t\t\t<select class=\"wide\" name=\"category_filter\">
  169. \t\t\t\t\t\t\t\t<option value=\"\">Type de prestation</option>
  170. \t\t\t\t\t\t\t\t";
  171.         // line 65
  172.         $context['_parent'] = $context;
  173.         $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["filter_service"]) || array_key_exists("filter_service"$context) ? $context["filter_service"] : (function () { throw new RuntimeError('Variable "filter_service" does not exist.'65$this->source); })()), "getSubcategories", [], "any"falsefalsefalse65));
  174.         foreach ($context['_seq'] as $context["_key"] => $context["subCategory"]) {
  175.             // line 66
  176.             yield "\t\t\t\t\t\t\t\t\t<option value=\"";
  177.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["subCategory"], "id", [], "any"falsefalsefalse66), "html"nulltrue);
  178.             yield "\" ";
  179.             if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'66$this->source); })()), "session", [], "any"falsefalsefalse66), "get", ["department"], "method"falsefalsefalse66) == CoreExtension::getAttribute($this->env$this->source$context["subCategory"], "id", [], "any"falsefalsefalse66))) {
  180.                 yield " selected ";
  181.             }
  182.             yield ">";
  183.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["subCategory"], "name", [], "any"falsefalsefalse66), "html"nulltrue);
  184.             yield "</option>
  185. \t\t\t\t\t\t\t\t";
  186.         }
  187.         $_parent $context['_parent'];
  188.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['subCategory'], $context['_parent'], $context['loop']);
  189.         $context array_intersect_key($context$_parent) + $_parent;
  190.         // line 68
  191.         yield "\t\t\t\t\t\t\t</select>
  192. \t\t\t\t\t\t</div>
  193. \t\t\t\t\t\t<div
  194. \t\t\t\t\t\t\tclass=\"col-xl-3 col-lg-3 col-md-3 col-sm-12 col-12\">
  195. \t\t\t\t\t\t\t<!-- select -->
  196. \t\t\t\t\t\t\t<div class=\"form-group\">
  197. \t\t\t\t\t\t\t\t<input id=\"user_weddingDate\" name=\"date_filter\" autocomplete=\"off\" type=\"text\" placeholder=\"Date souhaitée\" class=\"form-control input-md\" value=\"";
  198.         // line 74
  199.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'74$this->source); })()), "session", [], "any"falsefalsefalse74), "get", ["date_evt"], "method"falsefalsefalse74), "html"nulltrue);
  200.         yield "\" required>
  201. \t\t\t\t\t\t\t\t<div class=\"venue-form-calendar\">
  202. \t\t\t\t\t\t\t\t\t<i class=\"far fa-calendar-alt\"></i>
  203. \t\t\t\t\t\t\t\t</div>
  204. \t\t\t\t\t\t\t</div>
  205. \t\t\t\t\t\t</div>
  206. \t\t\t\t\t\t<!-- /.price -->
  207. \t\t\t\t\t\t<div class=\"col-xl-3 col-lg-3 col-md-3 col-sm-12 col-12 \">
  208. \t\t\t\t\t\t\t<button class=\"btn  btn-block\" type=\"submit\" style=\"background:#0de8c7 \" >Rechercher</button>
  209. \t\t\t\t\t\t</div>
  210. \t\t\t\t\t</form>
  211. \t\t\t\t</div>
  212. \t\t\t</div>
  213. \t\t</div>
  214. \t</div>
  215. \t<!-- /.filter-form -->
  216. \t<div class=\"content\">
  217. \t\t<div class=\"container\">
  218. \t\t\t<h1 class=\"d-none\">My new carte</h1>
  219. \t\t\t<div class=\"row containre-all-company\">
  220. \t\t\t\t";
  221.         // line 94
  222.         $context['_parent'] = $context;
  223.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["companies"]) || array_key_exists("companies"$context) ? $context["companies"] : (function () { throw new RuntimeError('Variable "companies" does not exist.'94$this->source); })()));
  224.         foreach ($context['_seq'] as $context["_key"] => $context["company"]) {
  225.             // line 95
  226.             yield "\t\t\t\t\t";
  227.             $context["mananaProdActive"] = CoreExtension::getAttribute($this->env$this->source, (isset($context["filter_service"]) || array_key_exists("filter_service"$context) ? $context["filter_service"] : (function () { throw new RuntimeError('Variable "filter_service" does not exist.'95$this->source); })()), "getOtherProductsCompany", [$context["company"]], "method"falsefalsefalse95);
  228.             // line 96
  229.             yield "\t\t\t\t\t";
  230.             // line 97
  231.             yield "\t\t\t\t\t\t";
  232.             // line 99
  233.             yield "\t\t\t\t\t\t\t\t<div class=\"col-xl-4 col-lg-4 col-md-6 col-sm-6 col-12\">
  234. \t\t\t\t\t\t\t\t\t<div class=\"container-block-companies\">
  235. \t\t\t\t\t\t\t\t\t\t<div class=\"container-slide-image\">
  236. \t\t\t\t\t\t\t\t\t\t\t";
  237.             // line 102
  238.             if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source$context["company"], "products", [], "any"falsefalsefalse102))) {
  239.                 // line 103
  240.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  241.                 $context['_parent'] = $context;
  242.                 $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source, (isset($context["filter_service"]) || array_key_exists("filter_service"$context) ? $context["filter_service"] : (function () { throw new RuntimeError('Variable "filter_service" does not exist.'103$this->source); })()), "getOtherProductsCompany", [$context["company"]], "method"falsefalsefalse103));
  243.                 foreach ($context['_seq'] as $context["_key"] => $context["product"]) {
  244.                     // line 104
  245.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  246.                     if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source$context["product"], "photos", [], "any"falsefalsefalse104))) {
  247.                         // line 105
  248.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"";
  249.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(Twig\Extension\CoreExtension::constant("App\\Services\\File::IMAGE_PRODUCT_DIR")) . CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["product"], "photos", [], "any"falsefalsefalse105), "first", [], "any"falsefalsefalse105), "url", [], "any"falsefalsefalse105)), "html"nulltrue);
  250.                         yield "\" alt=\"";
  251.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["product"], "name", [], "any"falsefalsefalse105), "html"nulltrue);
  252.                         yield "\" class=\"img-fluid\" style=\"height: 213px;object-fit: cover; border-radius: .5rem .5rem 0 0;\">
  253. \t\t\t\t\t\t\t\t\t\t\t\t\t";
  254.                     } else {
  255.                         // line 107
  256.                         yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"";
  257.                         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/vecteezy_vector-gear-logo-design-with-multi-colors-range_6172776.jpg"), "html"nulltrue);
  258.                         yield "\" alt=\"default image\" class=\"img-fluid\" style=\"height: 213px;object-fit: cover; border-radius: .5rem .5rem 0 0;\">
  259. \t\t\t\t\t\t\t\t\t\t\t\t\t";
  260.                     }
  261.                     // line 109
  262.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  263.                 }
  264.                 $_parent $context['_parent'];
  265.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product'], $context['_parent'], $context['loop']);
  266.                 $context array_intersect_key($context$_parent) + $_parent;
  267.                 // line 110
  268.                 yield "\t\t\t\t\t\t\t\t\t\t\t";
  269.             } else {
  270.                 // line 111
  271.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"";
  272.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/vecteezy_vector-gear-logo-design-with-multi-colors-range_6172776.jpg"), "html"nulltrue);
  273.                 yield "\" alt=\"default image\" class=\"img-fluid\" style=\"height: 213px;object-fit: cover; border-radius: .5rem .5rem 0 0;\">
  274. \t\t\t\t\t\t\t\t\t\t\t";
  275.             }
  276.             // line 113
  277.             yield "\t\t\t\t\t\t\t\t\t\t</div>
  278. \t\t\t\t\t\t\t\t\t\t<div class=\"container-info-presta\">
  279. \t\t\t\t\t\t\t\t\t\t\t<h2 class=\"vendor-title\">
  280. \t\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
  281.             // line 116
  282.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("front_company_single", ["companySlug" => CoreExtension::getAttribute($this->env$this->source$context["company"], "companySlug", [], "any"falsefalsefalse116), "id" => CoreExtension::getAttribute($this->env$this->source$context["company"], "id", [], "any"falsefalsefalse116)]), "html"nulltrue);
  283.             yield "\" class=\"title\">";
  284.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["company"], "companyName", [], "any"falsefalsefalse116), "html"nulltrue);
  285.             yield "</a>
  286. \t\t\t\t\t\t\t\t\t\t\t</h2>
  287. \t\t\t\t\t\t\t\t\t\t\t<p>
  288. \t\t\t\t\t\t\t\t\t\t\t\t<strong>";
  289.             // line 119
  290.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->source$context["company"], "products", [], "any"falsefalsefalse119)), "html"nulltrue);
  291.             yield "</strong>
  292. \t\t\t\t\t\t\t\t\t\t\t\tService";
  293.             // line 120
  294.             if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->source$context["company"], "products", [], "any"falsefalsefalse120)) > 1)) {
  295.                 yield "s
  296. \t\t\t\t\t\t\t\t\t\t\t\t";
  297.             }
  298.             // line 122
  299.             yield "\t\t\t\t\t\t\t\t\t\t\t</p>
  300. \t\t\t\t\t\t\t\t\t\t\t<p class=\"vendor-address\">
  301. \t\t\t\t\t\t\t\t\t\t\t\t";
  302.             // line 124
  303.             if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source$context["company"], "category", [], "any"falsefalsefalse124))) {
  304.                 // line 125
  305.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  306.                 $context['_parent'] = $context;
  307.                 $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source$context["company"], "category", [], "any"falsefalsefalse125));
  308.                 $context['loop'] = [
  309.                   'parent' => $context['_parent'],
  310.                   'index0' => 0,
  311.                   'index'  => 1,
  312.                   'first'  => true,
  313.                 ];
  314.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  315.                     $length count($context['_seq']);
  316.                     $context['loop']['revindex0'] = $length 1;
  317.                     $context['loop']['revindex'] = $length;
  318.                     $context['loop']['length'] = $length;
  319.                     $context['loop']['last'] = === $length;
  320.                 }
  321.                 foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
  322.                     // line 126
  323.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"mr-2\">";
  324.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["category"], "name", [], "any"falsefalsefalse126), "html"nulltrue);
  325.                     yield "
  326. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  327.                     // line 127
  328.                     if ( !CoreExtension::getAttribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse127)) {
  329.                         yield ",
  330. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  331.                     }
  332.                     // line 129
  333.                     yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t</span>
  334. \t\t\t\t\t\t\t\t\t\t\t\t\t";
  335.                     ++$context['loop']['index0'];
  336.                     ++$context['loop']['index'];
  337.                     $context['loop']['first'] = false;
  338.                     if (isset($context['loop']['length'])) {
  339.                         --$context['loop']['revindex0'];
  340.                         --$context['loop']['revindex'];
  341.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  342.                     }
  343.                 }
  344.                 $_parent $context['_parent'];
  345.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
  346.                 $context array_intersect_key($context$_parent) + $_parent;
  347.                 // line 131
  348.                 yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  349.             }
  350.             // line 132
  351.             yield "\t\t\t\t\t\t\t\t\t\t\t</p>
  352. \t\t\t\t\t\t\t\t\t\t\t<p class=\"vendor-address\">";
  353.             // line 133
  354.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["company"], "city", [], "any"falsefalsefalse133), "html"nulltrue);
  355.             yield "</p>
  356. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star rated\"></i>
  357. \t\t\t\t\t\t\t\t\t\t\t<strong>
  358. \t\t\t\t\t\t\t\t\t\t\t\t4,9</strong>
  359. \t\t\t\t\t\t\t\t\t\t\tAvis
  360. \t\t\t\t\t\t\t\t\t\t</div>
  361. \t\t\t\t\t\t\t\t\t\t<a href=\"";
  362.             // line 139
  363.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("front_company_single", ["companySlug" => CoreExtension::getAttribute($this->env$this->source$context["company"], "companySlug", [], "any"falsefalsefalse139), "id" => CoreExtension::getAttribute($this->env$this->source$context["company"], "id", [], "any"falsefalsefalse139)]), "html"nulltrue);
  364.             yield "\" class=\"title\">
  365. \t\t\t\t\t\t\t\t\t\t\t<button class=\"btn btnVoirP\" >Voir plus</button>
  366. \t\t\t\t\t\t\t\t\t\t</a>
  367. \t\t\t\t\t\t\t\t\t\t<div class=\"wishlist-sign\">
  368. \t\t\t\t\t\t\t\t\t\t\t<a href=\"#\" class=\"btn-wishlist\">
  369. \t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-heart\"></i>
  370. \t\t\t\t\t\t\t\t\t\t\t</a>
  371. \t\t\t\t\t\t\t\t\t\t</div>
  372. \t\t\t\t\t\t\t\t\t</div>
  373. \t\t\t\t\t\t\t\t</div>
  374. \t\t\t\t\t\t\t";
  375.             // line 151
  376.             yield "\t\t\t\t\t";
  377.             // line 152
  378.             yield "\t\t\t\t";
  379.         }
  380.         $_parent $context['_parent'];
  381.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['company'], $context['_parent'], $context['loop']);
  382.         $context array_intersect_key($context$_parent) + $_parent;
  383.         // line 153
  384.         yield "\t\t\t</div>
  385. \t\t\t";
  386.         // line 220
  387.         yield "\t\t\t<div class=\"pagination mt-5\">
  388. \t\t\t\t<nav aria-label=\"Page navigation example\">
  389. \t\t\t\t\t";
  390.         // line 222
  391.         yield $this->extensions['Knp\Bundle\PaginatorBundle\Twig\Extension\PaginationExtension']->render($this->env, (isset($context["companies"]) || array_key_exists("companies"$context) ? $context["companies"] : (function () { throw new RuntimeError('Variable "companies" does not exist.'222$this->source); })()));
  392.         yield "
  393. \t\t\t\t</nav>
  394. \t\t\t</div>
  395. \t\t</div>
  396. \t</div>
  397. ";
  398.         
  399.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  400.         
  401.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  402.         return; yield '';
  403.     }
  404.     /**
  405.      * @codeCoverageIgnore
  406.      */
  407.     public function getTemplateName()
  408.     {
  409.         return "front/company/list.html.twig";
  410.     }
  411.     /**
  412.      * @codeCoverageIgnore
  413.      */
  414.     public function isTraitable()
  415.     {
  416.         return false;
  417.     }
  418.     /**
  419.      * @codeCoverageIgnore
  420.      */
  421.     public function getDebugInfo()
  422.     {
  423.         return array (  410 => 222,  406 => 220,  403 => 153,  397 => 152,  395 => 151,  382 => 139,  373 => 133,  370 => 132,  367 => 131,  352 => 129,  347 => 127,  342 => 126,  324 => 125,  322 => 124,  318 => 122,  313 => 120,  309 => 119,  301 => 116,  296 => 113,  290 => 111,  287 => 110,  281 => 109,  275 => 107,  267 => 105,  264 => 104,  259 => 103,  257 => 102,  252 => 99,  250 => 97,  248 => 96,  245 => 95,  241 => 94,  218 => 74,  210 => 68,  195 => 66,  191 => 65,  182 => 58,  174 => 56,  162 => 54,  158 => 53,  150 => 48,  133 => 33,  126 => 32,  122 => 31,  117 => 29,  93 => 9,  83 => 8,  70 => 4,  60 => 3,  37 => 1,);
  424.     }
  425.     public function getSourceContext()
  426.     {
  427.         return new Source("{% extends 'base_front.html.twig' %}
  428. {% block meta %}
  429. \t<title>Les prestataires disponibles</title>
  430. \t<meta name=\"description\" content=\"Liste des prestataires disponibles pour votre mariage. Recherchez par département et par type de service\">
  431. {% endblock %}
  432. {% block body %}
  433. \t<div class=\"page-header\" style=\"height: 100%;background: url({{ asset('images/background_presta_hobbiinn.jpg') }}) no-repeat center;background-size: cover\">
  434. \t\t<div class=\"container\">
  435. \t\t\t<div
  436. \t\t\t\tclass=\"row\">
  437. \t\t\t\t<!-- page caption -->
  438. \t\t\t\t<div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12 \">
  439. \t\t\t\t\t<div class=\"page-caption\">
  440. \t\t\t\t\t\t<h1 class=\"page-title shadow\">Prestataires</h1>
  441. \t\t\t\t\t</div>
  442. \t\t\t\t</div>
  443. \t\t\t\t<!-- /.page caption -->
  444. \t\t\t</div>
  445. \t\t</div>
  446. \t\t<!-- page caption -->
  447. \t\t<div class=\"page-breadcrumb\">
  448. \t\t\t<div class=\"container\">
  449. \t\t\t\t<div class=\"row\">
  450. \t\t\t\t\t<nav aria-label=\"breadcrumb\">
  451. \t\t\t\t\t\t<ol class=\"breadcrumb\">
  452. \t\t\t\t\t\t\t<li class=\"breadcrumb-item\">
  453. \t\t\t\t\t\t\t\t<a href=\"{{ path('front_home') }}\" class=\"breadcrumb-link\">Accueil</a>
  454. \t\t\t\t\t\t\t</li>
  455. \t\t\t\t\t\t\t<li class=\"breadcrumb-item active text-white\" aria-current=\"page\">Tous les prestataires ({{ countCompanies }}
  456. \t\t\t\t\t\t\t\t{% if countCompanies > 1 %}prestataires trouvés{% else %}prestataire trouvé
  457. \t\t\t\t\t\t\t\t{% endif %})</li>
  458. \t\t\t\t\t\t</ol>
  459. \t\t\t\t\t</nav>
  460. \t\t\t\t</div>
  461. \t\t\t</div>
  462. \t\t</div>
  463. \t\t<!-- page breadcrumb -->
  464. \t</div>
  465. \t<!-- /.page-header -->
  466. \t<!-- filter-form -->
  467. \t<div class=\"filter-form\">
  468. \t\t<div class=\"container\">
  469. \t\t\t<div class=\"row\">
  470. \t\t\t\t<div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12\">
  471. \t\t\t\t\t<form
  472. \t\t\t\t\t\tclass=\"form-row\" method=\"post\" action=\"{{ path('front_company_search') }}\" style=\"justify-content:center\">
  473. \t\t\t\t\t\t<!-- venue-type -->
  474. \t\t\t\t\t\t<div class=\"col-xl-3 col-lg-3 col-md-3 col-sm-12 col-12\">
  475. \t\t\t\t\t\t\t<select class=\"form-control select2\" style=\"width:100%;padding:5px 14px;height:50px!important\" name=\"department_filter\">
  476. \t\t\t\t\t\t\t\t<option value=\"\">Département</option>
  477. \t\t\t\t\t\t\t\t{% for department in filter_service.getDepartments %}
  478. \t\t\t\t\t\t\t\t\t<option value=\"{{ department.id }}\" {% if app.session.get('department') == department.id %} selected {% endif %}>{{ department.numero }}
  479. \t\t\t\t\t\t\t\t\t\t-
  480. \t\t\t\t\t\t\t\t\t\t{{ department.name }}</option>
  481. \t\t\t\t\t\t\t\t{% endfor %}
  482. \t\t\t\t\t\t\t</select>
  483. \t\t\t\t\t\t</div>
  484. \t\t\t\t\t\t<!-- /.venue-type -->
  485. \t\t\t\t\t\t<!-- distance km -->
  486. \t\t\t\t\t\t<div class=\"col-xl-3 col-lg-3 col-md-3 col-sm-12 col-12\">
  487. \t\t\t\t\t\t\t<select class=\"wide\" name=\"category_filter\">
  488. \t\t\t\t\t\t\t\t<option value=\"\">Type de prestation</option>
  489. \t\t\t\t\t\t\t\t{% for subCategory in filter_service.getSubcategories %}
  490. \t\t\t\t\t\t\t\t\t<option value=\"{{ subCategory.id }}\" {% if app.session.get('department') == subCategory.id %} selected {% endif %}>{{ subCategory.name }}</option>
  491. \t\t\t\t\t\t\t\t{% endfor %}
  492. \t\t\t\t\t\t\t</select>
  493. \t\t\t\t\t\t</div>
  494. \t\t\t\t\t\t<div
  495. \t\t\t\t\t\t\tclass=\"col-xl-3 col-lg-3 col-md-3 col-sm-12 col-12\">
  496. \t\t\t\t\t\t\t<!-- select -->
  497. \t\t\t\t\t\t\t<div class=\"form-group\">
  498. \t\t\t\t\t\t\t\t<input id=\"user_weddingDate\" name=\"date_filter\" autocomplete=\"off\" type=\"text\" placeholder=\"Date souhaitée\" class=\"form-control input-md\" value=\"{{ app.session.get('date_evt') }}\" required>
  499. \t\t\t\t\t\t\t\t<div class=\"venue-form-calendar\">
  500. \t\t\t\t\t\t\t\t\t<i class=\"far fa-calendar-alt\"></i>
  501. \t\t\t\t\t\t\t\t</div>
  502. \t\t\t\t\t\t\t</div>
  503. \t\t\t\t\t\t</div>
  504. \t\t\t\t\t\t<!-- /.price -->
  505. \t\t\t\t\t\t<div class=\"col-xl-3 col-lg-3 col-md-3 col-sm-12 col-12 \">
  506. \t\t\t\t\t\t\t<button class=\"btn  btn-block\" type=\"submit\" style=\"background:#0de8c7 \" >Rechercher</button>
  507. \t\t\t\t\t\t</div>
  508. \t\t\t\t\t</form>
  509. \t\t\t\t</div>
  510. \t\t\t</div>
  511. \t\t</div>
  512. \t</div>
  513. \t<!-- /.filter-form -->
  514. \t<div class=\"content\">
  515. \t\t<div class=\"container\">
  516. \t\t\t<h1 class=\"d-none\">My new carte</h1>
  517. \t\t\t<div class=\"row containre-all-company\">
  518. \t\t\t\t{% for company in companies %}
  519. \t\t\t\t\t{% set mananaProdActive = filter_service.getOtherProductsCompany(company) %}
  520. \t\t\t\t\t{# {% if mananaProdActive %} #}
  521. \t\t\t\t\t\t{# {% for produite in company.products %}
  522. \t\t\t\t\t\t\t{% if produite.isActivated %} #}
  523. \t\t\t\t\t\t\t\t<div class=\"col-xl-4 col-lg-4 col-md-6 col-sm-6 col-12\">
  524. \t\t\t\t\t\t\t\t\t<div class=\"container-block-companies\">
  525. \t\t\t\t\t\t\t\t\t\t<div class=\"container-slide-image\">
  526. \t\t\t\t\t\t\t\t\t\t\t{% if company.products is not empty %}
  527. \t\t\t\t\t\t\t\t\t\t\t\t{% for product in filter_service.getOtherProductsCompany(company) %}
  528. \t\t\t\t\t\t\t\t\t\t\t\t\t{% if product.photos is not empty %}
  529. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"{{ asset(constant('App\\\\Services\\\\File::IMAGE_PRODUCT_DIR')) ~ product.photos.first.url }}\" alt=\"{{ product.name }}\" class=\"img-fluid\" style=\"height: 213px;object-fit: cover; border-radius: .5rem .5rem 0 0;\">
  530. \t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  531. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"{{ asset('images/vecteezy_vector-gear-logo-design-with-multi-colors-range_6172776.jpg') }}\" alt=\"default image\" class=\"img-fluid\" style=\"height: 213px;object-fit: cover; border-radius: .5rem .5rem 0 0;\">
  532. \t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  533. \t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  534. \t\t\t\t\t\t\t\t\t\t\t{% else %}
  535. \t\t\t\t\t\t\t\t\t\t\t\t<img src=\"{{ asset('images/vecteezy_vector-gear-logo-design-with-multi-colors-range_6172776.jpg') }}\" alt=\"default image\" class=\"img-fluid\" style=\"height: 213px;object-fit: cover; border-radius: .5rem .5rem 0 0;\">
  536. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  537. \t\t\t\t\t\t\t\t\t\t</div>
  538. \t\t\t\t\t\t\t\t\t\t<div class=\"container-info-presta\">
  539. \t\t\t\t\t\t\t\t\t\t\t<h2 class=\"vendor-title\">
  540. \t\t\t\t\t\t\t\t\t\t\t\t<a href=\"{{ path('front_company_single', {'companySlug': company.companySlug, 'id': company.id}) }}\" class=\"title\">{{ company.companyName }}</a>
  541. \t\t\t\t\t\t\t\t\t\t\t</h2>
  542. \t\t\t\t\t\t\t\t\t\t\t<p>
  543. \t\t\t\t\t\t\t\t\t\t\t\t<strong>{{ company.products|length }}</strong>
  544. \t\t\t\t\t\t\t\t\t\t\t\tService{% if company.products|length > 1 %}s
  545. \t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  546. \t\t\t\t\t\t\t\t\t\t\t</p>
  547. \t\t\t\t\t\t\t\t\t\t\t<p class=\"vendor-address\">
  548. \t\t\t\t\t\t\t\t\t\t\t\t{% if company.category is not empty %}
  549. \t\t\t\t\t\t\t\t\t\t\t\t\t{% for category in company.category %}
  550. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"mr-2\">{{ category.name }}
  551. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if not loop.last %},
  552. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  553. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</span>
  554. \t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  555. \t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  556. \t\t\t\t\t\t\t\t\t\t\t</p>
  557. \t\t\t\t\t\t\t\t\t\t\t<p class=\"vendor-address\">{{ company.city }}</p>
  558. \t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star rated\"></i>
  559. \t\t\t\t\t\t\t\t\t\t\t<strong>
  560. \t\t\t\t\t\t\t\t\t\t\t\t4,9</strong>
  561. \t\t\t\t\t\t\t\t\t\t\tAvis
  562. \t\t\t\t\t\t\t\t\t\t</div>
  563. \t\t\t\t\t\t\t\t\t\t<a href=\"{{ path('front_company_single', {'companySlug': company.companySlug, 'id': company.id}) }}\" class=\"title\">
  564. \t\t\t\t\t\t\t\t\t\t\t<button class=\"btn btnVoirP\" >Voir plus</button>
  565. \t\t\t\t\t\t\t\t\t\t</a>
  566. \t\t\t\t\t\t\t\t\t\t<div class=\"wishlist-sign\">
  567. \t\t\t\t\t\t\t\t\t\t\t<a href=\"#\" class=\"btn-wishlist\">
  568. \t\t\t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-heart\"></i>
  569. \t\t\t\t\t\t\t\t\t\t\t</a>
  570. \t\t\t\t\t\t\t\t\t\t</div>
  571. \t\t\t\t\t\t\t\t\t</div>
  572. \t\t\t\t\t\t\t\t</div>
  573. \t\t\t\t\t\t\t{# {% endif %}
  574. \t\t\t\t\t\t{% endfor %} #}
  575. \t\t\t\t\t{# {% endif %} #}
  576. \t\t\t\t{% endfor %}
  577. \t\t\t</div>
  578. \t\t\t{# <div class=\"row d-none\">
  579. \t\t\t\t{% for company in companies %}
  580. \t\t\t\t\t<div class=\"col-xl-4 col-lg-4 col-md-6 col-sm-6 col-12\">
  581. \t\t\t\t\t\t<div class=\"vendor-thumbnail\">
  582. \t\t\t\t\t\t\t<!-- Vendor thumbnail -->
  583. \t\t\t\t\t\t\t<!-- Vendor img -->
  584. \t\t\t\t\t\t\t\t<div class=\"row ml-0\" style=\"width:100%\"> {% for product in filter_service.getOtherProductsCompany(company) %}
  585. \t\t\t\t\t\t\t\t\t<div class=\"vendor-img zoomimg\" style=\"width:33%;{% if not loop.index %}border-left:2px solid white{% endif %}\">
  586. \t\t\t\t\t\t\t\t\t\t<a href=\"{{ path('front_product_single', {'slug': product.subCategories[0].categories[0].slug, 'subCategorySlug': product.subCategories[0].subCategorySlug, 'product_id': product.id, 'productSlug': product.productSlug}) }}\">
  587. \t\t\t\t\t\t\t\t\t\t\t{% if product.photos is not empty %}<img src=\"{{ asset(constant('App\\\\Services\\\\File::IMAGE_PRODUCT_DIR')) ~ product.photos.first.url }}\" alt=\"{{ product.name }}\" class=\"img-fluid\" style=\"height: 113px;object-fit: cover;\">
  588. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  589. \t\t\t\t\t\t\t\t\t\t</a>
  590. \t\t\t\t\t\t\t\t\t</div>
  591. \t\t\t\t\t\t\t\t{% endfor %}
  592. \t\t\t\t\t\t\t</div>
  593. \t\t\t\t\t\t\t<!-- /.Vendor img -->
  594. \t\t\t\t\t\t\t<div
  595. \t\t\t\t\t\t\t\tclass=\"vendor-content\">
  596. \t\t\t\t\t\t\t\t<!-- Vendor Content -->
  597. \t\t\t\t\t\t\t\t<h2 class=\"vendor-title\">
  598. \t\t\t\t\t\t\t\t\t<a href=\"{{ path('front_company_single', {'companySlug': company.companySlug, 'id': company.id}) }}\" class=\"title\">{{ company.companyName }}</a>
  599. \t\t\t\t\t\t\t\t</h2>
  600. \t\t\t\t\t\t\t\t<p class=\"vendor-address\">
  601. \t\t\t\t\t\t\t\t\t{% if company.category is not empty %}
  602. \t\t\t\t\t\t\t\t\t\t{% for category in company.category %}
  603. \t\t\t\t\t\t\t\t\t\t\t<span class=\"mr-2\">{{ category.name }}
  604. \t\t\t\t\t\t\t\t\t\t\t\t{% if not loop.last %},
  605. \t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  606. \t\t\t\t\t\t\t\t\t\t\t</span>
  607. \t\t\t\t\t\t\t\t\t\t{% endfor %}
  608. \t\t\t\t\t\t\t\t\t{% endif %}
  609. \t\t\t\t\t\t\t\t</p>
  610. \t\t\t\t\t\t\t\t<p class=\"vendor-address\">{{ company.city }}</p>
  611. \t\t\t\t\t\t\t</div>
  612. \t\t\t\t\t\t\t<div class=\"vendor-meta\">
  613. \t\t\t\t\t\t\t\t<div class=\"vendor-meta-item vendor-meta-item-bordered\">
  614. \t\t\t\t\t\t\t\t\t<span class=\"vendor-price\">
  615. \t\t\t\t\t\t\t\t\t\t{{ company.products|length }}
  616. \t\t\t\t\t\t\t\t\t</span>
  617. \t\t\t\t\t\t\t\t\t<span class=\"vendor-text\">Service
  618. \t\t\t\t\t\t\t\t\t\t{% if company.products|length > 1 %}s
  619. \t\t\t\t\t\t\t\t\t\t{% endif %}
  620. \t\t\t\t\t\t\t\t\t</span>
  621. \t\t\t\t\t\t\t\t</div>
  622. \t\t\t\t\t\t\t\t<div class=\"vendor-meta-item vendor-meta-item-bordered\">
  623. \t\t\t\t\t\t\t\t\t<span class=\"vendor-guest\"></span>
  624. \t\t\t\t\t\t\t\t\t<span class=\"vendor-text\"></span>
  625. \t\t\t\t\t\t\t\t</div>
  626. \t\t\t\t\t\t\t\t<div class=\"vendor-meta-item vendor-meta-item-bordered\">
  627. \t\t\t\t\t\t\t\t\t<span class=\"rating-star\">
  628. \t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star rated\"></i>
  629. \t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star rated\"></i>
  630. \t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star rated\"></i>
  631. \t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star rated\"></i>
  632. \t\t\t\t\t\t\t\t\t\t<i class=\"fa fa-star rate-mute\"></i>
  633. \t\t\t\t\t\t\t\t\t</span>
  634. \t\t\t\t\t\t\t\t\t<span class=\"rating-count vendor-text\">(20)</span>
  635. \t\t\t\t\t\t\t\t</div>
  636. \t\t\t\t\t\t\t</div>
  637. \t\t\t\t\t\t\t<!-- /.Vendor Content -->
  638. \t\t\t\t\t\t</div>
  639. \t\t\t\t\t\t<!-- /.Vendor thumbnail -->
  640. \t\t\t\t\t</div>
  641. \t\t\t\t{% endfor %}
  642. \t\t\t</div> #}
  643. \t\t\t<div class=\"pagination mt-5\">
  644. \t\t\t\t<nav aria-label=\"Page navigation example\">
  645. \t\t\t\t\t{{ knp_pagination_render(companies) }}
  646. \t\t\t\t</nav>
  647. \t\t\t</div>
  648. \t\t</div>
  649. \t</div>
  650. {% endblock %}
  651. ""front/company/list.html.twig""/var/www/vhosts/hobbiinn.com/httpdocs/providdersvacance/templates/front/company/list.html.twig");
  652.     }
  653. }