<?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;
/* front/distribution/index.html.twig */
class __TwigTemplate_7deef0c91cff289e1e7fb40e3d285b8bad3bb057aa137c92429c568fb6c71265 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'googleTagManagerDataLayer' => [$this, 'block_googleTagManagerDataLayer'],
'body' => [$this, 'block_body'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "front/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", "front/distribution/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", "front/distribution/index.html.twig"));
$this->parent = $this->loadTemplate("front/layout.html.twig", "front/distribution/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 2
public function block_googleTagManagerDataLayer($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", "googleTagManagerDataLayer"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "googleTagManagerDataLayer"));
// line 3
echo " ";
$this->loadTemplate("google_tag.html.twig", "front/distribution/index.html.twig", 3)->display(twig_array_merge($context, ["titlePage" => "Distribution de flyers", "categoryPage" => "product-details", "navigation_category1" => "", "navigation_category2" => "", "navigation_category3" => ""]));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 5
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 6
echo " ";
$this->loadTemplate("front/header.html.twig", "front/distribution/index.html.twig", 6)->display($context);
// line 7
echo " <div class=\"top_fl_dist\">
<div class=\"row\">
<div class=\"col-md-3 col-sm-12\">
<img src=\"";
// line 10
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/imcr1.png"), "html", null, true);
echo "\" class=\"dis_img_desk\">
</div>
<div class=\"col-md-6 col-sm-12\">
<h2>";
// line 13
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Distribution de flyers", [], "productTranslate"), "html", null, true);
echo "</h2>
<img src=\"";
// line 14
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/imcr1.png"), "html", null, true);
echo "\" class=\"dis_img_mob\">
<p>";
// line 15
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Fini les devis et les prix à rallonge ! Copees distribue pour vous vos flyers et tout est très très simple.
Vous choisissez vos préférences de distribution, le lieu, le nombre de flyers et la date.
Vous connaitrez directement le prix et vous pourrez commander en ligne.
<br><br>Nos équipes s’occupent de faire la distribution en vous communiquant un lien de tracking afin de vous dire quand la distribution commence, ainsi qu’un débriefe par mail à la fin de la mission. Si vous n’êtes pas satisfait de notre prestation, on vous rembourse !", [], "productTranslate");
// line 18
echo "</p>
</div>
<div class=\"col-md-3 col-sm-12\">
<img src=\"";
// line 21
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/imcr2.png"), "html", null, true);
echo "\" class=\"dis_img_desk\">
</div>
</div>
</div>
<div class=\"container page_check_dist box_dis_fl\">
";
// line 26
if ((isset($context["is_show"]) || array_key_exists("is_show", $context) ? $context["is_show"] : (function () { throw new RuntimeError('Variable "is_show" does not exist.', 26, $this->source); })())) {
// line 27
echo " ";
if (((isset($context["displayForFlyer"]) || array_key_exists("displayForFlyer", $context) ? $context["displayForFlyer"] : (function () { throw new RuntimeError('Variable "displayForFlyer" does not exist.', 27, $this->source); })()) == false)) {
// line 28
echo " <div class=\"row inputmxw\">
<div class=\"col-12 p-md-0 mt-4 mb-4 check_box2\">
<h2>";
// line 30
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Distribution de flyers", [], "productTranslate"), "html", null, true);
echo "</h2>
<p>";
// line 31
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Il faut commander un produit flyer,", [], "productTranslate"), "html", null, true);
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("accueil");
echo "\"> ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("retourner à la page d'accueil", [], "productTranslate"), "html", null, true);
echo "</a></p>
</div>
</div>
";
} else {
// line 35
echo " ";
$this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 35, $this->source); })()), "qty", [], "any", false, false, false, 35), [0 => "form/fields-custom.html.twig"], true);
// line 36
echo " ";
$this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 36, $this->source); })()), "ditribution_flyers", [], "any", false, false, false, 36), [0 => "form/fields-custom.html.twig"], true);
// line 37
echo " ";
$this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 37, $this->source); })()), "nbrPersonne", [], "any", false, false, false, 37), [0 => "form/fields-custom.html.twig"], true);
// line 38
echo " ";
$this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 38, $this->source); })()), [0 => "form_table_layout.html.twig"], true);
// line 39
echo " ";
$this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 39, $this->source); })()), "isCopees", [], "any", false, false, false, 39), [0 => "form/fields-custom.html.twig"], true);
// line 40
echo " ";
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 40, $this->source); })()), 'form_start', ["method" => "POST"]);
echo "
<div class=\"row inputmxw\">
<div class=\"col-12 p-md-0 mt-4 check_box2\">
<p>";
// line 43
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Comment voulez-vous distribuer vos flyers ?", [], "productTranslate"), "html", null, true);
echo "</p>
</div>
<div class=\"d-sm-flex justify-content-around bx_global_radio model_check_radio mcr1\">
";
// line 46
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 46, $this->source); })()), "ditribution_flyers", [], "any", false, false, false, 46), 'widget');
echo "
";
// line 47
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 47, $this->source); })()), "ditribution_flyers", [], "any", false, false, false, 47), 'errors');
echo "
</div>
<div class=\"mt-4 mb-4 w-100 input_dist\">
<p>";
// line 50
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("A partir de quelle adresse souhaitez-vous commencer la distribution?", [], "productTranslate"), "html", null, true);
echo "</p>
";
// line 51
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 51, $this->source); })()), "adresse", [], "any", false, false, false, 51), 'widget', ["attr" => ["placeholder" => "Veuillez renseigner votre adresse"]]);
echo "
";
// line 52
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 52, $this->source); })()), "adresse", [], "any", false, false, false, 52), 'errors');
echo "
<div id=\"mapZone\" style=\"display: none;\">
<p>";
// line 54
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Définissez une zone à partir de l’adresse initiale où vous souhaitez que la distribution soit effectuée", [], "productTranslate"), "html", null, true);
echo "</p>
";
// line 55
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 55, $this->source); })()), "zonechalandise", [], "any", false, false, false, 55), 'widget');
echo "
";
// line 56
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 56, $this->source); })()), "zonechalandise", [], "any", false, false, false, 56), 'errors');
echo "
<div id=\"map\" style=\"height: 400px\"></div>
</div>
</div>
<div class=\"date_check\">
<p>";
// line 61
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Combien de temps de distribution souhaitez-vous ?", [], "productTranslate"), "html", null, true);
echo "</p>
<div class=\"d-sm-flex align-content-around flex-wrap bx_global_radio2 model_check_radio mcr2\">
";
// line 63
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 63, $this->source); })()), "qty", [], "any", false, false, false, 63), 'widget');
echo "
";
// line 64
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 64, $this->source); })()), "qty", [], "any", false, false, false, 64), 'errors');
echo "
</div>
</div>
<div class=\"date_check\">
<p>";
// line 68
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("De combien de personnes qui distribuent en même temps avez-vous besoin ?", [], "productTranslate"), "html", null, true);
echo "</p>
<div class=\"d-sm-flex align-content-around flex-wrap bx_global_radio2 model_check_radio mcr2\">
";
// line 70
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 70, $this->source); })()), "nbrPersonne", [], "any", false, false, false, 70), 'widget');
echo "
";
// line 71
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 71, $this->source); })()), "nbrPersonne", [], "any", false, false, false, 71), 'errors');
echo "
</div>
</div>
<div class=\"row inputmxw labelDistribution page_check \">
<div class=\"col-12 p-md-0 mt-4 mb-2 check_box2\">
";
// line 76
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 76, $this->source); })()), "isCopees", [], "any", false, false, false, 76), 'label');
echo "
";
// line 77
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 77, $this->source); })()), "isCopees", [], "any", false, false, false, 77), 'widget');
echo "
";
// line 78
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 78, $this->source); })()), "isCopees", [], "any", false, false, false, 78), 'errors');
echo "
</div>
<div class=\"col-12 p-md-0 mt-2 mb-2 \" id=\"helpIsCopees\">
";
// line 81
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 81, $this->source); })()), "isCopees", [], "any", false, false, false, 81), 'help');
echo "
</div>
</div>
<div class=\"mt-4 mb-2 w-100 input_dist\">
<p>";
// line 85
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Quand souhaitez-vous les distribuer ?", [], "productTranslate"), "html", null, true);
echo "</p>
<div class=\"d-sm-flex\">
<div class=\"input_date_dist\"><label>";
// line 87
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Début de mission", [], "productTranslate"), "html", null, true);
echo "</label>";
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 87, $this->source); })()), "datestart", [], "any", false, false, false, 87), 'widget', ["attr" => ["placeholder" => "JJ/MM/AAAA"]]);
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 87, $this->source); })()), "datestart", [], "any", false, false, false, 87), 'errors');
echo "</div>
<div class=\"input_date_dist\"><label>";
// line 88
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Fin de mission", [], "productTranslate"), "html", null, true);
echo "</label>";
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 88, $this->source); })()), "dateEnd", [], "any", false, false, false, 88), 'widget', ["attr" => ["placeholder" => "JJ/MM/AAAA"]]);
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 88, $this->source); })()), "dateEnd", [], "any", false, false, false, 88), 'errors');
echo "</div>
</div>
</div>
<div class=\"mt-2 mb-3 w-100 input_dist\">
<p>";
// line 92
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Avez-vous des besoins spécifiques pour la distribution des flyers ?", [], "productTranslate"), "html", null, true);
echo "</p>
";
// line 93
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 93, $this->source); })()), "commentaire", [], "any", false, false, false, 93), 'widget', ["attr" => ["placeholder" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Écrivez votre message", [], "productTranslate")]]);
echo "
";
// line 94
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 94, $this->source); })()), "commentaire", [], "any", false, false, false, 94), 'errors');
echo "
</div>
<div class=\"col-12 p-md-0 mb-4 form-check_link dist_link text center\">
<button type=\"submit\">";
// line 97
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Connaitre mon prix", [], "productTranslate"), "html", null, true);
echo "</button>
<a href=\"#\" data-toggle=\"modal\" data-target=\"#visioModal\" class=\"rdvDistributionBtn\">";
// line 98
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Demander un rdv avec un conseiller", [], "productTranslate"), "html", null, true);
echo " </a>
</div>
</div>
";
// line 101
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 101, $this->source); })()), 'form_end');
echo "
";
}
// line 103
echo " ";
} else {
// line 104
echo " <div class=\"row inputmxw\">
<div class=\"col-12 p-md-0 mt-4 mb-4 check_box2\">
<h2>";
// line 106
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Distribution de flyers", [], "productTranslate"), "html", null, true);
echo "</h2>
<p>";
// line 107
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Le service de distribution des flyers est desactivé pour le moment", [], "productTranslate"), "html", null, true);
echo "</p>
</div>
</div>
";
}
// line 111
echo " </div>
<div class=\"modal fade\" id=\"visioModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog \" role=\"document\" id=\"modal-xl2\">
<div class=\"modal-content\">
<iframe src=\"https://calendly.com/d/cp2-rpf-rtb/copees-let-s-talk\" width=\"100%\" height=\"700px\">
</iframe>
</div>
</div>
</div>
";
// line 121
$this->loadTemplate("front/footer.html.twig", "front/distribution/index.html.twig", 121)->display($context);
// line 122
echo " <style>
#distribution_cart_zonechalandise{
box-shadow: 0 0 0px #e2e2e2 !important;
}
.datepicker td,
.datepicker th {
text-align: center;
width: 30px;
height: 30px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
border: none;
font-size: 14px;
}
.text-distribution{
font-weight: 100!important;
font-size: 15px!important;
}
</style>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 143
public function block_javascripts($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", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 144
echo " ";
$this->displayParentBlock("javascripts", $context, $blocks);
echo "
<script src=\"https://maps.googleapis.com/maps/api/js?key=";
// line 145
echo twig_escape_filter($this->env, (isset($context["key_google_map"]) || array_key_exists("key_google_map", $context) ? $context["key_google_map"] : (function () { throw new RuntimeError('Variable "key_google_map" does not exist.', 145, $this->source); })()), "html", null, true);
echo "&libraries=places\"></script>
";
// line 146
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("formDistributionFlyer");
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "front/distribution/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 408 => 146, 404 => 145, 399 => 144, 389 => 143, 359 => 122, 357 => 121, 345 => 111, 338 => 107, 334 => 106, 330 => 104, 327 => 103, 322 => 101, 316 => 98, 312 => 97, 306 => 94, 302 => 93, 298 => 92, 288 => 88, 281 => 87, 276 => 85, 269 => 81, 263 => 78, 259 => 77, 255 => 76, 247 => 71, 243 => 70, 238 => 68, 231 => 64, 227 => 63, 222 => 61, 214 => 56, 210 => 55, 206 => 54, 201 => 52, 197 => 51, 193 => 50, 187 => 47, 183 => 46, 177 => 43, 170 => 40, 167 => 39, 164 => 38, 161 => 37, 158 => 36, 155 => 35, 144 => 31, 140 => 30, 136 => 28, 133 => 27, 131 => 26, 123 => 21, 118 => 18, 113 => 15, 109 => 14, 105 => 13, 99 => 10, 94 => 7, 91 => 6, 81 => 5, 70 => 3, 60 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'front/layout.html.twig' %}
{% block googleTagManagerDataLayer %}
{% include 'google_tag.html.twig' with {'titlePage':'Distribution de flyers','categoryPage':'product-details','navigation_category1':'','navigation_category2':'','navigation_category3':'' } %}
{% endblock %}
{% block body %}
{% include 'front/header.html.twig' %}
<div class=\"top_fl_dist\">
<div class=\"row\">
<div class=\"col-md-3 col-sm-12\">
<img src=\"{{ asset('images/imcr1.png') }}\" class=\"dis_img_desk\">
</div>
<div class=\"col-md-6 col-sm-12\">
<h2>{{ 'Distribution de flyers' | trans({}, \"productTranslate\") }}</h2>
<img src=\"{{ asset('images/imcr1.png') }}\" class=\"dis_img_mob\">
<p>{{ \"Fini les devis et les prix à rallonge ! Copees distribue pour vous vos flyers et tout est très très simple.
Vous choisissez vos préférences de distribution, le lieu, le nombre de flyers et la date.
Vous connaitrez directement le prix et vous pourrez commander en ligne.
<br><br>Nos équipes s’occupent de faire la distribution en vous communiquant un lien de tracking afin de vous dire quand la distribution commence, ainsi qu’un débriefe par mail à la fin de la mission. Si vous n’êtes pas satisfait de notre prestation, on vous rembourse !\" | trans({}, \"productTranslate\") |raw }}</p>
</div>
<div class=\"col-md-3 col-sm-12\">
<img src=\"{{ asset('images/imcr2.png') }}\" class=\"dis_img_desk\">
</div>
</div>
</div>
<div class=\"container page_check_dist box_dis_fl\">
{% if is_show %}
{% if displayForFlyer == false %}
<div class=\"row inputmxw\">
<div class=\"col-12 p-md-0 mt-4 mb-4 check_box2\">
<h2>{{ 'Distribution de flyers' | trans({}, \"productTranslate\") }}</h2>
<p>{{ 'Il faut commander un produit flyer,' | trans({}, \"productTranslate\") }} <a href=\"{{ path('accueil') }}\"> {{ \"retourner à la page d\\'accueil\" | trans({}, \"productTranslate\") }}</a></p>
</div>
</div>
{% else %}
{% form_theme form.qty 'form/fields-custom.html.twig' %}
{% form_theme form.ditribution_flyers 'form/fields-custom.html.twig' %}
{% form_theme form.nbrPersonne 'form/fields-custom.html.twig' %}
{% form_theme form 'form_table_layout.html.twig' %}
{% form_theme form.isCopees 'form/fields-custom.html.twig' %}
{{ form_start(form, {'method': 'POST'}) }}
<div class=\"row inputmxw\">
<div class=\"col-12 p-md-0 mt-4 check_box2\">
<p>{{ 'Comment voulez-vous distribuer vos flyers ?' | trans({}, \"productTranslate\") }}</p>
</div>
<div class=\"d-sm-flex justify-content-around bx_global_radio model_check_radio mcr1\">
{{ form_widget(form.ditribution_flyers ) }}
{{ form_errors(form.ditribution_flyers ) }}
</div>
<div class=\"mt-4 mb-4 w-100 input_dist\">
<p>{{ 'A partir de quelle adresse souhaitez-vous commencer la distribution?' | trans({}, \"productTranslate\") }}</p>
{{ form_widget(form.adresse,{'attr': {'placeholder': 'Veuillez renseigner votre adresse'}} ) }}
{{ form_errors(form.adresse ) }}
<div id=\"mapZone\" style=\"display: none;\">
<p>{{ 'Définissez une zone à partir de l’adresse initiale où vous souhaitez que la distribution soit effectuée' | trans({}, \"productTranslate\") }}</p>
{{ form_widget(form.zonechalandise ) }}
{{ form_errors(form.zonechalandise ) }}
<div id=\"map\" style=\"height: 400px\"></div>
</div>
</div>
<div class=\"date_check\">
<p>{{ 'Combien de temps de distribution souhaitez-vous ?' | trans({}, \"productTranslate\") }}</p>
<div class=\"d-sm-flex align-content-around flex-wrap bx_global_radio2 model_check_radio mcr2\">
{{ form_widget(form.qty ) }}
{{ form_errors(form.qty ) }}
</div>
</div>
<div class=\"date_check\">
<p>{{ 'De combien de personnes qui distribuent en même temps avez-vous besoin ?' | trans({}, \"productTranslate\") }}</p>
<div class=\"d-sm-flex align-content-around flex-wrap bx_global_radio2 model_check_radio mcr2\">
{{ form_widget(form.nbrPersonne ) }}
{{ form_errors(form.nbrPersonne ) }}
</div>
</div>
<div class=\"row inputmxw labelDistribution page_check \">
<div class=\"col-12 p-md-0 mt-4 mb-2 check_box2\">
{{ form_label(form.isCopees) }}
{{ form_widget(form.isCopees) }}
{{ form_errors(form.isCopees ) }}
</div>
<div class=\"col-12 p-md-0 mt-2 mb-2 \" id=\"helpIsCopees\">
{{ form_help(form.isCopees) }}
</div>
</div>
<div class=\"mt-4 mb-2 w-100 input_dist\">
<p>{{ 'Quand souhaitez-vous les distribuer ?' | trans({}, \"productTranslate\") }}</p>
<div class=\"d-sm-flex\">
<div class=\"input_date_dist\"><label>{{ 'Début de mission' | trans({}, \"productTranslate\") }}</label>{{ form_widget(form.datestart,{'attr': {'placeholder': 'JJ/MM/AAAA'}} ) }}{{ form_errors(form.datestart ) }}</div>
<div class=\"input_date_dist\"><label>{{ 'Fin de mission' | trans({}, \"productTranslate\") }}</label>{{ form_widget(form.dateEnd,{'attr': {'placeholder': 'JJ/MM/AAAA'}} ) }}{{ form_errors(form.dateEnd ) }}</div>
</div>
</div>
<div class=\"mt-2 mb-3 w-100 input_dist\">
<p>{{ 'Avez-vous des besoins spécifiques pour la distribution des flyers ?' | trans({}, \"productTranslate\") }}</p>
{{ form_widget(form.commentaire,{'attr': {'placeholder': 'Écrivez votre message' | trans({}, \"productTranslate\")}} ) }}
{{ form_errors(form.commentaire ) }}
</div>
<div class=\"col-12 p-md-0 mb-4 form-check_link dist_link text center\">
<button type=\"submit\">{{ 'Connaitre mon prix' | trans({}, \"productTranslate\") }}</button>
<a href=\"#\" data-toggle=\"modal\" data-target=\"#visioModal\" class=\"rdvDistributionBtn\">{{ 'Demander un rdv avec un conseiller' | trans({}, \"productTranslate\") }} </a>
</div>
</div>
{{ form_end(form) }}
{% endif %}
{% else %}
<div class=\"row inputmxw\">
<div class=\"col-12 p-md-0 mt-4 mb-4 check_box2\">
<h2>{{ 'Distribution de flyers' | trans({}, \"productTranslate\") }}</h2>
<p>{{ 'Le service de distribution des flyers est desactivé pour le moment' | trans({}, \"productTranslate\") }}</p>
</div>
</div>
{% endif %}
</div>
<div class=\"modal fade\" id=\"visioModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog \" role=\"document\" id=\"modal-xl2\">
<div class=\"modal-content\">
<iframe src=\"https://calendly.com/d/cp2-rpf-rtb/copees-let-s-talk\" width=\"100%\" height=\"700px\">
</iframe>
</div>
</div>
</div>
{% include 'front/footer.html.twig' %}
<style>
#distribution_cart_zonechalandise{
box-shadow: 0 0 0px #e2e2e2 !important;
}
.datepicker td,
.datepicker th {
text-align: center;
width: 30px;
height: 30px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
border: none;
font-size: 14px;
}
.text-distribution{
font-weight: 100!important;
font-size: 15px!important;
}
</style>
{% endblock %}
{% block javascripts %}
{{ parent() }}
<script src=\"https://maps.googleapis.com/maps/api/js?key={{ key_google_map }}&libraries=places\"></script>
{{ encore_entry_script_tags('formDistributionFlyer') }}
{% endblock %}
", "front/distribution/index.html.twig", "/home/preprodcopees/www/copees-sf/templates/front/distribution/index.html.twig");
}
}