<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;
/* public/index.html.twig */
class __TwigTemplate_40d5184248f0c3dbf24fc863b81be00b387f87eade7c29127590aae171998dff extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'main' => [$this, 'block_main'],
'footer' => [$this, 'block_footer'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "./public/layout.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", "public/index.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "public/index.html.twig"));
$this->parent = $this->loadTemplate("./public/layout.html.twig", "public/index.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_main($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", "main"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
// line 4
echo " ";
$context["isProposition"] = false;
// line 5
echo " ";
if ((1 === twig_compare(twig_length_filter($this->env, (isset($context["propositions"]) || array_key_exists("propositions", $context) ? $context["propositions"] : (function () { throw new RuntimeError('Variable "propositions" does not exist.', 5, $this->source); })())), 0))) {
// line 6
echo " ";
$context["isProposition"] = true;
// line 7
echo " ";
$context["firstProposition"] = twig_first($this->env, (isset($context["propositions"]) || array_key_exists("propositions", $context) ? $context["propositions"] : (function () { throw new RuntimeError('Variable "propositions" does not exist.', 7, $this->source); })()));
// line 8
echo " ";
}
// line 9
echo "
<div class=\"homepage mobile\" style=\"";
// line 10
if ((isset($context["isProposition"]) || array_key_exists("isProposition", $context) ? $context["isProposition"] : (function () { throw new RuntimeError('Variable "isProposition" does not exist.', 10, $this->source); })())) {
echo " background-image: linear-gradient(180deg, rgb(48 48 48 / 80%) 0%, rgb(48 48 48 / 80%) 100%), url(";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/lots_images/" . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["firstProposition"]) || array_key_exists("firstProposition", $context) ? $context["firstProposition"] : (function () { throw new RuntimeError('Variable "firstProposition" does not exist.', 10, $this->source); })()), "lot", [], "any", false, false, false, 10), "image", [], "any", false, false, false, 10))), "html", null, true);
echo "); ";
}
echo "\">
";
// line 11
if ( !(isset($context["recap"]) || array_key_exists("recap", $context) ? $context["recap"] : (function () { throw new RuntimeError('Variable "recap" does not exist.', 11, $this->source); })())) {
// line 12
echo " <div class=\"container-fluid\">
<div class=\"titles row\">
<div class=\"col-12 text-center\">
<h4 class=\"subtitle text-white font-weight-bold\">
Votre sélection personnalisée ";
// line 16
(( !(null === (isset($context["interlocuteur"]) || array_key_exists("interlocuteur", $context) ? $context["interlocuteur"] : (function () { throw new RuntimeError('Variable "interlocuteur" does not exist.', 16, $this->source); })()))) ? (print (twig_escape_filter($this->env, ("par " . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["interlocuteur"]) || array_key_exists("interlocuteur", $context) ? $context["interlocuteur"] : (function () { throw new RuntimeError('Variable "interlocuteur" does not exist.', 16, $this->source); })()), "entreprise", [], "any", false, false, false, 16), "nom", [], "any", false, false, false, 16)), "html", null, true))) : (print ("")));
echo " : Cliquez sur une vignette !
</h4>
<p class=\"sub-subtitle text-white\">
<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"8vh\">
<path d=\"M12 14.5L7.5 10L6.08 11.42L12 17.34L17.92 11.42L16.5 10L12 14.5ZM12 10L7.5 5.5L6.08 6.92L12 12.84L17.92 6.92L16.5 5.5L12 10Z\" fill=\"#46bdf7\"/>
</svg>
</p>
</div>
</div>
</div>
";
}
// line 27
echo "
";
// line 28
$context["nb"] = 0;
// line 29
echo " ";
if ( !(isset($context["recap"]) || array_key_exists("recap", $context) ? $context["recap"] : (function () { throw new RuntimeError('Variable "recap" does not exist.', 29, $this->source); })())) {
// line 30
echo " <div class=\"container-fluid-content container-lots position-relative\">
<div class=\"content-lots m-0\">
<div class=\"row justify-content-center w-100 m-0 p-0 lots\">
";
// line 33
if ((array_key_exists("propositions", $context) && (isset($context["propositions"]) || array_key_exists("propositions", $context) ? $context["propositions"] : (function () { throw new RuntimeError('Variable "propositions" does not exist.', 33, $this->source); })()))) {
// line 34
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["propositions"]) || array_key_exists("propositions", $context) ? $context["propositions"] : (function () { throw new RuntimeError('Variable "propositions" does not exist.', 34, $this->source); })()));
$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["proposition"]) {
// line 35
echo " <div class=\"lot-item ";
if ((0 === twig_compare(twig_length_filter($this->env, (isset($context["propositions"]) || array_key_exists("propositions", $context) ? $context["propositions"] : (function () { throw new RuntimeError('Variable "propositions" does not exist.', 35, $this->source); })())), 1))) {
echo " col-8 ";
} elseif ((0 === twig_compare(twig_length_filter($this->env, (isset($context["propositions"]) || array_key_exists("propositions", $context) ? $context["propositions"] : (function () { throw new RuntimeError('Variable "propositions" does not exist.', 35, $this->source); })())), 2))) {
echo " col-6 ";
} else {
echo " col-4 ";
}
echo " active-loading\">
<a href=\"";
// line 36
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("public_lot", ["token" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "prospect", [], "any", false, false, false, 36), "token", [], "any", false, false, false, 36), "id" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 36), "id", [], "any", false, false, false, 36)]), "html", null, true);
echo "\" class=\"noAnim link-card-item active-loading\">
<div class=\"hide-zoom-in d-flex justify-content-between card-lot-item\" style=\"min-height: ";
// line 37
if ((0 === twig_compare(twig_length_filter($this->env, (isset($context["propositions"]) || array_key_exists("propositions", $context) ? $context["propositions"] : (function () { throw new RuntimeError('Variable "propositions" does not exist.', 37, $this->source); })())), 1))) {
echo " 50vh ";
} elseif ((0 === twig_compare(twig_length_filter($this->env, (isset($context["propositions"]) || array_key_exists("propositions", $context) ? $context["propositions"] : (function () { throw new RuntimeError('Variable "propositions" does not exist.', 37, $this->source); })())), 2))) {
echo " 44vh ";
} else {
echo " 34vh ";
}
echo "\">
<div class=\"noAnim bg-img-lot\" style=\"background-image: url(";
// line 38
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/lots_images/" . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 38), "image", [], "any", false, false, false, 38))), "html", null, true);
echo ");\"></div>
<div class=\"lot-caracts d-flex justify-content-between align-items-end w-100 mb-1\">
<div class=\"text-white text-15 col-10\">
<h3 class=\"lot-name mb-0\">";
// line 41
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 41), "reference", [], "any", false, false, false, 41))) {
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 41), "reference", [], "any", false, false, false, 41), "html", null, true);
echo " - ";
}
echo twig_escape_filter($this->env, twig_upper_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 41), "ville", [], "any", false, false, false, 41)), "html", null, true);
echo "</h3>
<h2 class=\"lot-size text-bold\">";
// line 42
echo twig_escape_filter($this->env, twig_upper_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 42), "type", [], "any", false, false, false, 42)), "html", null, true);
echo " ";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 42), "superficie", [], "any", false, false, false, 42))) {
echo " - ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 42), "Superficie", [], "any", false, false, false, 42), "html", null, true);
echo "m² ";
}
echo "</h2>
</div>
<div class=\"num col-2\">";
// line 44
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 44), "html", null, true);
echo "</div>
</div>
</div>
</a>
<div>
<h5 class=\"lot-realisation\">
";
// line 50
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 50), "prix", [], "any", false, false, false, 50))) {
// line 51
echo " <span class=\"lot-prix\">";
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 51), "prix", [], "any", false, false, false, 51), 0, ",", " "), "html", null, true);
echo "€</span>
";
}
// line 53
echo "
";
// line 54
if ((( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 54), "prix", [], "any", false, false, false, 54)) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 54), "programmeParent", [], "any", false, false, false, 54), "visuLivraison", [], "any", false, false, false, 54)) && !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 54), "livraison", [], "any", false, false, false, 54)))) {
// line 55
echo " <span class=\"text-white\"> - </span>
";
}
// line 57
echo "
";
// line 58
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 58), "programmeParent", [], "any", false, false, false, 58), "visuLivraison", [], "any", false, false, false, 58) && !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 58), "livraison", [], "any", false, false, false, 58)))) {
// line 59
echo " <span class=\"lot-livraison\">
";
// line 60
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 60), "livraison", [], "any", false, false, false, 60), "html", null, true);
echo "
</span>
";
}
// line 63
echo " </h5>
</div>
</div>
";
++$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['proposition'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 67
echo " ";
}
// line 68
echo " </div>
</div>
<div class=\"w-100 d-flex justify-content-end\">
<p class=\"logo-zada text-white text-center w-100\">Zada © ";
// line 71
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y"), "html", null, true);
echo "</p>
</div>
</div>
";
} else {
// line 75
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["propositions"] ?? null), "first", [], "any", true, true, false, 75)) {
// line 76
echo " ";
$context["firstProposition"] = twig_get_attribute($this->env, $this->source, (isset($context["propositions"]) || array_key_exists("propositions", $context) ? $context["propositions"] : (function () { throw new RuntimeError('Variable "propositions" does not exist.', 76, $this->source); })()), "first", [], "any", false, false, false, 76);
// line 77
echo " ";
} else {
// line 78
echo " ";
$context["firstProposition"] = twig_get_attribute($this->env, $this->source, (isset($context["propositions"]) || array_key_exists("propositions", $context) ? $context["propositions"] : (function () { throw new RuntimeError('Variable "propositions" does not exist.', 78, $this->source); })()), 0, [], "array", false, false, false, 78);
// line 79
echo " ";
}
// line 80
echo "
<div class=\"slide slide-avis\" style=\"background-image:linear-gradient(180deg, rgb(48 48 48 / 75%) 0%, rgb(48 48 48 / 100%) 100%), url(";
// line 81
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/lots_images/" . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["firstProposition"]) || array_key_exists("firstProposition", $context) ? $context["firstProposition"] : (function () { throw new RuntimeError('Variable "firstProposition" does not exist.', 81, $this->source); })()), "lot", [], "any", false, false, false, 81), "image", [], "any", false, false, false, 81))), "html", null, true);
echo ");\">
<div class=\"container-fluid-content container-lots position-relative container-fluid p-0\" class=\"container-lots\">
<div class=\"container-avis pt-lg-5 mx-auto\">
<div class=\"content-lots recap-lots m-0\">
<div class=\"row justify-content-center w-100 m-0 pb-0 pt-4 px-0 lots\">
";
// line 86
if ((array_key_exists("propositions", $context) && (isset($context["propositions"]) || array_key_exists("propositions", $context) ? $context["propositions"] : (function () { throw new RuntimeError('Variable "propositions" does not exist.', 86, $this->source); })()))) {
// line 87
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["propositions"]) || array_key_exists("propositions", $context) ? $context["propositions"] : (function () { throw new RuntimeError('Variable "propositions" does not exist.', 87, $this->source); })()));
foreach ($context['_seq'] as $context["key"] => $context["proposition"]) {
// line 88
echo " <div class=\"";
if ((0 === twig_compare(twig_length_filter($this->env, (isset($context["propositions"]) || array_key_exists("propositions", $context) ? $context["propositions"] : (function () { throw new RuntimeError('Variable "propositions" does not exist.', 88, $this->source); })())), 1))) {
echo "col-8";
} elseif ((0 === twig_compare(twig_length_filter($this->env, (isset($context["propositions"]) || array_key_exists("propositions", $context) ? $context["propositions"] : (function () { throw new RuntimeError('Variable "propositions" does not exist.', 88, $this->source); })())), 2))) {
echo "col-6";
} else {
echo "col-4";
}
echo " d-flex flex-column px-2 px-lg-4 py-2 py-lg-4 recap-card\">
<h2 class=\"location-card-";
// line 89
echo twig_escape_filter($this->env, (($context["key"] % 6) + 1), "html", null, true);
echo " image-title text-bold\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 89), "ville", [], "any", false, false, false, 89), "html", null, true);
echo "</h2>
<div class=\"lot-item lot-item-recap h-100\" data-bs-toggle=\"modal\" data-bs-target=\"#modalImage\" style=\"min-height: ";
// line 90
if ((0 === twig_compare(twig_length_filter($this->env, (isset($context["propositions"]) || array_key_exists("propositions", $context) ? $context["propositions"] : (function () { throw new RuntimeError('Variable "propositions" does not exist.', 90, $this->source); })())), 1))) {
echo "50vh";
} elseif ((0 === twig_compare(twig_length_filter($this->env, (isset($context["propositions"]) || array_key_exists("propositions", $context) ? $context["propositions"] : (function () { throw new RuntimeError('Variable "propositions" does not exist.', 90, $this->source); })())), 2))) {
echo "44vh";
} else {
echo "34vh";
}
echo "\">
<div class=\"row mx-0 h-100\">
<div class=\"";
// line 92
if (((null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 92), "plan", [], "any", false, false, false, 92)) && (null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 92), "image", [], "any", false, false, false, 92)))) {
echo " col-12 ";
} else {
echo " col-5 ";
}
echo " px-0 lot-caracts lot-";
echo twig_escape_filter($this->env, (($context["key"] % 6) + 1), "html", null, true);
echo "\">
<ul class=\"px-2 py-3 m-0\">
<li class=\"nom-card-recap text-bold\">";
// line 94
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 94), "programme", [], "any", false, false, false, 94), "html", null, true);
echo "</li>
<li class=\"ref-card-recap\">
";
// line 96
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 96), "type", [], "any", false, false, false, 96), "html", null, true);
echo "
";
// line 97
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 97), "reference", [], "any", false, false, false, 97))) {
// line 98
echo " - ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 98), "reference", [], "any", false, false, false, 98), "html", null, true);
echo "
";
}
// line 100
echo " </li>
";
// line 101
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 101), "etage", [], "any", false, false, false, 101))) {
// line 102
echo " <li class=\"title-card-recap\">Etage : <b>";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 102), "etage", [], "any", false, false, false, 102), "html", null, true);
echo "</b></li>
";
}
// line 104
echo " ";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 104), "superficie", [], "any", false, false, false, 104))) {
// line 105
echo " <li class=\"title-card-recap\">Superficie : <b>";
echo twig_escape_filter($this->env, twig_replace_filter(twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 105), "superficie", [], "any", false, false, false, 105), 2, ",", " "), [",00" => ""]), "html", null, true);
echo "m²</b></li>
";
}
// line 107
echo " ";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 107), "terrasse", [], "any", false, false, false, 107))) {
// line 108
echo " <li class=\"title-card-recap\">Terrasse : <b>";
echo twig_escape_filter($this->env, twig_replace_filter(twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 108), "terrasse", [], "any", false, false, false, 108), 2, ",", " "), [",00" => ""]), "html", null, true);
echo "m²</b></li>
";
}
// line 110
echo " ";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 110), "terrasse2", [], "any", false, false, false, 110))) {
// line 111
echo " <li class=\"title-card-recap\">Deuxième terrasse : <b>";
echo twig_escape_filter($this->env, twig_replace_filter(twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 111), "terrasse2", [], "any", false, false, false, 111), 2, ",", " "), [",00" => ""]), "html", null, true);
echo "m²</b></li>
";
}
// line 113
echo " ";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 113), "jardin", [], "any", false, false, false, 113))) {
// line 114
echo " <li class=\"title-card-recap\">Jardin : <b>";
echo twig_escape_filter($this->env, twig_replace_filter(twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 114), "jardin", [], "any", false, false, false, 114), 2, ",", " "), [",00" => ""]), "html", null, true);
echo "m²</b></li>
";
}
// line 116
echo " ";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 116), "orientation", [], "any", false, false, false, 116))) {
// line 117
echo " <li class=\"title-card-recap\">Orientation : <b>";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 117), "orientation", [], "any", false, false, false, 117), "html", null, true);
echo "</b></li>
";
}
// line 119
echo " ";
if ( !(null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 119), "prix", [], "any", false, false, false, 119))) {
// line 120
echo " <li class=\"title-card-recap\">Prix : <b>";
echo twig_escape_filter($this->env, twig_replace_filter(twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 120), "prix", [], "any", false, false, false, 120), 2, ",", " "), [",00" => ""]), "html", null, true);
echo " €</b></li>
";
}
// line 122
echo " ";
if ( !(null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 122), "annexes", [], "any", false, false, false, 122))) {
// line 123
echo " <li class=\"title-card-recap\">Annexes incluses : <b>";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 123), "annexes", [], "any", false, false, false, 123), "html", null, true);
echo "</b></li>
";
}
// line 125
echo " ";
if ( !(null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 125), "fraisNotaireInclus", [], "any", false, false, false, 125))) {
// line 126
echo " <li class=\"title-card-recap\">Frais de notaire ";
if (((null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 126), "fraisNotaireType", [], "any", false, false, false, 126)) || (0 === twig_compare(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 126), "fraisNotaireType", [], "any", false, false, false, 126), "reduits")))) {
echo " réduits";
}
echo " : <b>";
echo twig_escape_filter($this->env, twig_replace_filter(twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 126), "fraisNotaireInclus", [], "any", false, false, false, 126), 2, ",", " "), [",00" => ""]), "html", null, true);
echo " €</b></li>
";
}
// line 128
echo " ";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 128), "programmeParent", [], "any", false, false, false, 128), "visuLivraison", [], "any", false, false, false, 128)) {
// line 129
echo " ";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 129), "livraison", [], "any", false, false, false, 129))) {
// line 130
echo " <li class=\"title-card-recap\">Livraison : <b>";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 130), "livraison", [], "any", false, false, false, 130), "html", null, true);
echo "</b></li>
";
}
// line 132
echo " ";
}
// line 133
echo " ";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 133), "description", [], "any", false, false, false, 133))) {
// line 134
echo " <li class=\"title-card-recap\">Autres notes : <br><strong>";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 134), "description", [], "any", false, false, false, 134), "html", null, true);
echo "</strong></br></li>
";
}
// line 136
echo " ";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 136), "programmeParent", [], "any", false, false, false, 136), "noteGlobale", [], "any", false, false, false, 136))) {
// line 137
echo " <li class=\"title-card-recap\"><strong>";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 137), "programmeParent", [], "any", false, false, false, 137), "noteGlobale", [], "any", false, false, false, 137), "html", null, true);
echo "</strong></li>
";
}
// line 139
echo " </ul>
</div>
<div class=\"col-7 recap-plan-masse px-0\">
<div class=\"viewer-pdf h-100\">
";
// line 143
if (( !(null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 143), "plan", [], "any", false, false, false, 143)) || !(null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 143), "image", [], "any", false, false, false, 143)))) {
// line 144
echo " <div id=\"viewer_n";
echo twig_escape_filter($this->env, twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 144), "pjs", [], "any", false, false, false, 144)), "html", null, true);
echo "\" class=\"viewer d-flex flex-wrap align-content-center h-100\">
";
// line 145
if ( !(null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 145), "plan", [], "any", false, false, false, 145))) {
// line 146
echo " ";
if ( !(null === $this->extensions['App\Twig\AppExtension']->unserialize(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 146), "plan", [], "any", false, false, false, 146), "filename", [], "any", false, false, false, 146)))) {
// line 147
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->extensions['App\Twig\AppExtension']->unserialize(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 147), "plan", [], "any", false, false, false, 147), "filename", [], "any", false, false, false, 147)));
foreach ($context['_seq'] as $context["_key"] => $context["img"]) {
// line 148
echo " <img class=\"minia-plan\" loading=\"lazy\" src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($context["img"]), "html", null, true);
echo "\"/><br/>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['img'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 150
echo " ";
} else {
// line 151
echo " <img class=\"minia-plan\" loading=\"lazy\" src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/pieces_jointes/" . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 151), "plan", [], "any", false, false, false, 151), "filename", [], "any", false, false, false, 151))), "html", null, true);
echo "\"/>
";
}
// line 153
echo " ";
} elseif ( !(null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 153), "image", [], "any", false, false, false, 153))) {
// line 154
echo " ";
// line 155
echo " <img class=\"minia-image test\" loading=\"lazy\" src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/lots_images/" . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 155), "image", [], "any", false, false, false, 155))), "html", null, true);
echo "\"><br/>
";
}
// line 157
echo " </div>
";
}
// line 159
echo " </div>
</div>
</div>
</div>
<div class=\"d-flex my-2 justify-content-between\">
<h2 class=\"text-bold\"><span data-html2canvas-ignore class=\"location-card-";
// line 164
echo twig_escape_filter($this->env, (($context["key"] % 6) + 1), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_slice($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 164), "type", [], "any", false, false, false, 164), 0, 2), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 164), "reference", [], "any", false, false, false, 164), "html", null, true);
echo "</span><span data-html2canvas-ignore class=\"lot-prix\"> - ";
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 164), "prix", [], "any", false, false, false, 164), 0, ",", " "), "html", null, true);
echo "€</span></h2>
<div class=\"icones d-flex align-items-center\">
<a class=\"icone d-flex icone-retour mx-lg-1\" data-html2canvas-ignore href=\"";
// line 166
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("public_lot", ["token" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "prospect", [], "any", false, false, false, 166), "token", [], "any", false, false, false, 166), "id" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["proposition"], "lot", [], "any", false, false, false, 166), "id", [], "any", false, false, false, 166)]), "html", null, true);
echo "\"><img class=\"w-100\" src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/back-arrow.png"), "html", null, true);
echo "\"></a>
<a class=\"icone d-flex icone-dowload mx-1\" data-html2canvas-ignore href=\"#\"><img class=\"w-100\" src=\"";
// line 167
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/telechargement-icone.png"), "html", null, true);
echo "\"></a>
<a class=\"icone d-flex icone-full mx-lg-1\" data-html2canvas-ignore data-bs-toggle=\"modal\" data-bs-target=\"#modalImage\" href=\"#\"><img class=\"w-100\" src=\"";
// line 168
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/fullscreen-icone.png"), "html", null, true);
echo "\"></a>
</div>
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['proposition'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 173
echo " ";
}
// line 174
echo " </div>
</div>
</div>
</div>
<div class=\"w-100 d-flex justify-content-end\">
<p class=\" text-white text-center w-100\">Zada © ";
// line 179
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y"), "html", null, true);
echo "</p>
</div>
</div>
";
}
// line 183
echo " </div>
<div class=\"modal fade\" id=\"modalImage\" tabindex=\"-1\" aria-hidden=\"true\">
<div class=\"modal-dialog modal-fullscreen \">
<div class=\"modal-content\">
<div class=\"modal-header\">
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\"></button>
</div>
<div class=\"modal-body\">
<img class=\"img-modal d-block mx-auto\">
</div>
</div>
</div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 198
public function block_footer($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", "footer"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "public/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 616 => 198, 593 => 183, 586 => 179, 579 => 174, 576 => 173, 565 => 168, 561 => 167, 555 => 166, 544 => 164, 537 => 159, 533 => 157, 527 => 155, 525 => 154, 522 => 153, 516 => 151, 513 => 150, 504 => 148, 499 => 147, 496 => 146, 494 => 145, 489 => 144, 487 => 143, 481 => 139, 475 => 137, 472 => 136, 466 => 134, 463 => 133, 460 => 132, 454 => 130, 451 => 129, 448 => 128, 438 => 126, 435 => 125, 429 => 123, 426 => 122, 420 => 120, 417 => 119, 411 => 117, 408 => 116, 402 => 114, 399 => 113, 393 => 111, 390 => 110, 384 => 108, 381 => 107, 375 => 105, 372 => 104, 366 => 102, 364 => 101, 361 => 100, 355 => 98, 353 => 97, 349 => 96, 344 => 94, 333 => 92, 322 => 90, 316 => 89, 305 => 88, 300 => 87, 298 => 86, 290 => 81, 287 => 80, 284 => 79, 281 => 78, 278 => 77, 275 => 76, 272 => 75, 265 => 71, 260 => 68, 257 => 67, 240 => 63, 234 => 60, 231 => 59, 229 => 58, 226 => 57, 222 => 55, 220 => 54, 217 => 53, 211 => 51, 209 => 50, 200 => 44, 189 => 42, 181 => 41, 175 => 38, 165 => 37, 161 => 36, 150 => 35, 132 => 34, 130 => 33, 125 => 30, 122 => 29, 120 => 28, 117 => 27, 103 => 16, 97 => 12, 95 => 11, 87 => 10, 84 => 9, 81 => 8, 78 => 7, 75 => 6, 72 => 5, 69 => 4, 59 => 3, 36 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends './public/layout.html.twig' %}
{% block main %}
{% set isProposition = false %}
{% if propositions|length > 0 %}
{% set isProposition = true %}
{% set firstProposition = propositions|first %}
{% endif %}
<div class=\"homepage mobile\" style=\"{% if isProposition %} background-image: linear-gradient(180deg, rgb(48 48 48 / 80%) 0%, rgb(48 48 48 / 80%) 100%), url({{ asset('uploads/lots_images/' ~ firstProposition.lot.image) }}); {% endif %}\">
{% if not recap %}
<div class=\"container-fluid\">
<div class=\"titles row\">
<div class=\"col-12 text-center\">
<h4 class=\"subtitle text-white font-weight-bold\">
Votre sélection personnalisée {{ interlocuteur is not null ? 'par ' ~ interlocuteur.entreprise.nom : '' }} : Cliquez sur une vignette !
</h4>
<p class=\"sub-subtitle text-white\">
<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"8vh\">
<path d=\"M12 14.5L7.5 10L6.08 11.42L12 17.34L17.92 11.42L16.5 10L12 14.5ZM12 10L7.5 5.5L6.08 6.92L12 12.84L17.92 6.92L16.5 5.5L12 10Z\" fill=\"#46bdf7\"/>
</svg>
</p>
</div>
</div>
</div>
{% endif %}
{% set nb = 0 %}
{% if not recap %}
<div class=\"container-fluid-content container-lots position-relative\">
<div class=\"content-lots m-0\">
<div class=\"row justify-content-center w-100 m-0 p-0 lots\">
{% if propositions is defined and propositions %}
{% for key, proposition in propositions %}
<div class=\"lot-item {% if propositions|length == 1 %} col-8 {% elseif propositions|length == 2 %} col-6 {% else %} col-4 {% endif %} active-loading\">
<a href=\"{{ path('public_lot', {token: proposition.prospect.token, id: proposition.lot.id}) }}\" class=\"noAnim link-card-item active-loading\">
<div class=\"hide-zoom-in d-flex justify-content-between card-lot-item\" style=\"min-height: {% if propositions|length == 1 %} 50vh {% elseif propositions|length == 2 %} 44vh {% else %} 34vh {% endif %}\">
<div class=\"noAnim bg-img-lot\" style=\"background-image: url({{ asset('uploads/lots_images/' ~ proposition.lot.image) }});\"></div>
<div class=\"lot-caracts d-flex justify-content-between align-items-end w-100 mb-1\">
<div class=\"text-white text-15 col-10\">
<h3 class=\"lot-name mb-0\">{% if proposition.lot.reference is not empty %}{{proposition.lot.reference}} - {% endif %}{{proposition.lot.ville|upper}}</h3>
<h2 class=\"lot-size text-bold\">{{proposition.lot.type|upper}} {% if proposition.lot.superficie is not empty %} - {{ proposition.lot.Superficie }}m² {% endif %}</h2>
</div>
<div class=\"num col-2\">{{ loop.index }}</div>
</div>
</div>
</a>
<div>
<h5 class=\"lot-realisation\">
{% if proposition.lot.prix is not empty %}
<span class=\"lot-prix\">{{ proposition.lot.prix|number_format(0, ',', ' ') }}€</span>
{% endif %}
{% if proposition.lot.prix is not empty and proposition.lot.programmeParent.visuLivraison and proposition.lot.livraison is not empty %}
<span class=\"text-white\"> - </span>
{% endif %}
{% if proposition.lot.programmeParent.visuLivraison and proposition.lot.livraison is not empty %}
<span class=\"lot-livraison\">
{{ proposition.lot.livraison }}
</span>
{% endif %}
</h5>
</div>
</div>
{% endfor %}
{% endif %}
</div>
</div>
<div class=\"w-100 d-flex justify-content-end\">
<p class=\"logo-zada text-white text-center w-100\">Zada © {{ \"now\"|date('Y') }}</p>
</div>
</div>
{% else %}
{% if propositions.first is defined %}
{% set firstProposition = propositions.first %}
{% else %}
{% set firstProposition = propositions[0] %}
{% endif %}
<div class=\"slide slide-avis\" style=\"background-image:linear-gradient(180deg, rgb(48 48 48 / 75%) 0%, rgb(48 48 48 / 100%) 100%), url({{ asset('uploads/lots_images/' ~ firstProposition.lot.image) }});\">
<div class=\"container-fluid-content container-lots position-relative container-fluid p-0\" class=\"container-lots\">
<div class=\"container-avis pt-lg-5 mx-auto\">
<div class=\"content-lots recap-lots m-0\">
<div class=\"row justify-content-center w-100 m-0 pb-0 pt-4 px-0 lots\">
{% if propositions is defined and propositions %}
{% for key, proposition in propositions %}
<div class=\"{% if propositions|length == 1 %}col-8{% elseif propositions|length == 2 %}col-6{% else %}col-4{% endif %} d-flex flex-column px-2 px-lg-4 py-2 py-lg-4 recap-card\">
<h2 class=\"location-card-{{ (key%6)+1 }} image-title text-bold\">{{ proposition.lot.ville }}</h2>
<div class=\"lot-item lot-item-recap h-100\" data-bs-toggle=\"modal\" data-bs-target=\"#modalImage\" style=\"min-height: {% if propositions|length == 1 %}50vh{% elseif propositions|length == 2 %}44vh{% else %}34vh{% endif %}\">
<div class=\"row mx-0 h-100\">
<div class=\"{% if proposition.lot.plan is null and proposition.lot.image is null %} col-12 {% else %} col-5 {% endif %} px-0 lot-caracts lot-{{ (key%6)+1 }}\">
<ul class=\"px-2 py-3 m-0\">
<li class=\"nom-card-recap text-bold\">{{ proposition.lot.programme }}</li>
<li class=\"ref-card-recap\">
{{proposition.lot.type}}
{% if proposition.lot.reference is not empty %}
- {{ proposition.lot.reference }}
{% endif %}
</li>
{% if proposition.lot.etage is not empty %}
<li class=\"title-card-recap\">Etage : <b>{{ proposition.lot.etage }}</b></li>
{% endif %}
{% if proposition.lot.superficie is not empty %}
<li class=\"title-card-recap\">Superficie : <b>{{ proposition.lot.superficie|number_format(2, ',', ' ')|replace({',00': ''}) }}m²</b></li>
{% endif %}
{% if proposition.lot.terrasse is not empty %}
<li class=\"title-card-recap\">Terrasse : <b>{{ proposition.lot.terrasse|number_format(2, ',', ' ')|replace({',00': ''}) }}m²</b></li>
{% endif %}
{% if proposition.lot.terrasse2 is not empty %}
<li class=\"title-card-recap\">Deuxième terrasse : <b>{{ proposition.lot.terrasse2|number_format(2, ',', ' ')|replace({',00': ''}) }}m²</b></li>
{% endif %}
{% if proposition.lot.jardin is not empty %}
<li class=\"title-card-recap\">Jardin : <b>{{ proposition.lot.jardin|number_format(2, ',', ' ')|replace({',00': ''}) }}m²</b></li>
{% endif %}
{% if proposition.lot.orientation is not empty %}
<li class=\"title-card-recap\">Orientation : <b>{{ proposition.lot.orientation }}</b></li>
{% endif %}
{% if proposition.lot.prix is not null %}
<li class=\"title-card-recap\">Prix : <b>{{ proposition.lot.prix|number_format(2, ',', ' ')|replace({',00': ''}) }} €</b></li>
{% endif %}
{% if(proposition.lot.annexes is not null) %}
<li class=\"title-card-recap\">Annexes incluses : <b>{{ proposition.lot.annexes }}</b></li>
{% endif %}
{% if proposition.lot.fraisNotaireInclus is not null %}
<li class=\"title-card-recap\">Frais de notaire {% if proposition.lot.fraisNotaireType is null or proposition.lot.fraisNotaireType == 'reduits' %} réduits{% endif %} : <b>{{ proposition.lot.fraisNotaireInclus|number_format(2, ',', ' ')|replace({',00': ''}) }} €</b></li>
{% endif %}
{% if proposition.lot.programmeParent.visuLivraison %}
{% if proposition.lot.livraison is not empty %}
<li class=\"title-card-recap\">Livraison : <b>{{ proposition.lot.livraison }}</b></li>
{% endif %}
{% endif %}
{% if proposition.lot.description is not empty %}
<li class=\"title-card-recap\">Autres notes : <br><strong>{{ proposition.lot.description }}</strong></br></li>
{% endif %}
{% if proposition.lot.programmeParent.noteGlobale is not empty %}
<li class=\"title-card-recap\"><strong>{{ proposition.lot.programmeParent.noteGlobale }}</strong></li>
{% endif %}
</ul>
</div>
<div class=\"col-7 recap-plan-masse px-0\">
<div class=\"viewer-pdf h-100\">
{% if proposition.lot.plan is not null or proposition.lot.image is not null %}
<div id=\"viewer_n{{ proposition.lot.pjs|length }}\" class=\"viewer d-flex flex-wrap align-content-center h-100\">
{% if proposition.lot.plan is not null %}
{% if proposition.lot.plan.filename|unserialize is not null %}
{% for img in proposition.lot.plan.filename|unserialize %}
<img class=\"minia-plan\" loading=\"lazy\" src=\"{{ asset(img) }}\"/><br/>
{% endfor %}
{% else %}
<img class=\"minia-plan\" loading=\"lazy\" src=\"{{ asset('uploads/pieces_jointes/' ~ proposition.lot.plan.filename) }}\"/>
{% endif %}
{% elseif proposition.lot.image is not null %}
{#<div class=\"h-100 w-100 minia-image\" style=\"background-image: url({{ asset('uploads/lots_images/' ~ proposition.lot.image) }});\"></div>#}
<img class=\"minia-image test\" loading=\"lazy\" src=\"{{ asset('uploads/lots_images/' ~ proposition.lot.image) }}\"><br/>
{% endif %}
</div>
{% endif %}
</div>
</div>
</div>
</div>
<div class=\"d-flex my-2 justify-content-between\">
<h2 class=\"text-bold\"><span data-html2canvas-ignore class=\"location-card-{{ (key%6)+1 }}\">{{proposition.lot.type|slice(0,2)}} {{proposition.lot.reference}}</span><span data-html2canvas-ignore class=\"lot-prix\"> - {{ proposition.lot.prix|number_format(0, ',', ' ') }}€</span></h2>
<div class=\"icones d-flex align-items-center\">
<a class=\"icone d-flex icone-retour mx-lg-1\" data-html2canvas-ignore href=\"{{ path('public_lot', {token: proposition.prospect.token, id: proposition.lot.id}) }}\"><img class=\"w-100\" src=\"{{ asset('build/images/back-arrow.png') }}\"></a>
<a class=\"icone d-flex icone-dowload mx-1\" data-html2canvas-ignore href=\"#\"><img class=\"w-100\" src=\"{{ asset('build/images/telechargement-icone.png') }}\"></a>
<a class=\"icone d-flex icone-full mx-lg-1\" data-html2canvas-ignore data-bs-toggle=\"modal\" data-bs-target=\"#modalImage\" href=\"#\"><img class=\"w-100\" src=\"{{ asset('build/images/fullscreen-icone.png') }}\"></a>
</div>
</div>
</div>
{% endfor %}
{% endif %}
</div>
</div>
</div>
</div>
<div class=\"w-100 d-flex justify-content-end\">
<p class=\" text-white text-center w-100\">Zada © {{ \"now\"|date('Y') }}</p>
</div>
</div>
{% endif %}
</div>
<div class=\"modal fade\" id=\"modalImage\" tabindex=\"-1\" aria-hidden=\"true\">
<div class=\"modal-dialog modal-fullscreen \">
<div class=\"modal-content\">
<div class=\"modal-header\">
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\"></button>
</div>
<div class=\"modal-body\">
<img class=\"img-modal d-block mx-auto\">
</div>
</div>
</div>
</div>
{% endblock %}
{% block footer %}
{% endblock %}
", "public/index.html.twig", "/home/clients/d5fc483de73e2cf6f126c55abcd1b2e6/sites/lk1.test.genesii.fr/templates/public/index.html.twig");
}
}