var/cache/dev/twig/81/810208b670765197be05fefcf11dd6ad77866e539ed5e7ee1b953902cc71e9e3.php line 50

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* front/distribution/index.html.twig */
  14. class __TwigTemplate_7deef0c91cff289e1e7fb40e3d285b8bad3bb057aa137c92429c568fb6c71265 extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'googleTagManagerDataLayer' => [$this'block_googleTagManagerDataLayer'],
  24.             'body' => [$this'block_body'],
  25.             'javascripts' => [$this'block_javascripts'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "front/layout.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/distribution/index.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/distribution/index.html.twig"));
  40.         $this->parent $this->loadTemplate("front/layout.html.twig""front/distribution/index.html.twig"1);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  44.         
  45.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  46.     }
  47.     // line 2
  48.     public function block_googleTagManagerDataLayer($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""googleTagManagerDataLayer"));
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""googleTagManagerDataLayer"));
  55.         // line 3
  56.         echo "    ";
  57.         $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" => ""]));
  58.         
  59.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  60.         
  61.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  62.     }
  63.     // line 5
  64.     public function block_body($context, array $blocks = [])
  65.     {
  66.         $macros $this->macros;
  67.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  68.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  69.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  70.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  71.         // line 6
  72.         echo "    ";
  73.         $this->loadTemplate("front/header.html.twig""front/distribution/index.html.twig"6)->display($context);
  74.         // line 7
  75.         echo "    <div class=\"top_fl_dist\">
  76.         <div class=\"row\">
  77.             <div class=\"col-md-3 col-sm-12\">
  78.                 <img src=\"";
  79.         // line 10
  80.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/imcr1.png"), "html"nulltrue);
  81.         echo "\" class=\"dis_img_desk\">
  82.             </div>
  83.             <div class=\"col-md-6 col-sm-12\">
  84.                 <h2>";
  85.         // line 13
  86.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Distribution de flyers", [], "productTranslate"), "html"nulltrue);
  87.         echo "</h2>
  88.                 <img src=\"";
  89.         // line 14
  90.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/imcr1.png"), "html"nulltrue);
  91.         echo "\" class=\"dis_img_mob\">
  92.                 <p>";
  93.         // line 15
  94.         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.
  95.                     Vous choisissez vos préférences de distribution, le lieu, le nombre de flyers et la date.
  96.                     Vous connaitrez directement le prix et vous pourrez commander en ligne.
  97.                     <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");
  98.         // line 18
  99.         echo "</p>
  100.             </div>
  101.             <div class=\"col-md-3 col-sm-12\">
  102.                 <img src=\"";
  103.         // line 21
  104.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/imcr2.png"), "html"nulltrue);
  105.         echo "\" class=\"dis_img_desk\">
  106.             </div>
  107.         </div>
  108.     </div>
  109.     <div class=\"container page_check_dist box_dis_fl\">
  110.         ";
  111.         // line 26
  112.         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); })())) {
  113.             // line 27
  114.             echo "            ";
  115.             if (((isset($context["displayForFlyer"]) || array_key_exists("displayForFlyer"$context) ? $context["displayForFlyer"] : (function () { throw new RuntimeError('Variable "displayForFlyer" does not exist.'27$this->source); })()) == false)) {
  116.                 // line 28
  117.                 echo "                <div class=\"row inputmxw\">
  118.                     <div class=\"col-12 p-md-0 mt-4 mb-4 check_box2\">
  119.                         <h2>";
  120.                 // line 30
  121.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Distribution de flyers", [], "productTranslate"), "html"nulltrue);
  122.                 echo "</h2>
  123.                         <p>";
  124.                 // line 31
  125.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Il faut commander un produit flyer,", [], "productTranslate"), "html"nulltrue);
  126.                 echo " <a href=\"";
  127.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("accueil");
  128.                 echo "\"> ";
  129.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("retourner à la page d'accueil", [], "productTranslate"), "html"nulltrue);
  130.                 echo "</a></p>
  131.                     </div>
  132.                 </div>
  133.             ";
  134.             } else {
  135.                 // line 35
  136.                 echo "                ";
  137.                 $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"falsefalsefalse35), [=> "form/fields-custom.html.twig"], true);
  138.                 // line 36
  139.                 echo "                ";
  140.                 $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"falsefalsefalse36), [=> "form/fields-custom.html.twig"], true);
  141.                 // line 37
  142.                 echo "                ";
  143.                 $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"falsefalsefalse37), [=> "form/fields-custom.html.twig"], true);
  144.                 // line 38
  145.                 echo "                ";
  146.                 $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); })()), [=> "form_table_layout.html.twig"], true);
  147.                 // line 39
  148.                 echo "                ";
  149.                 $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"falsefalsefalse39), [=> "form/fields-custom.html.twig"], true);
  150.                 // line 40
  151.                 echo "                ";
  152.                 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"]);
  153.                 echo "
  154.                 <div class=\"row inputmxw\">
  155.                     <div class=\"col-12 p-md-0 mt-4 check_box2\">
  156.                         <p>";
  157.                 // line 43
  158.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Comment voulez-vous distribuer vos flyers ?", [], "productTranslate"), "html"nulltrue);
  159.                 echo "</p>
  160.                     </div>
  161.                     <div class=\"d-sm-flex justify-content-around bx_global_radio model_check_radio mcr1\">
  162.                         ";
  163.                 // line 46
  164.                 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"falsefalsefalse46), 'widget');
  165.                 echo "
  166.                         ";
  167.                 // line 47
  168.                 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"falsefalsefalse47), 'errors');
  169.                 echo "
  170.                     </div>
  171.                     <div class=\"mt-4 mb-4 w-100 input_dist\">
  172.                         <p>";
  173.                 // line 50
  174.                 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"nulltrue);
  175.                 echo "</p>
  176.                         ";
  177.                 // line 51
  178.                 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"falsefalsefalse51), 'widget', ["attr" => ["placeholder" => "Veuillez renseigner votre adresse"]]);
  179.                 echo "
  180.                         ";
  181.                 // line 52
  182.                 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"falsefalsefalse52), 'errors');
  183.                 echo "
  184.                         <div id=\"mapZone\" style=\"display: none;\">
  185.                         <p>";
  186.                 // line 54
  187.                 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"nulltrue);
  188.                 echo "</p>
  189.                         ";
  190.                 // line 55
  191.                 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"falsefalsefalse55), 'widget');
  192.                 echo "
  193.                         ";
  194.                 // line 56
  195.                 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"falsefalsefalse56), 'errors');
  196.                 echo "
  197.                             <div id=\"map\" style=\"height: 400px\"></div>
  198.                         </div>
  199.                     </div>
  200.                     <div class=\"date_check\">
  201.                         <p>";
  202.                 // line 61
  203.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Combien de temps de distribution souhaitez-vous ?", [], "productTranslate"), "html"nulltrue);
  204.                 echo "</p>
  205.                         <div class=\"d-sm-flex align-content-around flex-wrap bx_global_radio2 model_check_radio mcr2\">
  206.                             ";
  207.                 // line 63
  208.                 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"falsefalsefalse63), 'widget');
  209.                 echo "
  210.                             ";
  211.                 // line 64
  212.                 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"falsefalsefalse64), 'errors');
  213.                 echo "
  214.                         </div>
  215.                     </div>
  216.                     <div class=\"date_check\">
  217.                         <p>";
  218.                 // line 68
  219.                 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"nulltrue);
  220.                 echo "</p>
  221.                         <div class=\"d-sm-flex align-content-around flex-wrap bx_global_radio2 model_check_radio mcr2\">
  222.                             ";
  223.                 // line 70
  224.                 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"falsefalsefalse70), 'widget');
  225.                 echo "
  226.                             ";
  227.                 // line 71
  228.                 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"falsefalsefalse71), 'errors');
  229.                 echo "
  230.                         </div>
  231.                     </div>
  232.                     <div class=\"row inputmxw labelDistribution  page_check \">
  233.                         <div class=\"col-12 p-md-0 mt-4 mb-2 check_box2\">
  234.                             ";
  235.                 // line 76
  236.                 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"falsefalsefalse76), 'label');
  237.                 echo "
  238.                             ";
  239.                 // line 77
  240.                 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"falsefalsefalse77), 'widget');
  241.                 echo "
  242.                             ";
  243.                 // line 78
  244.                 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"falsefalsefalse78), 'errors');
  245.                 echo "
  246.                         </div>
  247.                         <div class=\"col-12 p-md-0 mt-2 mb-2 \" id=\"helpIsCopees\">
  248.                             ";
  249.                 // line 81
  250.                 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"falsefalsefalse81), 'help');
  251.                 echo "
  252.                         </div>
  253.                     </div>
  254.                     <div class=\"mt-4 mb-2 w-100 input_dist\">
  255.                         <p>";
  256.                 // line 85
  257.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Quand souhaitez-vous les distribuer ?", [], "productTranslate"), "html"nulltrue);
  258.                 echo "</p>
  259.                         <div class=\"d-sm-flex\">
  260.                             <div class=\"input_date_dist\"><label>";
  261.                 // line 87
  262.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Début de mission", [], "productTranslate"), "html"nulltrue);
  263.                 echo "</label>";
  264.                 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"falsefalsefalse87), 'widget', ["attr" => ["placeholder" => "JJ/MM/AAAA"]]);
  265.                 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"falsefalsefalse87), 'errors');
  266.                 echo "</div>
  267.                             <div class=\"input_date_dist\"><label>";
  268.                 // line 88
  269.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Fin de mission", [], "productTranslate"), "html"nulltrue);
  270.                 echo "</label>";
  271.                 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"falsefalsefalse88), 'widget', ["attr" => ["placeholder" => "JJ/MM/AAAA"]]);
  272.                 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"falsefalsefalse88), 'errors');
  273.                 echo "</div>
  274.                         </div>
  275.                     </div>
  276.                     <div class=\"mt-2 mb-3 w-100 input_dist\">
  277.                         <p>";
  278.                 // line 92
  279.                 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"nulltrue);
  280.                 echo "</p>
  281.                         ";
  282.                 // line 93
  283.                 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"falsefalsefalse93), 'widget', ["attr" => ["placeholder" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Écrivez votre message", [], "productTranslate")]]);
  284.                 echo "
  285.                         ";
  286.                 // line 94
  287.                 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"falsefalsefalse94), 'errors');
  288.                 echo "
  289.                     </div>
  290.                     <div class=\"col-12 p-md-0 mb-4 form-check_link dist_link text center\">
  291.                         <button type=\"submit\">";
  292.                 // line 97
  293.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Connaitre mon prix", [], "productTranslate"), "html"nulltrue);
  294.                 echo "</button>
  295.                         <a href=\"#\" data-toggle=\"modal\" data-target=\"#visioModal\" class=\"rdvDistributionBtn\">";
  296.                 // line 98
  297.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Demander un rdv avec un conseiller", [], "productTranslate"), "html"nulltrue);
  298.                 echo " </a>
  299.                     </div>
  300.                 </div>
  301.                 ";
  302.                 // line 101
  303.                 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');
  304.                 echo "
  305.             ";
  306.             }
  307.             // line 103
  308.             echo "        ";
  309.         } else {
  310.             // line 104
  311.             echo "            <div class=\"row inputmxw\">
  312.                 <div class=\"col-12 p-md-0 mt-4 mb-4 check_box2\">
  313.                     <h2>";
  314.             // line 106
  315.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Distribution de flyers", [], "productTranslate"), "html"nulltrue);
  316.             echo "</h2>
  317.                     <p>";
  318.             // line 107
  319.             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"nulltrue);
  320.             echo "</p>
  321.                 </div>
  322.             </div>
  323.         ";
  324.         }
  325.         // line 111
  326.         echo "    </div>
  327.     <div class=\"modal fade\" id=\"visioModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\" aria-hidden=\"true\">
  328.         <div class=\"modal-dialog  \" role=\"document\" id=\"modal-xl2\">
  329.             <div class=\"modal-content\">
  330.                 <iframe src=\"https://calendly.com/d/cp2-rpf-rtb/copees-let-s-talk\" width=\"100%\" height=\"700px\">
  331.                 </iframe>
  332.             </div>
  333.         </div>
  334.     </div>
  335.     ";
  336.         // line 121
  337.         $this->loadTemplate("front/footer.html.twig""front/distribution/index.html.twig"121)->display($context);
  338.         // line 122
  339.         echo "    <style>
  340.         #distribution_cart_zonechalandise{
  341.             box-shadow: 0 0 0px #e2e2e2 !important;
  342.         }
  343.         .datepicker td,
  344.         .datepicker th {
  345.             text-align: center;
  346.             width: 30px;
  347.             height: 30px;
  348.             -webkit-border-radius: 4px;
  349.             -moz-border-radius: 4px;
  350.             border-radius: 4px;
  351.             border: none;
  352.             font-size: 14px;
  353.         }
  354.         .text-distribution{
  355.             font-weight: 100!important;
  356.             font-size: 15px!important;
  357.         }
  358.     </style>
  359. ";
  360.         
  361.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  362.         
  363.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  364.     }
  365.     // line 143
  366.     public function block_javascripts($context, array $blocks = [])
  367.     {
  368.         $macros $this->macros;
  369.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  370.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  371.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  372.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  373.         // line 144
  374.         echo "    ";
  375.         $this->displayParentBlock("javascripts"$context$blocks);
  376.         echo "
  377.     <script src=\"https://maps.googleapis.com/maps/api/js?key=";
  378.         // line 145
  379.         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"nulltrue);
  380.         echo "&libraries=places\"></script>
  381.     ";
  382.         // line 146
  383.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("formDistributionFlyer");
  384.         echo "
  385. ";
  386.         
  387.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  388.         
  389.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  390.     }
  391.     public function getTemplateName()
  392.     {
  393.         return "front/distribution/index.html.twig";
  394.     }
  395.     public function isTraitable()
  396.     {
  397.         return false;
  398.     }
  399.     public function getDebugInfo()
  400.     {
  401.         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,);
  402.     }
  403.     public function getSourceContext()
  404.     {
  405.         return new Source("{% extends 'front/layout.html.twig' %}
  406. {% block googleTagManagerDataLayer %}
  407.     {% include 'google_tag.html.twig' with {'titlePage':'Distribution de flyers','categoryPage':'product-details','navigation_category1':'','navigation_category2':'','navigation_category3':'' }   %}
  408. {% endblock %}
  409. {% block body %}
  410.     {% include 'front/header.html.twig' %}
  411.     <div class=\"top_fl_dist\">
  412.         <div class=\"row\">
  413.             <div class=\"col-md-3 col-sm-12\">
  414.                 <img src=\"{{ asset('images/imcr1.png') }}\" class=\"dis_img_desk\">
  415.             </div>
  416.             <div class=\"col-md-6 col-sm-12\">
  417.                 <h2>{{ 'Distribution de flyers' | trans({}, \"productTranslate\") }}</h2>
  418.                 <img src=\"{{ asset('images/imcr1.png') }}\" class=\"dis_img_mob\">
  419.                 <p>{{ \"Fini les devis et les prix à rallonge ! Copees distribue pour vous vos flyers et tout est très très simple.
  420.                     Vous choisissez vos préférences de distribution, le lieu, le nombre de flyers et la date.
  421.                     Vous connaitrez directement le prix et vous pourrez commander en ligne.
  422.                     <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>
  423.             </div>
  424.             <div class=\"col-md-3 col-sm-12\">
  425.                 <img src=\"{{ asset('images/imcr2.png') }}\" class=\"dis_img_desk\">
  426.             </div>
  427.         </div>
  428.     </div>
  429.     <div class=\"container page_check_dist box_dis_fl\">
  430.         {% if is_show %}
  431.             {% if displayForFlyer == false %}
  432.                 <div class=\"row inputmxw\">
  433.                     <div class=\"col-12 p-md-0 mt-4 mb-4 check_box2\">
  434.                         <h2>{{ 'Distribution de flyers' | trans({}, \"productTranslate\") }}</h2>
  435.                         <p>{{ 'Il faut commander un produit flyer,' | trans({}, \"productTranslate\") }} <a href=\"{{ path('accueil') }}\"> {{ \"retourner à la page d\\'accueil\" | trans({}, \"productTranslate\") }}</a></p>
  436.                     </div>
  437.                 </div>
  438.             {% else %}
  439.                 {% form_theme form.qty 'form/fields-custom.html.twig' %}
  440.                 {% form_theme form.ditribution_flyers 'form/fields-custom.html.twig' %}
  441.                 {% form_theme form.nbrPersonne 'form/fields-custom.html.twig' %}
  442.                 {% form_theme form 'form_table_layout.html.twig' %}
  443.                 {% form_theme form.isCopees 'form/fields-custom.html.twig' %}
  444.                 {{ form_start(form, {'method': 'POST'}) }}
  445.                 <div class=\"row inputmxw\">
  446.                     <div class=\"col-12 p-md-0 mt-4 check_box2\">
  447.                         <p>{{ 'Comment voulez-vous distribuer vos flyers ?' | trans({}, \"productTranslate\") }}</p>
  448.                     </div>
  449.                     <div class=\"d-sm-flex justify-content-around bx_global_radio model_check_radio mcr1\">
  450.                         {{ form_widget(form.ditribution_flyers ) }}
  451.                         {{ form_errors(form.ditribution_flyers ) }}
  452.                     </div>
  453.                     <div class=\"mt-4 mb-4 w-100 input_dist\">
  454.                         <p>{{ 'A partir de quelle adresse souhaitez-vous commencer la distribution?' | trans({}, \"productTranslate\") }}</p>
  455.                         {{ form_widget(form.adresse,{'attr': {'placeholder': 'Veuillez renseigner votre adresse'}} ) }}
  456.                         {{ form_errors(form.adresse ) }}
  457.                         <div id=\"mapZone\" style=\"display: none;\">
  458.                         <p>{{ 'Définissez une zone à partir de l’adresse initiale où vous souhaitez que la distribution soit effectuée' | trans({}, \"productTranslate\") }}</p>
  459.                         {{ form_widget(form.zonechalandise ) }}
  460.                         {{ form_errors(form.zonechalandise ) }}
  461.                             <div id=\"map\" style=\"height: 400px\"></div>
  462.                         </div>
  463.                     </div>
  464.                     <div class=\"date_check\">
  465.                         <p>{{ 'Combien de temps de distribution souhaitez-vous ?' | trans({}, \"productTranslate\") }}</p>
  466.                         <div class=\"d-sm-flex align-content-around flex-wrap bx_global_radio2 model_check_radio mcr2\">
  467.                             {{ form_widget(form.qty ) }}
  468.                             {{ form_errors(form.qty ) }}
  469.                         </div>
  470.                     </div>
  471.                     <div class=\"date_check\">
  472.                         <p>{{ 'De combien de personnes qui distribuent en même temps avez-vous besoin ?' | trans({}, \"productTranslate\") }}</p>
  473.                         <div class=\"d-sm-flex align-content-around flex-wrap bx_global_radio2 model_check_radio mcr2\">
  474.                             {{ form_widget(form.nbrPersonne ) }}
  475.                             {{ form_errors(form.nbrPersonne ) }}
  476.                         </div>
  477.                     </div>
  478.                     <div class=\"row inputmxw labelDistribution  page_check \">
  479.                         <div class=\"col-12 p-md-0 mt-4 mb-2 check_box2\">
  480.                             {{ form_label(form.isCopees) }}
  481.                             {{ form_widget(form.isCopees) }}
  482.                             {{ form_errors(form.isCopees ) }}
  483.                         </div>
  484.                         <div class=\"col-12 p-md-0 mt-2 mb-2 \" id=\"helpIsCopees\">
  485.                             {{ form_help(form.isCopees) }}
  486.                         </div>
  487.                     </div>
  488.                     <div class=\"mt-4 mb-2 w-100 input_dist\">
  489.                         <p>{{ 'Quand souhaitez-vous les distribuer ?' | trans({}, \"productTranslate\") }}</p>
  490.                         <div class=\"d-sm-flex\">
  491.                             <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>
  492.                             <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>
  493.                         </div>
  494.                     </div>
  495.                     <div class=\"mt-2 mb-3 w-100 input_dist\">
  496.                         <p>{{ 'Avez-vous des besoins spécifiques pour la distribution des flyers ?' | trans({}, \"productTranslate\") }}</p>
  497.                         {{ form_widget(form.commentaire,{'attr': {'placeholder': 'Écrivez votre message' | trans({}, \"productTranslate\")}} ) }}
  498.                         {{ form_errors(form.commentaire ) }}
  499.                     </div>
  500.                     <div class=\"col-12 p-md-0 mb-4 form-check_link dist_link text center\">
  501.                         <button type=\"submit\">{{ 'Connaitre mon prix' | trans({}, \"productTranslate\") }}</button>
  502.                         <a href=\"#\" data-toggle=\"modal\" data-target=\"#visioModal\" class=\"rdvDistributionBtn\">{{ 'Demander un rdv avec un conseiller' | trans({}, \"productTranslate\") }} </a>
  503.                     </div>
  504.                 </div>
  505.                 {{ form_end(form) }}
  506.             {% endif %}
  507.         {% else %}
  508.             <div class=\"row inputmxw\">
  509.                 <div class=\"col-12 p-md-0 mt-4 mb-4 check_box2\">
  510.                     <h2>{{ 'Distribution de flyers' | trans({}, \"productTranslate\") }}</h2>
  511.                     <p>{{ 'Le service de distribution des flyers est desactivé pour le moment' | trans({}, \"productTranslate\") }}</p>
  512.                 </div>
  513.             </div>
  514.         {% endif %}
  515.     </div>
  516.     <div class=\"modal fade\" id=\"visioModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalLabel\" aria-hidden=\"true\">
  517.         <div class=\"modal-dialog  \" role=\"document\" id=\"modal-xl2\">
  518.             <div class=\"modal-content\">
  519.                 <iframe src=\"https://calendly.com/d/cp2-rpf-rtb/copees-let-s-talk\" width=\"100%\" height=\"700px\">
  520.                 </iframe>
  521.             </div>
  522.         </div>
  523.     </div>
  524.     {% include 'front/footer.html.twig' %}
  525.     <style>
  526.         #distribution_cart_zonechalandise{
  527.             box-shadow: 0 0 0px #e2e2e2 !important;
  528.         }
  529.         .datepicker td,
  530.         .datepicker th {
  531.             text-align: center;
  532.             width: 30px;
  533.             height: 30px;
  534.             -webkit-border-radius: 4px;
  535.             -moz-border-radius: 4px;
  536.             border-radius: 4px;
  537.             border: none;
  538.             font-size: 14px;
  539.         }
  540.         .text-distribution{
  541.             font-weight: 100!important;
  542.             font-size: 15px!important;
  543.         }
  544.     </style>
  545. {% endblock %}
  546. {% block javascripts %}
  547.     {{ parent() }}
  548.     <script src=\"https://maps.googleapis.com/maps/api/js?key={{ key_google_map }}&libraries=places\"></script>
  549.     {{ encore_entry_script_tags('formDistributionFlyer') }}
  550. {% endblock %}
  551. ""front/distribution/index.html.twig""/home/preprodcopees/www/copees-sf/templates/front/distribution/index.html.twig");
  552.     }
  553. }