var/cache/dev/twig/67/6751675131efc2900b44fd6b54d5af2db5dca29b4369b9f72e473f442ecf18ac.php line 163

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. /* base.html.twig */
  14. class __TwigTemplate_df19d7c3b1ab372854e337f39afbcb94ce0c7911f93d1555cdf912cf7bd27218 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->parent false;
  23.         $this->blocks = [
  24.             'title' => [$this'block_title'],
  25.             'stylesheets' => [$this'block_stylesheets'],
  26.             'header' => [$this'block_header'],
  27.             'body' => [$this'block_body'],
  28.             'footer' => [$this'block_footer'],
  29.             'javascripts' => [$this'block_javascripts'],
  30.         ];
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  39.         // line 1
  40.         echo "<!DOCTYPE html>
  41. <html>
  42.     <head>
  43.         <meta charset=\"UTF-8\">
  44.         <title>";
  45.         // line 5
  46.         $this->displayBlock('title'$context$blocks);
  47.         echo "</title>
  48.         ";
  49.         // line 6
  50.         $this->displayBlock('stylesheets'$context$blocks);
  51.         // line 9
  52.         echo "\t\t";
  53.         // line 10
  54.         echo "\t\t";
  55.         // line 11
  56.         echo "\t\t<script
  57. \t\tsrc=\"https://www.paypal.com/sdk/js?client-id=ATCbg2lJSwIQUm-ZgCl5sxyLGMPpzET1NdUzSsYNZZ-LXOSh856XGrpjOhC1lTU6KWL8CANS8-7lAFw_\"> 
  58. \t\t</script>
  59. \t\t
  60. \t\t<link href=\"https://fonts.googleapis.com/css2?family=Lobster&display=swap\" rel=\"stylesheet\">
  61. \t\t
  62. \t\t
  63. \t\t<link rel=\"stylesheet\" type=\"text/css\" href=\"";
  64.         // line 18
  65.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/general.css"), "html"nulltrue);
  66.         echo "\">
  67.     </head>
  68.     <body class=\"toolbar-enabled fond-gris\">
  69.     ";
  70.         // line 21
  71.         $this->displayBlock('header'$context$blocks);
  72.         // line 24
  73.         echo "\t
  74. \t";
  75.         // line 25
  76.         $this->displayBlock('body'$context$blocks);
  77.         // line 28
  78.         echo "\t\t
  79.     ";
  80.         // line 29
  81.         $this->displayBlock('footer'$context$blocks);
  82.         // line 111
  83.         echo "\t
  84.     ";
  85.         // line 112
  86.         $this->displayBlock('javascripts'$context$blocks);
  87.         // line 252
  88.         echo "    </body>
  89. </html>
  90. ";
  91.         
  92.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  93.         
  94.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  95.     }
  96.     // line 5
  97.     public function block_title($context, array $blocks = [])
  98.     {
  99.         $macros $this->macros;
  100.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  101.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  102.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  103.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  104.         echo twig_escape_filter($this->env, (isset($context["company_name"]) || array_key_exists("company_name"$context) ? $context["company_name"] : (function () { throw new RuntimeError('Variable "company_name" does not exist.'5$this->source); })()), "html"nulltrue);
  105.         
  106.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  107.         
  108.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  109.     }
  110.     // line 6
  111.     public function block_stylesheets($context, array $blocks = [])
  112.     {
  113.         $macros $this->macros;
  114.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  115.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  116.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  117.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  118.         echo "\t
  119. \t\t";
  120.         // line 7
  121.         echo twig_include($this->env$context"modules/__styles.twig");
  122.         echo "
  123. \t\t";
  124.         
  125.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  126.         
  127.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  128.     }
  129.     // line 21
  130.     public function block_header($context, array $blocks = [])
  131.     {
  132.         $macros $this->macros;
  133.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  134.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  135.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  136.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  137.         // line 22
  138.         echo "\t\t ";
  139.         echo twig_include($this->env$context"modules/__header.html.twig");
  140.         echo "
  141. \t";
  142.         
  143.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  144.         
  145.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  146.     }
  147.     // line 25
  148.     public function block_body($context, array $blocks = [])
  149.     {
  150.         $macros $this->macros;
  151.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  152.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  153.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  154.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  155.         // line 26
  156.         echo "\t\t
  157. \t";
  158.         
  159.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  160.         
  161.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  162.     }
  163.     // line 29
  164.     public function block_footer($context, array $blocks = [])
  165.     {
  166.         $macros $this->macros;
  167.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  168.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  169.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  170.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  171.         // line 30
  172.         echo "\t <footer class=\"bg-dark pt-5\">
  173.       <div class=\"container\">
  174.         <div class=\"row pb-2\">
  175.           <div class=\"col-md-4 col-sm-6\">
  176.             <div class=\"widget widget-links widget-light pb-2 mb-4\">
  177.               <h3 class=\"widget-title text-light\">Catégories</h3>
  178. \t\t\t\t
  179.             ";
  180.         // line 37
  181.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\EntrepriseController::menuAction"));
  182.         echo "
  183.             </div>
  184.           </div>
  185.           <div class=\"col-md-4 col-sm-6\">
  186.             
  187.             <div class=\"widget widget-links widget-light pb-2 mb-4\">
  188.               <h3 class=\"widget-title text-light\">A propos de nous</h3>
  189.               <ul class=\"widget-list\">
  190.                 <li class=\"widget-list-item\"><a class=\"widget-list-link\" href=\"";
  191.         // line 45
  192.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("about");
  193.         echo "\">A propos de nous</a></li>
  194.                 <li class=\"widget-list-item\"><a class=\"widget-list-link\" href=\"";
  195.         // line 46
  196.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("blog.accueil");
  197.         echo "\">Blog</a></li>
  198.               </ul>
  199.             </div>
  200.           </div>
  201.           <div class=\"col-md-4\">
  202.             <div class=\"widget pb-2 mb-4\">
  203.               <h3 class=\"widget-title text-light pb-1\">Restez informé</h3>
  204.               <form action=\"";
  205.         // line 53
  206.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("s_abonner_newsletter");
  207.         echo "\" id=\"formNewsletter\" class=\"cz-subscribe-form validate\" name=\"mc-embedded-subscribe-form\" novalidate>
  208.                 <div class=\"input-group input-group-overlay flex-nowrap\">
  209.                   <div class=\"input-group-prepend-overlay\"><span class=\"input-group-text text-muted font-size-base\"><i class=\"czi-mail\"></i></span></div>
  210.                   <input class=\"form-control prepended-form-control\" type=\"email\" name=\"email\" placeholder=\"Votre email\" required>
  211.                   <div class=\"input-group-append\">
  212.                     <button id=\"btnSAbonner\" class=\"btn btn-primary\">s'abonner*</button>
  213.                   </div>
  214.                 </div>
  215.                 <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
  216.                 <div style=\"position: absolute; left: -5000px;\" aria-hidden=\"true\">
  217.                   <input class=\"cz-subscribe-form-antispam\" type=\"text\" name=\"b_c7103e2c981361a6639545bd5_29ca296126\" tabindex=\"-1\">
  218.                 </div><small class=\"form-text text-light opacity-50\">*Abonner vous à notre newsletter pour recevoir nos offres</small>
  219.                 <div class=\"subscribe-status\"></div>
  220.               </form>
  221.             </div>
  222.            
  223.           </div>
  224.         </div>
  225.       </div>
  226.       <div class=\"pt-5 bg-darker\">
  227.         <div class=\"container\">
  228.         
  229.          ";
  230.         // line 76
  231.         echo "          <div class=\"row pb-2\">
  232.             <div class=\"col-md-6 text-center text-md-left mb-4\">
  233.               <div class=\"text-nowrap mb-4\"><a class=\"d-inline-block align-middle mt-n1 mr-3\" href=\"#\"><img class=\"d-block\" width=\"64\" src=\"";
  234.         // line 78
  235.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("image/logo.png"), "html"nulltrue);
  236.         echo "\" alt=\"Virtuel market\"/></a>
  237.                 <div class=\"btn-group dropdown disable-autohide\">
  238.                   
  239.                 </div>
  240.               </div>
  241.               <div class=\"widget widget-links widget-light\">
  242.                 <ul class=\"widget-list d-flex flex-wrap justify-content-center justify-content-md-start\">
  243.                   <li class=\"widget-list-item mr-4\"><a class=\"widget-list-link\" href=\"";
  244.         // line 85
  245.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("faq");
  246.         echo "\">FAQ</a></li>
  247.                   <li class=\"widget-list-item mr-4\"><a class=\"widget-list-link\" href=\"";
  248.         // line 86
  249.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("index_aide");
  250.         echo "\">Support et Aide</a></li>
  251.                   <li class=\"widget-list-item mr-4\"><a class=\"widget-list-link\" href=\"";
  252.         // line 87
  253.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("privacy");
  254.         echo "\">Confidentialité</a></li>
  255.                   <li class=\"widget-list-item mr-4\"><a class=\"widget-list-link\" href=\"";
  256.         // line 88
  257.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("term");
  258.         echo "\">Condition d'utilisation</a></li>
  259.                 </ul>
  260.               </div>
  261.             </div>
  262.             <div class=\"col-md-6 text-center text-md-right mb-4\">
  263.               <div class=\"mb-3\"><a class=\"social-btn sb-light sb-facebook ml-2 mb-2\" target=\"_blank\" href=\"https://web.facebook.com/AssieGroup\"><i class=\"czi-facebook\"></i></a>
  264.             </div>
  265.           </div>
  266.           <div class=\"pb-4 font-size-xs text-light opacity-50 text-center text-md-left\">© All rights reserved.<a class=\"text-light\" href=\"https://www.assiegroup.com/\" target=\"_blank\" rel=\"noopener\">Assie Informatique</a></div>
  267.         </div>
  268.       </div>
  269.     </footer>
  270. \t\t";
  271.         // line 101
  272.         echo "\t\t";
  273.         $context["panier"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'101$this->source); })()), "session", [], "any"falsefalsefalse101), "get", [=> "panier"], "method"falsefalsefalse101);
  274.         // line 102
  275.         echo "\t\t";
  276.         $context["nombreProduit"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'102$this->source); })()), "session", [], "any"falsefalsefalse102), "get", [=> "nombreProduit"], "method"falsefalsefalse102);
  277.         // line 103
  278.         echo "\t\t";
  279.         $context["montantProduit"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'103$this->source); })()), "session", [], "any"falsefalsefalse103), "get", [=> "montantProduit"], "method"falsefalsefalse103);
  280.         // line 104
  281.         echo "    <div class=\"cz-handheld-toolbar\">
  282.       <div class=\"d-table table-fixed w-100\">";
  283.         // line 105
  284.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
  285.             echo "<a class=\"d-table-cell cz-handheld-toolbar-item\" href=\"";
  286.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_wishlist");
  287.             echo "\"><span class=\"cz-handheld-toolbar-icon\"><i class=\"czi-heart\"></i></span><span class=\"cz-handheld-toolbar-label\">";
  288.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("entreprise.wishlist"), "html"nulltrue);
  289.             echo "</span></a>";
  290.         }
  291.         echo "<a class=\"d-table-cell cz-handheld-toolbar-item\" href=\"#navbarCollapse\" data-toggle=\"collapse\" onclick=\"window.scrollTo(0, 0)\"><span class=\"cz-handheld-toolbar-icon\"><i class=\"czi-menu\"></i></span><span class=\"cz-handheld-toolbar-label\">Menu</span></a><a class=\"d-table-cell cz-handheld-toolbar-item\" href=\"";
  292.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("cart");
  293.         echo "\"><span class=\"cz-handheld-toolbar-icon\"><i class=\"czi-cart\"></i><span class=\"badge badge-primary badge-pill ml-1\">";
  294.         echo twig_escape_filter($this->env, (isset($context["nombreProduit"]) || array_key_exists("nombreProduit"$context) ? $context["nombreProduit"] : (function () { throw new RuntimeError('Variable "nombreProduit" does not exist.'105$this->source); })()), "html"nulltrue);
  295.         echo "</span></span><span class=\"cz-handheld-toolbar-label\">";
  296.         echo twig_escape_filter($this->env, (isset($context["montantProduit"]) || array_key_exists("montantProduit"$context) ? $context["montantProduit"] : (function () { throw new RuntimeError('Variable "montantProduit" does not exist.'105$this->source); })()), "html"nulltrue);
  297.         echo " ";
  298.         echo twig_escape_filter($this->env, (isset($context["devise"]) || array_key_exists("devise"$context) ? $context["devise"] : (function () { throw new RuntimeError('Variable "devise" does not exist.'105$this->source); })()), "html"nulltrue);
  299.         echo "</span></a>
  300.       </div>
  301.     </div>
  302.     <!-- Back To Top Button--><a class=\"btn-scroll-top\" href=\"#top\" data-scroll><span class=\"btn-scroll-top-tooltip text-muted font-size-sm mr-2\">Top</span><i class=\"btn-scroll-top-icon czi-arrow-up\">   </i></a>
  303.    
  304.     ";
  305.         
  306.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  307.         
  308.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  309.     }
  310.     // line 112
  311.     public function block_javascripts($context, array $blocks = [])
  312.     {
  313.         $macros $this->macros;
  314.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  315.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  316.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  317.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  318.         // line 113
  319.         echo "\t\t
  320. \t";
  321.         // line 114
  322.         echo twig_include($this->env$context"modules/__scripts.twig");
  323.         echo "
  324. \t<script type=\"text/javascript\">
  325. \t\t\$(function(){
  326. \t\t\tvar \$btnAddToCart = \$('.btnAddToCart'), \$checkoutItems = \$('#checkout_items');
  327. \t\t\tvar \$removeProductFromCart = \$('.removeProductFromCart');
  328. \t\t\tvar \$formNewsletter = \$('#formNewsletter');
  329. \t\t\tvar \$btnSAbonner = \$('#btnSAbonner');
  330. \t\t\tvar \$btnWishlist = \$('.btn-wishlist');
  331. \t\t\tvar \$siteLocale = \$('#site-locale');
  332. \t\t\t
  333. \t\t\tlet x = document.querySelectorAll(\".formated-number\");
  334. \t\t\tfor (let i = 0, len = x.length; i < len; i++) { 
  335. \t\t\t\tlet num = Number(x[i].innerHTML).toLocaleString('";
  336.         // line 126
  337.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'126$this->source); })()), "request", [], "any"falsefalsefalse126), "locale", [], "any"falsefalsefalse126), "html"nulltrue);
  338.         echo "'); 
  339. \t\t\t\t//x[i].innerHTML = num; 
  340. \t\t\t\t
  341. \t\t\t} 
  342. \t\t\t
  343. \t\t\t\$btnWishlist.click(function(e){
  344. \t\t\t\te.preventDefault();
  345. \t\t\t\t
  346. \t\t\t\t\t  \$.ajax({
  347. \t\t\t\t\t\turl: \$(this).attr('name'),
  348. \t\t\t\t\t\tmethod: 'GET',
  349. \t\t\t\t\t\t//processData: false,
  350. \t\t\t\t\t\t//contentType: false,
  351. \t\t\t\t\t\tsuccess: function (data, textStatus, jqXHR) {
  352. \t\t\t\t\t\t\ttoggleToast('success', data);
  353. \t\t\t\t\t\t},
  354. \t\t\t\t\t\t\t
  355. \t\t\t\t\t\terror: function(jqXHR, textStatus, errorThrown ){
  356. \t\t\t\t\t\t\ttoggleToast('error', 'Une erreur s\\'est produite');
  357. \t\t\t\t\t\t}
  358. \t\t\t\t\t});
  359. \t\t\t});
  360. \t\t\t
  361. \t\t\t\$btnSAbonner.click(function(e){
  362. \t\t\t\te.preventDefault();
  363. \t\t\t\t
  364. \t\t\t\t\t  \$.ajax({
  365. \t\t\t\t\t\turl: \$formNewsletter.attr('action'),
  366. \t\t\t\t\t\tmethod: 'POST',
  367. \t\t\t\t\t\tdata: \$formNewsletter.serialize(),
  368. \t\t\t\t\t\t//processData: false,
  369. \t\t\t\t\t\t//contentType: false,
  370. \t\t\t\t\t\tsuccess: function (data, textStatus, jqXHR) {
  371. \t\t\t\t\t\t\ttoggleToast('success', data);
  372. \t\t\t\t\t\t\t\$formNewsletter.trigger('reset');
  373. \t\t\t\t\t\t},
  374. \t\t\t\t\t\t\t
  375. \t\t\t\t\t\terror: function(jqXHR, textStatus, errorThrown ){
  376. \t\t\t\t\t\t}
  377. \t\t\t\t\t});
  378. \t\t\t});
  379. \t\t\t
  380. \t\t\t\$removeProductFromCart.click(function(e){
  381. \t\t\t\te.preventDefault();
  382. \t\t\t\t\tvar \$monBouton = \$(this);
  383. \t\t\t\t\t  \$.ajax({
  384. \t\t\t\t\t\turl: \$(this).attr('title'),
  385. \t\t\t\t\t\tmethod: 'GET',
  386. \t\t\t\t\t\t//processData: false,
  387. \t\t\t\t\t\t//contentType: false,
  388. \t\t\t\t\t\tsuccess: function (data, textStatus, jqXHR) {
  389. \t\t\t\t\t\t\t\$monBouton.parent().remove();
  390. \t\t\t\t\t\t\ttoggleToast('success', 'Produit retiré');
  391. \t\t\t\t\t\t},
  392. \t\t\t\t\t\terror: function(jqXHR, textStatus, errorThrown ){
  393. \t\t\t\t\t\t\ttoggleToast('success', 'Une erreur est survenue');
  394. \t\t\t\t\t\t}
  395. \t\t\t\t\t});
  396. \t\t\t});
  397. \t\t\t
  398. \t\t\t\$btnAddToCart.click(function(e){
  399. \t\t\t\t//e.preventDefault();
  400. \t\t\t\t\tvar \$myButton = \$(this);
  401. \t\t\t\t\t\$myButton.attr('disabled', true);
  402. \t\t\t\t\tvar \$form = \$(this).parent();
  403. \t\t\t\t\t  \$.ajax({
  404. \t\t\t\t\t\turl: \$form.attr('action'),
  405. \t\t\t\t\t\tmethod: 'POST',
  406. \t\t\t\t\t\tdata: \$form.serialize(),
  407. \t\t\t\t\t\t//processData: false,
  408. \t\t\t\t\t\t//contentType: false,
  409. \t\t\t\t\t\tsuccess: function (data, textStatus, jqXHR) {
  410. \t\t\t\t\t\t\tvar \$nb = parseInt(\$checkoutItems.text());
  411. \t\t\t\t\t\t\tvar \$montantProduit = \$('#montantProduit');
  412. \t\t\t\t\t\t\t
  413. \t\t\t\t\t\t\tif( \$nb > 0){
  414. \t\t\t\t\t\t\t\t\$nb++;
  415. \t\t\t\t\t\t\t
  416. \t\t\t\t\t\t\t} else{
  417. \t\t\t\t\t\t\t\t\$nb = 1;
  418. \t\t\t\t\t\t\t}
  419. \t\t\t\t\t\t\tconsole.log(data.montantProduit);
  420. \t\t\t\t\t\t\t\$montantProduit.text(formatTheNumber(data.montantProduit, \$siteLocale.text()));
  421. \t\t\t\t\t\t\t\$checkoutItems.text(\$nb);
  422. \t\t\t\t\t\t\ttoggleToast('success', 'Produit ajouté');
  423. \t\t\t\t\t\t\t\$myButton.attr('disabled', false);
  424. \t\t\t\t\t\t},
  425. \t\t\t\t\t\terror: function(jqXHR, textStatus, errorThrown ){
  426. \t\t\t\t\t\t\t\$myButton.attr('disabled', false);
  427. \t\t\t\t\t\t\ttoggleToast('error', 'Une erreur s\\'est produite');
  428. \t\t\t\t\t\t}
  429. \t\t\t\t\t});
  430. \t\t\t});
  431. \t\t\t\$('.home-collection-slide').slick({
  432. \t\t\t    infinite: true,
  433. \t\t\t  slidesToShow: 4,
  434. \t\t\t  slidesToScroll: 4,
  435. \t\t\t  autoplay: true,
  436. \t\t\t  accessibility: true,
  437. \t\t\t  initialSlide: 1,
  438. \t\t\t  autoplaySpeed: 4000,
  439. \t\t\t  arrows: true,
  440. \t\t\t  
  441. \t\t\t  
  442. \t\t\t  responsive: [
  443. \t\t\t\t\t{
  444. \t\t\t\t\t  breakpoint: 1024,
  445. \t\t\t\t\t  settings: {
  446. \t\t\t\t\t\tslidesToShow: 2,
  447. \t\t\t\t\t\tslidesToScroll: 2,
  448. \t\t\t\t\t\tinfinite: true,
  449. \t\t\t\t\t\tautoplay: true,
  450. \t\t\t\t\t  }
  451. \t\t\t\t\t}
  452. \t\t\t\t]
  453. \t\t\t});
  454. \t\t\t
  455. \t\t});
  456. \t\t
  457. \t\t
  458. \t</script>
  459. \t";
  460.         
  461.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  462.         
  463.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  464.     }
  465.     public function getTemplateName()
  466.     {
  467.         return "base.html.twig";
  468.     }
  469.     public function isTraitable()
  470.     {
  471.         return false;
  472.     }
  473.     public function getDebugInfo()
  474.     {
  475.         return array (  376 => 126,  361 => 114,  358 => 113,  348 => 112,  318 => 105,  315 => 104,  312 => 103,  309 => 102,  306 => 101,  291 => 88,  287 => 87,  283 => 86,  279 => 85,  269 => 78,  265 => 76,  240 => 53,  230 => 46,  226 => 45,  215 => 37,  206 => 30,  196 => 29,  185 => 26,  175 => 25,  162 => 22,  152 => 21,  140 => 7,  128 => 6,  109 => 5,  97 => 252,  95 => 112,  92 => 111,  90 => 29,  87 => 28,  85 => 25,  82 => 24,  80 => 21,  74 => 18,  65 => 11,  63 => 10,  61 => 9,  59 => 6,  55 => 5,  49 => 1,);
  476.     }
  477.     public function getSourceContext()
  478.     {
  479.         return new Source("<!DOCTYPE html>
  480. <html>
  481.     <head>
  482.         <meta charset=\"UTF-8\">
  483.         <title>{% block title %}{{ company_name }}{% endblock %}</title>
  484.         {% block stylesheets %}\t
  485. \t\t{{ include('modules/__styles.twig') }}
  486. \t\t{% endblock stylesheets %}
  487. \t\t{# sandbox: https://api.sandbox.paypal.com #}
  488. \t\t{# live: https://paypal.com #}
  489. \t\t<script
  490. \t\tsrc=\"https://www.paypal.com/sdk/js?client-id=ATCbg2lJSwIQUm-ZgCl5sxyLGMPpzET1NdUzSsYNZZ-LXOSh856XGrpjOhC1lTU6KWL8CANS8-7lAFw_\"> 
  491. \t\t</script>
  492. \t\t
  493. \t\t<link href=\"https://fonts.googleapis.com/css2?family=Lobster&display=swap\" rel=\"stylesheet\">
  494. \t\t
  495. \t\t
  496. \t\t<link rel=\"stylesheet\" type=\"text/css\" href=\"{{ asset('css/general.css') }}\">
  497.     </head>
  498.     <body class=\"toolbar-enabled fond-gris\">
  499.     {% block header %}
  500. \t\t {{ include('modules/__header.html.twig') }}
  501. \t{% endblock header %}
  502. \t
  503. \t{% block body %}
  504. \t\t
  505. \t{% endblock body %}
  506. \t\t
  507.     {% block footer %}
  508. \t <footer class=\"bg-dark pt-5\">
  509.       <div class=\"container\">
  510.         <div class=\"row pb-2\">
  511.           <div class=\"col-md-4 col-sm-6\">
  512.             <div class=\"widget widget-links widget-light pb-2 mb-4\">
  513.               <h3 class=\"widget-title text-light\">Catégories</h3>
  514. \t\t\t\t
  515.             {{ render(controller('App\\\\Controller\\\\EntrepriseController::menuAction')) }}
  516.             </div>
  517.           </div>
  518.           <div class=\"col-md-4 col-sm-6\">
  519.             
  520.             <div class=\"widget widget-links widget-light pb-2 mb-4\">
  521.               <h3 class=\"widget-title text-light\">A propos de nous</h3>
  522.               <ul class=\"widget-list\">
  523.                 <li class=\"widget-list-item\"><a class=\"widget-list-link\" href=\"{{ path('about') }}\">A propos de nous</a></li>
  524.                 <li class=\"widget-list-item\"><a class=\"widget-list-link\" href=\"{{ path('blog.accueil') }}\">Blog</a></li>
  525.               </ul>
  526.             </div>
  527.           </div>
  528.           <div class=\"col-md-4\">
  529.             <div class=\"widget pb-2 mb-4\">
  530.               <h3 class=\"widget-title text-light pb-1\">Restez informé</h3>
  531.               <form action=\"{{ path('s_abonner_newsletter') }}\" id=\"formNewsletter\" class=\"cz-subscribe-form validate\" name=\"mc-embedded-subscribe-form\" novalidate>
  532.                 <div class=\"input-group input-group-overlay flex-nowrap\">
  533.                   <div class=\"input-group-prepend-overlay\"><span class=\"input-group-text text-muted font-size-base\"><i class=\"czi-mail\"></i></span></div>
  534.                   <input class=\"form-control prepended-form-control\" type=\"email\" name=\"email\" placeholder=\"Votre email\" required>
  535.                   <div class=\"input-group-append\">
  536.                     <button id=\"btnSAbonner\" class=\"btn btn-primary\">s'abonner*</button>
  537.                   </div>
  538.                 </div>
  539.                 <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
  540.                 <div style=\"position: absolute; left: -5000px;\" aria-hidden=\"true\">
  541.                   <input class=\"cz-subscribe-form-antispam\" type=\"text\" name=\"b_c7103e2c981361a6639545bd5_29ca296126\" tabindex=\"-1\">
  542.                 </div><small class=\"form-text text-light opacity-50\">*Abonner vous à notre newsletter pour recevoir nos offres</small>
  543.                 <div class=\"subscribe-status\"></div>
  544.               </form>
  545.             </div>
  546.            
  547.           </div>
  548.         </div>
  549.       </div>
  550.       <div class=\"pt-5 bg-darker\">
  551.         <div class=\"container\">
  552.         
  553.          {# <hr class=\"hr-light pb-4 mb-3\"> #}
  554.           <div class=\"row pb-2\">
  555.             <div class=\"col-md-6 text-center text-md-left mb-4\">
  556.               <div class=\"text-nowrap mb-4\"><a class=\"d-inline-block align-middle mt-n1 mr-3\" href=\"#\"><img class=\"d-block\" width=\"64\" src=\"{{ asset('image/logo.png') }}\" alt=\"Virtuel market\"/></a>
  557.                 <div class=\"btn-group dropdown disable-autohide\">
  558.                   
  559.                 </div>
  560.               </div>
  561.               <div class=\"widget widget-links widget-light\">
  562.                 <ul class=\"widget-list d-flex flex-wrap justify-content-center justify-content-md-start\">
  563.                   <li class=\"widget-list-item mr-4\"><a class=\"widget-list-link\" href=\"{{ path('faq') }}\">FAQ</a></li>
  564.                   <li class=\"widget-list-item mr-4\"><a class=\"widget-list-link\" href=\"{{ path('index_aide') }}\">Support et Aide</a></li>
  565.                   <li class=\"widget-list-item mr-4\"><a class=\"widget-list-link\" href=\"{{ path('privacy') }}\">Confidentialité</a></li>
  566.                   <li class=\"widget-list-item mr-4\"><a class=\"widget-list-link\" href=\"{{ path('term') }}\">Condition d'utilisation</a></li>
  567.                 </ul>
  568.               </div>
  569.             </div>
  570.             <div class=\"col-md-6 text-center text-md-right mb-4\">
  571.               <div class=\"mb-3\"><a class=\"social-btn sb-light sb-facebook ml-2 mb-2\" target=\"_blank\" href=\"https://web.facebook.com/AssieGroup\"><i class=\"czi-facebook\"></i></a>
  572.             </div>
  573.           </div>
  574.           <div class=\"pb-4 font-size-xs text-light opacity-50 text-center text-md-left\">© All rights reserved.<a class=\"text-light\" href=\"https://www.assiegroup.com/\" target=\"_blank\" rel=\"noopener\">Assie Informatique</a></div>
  575.         </div>
  576.       </div>
  577.     </footer>
  578. \t\t{# Toolbar for handheld devices #}
  579. \t\t{% set panier =  app.session.get('panier') %}
  580. \t\t{% set nombreProduit =  app.session.get('nombreProduit') %}
  581. \t\t{% set montantProduit =  app.session.get('montantProduit') %}
  582.     <div class=\"cz-handheld-toolbar\">
  583.       <div class=\"d-table table-fixed w-100\">{% if  is_granted('IS_AUTHENTICATED_REMEMBERED') %}<a class=\"d-table-cell cz-handheld-toolbar-item\" href=\"{{ path('user_wishlist') }}\"><span class=\"cz-handheld-toolbar-icon\"><i class=\"czi-heart\"></i></span><span class=\"cz-handheld-toolbar-label\">{{ 'entreprise.wishlist' | trans }}</span></a>{% endif %}<a class=\"d-table-cell cz-handheld-toolbar-item\" href=\"#navbarCollapse\" data-toggle=\"collapse\" onclick=\"window.scrollTo(0, 0)\"><span class=\"cz-handheld-toolbar-icon\"><i class=\"czi-menu\"></i></span><span class=\"cz-handheld-toolbar-label\">Menu</span></a><a class=\"d-table-cell cz-handheld-toolbar-item\" href=\"{{ path('cart') }}\"><span class=\"cz-handheld-toolbar-icon\"><i class=\"czi-cart\"></i><span class=\"badge badge-primary badge-pill ml-1\">{{ nombreProduit }}</span></span><span class=\"cz-handheld-toolbar-label\">{{ montantProduit }} {{ devise }}</span></a>
  584.       </div>
  585.     </div>
  586.     <!-- Back To Top Button--><a class=\"btn-scroll-top\" href=\"#top\" data-scroll><span class=\"btn-scroll-top-tooltip text-muted font-size-sm mr-2\">Top</span><i class=\"btn-scroll-top-icon czi-arrow-up\">   </i></a>
  587.    
  588.     {% endblock footer %}
  589. \t
  590.     {% block javascripts %}
  591. \t\t
  592. \t{{ include('modules/__scripts.twig') }}
  593. \t<script type=\"text/javascript\">
  594. \t\t\$(function(){
  595. \t\t\tvar \$btnAddToCart = \$('.btnAddToCart'), \$checkoutItems = \$('#checkout_items');
  596. \t\t\tvar \$removeProductFromCart = \$('.removeProductFromCart');
  597. \t\t\tvar \$formNewsletter = \$('#formNewsletter');
  598. \t\t\tvar \$btnSAbonner = \$('#btnSAbonner');
  599. \t\t\tvar \$btnWishlist = \$('.btn-wishlist');
  600. \t\t\tvar \$siteLocale = \$('#site-locale');
  601. \t\t\t
  602. \t\t\tlet x = document.querySelectorAll(\".formated-number\");
  603. \t\t\tfor (let i = 0, len = x.length; i < len; i++) { 
  604. \t\t\t\tlet num = Number(x[i].innerHTML).toLocaleString('{{ app.request.locale }}'); 
  605. \t\t\t\t//x[i].innerHTML = num; 
  606. \t\t\t\t
  607. \t\t\t} 
  608. \t\t\t
  609. \t\t\t\$btnWishlist.click(function(e){
  610. \t\t\t\te.preventDefault();
  611. \t\t\t\t
  612. \t\t\t\t\t  \$.ajax({
  613. \t\t\t\t\t\turl: \$(this).attr('name'),
  614. \t\t\t\t\t\tmethod: 'GET',
  615. \t\t\t\t\t\t//processData: false,
  616. \t\t\t\t\t\t//contentType: false,
  617. \t\t\t\t\t\tsuccess: function (data, textStatus, jqXHR) {
  618. \t\t\t\t\t\t\ttoggleToast('success', data);
  619. \t\t\t\t\t\t},
  620. \t\t\t\t\t\t\t
  621. \t\t\t\t\t\terror: function(jqXHR, textStatus, errorThrown ){
  622. \t\t\t\t\t\t\ttoggleToast('error', 'Une erreur s\\'est produite');
  623. \t\t\t\t\t\t}
  624. \t\t\t\t\t});
  625. \t\t\t});
  626. \t\t\t
  627. \t\t\t\$btnSAbonner.click(function(e){
  628. \t\t\t\te.preventDefault();
  629. \t\t\t\t
  630. \t\t\t\t\t  \$.ajax({
  631. \t\t\t\t\t\turl: \$formNewsletter.attr('action'),
  632. \t\t\t\t\t\tmethod: 'POST',
  633. \t\t\t\t\t\tdata: \$formNewsletter.serialize(),
  634. \t\t\t\t\t\t//processData: false,
  635. \t\t\t\t\t\t//contentType: false,
  636. \t\t\t\t\t\tsuccess: function (data, textStatus, jqXHR) {
  637. \t\t\t\t\t\t\ttoggleToast('success', data);
  638. \t\t\t\t\t\t\t\$formNewsletter.trigger('reset');
  639. \t\t\t\t\t\t},
  640. \t\t\t\t\t\t\t
  641. \t\t\t\t\t\terror: function(jqXHR, textStatus, errorThrown ){
  642. \t\t\t\t\t\t}
  643. \t\t\t\t\t});
  644. \t\t\t});
  645. \t\t\t
  646. \t\t\t\$removeProductFromCart.click(function(e){
  647. \t\t\t\te.preventDefault();
  648. \t\t\t\t\tvar \$monBouton = \$(this);
  649. \t\t\t\t\t  \$.ajax({
  650. \t\t\t\t\t\turl: \$(this).attr('title'),
  651. \t\t\t\t\t\tmethod: 'GET',
  652. \t\t\t\t\t\t//processData: false,
  653. \t\t\t\t\t\t//contentType: false,
  654. \t\t\t\t\t\tsuccess: function (data, textStatus, jqXHR) {
  655. \t\t\t\t\t\t\t\$monBouton.parent().remove();
  656. \t\t\t\t\t\t\ttoggleToast('success', 'Produit retiré');
  657. \t\t\t\t\t\t},
  658. \t\t\t\t\t\terror: function(jqXHR, textStatus, errorThrown ){
  659. \t\t\t\t\t\t\ttoggleToast('success', 'Une erreur est survenue');
  660. \t\t\t\t\t\t}
  661. \t\t\t\t\t});
  662. \t\t\t});
  663. \t\t\t
  664. \t\t\t\$btnAddToCart.click(function(e){
  665. \t\t\t\t//e.preventDefault();
  666. \t\t\t\t\tvar \$myButton = \$(this);
  667. \t\t\t\t\t\$myButton.attr('disabled', true);
  668. \t\t\t\t\tvar \$form = \$(this).parent();
  669. \t\t\t\t\t  \$.ajax({
  670. \t\t\t\t\t\turl: \$form.attr('action'),
  671. \t\t\t\t\t\tmethod: 'POST',
  672. \t\t\t\t\t\tdata: \$form.serialize(),
  673. \t\t\t\t\t\t//processData: false,
  674. \t\t\t\t\t\t//contentType: false,
  675. \t\t\t\t\t\tsuccess: function (data, textStatus, jqXHR) {
  676. \t\t\t\t\t\t\tvar \$nb = parseInt(\$checkoutItems.text());
  677. \t\t\t\t\t\t\tvar \$montantProduit = \$('#montantProduit');
  678. \t\t\t\t\t\t\t
  679. \t\t\t\t\t\t\tif( \$nb > 0){
  680. \t\t\t\t\t\t\t\t\$nb++;
  681. \t\t\t\t\t\t\t
  682. \t\t\t\t\t\t\t} else{
  683. \t\t\t\t\t\t\t\t\$nb = 1;
  684. \t\t\t\t\t\t\t}
  685. \t\t\t\t\t\t\tconsole.log(data.montantProduit);
  686. \t\t\t\t\t\t\t\$montantProduit.text(formatTheNumber(data.montantProduit, \$siteLocale.text()));
  687. \t\t\t\t\t\t\t\$checkoutItems.text(\$nb);
  688. \t\t\t\t\t\t\ttoggleToast('success', 'Produit ajouté');
  689. \t\t\t\t\t\t\t\$myButton.attr('disabled', false);
  690. \t\t\t\t\t\t},
  691. \t\t\t\t\t\terror: function(jqXHR, textStatus, errorThrown ){
  692. \t\t\t\t\t\t\t\$myButton.attr('disabled', false);
  693. \t\t\t\t\t\t\ttoggleToast('error', 'Une erreur s\\'est produite');
  694. \t\t\t\t\t\t}
  695. \t\t\t\t\t});
  696. \t\t\t});
  697. \t\t\t\$('.home-collection-slide').slick({
  698. \t\t\t    infinite: true,
  699. \t\t\t  slidesToShow: 4,
  700. \t\t\t  slidesToScroll: 4,
  701. \t\t\t  autoplay: true,
  702. \t\t\t  accessibility: true,
  703. \t\t\t  initialSlide: 1,
  704. \t\t\t  autoplaySpeed: 4000,
  705. \t\t\t  arrows: true,
  706. \t\t\t  
  707. \t\t\t  
  708. \t\t\t  responsive: [
  709. \t\t\t\t\t{
  710. \t\t\t\t\t  breakpoint: 1024,
  711. \t\t\t\t\t  settings: {
  712. \t\t\t\t\t\tslidesToShow: 2,
  713. \t\t\t\t\t\tslidesToScroll: 2,
  714. \t\t\t\t\t\tinfinite: true,
  715. \t\t\t\t\t\tautoplay: true,
  716. \t\t\t\t\t  }
  717. \t\t\t\t\t}
  718. \t\t\t\t]
  719. \t\t\t});
  720. \t\t\t
  721. \t\t});
  722. \t\t
  723. \t\t
  724. \t</script>
  725. \t{% endblock javascripts %}
  726.     </body>
  727. </html>
  728. ""base.html.twig""/home/luxurybeautybarber/public_html/templates/base.html.twig");
  729.     }
  730. }