var/cache/dev/twig/40/40c3eaf7364beecef7eacac996352e238924ae02b45ef5f389e71800ac60a2f0.php line 44

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. /* Slivki/delivery/order.html.twig */
  14. class __TwigTemplate_5ed89f942b0239b3432d121f5f6cb052d3e22d18cc39c725e84438c29cf213ff extends 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.             'stylesheets' => [$this'block_stylesheets'],
  24.             'left_sidebar' => [$this'block_left_sidebar'],
  25.             'messenger' => [$this'block_messenger'],
  26.             'content' => [$this'block_content'],
  27.             'footer' => [$this'block_footer'],
  28.             'popups' => [$this'block_popups'],
  29.             'javascripts' => [$this'block_javascripts'],
  30.         ];
  31.     }
  32.     protected function doGetParent(array $context)
  33.     {
  34.         // line 1
  35.         return "base.html.twig";
  36.     }
  37.     protected function doDisplay(array $context, array $blocks = [])
  38.     {
  39.         $macros $this->macros;
  40.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Slivki/delivery/order.html.twig"));
  42.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  43.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Slivki/delivery/order.html.twig"));
  44.         $this->parent $this->loadTemplate("base.html.twig""Slivki/delivery/order.html.twig"1);
  45.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  48.         
  49.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  50.     }
  51.     // line 3
  52.     public function block_stylesheets($context, array $blocks = [])
  53.     {
  54.         $macros $this->macros;
  55.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  56.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  59.         // line 4
  60.         echo "    ";
  61.         $this->displayParentBlock("stylesheets"$context$blocks);
  62.         echo "
  63.     <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/jquery-toast-plugin/1.3.2/jquery.toast.min.css\"
  64.           integrity=\"sha512-wJgJNTBBkLit7ymC6vvzM1EcSWeM9mmOu+1USHaRBbHkm6W9EgM0HY27+UtUaprntaYQJF75rc8gjxllKs5OIQ==\"
  65.           crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\"/>
  66.     <link href=\"/css/delivery.min.css?v=";
  67.         // line 8
  68.         echo twig_escape_filter($this->env, (isset($context["delivery_css_version"]) || array_key_exists("delivery_css_version"$context) ? $context["delivery_css_version"] : (function () { throw new RuntimeError('Variable "delivery_css_version" does not exist.'8$this->source); })()), "html"nulltrue);
  69.         echo "\" rel=\"stylesheet\" type=\"text/css\"/>
  70.     <link href=\"/css/order_page.min.css?v=";
  71.         // line 9
  72.         echo twig_escape_filter($this->env, (isset($context["order_page_css_version"]) || array_key_exists("order_page_css_version"$context) ? $context["order_page_css_version"] : (function () { throw new RuntimeError('Variable "order_page_css_version" does not exist.'9$this->source); })()), "html"nulltrue);
  73.         echo "\" rel=\"stylesheet\" type=\"text/css\"/>
  74.     <link href=\"/css/orderAsGift.min.css?v=";
  75.         // line 10
  76.         echo twig_escape_filter($this->env, (isset($context["order_as_gift_css"]) || array_key_exists("order_as_gift_css"$context) ? $context["order_as_gift_css"] : (function () { throw new RuntimeError('Variable "order_as_gift_css" does not exist.'10$this->source); })()), "html"nulltrue);
  77.         echo "\" rel=\"stylesheet\" type=\"text/css\"/>
  78. ";
  79.         
  80.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  81.         
  82.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  83.     }
  84.     // line 13
  85.     public function block_left_sidebar($context, array $blocks = [])
  86.     {
  87.         $macros $this->macros;
  88.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  89.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""left_sidebar"));
  90.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  91.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""left_sidebar"));
  92.         
  93.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  94.         
  95.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  96.     }
  97.     // line 15
  98.     public function block_messenger($context, array $blocks = [])
  99.     {
  100.         $macros $this->macros;
  101.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  102.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""messenger"));
  103.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  104.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""messenger"));
  105.         
  106.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  107.         
  108.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  109.     }
  110.     // line 17
  111.     public function block_content($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""content"));
  116.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  117.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  118.         // line 18
  119.         echo "    ";
  120.         if (twig_get_attribute($this->env$this->source, (isset($context["offer"]) || array_key_exists("offer"$context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.'18$this->source); })()), "isWithoutCodes", [], "method"falsefalsefalse18)) {
  121.             // line 19
  122.             echo "        <input type=\"hidden\" id=\"isWithoutCodes\">
  123.     ";
  124.         }
  125.         // line 21
  126.         echo "    ";
  127.         if ((array_key_exists("isFirstSosediPurchase"$context) && (isset($context["isFirstSosediPurchase"]) || array_key_exists("isFirstSosediPurchase"$context) ? $context["isFirstSosediPurchase"] : (function () { throw new RuntimeError('Variable "isFirstSosediPurchase" does not exist.'21$this->source); })()))) {
  128.             // line 22
  129.             echo "        <input type=\"hidden\" id=\"isFirstSosediPurchase\">
  130.     ";
  131.         }
  132.         // line 24
  133.         echo "    ";
  134.         if ((array_key_exists("isCertificate"$context) && (isset($context["isCertificate"]) || array_key_exists("isCertificate"$context) ? $context["isCertificate"] : (function () { throw new RuntimeError('Variable "isCertificate" does not exist.'24$this->source); })()))) {
  135.             // line 25
  136.             echo "        <input id=\"isCertificate\" type=\"hidden\" value=\"\">
  137.     ";
  138.         }
  139.         // line 27
  140.         echo "    ";
  141.         if (array_key_exists("director"$context)) {
  142.             // line 28
  143.             echo "        <input type=\"hidden\" id=\"companyNameOffer\" value=\"";
  144.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["director"]) || array_key_exists("director"$context) ? $context["director"] : (function () { throw new RuntimeError('Variable "director" does not exist.'28$this->source); })()), "getName", [], "method"falsefalsefalse28));
  145.             echo "\">
  146.     ";
  147.         }
  148.         // line 30
  149.         echo "    ";
  150.         if ((array_key_exists("isAvailableOnFood"$context) && (isset($context["isAvailableOnFood"]) || array_key_exists("isAvailableOnFood"$context) ? $context["isAvailableOnFood"] : (function () { throw new RuntimeError('Variable "isAvailableOnFood" does not exist.'30$this->source); })()))) {
  151.             // line 31
  152.             echo "        <input type=\"hidden\" id=\"isAvailableOnFood\" value=\"true\">
  153.     ";
  154.         }
  155.         // line 33
  156.         echo "    <div class=\"delivery-page container sf-font\">
  157.         <div id=\"deliveryContent\" class=\"js-delivery-teasers\">
  158.             <div class=\"breadcrumbs sf-text-font\">
  159.                 <a href=\"";
  160.         // line 36
  161.         echo twig_escape_filter($this->env, (isset($context["base_url"]) || array_key_exists("base_url"$context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.'36$this->source); })()), "html"nulltrue);
  162.         echo "\">Главная</a>
  163.                 ";
  164.         // line 37
  165.         if ((!== twig_compare((isset($context["categoryName"]) || array_key_exists("categoryName"$context) ? $context["categoryName"] : (function () { throw new RuntimeError('Variable "categoryName" does not exist.'37$this->source); })()), null))) {
  166.             // line 38
  167.             echo "                    <i class=\"fa fa-angle-right\"></i>&nbsp;<a href=\"";
  168.             echo twig_escape_filter($this->env, (isset($context["categoryURL"]) || array_key_exists("categoryURL"$context) ? $context["categoryURL"] : (function () { throw new RuntimeError('Variable "categoryURL" does not exist.'38$this->source); })()), "html"nulltrue);
  169.             echo "\">";
  170.             echo twig_escape_filter($this->env, (isset($context["categoryName"]) || array_key_exists("categoryName"$context) ? $context["categoryName"] : (function () { throw new RuntimeError('Variable "categoryName" does not exist.'38$this->source); })()), "html"nulltrue);
  171.             echo "</a>
  172.                 ";
  173.         }
  174.         // line 40
  175.         echo "                <i class=\"fa fa-angle-right\"></i>&nbsp;<a
  176.                         href=\"";
  177.         // line 41
  178.         echo twig_escape_filter($this->env$this->extensions['Slivki\Twig\SlivkiTwigExtension']->getURL(twig_constant("Slivki\\Repository\\SeoRepository::RESOURCE_URL_OFFER_DETAILS"), twig_get_attribute($this->env$this->source, (isset($context["offer"]) || array_key_exists("offer"$context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.'41$this->source); })()), "getID", [], "method"falsefalsefalse41)), "html"nulltrue);
  179.         echo "\">";
  180.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["offer"]) || array_key_exists("offer"$context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.'41$this->source); })()), "getCompanyName", [], "method"falsefalsefalse41), "html"nulltrue);
  181.         echo "</a>
  182.                 <i class=\"fa fa-angle-right\"></i>&nbsp;<a href=\"javascript:;\">Онлайн заказ</a>
  183.             </div>
  184.             <div class=\"clear\"></div>
  185.             ";
  186.         // line 45
  187.         if ((array_key_exists("isCertificate"$context) && (isset($context["isCertificate"]) || array_key_exists("isCertificate"$context) ? $context["isCertificate"] : (function () { throw new RuntimeError('Variable "isCertificate" does not exist.'45$this->source); })()))) {
  188.             // line 46
  189.             echo "                <div id=\"deliverySupplierCard\" class=\"rounded-14\">
  190.                     <div class=\"gradient rounded-14\"></div>
  191.                     <div class=\"card-img rounded-14\">
  192.                         <img class=\"w-100 rounded-14\" src=\"";
  193.             // line 49
  194.             echo twig_escape_filter($this->env$this->extensions['Slivki\Twig\SlivkiTwigExtension']->getImageURL(twig_get_attribute($this->env$this->source, (isset($context["offer"]) || array_key_exists("offer"$context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.'49$this->source); })()), "getTopBlockMedia", [], "method"falsefalsefalse49), 00), "html"nulltrue);
  195.             echo "\"/>
  196.                     </div>
  197.                     <div class=\"delivery-supplier--logo\"
  198.                          style=\"background-image: url('";
  199.             // line 52
  200.             echo twig_escape_filter($this->env$this->extensions['Slivki\Twig\SlivkiTwigExtension']->getImageURL((isset($context["logoMedia"]) || array_key_exists("logoMedia"$context) ? $context["logoMedia"] : (function () { throw new RuntimeError('Variable "logoMedia" does not exist.'52$this->source); })()), 00), "html"nulltrue);
  201.             echo "')\"
  202.                     >
  203.                     </div>
  204.                     <div class=\"delivery-supplier--rating\">
  205.                         <i class=\"slivki-icon-star\">";
  206.             // line 56
  207.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["offer"]) || array_key_exists("offer"$context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.'56$this->source); })()), "getRating", [], "method"falsefalsefalse56), "html"nulltrue);
  208.             echo "</i>
  209.                         <span class=\"pl-2\"><i
  210.                                     class=\"slivki-icon slivki-icon-users\"></i>";
  211.             // line 58
  212.             echo twig_escape_filter($this->env, ((array_key_exists("purchaseCountMonth"$context)) ? ((isset($context["purchaseCountMonth"]) || array_key_exists("purchaseCountMonth"$context) ? $context["purchaseCountMonth"] : (function () { throw new RuntimeError('Variable "purchaseCountMonth" does not exist.'58$this->source); })())) : (twig_get_attribute($this->env$this->source, (isset($context["offer"]) || array_key_exists("offer"$context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.'58$this->source); })()), "getUsedCodesCount", [], "method"falsefalsefalse58))), "html"nulltrue);
  213.             echo "</span>
  214.                         <span class=\"pl-2\"><i class=\"slivki-icon-eye\"></i>";
  215.             // line 59
  216.             echo twig_escape_filter($this->env, (isset($context["visitCount"]) || array_key_exists("visitCount"$context) ? $context["visitCount"] : (function () { throw new RuntimeError('Variable "visitCount" does not exist.'59$this->source); })()), "html"nulltrue);
  217.             echo "</span>
  218.                     </div>
  219.                     <div class=\"delivery-supplier--text sf-bold-font\"></div>
  220.                     <div class=\"delivery-supplier--info\">
  221.                         <i class=\"slivki-icon-info-circled-o\"></i><span>Информация о компании</span>
  222.                         <div class=\"supplier-info-tooltip arrow-box\">
  223.                             <div class=\"mb-2 sf-bold-font\">";
  224.             // line 65
  225.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["director"]) || array_key_exists("director"$context) ? $context["director"] : (function () { throw new RuntimeError('Variable "director" does not exist.'65$this->source); })()), "getName", [], "method"falsefalsefalse65), "html"nulltrue);
  226.             echo "</div>
  227.                             <div class=\"text-muted\">";
  228.             // line 66
  229.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["director"]) || array_key_exists("director"$context) ? $context["director"] : (function () { throw new RuntimeError('Variable "director" does not exist.'66$this->source); })()), "getLegalEntity", [], "method"falsefalsefalse66), "html"nulltrue);
  230.             echo " УНП ";
  231.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["director"]) || array_key_exists("director"$context) ? $context["director"] : (function () { throw new RuntimeError('Variable "director" does not exist.'66$this->source); })()), "getTaxID", [], "method"falsefalsefalse66), "html"nulltrue);
  232.             echo "</div>
  233.                         </div>
  234.                     </div>
  235.                 </div>
  236.             ";
  237.         } else {
  238.             // line 71
  239.             echo "                <div class=\"py-2 px-0 sf-font\">
  240.                     <div class=\"brand-block\">
  241.                         <div id=\"mapOrderPage\" class=\"d-none\" style=\"height: 210px;\" data-toggle=\"modal\"
  242.                              data-target=\"#mapsModal\"></div>
  243.                     </div>
  244.                 </div>
  245.             ";
  246.         }
  247.         // line 78
  248.         echo "
  249.             ";
  250.         // line 79
  251.         if (( !array_key_exists("isCertificate"$context) ||  !(isset($context["isCertificate"]) || array_key_exists("isCertificate"$context) ? $context["isCertificate"] : (function () { throw new RuntimeError('Variable "isCertificate" does not exist.'79$this->source); })()))) {
  252.             // line 80
  253.             echo "                <div id=\"fixedFiltersOffer\" class=\"w-auto px-2 d-flex\"
  254.                      style=\"position: relative;background: linear-gradient(180deg, #A839FF 0%, #6747e5 100%), #6747E5;border-radius: 8px;\">
  255.                     <div class=\"col d-flex align-items-center text-white justify-content-end px-0\">
  256.                         <p class=\"col mb-0 px-0 text-filter-tittle\">⚡️ Используй супер-фильтр</p>
  257.                         <div class=\"position-relative ordder-page-filter-block\">
  258.                             <div class=\"ordder-page-filter py-1 mx-2\">
  259.                                 <f class=\"text-filter\">Сравни 🔥</f>
  260.                             </div>
  261.                             <div class=\"filter-items-block filter-items px-2 py-2\" style=\"display: none\">
  262.                                 <div class=\"filter-items-wrapper\">
  263.                                     ";
  264.             // line 90
  265.             $this->loadTemplate("Slivki/online_order/_online_order_sort.html.twig""Slivki/delivery/order.html.twig"90)->display($context);
  266.             // line 91
  267.             echo "                                </div>
  268.                             </div>
  269.                         </div>
  270.                     </div>
  271.                     <div class=\"switch-delivery-pickup-block px-0 ";
  272.             // line 95
  273.             if ( !twig_get_attribute($this->env$this->source, (isset($context["offer"]) || array_key_exists("offer"$context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.'95$this->source); })()), "getBrandboxEnabled", [], "method"falsefalsefalse95)) {
  274.                 echo "d-none";
  275.             }
  276.             echo "\">
  277.                         <a class=\"switch-delivery-pickup-item button-tab-delivery delivery-type active\">
  278.                             <p>Доставка</p>
  279.                             <small>удобно👌</small>
  280.                         </a>
  281.                         <a class=\"switch-delivery-pickup-item pickup-type button-tab-pickup\">
  282.                             <p> Самовывоз</p>
  283.                             <small>еще дешевле🔥</small>
  284.                         </a>
  285.                     </div>
  286.                     ";
  287.             // line 105
  288.             if ( !array_key_exists("isCertificate"$context)) {
  289.                 // line 106
  290.                 echo "                        ";
  291.                 if ((isset($context["pickupEnabled"]) || array_key_exists("pickupEnabled"$context) ? $context["pickupEnabled"] : (function () { throw new RuntimeError('Variable "pickupEnabled" does not exist.'106$this->source); })())) {
  292.                     // line 107
  293.                     echo "                            <input id=\"deliveryTypeOffers\" type=\"hidden\" value=\"2\">
  294.                         ";
  295.                 } elseif (                // line 108
  296. (isset($context["deliveryEnabled"]) || array_key_exists("deliveryEnabled"$context) ? $context["deliveryEnabled"] : (function () { throw new RuntimeError('Variable "deliveryEnabled" does not exist.'108$this->source); })())) {
  297.                     // line 109
  298.                     echo "                            <input id=\"deliveryTypeOffers\" type=\"hidden\" value=\"1\">
  299.                         ";
  300.                 }
  301.                 // line 111
  302.                 echo "                    ";
  303.             }
  304.             // line 112
  305.             echo "                </div>
  306.             ";
  307.         } else {
  308.             // line 114
  309.             echo "                <div class=\"d-flex mt-3\" style=\"justify-content: flex-end\">
  310.                     ";
  311.             // line 115
  312.             $this->loadTemplate("Slivki/delivery/_delivery_sort_filter.html.twig""Slivki/delivery/order.html.twig"115)->display($context);
  313.             // line 116
  314.             echo "                </div>
  315.             ";
  316.         }
  317.         // line 118
  318.         echo "            <div id=\"listProducts\" class=\"delivery-teaser-row delivery-teasers-block\">
  319.                 ";
  320.         // line 119
  321.         if ((array_key_exists("isCertificate"$context) && (isset($context["isCertificate"]) || array_key_exists("isCertificate"$context) ? $context["isCertificate"] : (function () { throw new RuntimeError('Variable "isCertificate" does not exist.'119$this->source); })()))) {
  322.             // line 120
  323.             echo "                    ";
  324.             $context['_parent'] = $context;
  325.             $context['_seq'] = twig_ensure_traversable((isset($context["dishes"]) || array_key_exists("dishes"$context) ? $context["dishes"] : (function () { throw new RuntimeError('Variable "dishes" does not exist.'120$this->source); })()));
  326.             $context['loop'] = [
  327.               'parent' => $context['_parent'],
  328.               'index0' => 0,
  329.               'index'  => 1,
  330.               'first'  => true,
  331.             ];
  332.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  333.                 $length count($context['_seq']);
  334.                 $context['loop']['revindex0'] = $length 1;
  335.                 $context['loop']['revindex'] = $length;
  336.                 $context['loop']['length'] = $length;
  337.                 $context['loop']['last'] = === $length;
  338.             }
  339.             foreach ($context['_seq'] as $context["_key"] => $context["dish"]) {
  340.                 // line 121
  341.                 echo "                        ";
  342.                 $context["teaserView"] = "Slivki/delivery/delivery_teaser.html.twig";
  343.                 // line 122
  344.                 echo "                        ";
  345.                 if ((twig_get_attribute($this->env$this->source$context["dish"], "isPizza", [], "any"truetruefalse122) && twig_get_attribute($this->env$this->source$context["dish"], "isPizza", [], "any"falsefalsefalse122))) {
  346.                     // line 123
  347.                     echo "                            ";
  348.                     $context["teaserView"] = "Slivki/delivery/delivery_teaser_pizza.html.twig";
  349.                     // line 124
  350.                     echo "                        ";
  351.                 }
  352.                 // line 125
  353.                 echo "                        <div class=\"col-4\">
  354.                             ";
  355.                 // line 126
  356.                 $this->loadTemplate((isset($context["teaserView"]) || array_key_exists("teaserView"$context) ? $context["teaserView"] : (function () { throw new RuntimeError('Variable "teaserView" does not exist.'126$this->source); })()), "Slivki/delivery/order.html.twig"126)->display(twig_array_merge($context, ["isTop" => twig_in_filter(twig_get_attribute($this->env$this->source$context["dish"], "id", [], "any"falsefalsefalse126), (isset($context["topDishIDList"]) || array_key_exists("topDishIDList"$context) ? $context["topDishIDList"] : (function () { throw new RuntimeError('Variable "topDishIDList" does not exist.'126$this->source); })())), "isAvailableOnFood" => (array_key_exists("isAvailableOnFood"$context) && (isset($context["isAvailableOnFood"]) || array_key_exists("isAvailableOnFood"$context) ? $context["isAvailableOnFood"] : (function () { throw new RuntimeError('Variable "isAvailableOnFood" does not exist.'126$this->source); })()))]));
  357.                 // line 127
  358.                 echo "                        </div>
  359.                     ";
  360.                 ++$context['loop']['index0'];
  361.                 ++$context['loop']['index'];
  362.                 $context['loop']['first'] = false;
  363.                 if (isset($context['loop']['length'])) {
  364.                     --$context['loop']['revindex0'];
  365.                     --$context['loop']['revindex'];
  366.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  367.                 }
  368.             }
  369.             $_parent $context['_parent'];
  370.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['dish'], $context['_parent'], $context['loop']);
  371.             $context array_intersect_key($context$_parent) + $_parent;
  372.             // line 129
  373.             echo "                ";
  374.         }
  375.         // line 130
  376.         echo "            </div>
  377.             ";
  378.         // line 131
  379.         if (((=== twig_compare(twig_length_filter($this->env, (isset($context["options"]) || array_key_exists("options"$context) ? $context["options"] : (function () { throw new RuntimeError('Variable "options" does not exist.'131$this->source); })())), 0)) && (isset($context["showDelivery"]) || array_key_exists("showDelivery"$context) ? $context["showDelivery"] : (function () { throw new RuntimeError('Variable "showDelivery" does not exist.'131$this->source); })()))) {
  380.             // line 132
  381.             echo "                <div id=\"dataMenu_options\" class=\"mb-2 pl-2 font-size-1250 sf-bold-font\">Дополнительные товары:</div>
  382.                 <div class=\"delivery-teaser-row delivery-teasers-block\">
  383.                     ";
  384.             // line 134
  385.             $context['_parent'] = $context;
  386.             $context['_seq'] = twig_ensure_traversable((isset($context["options"]) || array_key_exists("options"$context) ? $context["options"] : (function () { throw new RuntimeError('Variable "options" does not exist.'134$this->source); })()));
  387.             foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
  388.                 // line 135
  389.                 echo "                        <div class=\"col-4\">
  390.                             ";
  391.                 // line 136
  392.                 $this->loadTemplate("Slivki/delivery/delivery_teaser.html.twig""Slivki/delivery/order.html.twig"136)->display(twig_to_array(["dish" => $context["option"], "isOption" => true]));
  393.                 // line 137
  394.                 echo "                        </div>
  395.                     ";
  396.             }
  397.             $_parent $context['_parent'];
  398.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
  399.             $context array_intersect_key($context$_parent) + $_parent;
  400.             // line 139
  401.             echo "                </div>
  402.             ";
  403.         }
  404.         // line 141
  405.         echo "        </div>
  406.         <div id=\"deliverySidebar\">
  407.             ";
  408.         // line 143
  409.         if (( !array_key_exists("isAvailableOnFood"$context) ||  !(isset($context["isAvailableOnFood"]) || array_key_exists("isAvailableOnFood"$context) ? $context["isAvailableOnFood"] : (function () { throw new RuntimeError('Variable "isAvailableOnFood" does not exist.'143$this->source); })()))) {
  410.             // line 144
  411.             echo "            <form method=\"post\" action=\"";
  412.             echo twig_escape_filter($this->env, (isset($context["formAction"]) || array_key_exists("formAction"$context) ? $context["formAction"] : (function () { throw new RuntimeError('Variable "formAction" does not exist.'144$this->source); })()), "html"nulltrue);
  413.             echo "\" id=\"dishSelectForm\">
  414.                 ";
  415.         } else {
  416.             // line 146
  417.             echo "                <div id=\"dishSelectForm\">
  418.                     ";
  419.         }
  420.         // line 148
  421.         echo "                    <input type=\"hidden\" id=\"pickupDeliveryType\" name=\"pickupDeliveryType\" value=\"\"/>
  422.                     <input type=\"hidden\" id=\"deliveryBasketInput\" name=\"basket\" value=\"\"/>
  423.                     <input id=\"offerID\" type=\"hidden\" name=\"offerID\" value=\"";
  424.         // line 150
  425.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["offer"]) || array_key_exists("offer"$context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.'150$this->source); })()), "getID", [], "method"falsefalsefalse150), "html"nulltrue);
  426.         echo "\"/>
  427.                     <input type=\"hidden\" id=\"dishSortBy\" name=\"dishSortBy\" value=\"\"/>
  428.                     <input type=\"hidden\" id=\"isDominos\" name=\"isDominos\"
  429.                            value=\"";
  430.         // line 153
  431.         echo (((array_key_exists("isDominos"$context) && (isset($context["isDominos"]) || array_key_exists("isDominos"$context) ? $context["isDominos"] : (function () { throw new RuntimeError('Variable "isDominos" does not exist.'153$this->source); })()))) ? ("1") : ("0"));
  432.         echo "\">
  433.                     ";
  434.         // line 154
  435.         if (array_key_exists("deliveryPrice"$context)) {
  436.             // line 155
  437.             echo "                        <input type=\"hidden\" id=\"deliveryPrice\" name=\"deliveryPrice\" value=\"";
  438.             echo twig_escape_filter($this->env, (isset($context["deliveryPrice"]) || array_key_exists("deliveryPrice"$context) ? $context["deliveryPrice"] : (function () { throw new RuntimeError('Variable "deliveryPrice" does not exist.'155$this->source); })()), "html"nulltrue);
  439.             echo "\"/>
  440.                     ";
  441.         }
  442.         // line 157
  443.         echo "                    <div id=\"deliverySidebarContent\">
  444.                         ";
  445.         // line 158
  446.         if (( !array_key_exists("isAvailableOnFood"$context) ||  !(isset($context["isAvailableOnFood"]) || array_key_exists("isAvailableOnFood"$context) ? $context["isAvailableOnFood"] : (function () { throw new RuntimeError('Variable "isAvailableOnFood" does not exist.'158$this->source); })()))) {
  447.             // line 159
  448.             echo "                            <div>
  449.                                 <p class=\"basket-tittle\">Ваш заказ</p>
  450.                             </div>
  451.                             <div id=\"deliveryEmpty\">
  452.                                 <div class=\"d-flex flex-column justify-content-center align-items-center text-center\">
  453.                                     ";
  454.             // line 164
  455.             if ((( !array_key_exists("isCertificate"$context) ||  !(isset($context["isCertificate"]) || array_key_exists("isCertificate"$context) ? $context["isCertificate"] : (function () { throw new RuntimeError('Variable "isCertificate" does not exist.'164$this->source); })())) || (=== twig_compare(twig_get_attribute($this->env$this->source, (isset($context["offer"]) || array_key_exists("offer"$context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.'164$this->source); })()), "getID", [], "method"falsefalsefalse164), 283384)))) {
  456.                 // line 165
  457.                 echo "                                        <div class=\"delivery-empty-logo\">
  458.                                             ";
  459.                 // line 166
  460.                 if (twig_get_attribute($this->env$this->source, (isset($context["offer"]) || array_key_exists("offer"$context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.'166$this->source); })()), "hasCategory", [=> twig_constant("Slivki\\Repository\\SeoRepository::FLOWERS_CATEGORY_ID")], "method"falsefalsefalse166)) {
  461.                     // line 167
  462.                     echo "                                                <img height=\"119\" class=\"mx-auto\" src=\"/images/basketFlowers.png\" alt=\"\">
  463.                                             ";
  464.                 } else {
  465.                     // line 169
  466.                     echo "                                                <img height=\"119\" class=\"mx-auto\" src=\"/images/sideBarEda.gif\" alt=\"\">
  467.                                             ";
  468.                 }
  469.                 // line 171
  470.                 echo "                                        </div>
  471.                                     ";
  472.             } else {
  473.                 // line 173
  474.                 echo "                                        <div class=\"delivery-empty-logo\">
  475.                                             <img height=\"119\" class=\"mx-auto\" src=\"/images/sertificate.gif\" alt=\"\">
  476.                                         </div>
  477.                                     ";
  478.             }
  479.             // line 177
  480.             echo "                                    ";
  481.             if (( !array_key_exists("isCertificate"$context) ||  !(isset($context["isCertificate"]) || array_key_exists("isCertificate"$context) ? $context["isCertificate"] : (function () { throw new RuntimeError('Variable "isCertificate" does not exist.'177$this->source); })()))) {
  482.                 // line 178
  483.                 echo "                                        <p class=\"font-size-1125 delivery-empty-text\">Выберите
  484.                                             ";
  485.                 // line 179
  486.                 if (twig_get_attribute($this->env$this->source, (isset($context["offer"]) || array_key_exists("offer"$context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.'179$this->source); })()), "hasCategory", [=> twig_constant("Slivki\\Repository\\SeoRepository::FLOWERS_CATEGORY_ID")], "method"falsefalsefalse179)) {
  487.                     // line 180
  488.                     echo "                                                товары
  489.                                             ";
  490.                 } else {
  491.                     // line 182
  492.                     echo "                                                блюда
  493.                                             ";
  494.                 }
  495.                 // line 184
  496.                 echo "                                            <br> и добавьте их к
  497.                                             заказу
  498.                                         </p>
  499.                                     ";
  500.             } else {
  501.                 // line 188
  502.                 echo "                                        <p class=\"font-size-1125 delivery-empty-text\">Выберите услуги<br> и добавьте их
  503.                                             к заказу
  504.                                         </p>
  505.                                     ";
  506.             }
  507.             // line 192
  508.             echo "                                </div>
  509.                             </div>
  510.                             <div id=\"deliveryBasketWrapper\" style=\"display: none;\">
  511.                                 <a href=\"#\" id=\"clearBasketBtn\" data-toggle=\"modal\"
  512.                                    data-target=\"#confirmBasketClearModal\">
  513.                                     <img width=\"16\" height=\"16\" class=\"mx-1\" src=\"/images/order_page/basket-icon.svg\"/>
  514.                                     Очистить</a>
  515.                                 <div id=\"deliverySidebarScroll\" ";
  516.             // line 199
  517.             if (( !array_key_exists("isCertificate"$context) ||  !(isset($context["isCertificate"]) || array_key_exists("isCertificate"$context) ? $context["isCertificate"] : (function () { throw new RuntimeError('Variable "isCertificate" does not exist.'199$this->source); })()))) {
  518.                 echo " class=\"height-74\" ";
  519.             }
  520.             echo ">
  521.                                     <div id=\"deliveryBasketTop\" class=\"js-basket-modal\"></div>
  522.                                     <div class=\"d-none options-tittle sf-bold-font font-size-1000 mb-3 ";
  523.             // line 201
  524.             echo (( !(isset($context["showDelivery"]) || array_key_exists("showDelivery"$context) ? $context["showDelivery"] : (function () { throw new RuntimeError('Variable "showDelivery" does not exist.'201$this->source); })())) ? ("d-none") : (""));
  525.             echo "\">
  526.                                         <strong>Дополнительные товары:</strong>
  527.                                     </div>
  528.                                     <div id=\"deliveryBasketOptions\"></div>
  529.                                     <div class=\"delivery-basket-total font-size-1000 d-none\">
  530.                                         <div id=\"deliveryTotalDishes\"></div>
  531.                                         <div id=\"deliveryTotalOptions\"></div>
  532.                                         <span id=\"codeCost\" data-price=\"0\"></span>
  533.                                     </div>
  534.                                 </div>
  535.                                 <div id=\"deliverySidebarTotal\" ";
  536.             // line 211
  537.             if (( !array_key_exists("isCertificate"$context) ||  !(isset($context["isCertificate"]) || array_key_exists("isCertificate"$context) ? $context["isCertificate"] : (function () { throw new RuntimeError('Variable "isCertificate" does not exist.'211$this->source); })()))) {
  538.                 echo " class=\"";
  539.                 echo (((isset($context["isBuyCodeDisable"]) || array_key_exists("isBuyCodeDisable"$context) ? $context["isBuyCodeDisable"] : (function () { throw new RuntimeError('Variable "isBuyCodeDisable" does not exist.'211$this->source); })())) ? ("") : ("bottom-basket-offers"));
  540.                 echo "\" ";
  541.             }
  542.             // line 212
  543.             echo "                                     style=\"display: none;\">
  544.                                     <div class=\"delivery-teaser-row font-size-1250\">
  545.                                         ";
  546.             // line 214
  547.             if ((array_key_exists("isBuyOnlyCodeResponse"$context) && (isset($context["isBuyOnlyCodeResponse"]) || array_key_exists("isBuyOnlyCodeResponse"$context) ? $context["isBuyOnlyCodeResponse"] : (function () { throw new RuntimeError('Variable "isBuyOnlyCodeResponse" does not exist.'214$this->source); })()))) {
  548.                 // line 215
  549.                 echo "                                            <div class=\"col-auto basket-tittle font-size-0900 mb-0\">К оплате на кассе:
  550.                                             </div>
  551.                                         ";
  552.             } else {
  553.                 // line 218
  554.                 echo "                                            <div class=\"col-auto basket-tittle mb-0\">Итого:</div>
  555.                                         ";
  556.             }
  557.             // line 220
  558.             echo "
  559.                                         <div class=\"col text-right\">
  560.                                             <del class=\"mr-1\" style=\"text-decoration: none;\"><span
  561.                                                         id=\"deliveryTotalPrice\"></span></del>
  562.                                             <span class=\"sf-bold-font\" id=\"deliveryTotalOfferPrice\"></span>
  563.                                         </div>
  564.                                     </div>
  565.                                 </div>
  566.                             </div>
  567.                         ";
  568.         } else {
  569.             // line 230
  570.             echo "                            <div id=\"customFoodBasket\">
  571.                                 <div id=\"customFoodBasketConditions\">
  572.                                     <p class=\"tittle-basket-custom-food\">Условия заказа</p>
  573.                                     <div class=\"offer-conditions\"></div>
  574.                                 </div>
  575.                                 <div id=\"customFoodBasketPayMethods\" class=\"col\" style=\"display: none\">
  576.                                     <span id=\"unitPrice\" style=\"display: none;\">2.10</span>
  577.                                     <div class=\"custom-promo-info\">
  578.                                         <div class=\"custom-promo-block\">
  579.                                             <p class=\"sf-bold-font text-uppercase text-center my-3\">Для заказа по
  580.                                                 телефону<br>
  581.                                                 оплатите промокод <br>на скидку</p>
  582.                                         </div>
  583.                                         <div class=\"d-flex col justify-content-center my-2\">
  584.                                             <div class=\"payment-sum-block mb-3\">
  585.                                                 <div class=\"unit-wrapp\">
  586.                                                     <div class=\"minusUnit\" onclick=\"minus()\">
  587.                                                         <img class=\"delivery-dec-quantity-img\" width=\"14\" height=\"14\"
  588.                                                              src=\"/images/order_page/dec.svg\">
  589.                                                     </div>
  590.                                                     <span id=\"units\" class=\"js-units-header-popup-custom\"> 1 </span>
  591.                                                     <div class=\"plusUnit\" onclick=\"plus()\">
  592.                                                         <img width=\"14\" height=\"14\" src=\"/images/order_page/inc.svg\">
  593.                                                     </div>
  594.                                                 </div>
  595.                                             </div>
  596.                                         </div>
  597.                                         <div class=\"align-self-center\">
  598.                                             <p class=\"font-size-0750 mb-4 sf-font text-center\"><strong
  599.                                                         class=\"font-size-10625 font-800\">
  600.                                                     к оплате <span class=\"confirm-box-total mr-1\">2,10</span>р</strong>
  601.                                             </p>
  602.                                         </div>
  603.                                     </div>
  604.                                     <p class=\"my-2 sf-font font-size-1000 text-center\">Выберите способ оплаты:</p>
  605.                                     <div id=\"paymentMethodsCustom\"></div>
  606.                                 </div>
  607.                             </div>
  608.                         ";
  609.         }
  610.         // line 271
  611.         echo "
  612.                         <div id=\"deliveryBtnWrapperWithoutGift\" class=\"delivery-btn-wrapper\">
  613.                             ";
  614.         // line 273
  615.         if (( !array_key_exists("isAvailableOnFood"$context) ||  !(isset($context["isAvailableOnFood"]) || array_key_exists("isAvailableOnFood"$context) ? $context["isAvailableOnFood"] : (function () { throw new RuntimeError('Variable "isAvailableOnFood" does not exist.'273$this->source); })()))) {
  616.             // line 274
  617.             echo "                            ";
  618.             if ((array_key_exists("isBuyOnlyCodeResponse"$context) && (isset($context["isBuyOnlyCodeResponse"]) || array_key_exists("isBuyOnlyCodeResponse"$context) ? $context["isBuyOnlyCodeResponse"] : (function () { throw new RuntimeError('Variable "isBuyOnlyCodeResponse" does not exist.'274$this->source); })()))) {
  619.                 // line 275
  620.                 echo "                            <button type=\"submit\" class=\"delivery-btn bg-violet text-white d-block disabled my-1\"
  621.                                     id=\"dishSelectFormSubmit\">ПОЛУЧИТЬ ПРОМОКОД ";
  622.                 // line 276
  623.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["offer"]) || array_key_exists("offer"$context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.'276$this->source); })()), "getDiscount", [], "method"falsefalsefalse276), "html"nulltrue);
  624.                 echo "
  625.                                 ";
  626.             } else {
  627.                 // line 278
  628.                 echo "                                ";
  629.                 if (array_key_exists("isCertificate"$context)) {
  630.                     // line 279
  631.                     echo "                                <button type=\"submit\" class=\"delivery-btn bg-violet text-white d-block disabled my-1\"
  632.                                         id=\"dishSelectFormSubmit\">ОФОРМИТЬ СЕРТИФИКАТ
  633.                                     ";
  634.                 } else {
  635.                     // line 282
  636.                     echo "                                    <button type=\"submit\"
  637.                                             class=\"delivery-btn bg-violet text-white d-block disabled my-1\"
  638.                                             id=\"dishSelectFormSubmit\">ЗАКАЗАТЬ ОНЛАЙН
  639.                                         ";
  640.                 }
  641.                 // line 286
  642.                 echo "                                        ";
  643.             }
  644.             // line 287
  645.             echo "                                    </button>
  646.                                 ";
  647.             // line 289
  648.             if (( !array_key_exists("isCertificate"$context) ||  !(isset($context["isCertificate"]) || array_key_exists("isCertificate"$context) ? $context["isCertificate"] : (function () { throw new RuntimeError('Variable "isCertificate" does not exist.'289$this->source); })()))) {
  649.                 // line 290
  650.                 echo "                                    <div class=\"delivery-btn bg-violet text-white d-block btn-phone-pay ";
  651.                 echo (((isset($context["isBuyCodeDisable"]) || array_key_exists("isBuyCodeDisable"$context) ? $context["isBuyCodeDisable"] : (function () { throw new RuntimeError('Variable "isBuyCodeDisable" does not exist.'290$this->source); })())) ? ("d-none") : (""));
  652.                 echo "\">
  653.                                         ЗАКАЗАТЬ ПО ТЕЛЕФОНУ
  654.                                     </div>
  655.                                 ";
  656.             }
  657.             // line 294
  658.             echo "                                ";
  659.         } else {
  660.             // line 295
  661.             echo "                                    <div class=\"delivery-btn bg-violet text-white my-1 text-uppercase cursor-pointer w-auto\"
  662.                                          id=\"customPageBuyOrder\"> Получить скидку ";
  663.             // line 296
  664.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["offer"]) || array_key_exists("offer"$context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.'296$this->source); })()), "getDiscount", [], "method"falsefalsefalse296), "html"nulltrue);
  665.             echo "
  666.                                     </div>
  667.                                 ";
  668.         }
  669.         // line 299
  670.         echo "                                ";
  671.         if ((array_key_exists("isCertificate"$context) && twig_get_attribute($this->env$this->source, (isset($context["offer"]) || array_key_exists("offer"$context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.'299$this->source); })()), "isFoodOnlineOrderAllowedOnSite", [], "method"falsefalsefalse299))) {
  672.             // line 300
  673.             echo "                                <a href=\"/gift-certificate/select/";
  674.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["offer"]) || array_key_exists("offer"$context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.'300$this->source); })()), "getID", [], "method"falsefalsefalse300), "html"nulltrue);
  675.             echo "\" class=\"d-none delivery-btn my-1 text-uppercase cursor-pointer w-auto certificate-delivery-btn\"> ВЫБРАТЬ СЕРТИФИКАТ
  676.                                 </a>
  677.                                 ";
  678.         } elseif ((twig_get_attribute($this->env$this->source,         // line 302
  679. (isset($context["offer"]) || array_key_exists("offer"$context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.'302$this->source); })()), "isGiftCertificateOnlineOrderAllowedOnSite", [], "method"falsefalsefalse302) && twig_get_attribute($this->env$this->source, (isset($context["offer"]) || array_key_exists("offer"$context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.'302$this->source); })()), "isFoodOnlineOrderAllowedOnSite", [], "method"falsefalsefalse302))) {
  680.             // line 303
  681.             echo "                                    <a href=\"/gift-certificate/select/";
  682.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["offer"]) || array_key_exists("offer"$context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.'303$this->source); })()), "getID", [], "method"falsefalsefalse303), "html"nulltrue);
  683.             echo "\" class=\"delivery-btn my-1 text-uppercase cursor-pointer w-auto certificate-delivery-btn\"> ВЫБРАТЬ СЕРТИФИКАТ
  684.                                     </a>
  685.                                 ";
  686.         }
  687.         // line 306
  688.         echo "                        </div>
  689.                         <div id=\"deliveryBtnWrapperForGift\"
  690.                              class=\"gift-food-delivery-btn-wrapper delivery-btn-wrapper d-none\">
  691.                             ";
  692.         // line 309
  693.         if (( !array_key_exists("isAvailableOnFood"$context) ||  !(isset($context["isAvailableOnFood"]) || array_key_exists("isAvailableOnFood"$context) ? $context["isAvailableOnFood"] : (function () { throw new RuntimeError('Variable "isAvailableOnFood" does not exist.'309$this->source); })()))) {
  694.             // line 310
  695.             echo "                                <button type=\"submit\" class=\"delivery-btn bg-violet text-white d-block disabled my-1\"
  696.                                         id=\"dishSelectFormSubmit\">ЗАКАЗАТЬ СЕБЕ
  697.                                 </button>
  698.                                 <div id=\"btnGiftOrder\" data-toggle=\"modal\" data-target=\"shareFoodForGift\"
  699.                                      class=\"delivery-btn bg-violet text-white d-block w-auto btn-gift-order py-2\">
  700.                                     ЗАКАЗАТЬ В ПОДАРОК<br><span>жене, подруге, родителям, детям </span></div>
  701.                             ";
  702.         }
  703.         // line 317
  704.         echo "                        </div>
  705.                     </div>
  706.                     ";
  707.         // line 319
  708.         if (( !array_key_exists("isAvailableOnFood"$context) ||  !(isset($context["isAvailableOnFood"]) || array_key_exists("isAvailableOnFood"$context) ? $context["isAvailableOnFood"] : (function () { throw new RuntimeError('Variable "isAvailableOnFood" does not exist.'319$this->source); })()))) {
  709.             // line 320
  710.             echo "            </form>
  711.             ";
  712.         } else {
  713.             // line 322
  714.             echo "        </div>
  715.         ";
  716.         }
  717.         // line 324
  718.         echo "    </div>
  719.     </div>
  720.     <input type=\"hidden\" id=\"minSumForFreeDelivery\" value=\"";
  721.         // line 327
  722.         echo twig_escape_filter($this->env, (isset($context["minSumForFreeDelivery"]) || array_key_exists("minSumForFreeDelivery"$context) ? $context["minSumForFreeDelivery"] : (function () { throw new RuntimeError('Variable "minSumForFreeDelivery" does not exist.'327$this->source); })()), "html"nulltrue);
  723.         echo "\">
  724.     <input type=\"hidden\" id=\"minOrderSum\" value=\"";
  725.         // line 328
  726.         echo twig_escape_filter($this->env, (isset($context["minOrderSum"]) || array_key_exists("minOrderSum"$context) ? $context["minOrderSum"] : (function () { throw new RuntimeError('Variable "minOrderSum" does not exist.'328$this->source); })()), "html"nulltrue);
  727.         echo "\">
  728.     ";
  729.         // line 329
  730.         if ((array_key_exists("allowedCodesToBuy"$context) &&  !(null === (isset($context["allowedCodesToBuy"]) || array_key_exists("allowedCodesToBuy"$context) ? $context["allowedCodesToBuy"] : (function () { throw new RuntimeError('Variable "allowedCodesToBuy" does not exist.'329$this->source); })())))) {
  731.             // line 330
  732.             echo "        <input type=\"hidden\" id=\"allowedCodesCountBySubscription\" value=\"";
  733.             echo twig_escape_filter($this->env, (isset($context["allowedCodesToBuy"]) || array_key_exists("allowedCodesToBuy"$context) ? $context["allowedCodesToBuy"] : (function () { throw new RuntimeError('Variable "allowedCodesToBuy" does not exist.'330$this->source); })()), "html"nulltrue);
  734.             echo "\">
  735.         <input type=\"hidden\" id=\"allowedCodesToBuy\" value=\"";
  736.             // line 331
  737.             echo twig_escape_filter($this->env, (isset($context["allowedCodesToBuy"]) || array_key_exists("allowedCodesToBuy"$context) ? $context["allowedCodesToBuy"] : (function () { throw new RuntimeError('Variable "allowedCodesToBuy" does not exist.'331$this->source); })()), "html"nulltrue);
  738.             echo "\">
  739.     ";
  740.         }
  741.         // line 333
  742.         echo "    ";
  743.         if ((array_key_exists("allowedCodesToBuyBatchCodes"$context) &&  !(null === (isset($context["allowedCodesToBuyBatchCodes"]) || array_key_exists("allowedCodesToBuyBatchCodes"$context) ? $context["allowedCodesToBuyBatchCodes"] : (function () { throw new RuntimeError('Variable "allowedCodesToBuyBatchCodes" does not exist.'333$this->source); })())))) {
  744.             // line 334
  745.             echo "        <input type=\"hidden\" id=\"allowedCodesToBuyBatchCodes\" value=\"";
  746.             echo twig_escape_filter($this->env, (isset($context["allowedCodesToBuyBatchCodes"]) || array_key_exists("allowedCodesToBuyBatchCodes"$context) ? $context["allowedCodesToBuyBatchCodes"] : (function () { throw new RuntimeError('Variable "allowedCodesToBuyBatchCodes" does not exist.'334$this->source); })()), "html"nulltrue);
  747.             echo "\">
  748.     ";
  749.         }
  750.         // line 336
  751.         echo "    <div class=\"hidden\">
  752.         <div id=\"deliveryBasketItemTemplate\">
  753.             ";
  754.         // line 338
  755.         $this->loadTemplate("Slivki/delivery/basket_item.html.twig""Slivki/delivery/order.html.twig"338)->display($context);
  756.         // line 339
  757.         echo "        </div>
  758.         <div id=\"deliveryBasketOptionTemplate\">
  759.             ";
  760.         // line 341
  761.         $this->loadTemplate("Slivki/delivery/basket_option_item.html.twig""Slivki/delivery/order.html.twig"341)->display($context);
  762.         // line 342
  763.         echo "        </div>
  764.         <div id=\"deliveryBasketTotalTemplate\">
  765.             <div class=\"delivery-teaser-row mb-3\">
  766.                 <div class=\"col\">
  767.                     <span><span class=\"dish-name\"></span> <small class=\"text-muted dish-discount\"></small></span>
  768.                 </div>
  769.                 <div class=\"col text-right\">
  770.                     <del class=\"text-danger mr-1\"><small class=\"text-muted dish-item-price\"></small></del>
  771.                     <span class=\"sf-bold-font dish-item-offer-price\"></span>
  772.                 </div>
  773.             </div>
  774.         </div>
  775.     </div>
  776.     ";
  777.         // line 355
  778.         $this->displayBlock('footer'$context$blocks);
  779.         
  780.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  781.         
  782.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  783.     }
  784.     public function block_footer($context, array $blocks = [])
  785.     {
  786.         $macros $this->macros;
  787.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  788.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  789.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  790.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  791.         // line 356
  792.         echo "        ";
  793.         $this->loadTemplate("Slivki/footer_for_partner.html.twig""Slivki/delivery/order.html.twig"356)->display($context);
  794.         // line 357
  795.         echo "    ";
  796.         
  797.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  798.         
  799.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  800.     }
  801.     // line 360
  802.     public function block_popups($context, array $blocks = [])
  803.     {
  804.         $macros $this->macros;
  805.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  806.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""popups"));
  807.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  808.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""popups"));
  809.         // line 361
  810.         echo "    ";
  811.         $this->displayParentBlock("popups"$context$blocks);
  812.         echo "
  813.     ";
  814.         // line 362
  815.         $this->loadTemplate("Slivki/delivery/modal/clear_basket_modal.html.twig""Slivki/delivery/order.html.twig"362)->display($context);
  816.         // line 363
  817.         echo "    ";
  818.         $this->loadTemplate("Slivki/delivery/modal/details.html.twig""Slivki/delivery/order.html.twig"363)->display(twig_array_merge($context, ["isOfferPage" => false]));
  819.         // line 364
  820.         echo "    ";
  821.         $this->loadTemplate("Slivki/popups/reviews_delivery_page.html.twig""Slivki/delivery/order.html.twig"364)->display($context);
  822.         // line 365
  823.         echo "    ";
  824.         $this->loadTemplate("Slivki/popups/delivery_page_modal.html.twig""Slivki/delivery/order.html.twig"365)->display($context);
  825.         // line 366
  826.         echo "    ";
  827.         $this->loadTemplate("Slivki/popups/buy_code_phone_offer.html.twig""Slivki/delivery/order.html.twig"366)->display($context);
  828.         // line 367
  829.         echo "    ";
  830.         $this->loadTemplate("Slivki/popups/buy_code_item-offer.html.twig""Slivki/delivery/order.html.twig"367)->display($context);
  831.         // line 368
  832.         echo "    ";
  833.         $this->loadTemplate("Slivki/popups/buy_code_phonenumber_offers.html.twig""Slivki/delivery/order.html.twig"368)->display($context);
  834.         // line 369
  835.         echo "    ";
  836.         $this->loadTemplate("Slivki/popups/buy_code_erip_offers.html.twig""Slivki/delivery/order.html.twig"369)->display($context);
  837.         // line 370
  838.         echo "    ";
  839.         $this->loadTemplate("Slivki/food_court/modal/maps.html.twig""Slivki/delivery/order.html.twig"370)->display($context);
  840.         // line 371
  841.         echo "    ";
  842.         $this->loadTemplate("Slivki/popups/buy_promo_custom.html.twig""Slivki/delivery/order.html.twig"371)->display($context);
  843.         // line 372
  844.         echo "    ";
  845.         $this->loadTemplate("Slivki/popups/share_food_gift_modal_male.html.twig""Slivki/delivery/order.html.twig"372)->display($context);
  846.         // line 373
  847.         echo "    ";
  848.         $this->loadTemplate("Slivki/popups/create_massage_popup.html.twig""Slivki/delivery/order.html.twig"373)->display($context);
  849.         // line 374
  850.         echo "    ";
  851.         $this->loadTemplate("Slivki/popups/share_gift_modal.html.twig""Slivki/delivery/order.html.twig"374)->display($context);
  852.         // line 375
  853.         echo "    ";
  854.         if ((twig_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.'375$this->source); })()), "user", [], "any"falsefalsefalse375) && 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.'375$this->source); })()), "user", [], "any"falsefalsefalse375), "getActiveCreditCards", [], "method"falsefalsefalse375))) {
  855.             // line 376
  856.             echo "        ";
  857.             $this->loadTemplate("Slivki/popups/buy_code_credit_cards.html.twig""Slivki/delivery/order.html.twig"376)->display($context);
  858.             // line 377
  859.             echo "    ";
  860.         }
  861.         // line 378
  862.         echo "    ";
  863.         if ((twig_get_attribute($this->env$this->source, (isset($context["offer"]) || array_key_exists("offer"$context) ? $context["offer"] : (function () { throw new RuntimeError('Variable "offer" does not exist.'378$this->source); })()), "getBrandboxEnabled", [], "method"falsefalsefalse378) &&  !array_key_exists("isCertificate"$context))) {
  864.             // line 379
  865.             echo "        ";
  866.             $this->loadTemplate("Slivki/delivery/modal/brandbox/brandbox_popup.html.twig""Slivki/delivery/order.html.twig"379)->display($context);
  867.             // line 380
  868.             echo "    ";
  869.         }
  870.         
  871.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  872.         
  873.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  874.     }
  875.     // line 383
  876.     public function block_javascripts($context, array $blocks = [])
  877.     {
  878.         $macros $this->macros;
  879.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  880.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  881.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  882.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  883.         // line 384
  884.         echo "    ";
  885.         $this->displayParentBlock("javascripts"$context$blocks);
  886.         echo "
  887.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.8.0/Chart.bundle.min.js\"></script>
  888.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery-toast-plugin/1.3.2/jquery.toast.min.js\" integrity=\"sha512-zlWWyZq71UMApAjih4WkaRpikgY9Bz1oXIW5G0fED4vk14JjGlQ1UmkGM392jEULP8jbNMiwLWdM8Z87Hu88Fw==\"
  889.             crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\"></script>
  890.     <script type=\"module\" src=\"/js/order_page/order_page.js?v=";
  891.         // line 388
  892.         echo twig_escape_filter($this->env, (isset($context["order_page_js_version"]) || array_key_exists("order_page_js_version"$context) ? $context["order_page_js_version"] : (function () { throw new RuntimeError('Variable "order_page_js_version" does not exist.'388$this->source); })()), "html"nulltrue);
  893.         echo "\"></script>
  894.     <script type=\"module\" src=\"/js/order_page/api.js?v=1\"></script>
  895.     <script type=\"module\" src=\"/js/paymentOrderPage/paymentOrderPage.js?v=";
  896.         // line 390
  897.         echo twig_escape_filter($this->env, (isset($context["payment_order_page_js_version"]) || array_key_exists("payment_order_page_js_version"$context) ? $context["payment_order_page_js_version"] : (function () { throw new RuntimeError('Variable "payment_order_page_js_version" does not exist.'390$this->source); })()), "html"nulltrue);
  898.         echo "\"></script>
  899.     <script type=\"module\" src=\"/js/paymentOrderPage/api.js?v=";
  900.         // line 391
  901.         echo twig_escape_filter($this->env, (isset($context["payment_order_page_api_js_version"]) || array_key_exists("payment_order_page_api_js_version"$context) ? $context["payment_order_page_api_js_version"] : (function () { throw new RuntimeError('Variable "payment_order_page_api_js_version" does not exist.'391$this->source); })()), "html"nulltrue);
  902.         echo "\"></script>
  903.     <script src=\"/js/delivery-common.min.js?v=";
  904.         // line 392
  905.         echo twig_escape_filter($this->env, (isset($context["delivery_common_js_version"]) || array_key_exists("delivery_common_js_version"$context) ? $context["delivery_common_js_version"] : (function () { throw new RuntimeError('Variable "delivery_common_js_version" does not exist.'392$this->source); })()), "html"nulltrue);
  906.         echo "\"></script>
  907.     <script src=\"/js/delivery.js?v=";
  908.         // line 393
  909.         echo twig_escape_filter($this->env, (isset($context["delivery_js_version"]) || array_key_exists("delivery_js_version"$context) ? $context["delivery_js_version"] : (function () { throw new RuntimeError('Variable "delivery_js_version" does not exist.'393$this->source); })()), "html"nulltrue);
  910.         echo "\"></script>
  911.     <script src=\"https://unpkg.com/jquery-datetimepicker@2/build/jquery.datetimepicker.full.min.js\"></script>
  912.     <script src=\"//cdn.jsdelivr.net/momentjs/latest/moment.min.js\"></script>
  913.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery.maskedinput/1.4.1/jquery.maskedinput.min.js\"></script>
  914.     <script src=\"/js/offer.js?v=";
  915.         // line 397
  916.         echo twig_escape_filter($this->env, (isset($context["offer_js_version"]) || array_key_exists("offer_js_version"$context) ? $context["offer_js_version"] : (function () { throw new RuntimeError('Variable "offer_js_version" does not exist.'397$this->source); })()), "html"nulltrue);
  917.         echo "\"></script>
  918.     <script type=\"module\" src=\"/js/order_as_gift/main.js?v=";
  919.         // line 398
  920.         echo twig_escape_filter($this->env, (isset($context["order_as_gift_js_version"]) || array_key_exists("order_as_gift_js_version"$context) ? $context["order_as_gift_js_version"] : (function () { throw new RuntimeError('Variable "order_as_gift_js_version" does not exist.'398$this->source); })()), "html"nulltrue);
  921.         echo "\"></script>
  922.     <script src=\"/js/food_has_variant/main.js?v=";
  923.         // line 399
  924.         echo twig_escape_filter($this->env, (isset($context["food_has_variant_js_version"]) || array_key_exists("food_has_variant_js_version"$context) ? $context["food_has_variant_js_version"] : (function () { throw new RuntimeError('Variable "food_has_variant_js_version" does not exist.'399$this->source); })()), "html"nulltrue);
  925.         echo "\"></script>
  926.     ";
  927.         // line 400
  928.         if (twig_get_attribute($this->env$this->sourcetwig_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.'400$this->source); })()), "request", [], "any"falsefalsefalse400), "query", [], "any"falsefalsefalse400), "has", [=> "checkOrder"], "method"falsefalsefalse400)) {
  929.             // line 401
  930.             echo "        <script>
  931.             \$(function () {
  932.                 initCheckOfferOrderStatus(";
  933.             // line 403
  934.             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.'403$this->source); })()), "request", [], "any"falsefalsefalse403), "get", [=> "checkOrder"], "method"falsefalsefalse403), "html"nulltrue);
  935.             echo ");
  936.             });
  937.         </script>
  938.     ";
  939.         }
  940.         
  941.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  942.         
  943.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  944.     }
  945.     public function getTemplateName()
  946.     {
  947.         return "Slivki/delivery/order.html.twig";
  948.     }
  949.     public function isTraitable()
  950.     {
  951.         return false;
  952.     }
  953.     public function getDebugInfo()
  954.     {
  955.         return array (  982 => 403,  978 => 401,  976 => 400,  972 => 399,  968 => 398,  964 => 397,  957 => 393,  953 => 392,  949 => 391,  945 => 390,  940 => 388,  932 => 384,  922 => 383,  911 => 380,  908 => 379,  905 => 378,  902 => 377,  899 => 376,  896 => 375,  893 => 374,  890 => 373,  887 => 372,  884 => 371,  881 => 370,  878 => 369,  875 => 368,  872 => 367,  869 => 366,  866 => 365,  863 => 364,  860 => 363,  858 => 362,  853 => 361,  843 => 360,  833 => 357,  830 => 356,  811 => 355,  796 => 342,  794 => 341,  790 => 339,  788 => 338,  784 => 336,  778 => 334,  775 => 333,  770 => 331,  765 => 330,  763 => 329,  759 => 328,  755 => 327,  750 => 324,  746 => 322,  742 => 320,  740 => 319,  736 => 317,  727 => 310,  725 => 309,  720 => 306,  713 => 303,  711 => 302,  705 => 300,  702 => 299,  696 => 296,  693 => 295,  690 => 294,  682 => 290,  680 => 289,  676 => 287,  673 => 286,  667 => 282,  662 => 279,  659 => 278,  654 => 276,  651 => 275,  648 => 274,  646 => 273,  642 => 271,  599 => 230,  587 => 220,  583 => 218,  578 => 215,  576 => 214,  572 => 212,  566 => 211,  553 => 201,  546 => 199,  537 => 192,  531 => 188,  525 => 184,  521 => 182,  517 => 180,  515 => 179,  512 => 178,  509 => 177,  503 => 173,  499 => 171,  495 => 169,  491 => 167,  489 => 166,  486 => 165,  484 => 164,  477 => 159,  475 => 158,  472 => 157,  466 => 155,  464 => 154,  460 => 153,  454 => 150,  450 => 148,  446 => 146,  440 => 144,  438 => 143,  434 => 141,  430 => 139,  423 => 137,  421 => 136,  418 => 135,  414 => 134,  410 => 132,  408 => 131,  405 => 130,  402 => 129,  387 => 127,  385 => 126,  382 => 125,  379 => 124,  376 => 123,  373 => 122,  370 => 121,  352 => 120,  350 => 119,  347 => 118,  343 => 116,  341 => 115,  338 => 114,  334 => 112,  331 => 111,  327 => 109,  325 => 108,  322 => 107,  319 => 106,  317 => 105,  302 => 95,  296 => 91,  294 => 90,  282 => 80,  280 => 79,  277 => 78,  268 => 71,  258 => 66,  254 => 65,  245 => 59,  241 => 58,  236 => 56,  229 => 52,  223 => 49,  218 => 46,  216 => 45,  207 => 41,  204 => 40,  196 => 38,  194 => 37,  190 => 36,  185 => 33,  181 => 31,  178 => 30,  172 => 28,  169 => 27,  165 => 25,  162 => 24,  158 => 22,  155 => 21,  151 => 19,  148 => 18,  138 => 17,  120 => 15,  102 => 13,  90 => 10,  86 => 9,  82 => 8,  74 => 4,  64 => 3,  41 => 1,);
  956.     }
  957.     public function getSourceContext()
  958.     {
  959.         return new Source("{% extends 'base.html.twig' %}
  960. {% block stylesheets %}
  961.     {{ parent() }}
  962.     <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/jquery-toast-plugin/1.3.2/jquery.toast.min.css\"
  963.           integrity=\"sha512-wJgJNTBBkLit7ymC6vvzM1EcSWeM9mmOu+1USHaRBbHkm6W9EgM0HY27+UtUaprntaYQJF75rc8gjxllKs5OIQ==\"
  964.           crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\"/>
  965.     <link href=\"/css/delivery.min.css?v={{ delivery_css_version }}\" rel=\"stylesheet\" type=\"text/css\"/>
  966.     <link href=\"/css/order_page.min.css?v={{ order_page_css_version }}\" rel=\"stylesheet\" type=\"text/css\"/>
  967.     <link href=\"/css/orderAsGift.min.css?v={{ order_as_gift_css }}\" rel=\"stylesheet\" type=\"text/css\"/>
  968. {% endblock %}
  969. {% block left_sidebar %}{% endblock %}
  970. {% block messenger %}{% endblock %}
  971. {% block content %}
  972.     {% if offer.isWithoutCodes() %}
  973.         <input type=\"hidden\" id=\"isWithoutCodes\">
  974.     {% endif %}
  975.     {% if isFirstSosediPurchase is defined and isFirstSosediPurchase %}
  976.         <input type=\"hidden\" id=\"isFirstSosediPurchase\">
  977.     {% endif %}
  978.     {% if isCertificate is defined and isCertificate %}
  979.         <input id=\"isCertificate\" type=\"hidden\" value=\"\">
  980.     {% endif %}
  981.     {% if director is defined %}
  982.         <input type=\"hidden\" id=\"companyNameOffer\" value=\"{{ director.getName()|e }}\">
  983.     {% endif %}
  984.     {% if isAvailableOnFood is defined and isAvailableOnFood %}
  985.         <input type=\"hidden\" id=\"isAvailableOnFood\" value=\"true\">
  986.     {% endif %}
  987.     <div class=\"delivery-page container sf-font\">
  988.         <div id=\"deliveryContent\" class=\"js-delivery-teasers\">
  989.             <div class=\"breadcrumbs sf-text-font\">
  990.                 <a href=\"{{ base_url }}\">Главная</a>
  991.                 {% if categoryName != null %}
  992.                     <i class=\"fa fa-angle-right\"></i>&nbsp;<a href=\"{{ categoryURL }}\">{{ categoryName }}</a>
  993.                 {% endif %}
  994.                 <i class=\"fa fa-angle-right\"></i>&nbsp;<a
  995.                         href=\"{{ getURL(constant('Slivki\\\\Repository\\\\SeoRepository::RESOURCE_URL_OFFER_DETAILS'), offer.getID()) }}\">{{ offer.getCompanyName() }}</a>
  996.                 <i class=\"fa fa-angle-right\"></i>&nbsp;<a href=\"javascript:;\">Онлайн заказ</a>
  997.             </div>
  998.             <div class=\"clear\"></div>
  999.             {% if isCertificate is defined and isCertificate %}
  1000.                 <div id=\"deliverySupplierCard\" class=\"rounded-14\">
  1001.                     <div class=\"gradient rounded-14\"></div>
  1002.                     <div class=\"card-img rounded-14\">
  1003.                         <img class=\"w-100 rounded-14\" src=\"{{ getImageURL(offer.getTopBlockMedia(), 0, 0) }}\"/>
  1004.                     </div>
  1005.                     <div class=\"delivery-supplier--logo\"
  1006.                          style=\"background-image: url('{{ getImageURL(logoMedia, 0, 0) }}')\"
  1007.                     >
  1008.                     </div>
  1009.                     <div class=\"delivery-supplier--rating\">
  1010.                         <i class=\"slivki-icon-star\">{{ offer.getRating() }}</i>
  1011.                         <span class=\"pl-2\"><i
  1012.                                     class=\"slivki-icon slivki-icon-users\"></i>{{ purchaseCountMonth is defined ? purchaseCountMonth : offer.getUsedCodesCount() }}</span>
  1013.                         <span class=\"pl-2\"><i class=\"slivki-icon-eye\"></i>{{ visitCount }}</span>
  1014.                     </div>
  1015.                     <div class=\"delivery-supplier--text sf-bold-font\"></div>
  1016.                     <div class=\"delivery-supplier--info\">
  1017.                         <i class=\"slivki-icon-info-circled-o\"></i><span>Информация о компании</span>
  1018.                         <div class=\"supplier-info-tooltip arrow-box\">
  1019.                             <div class=\"mb-2 sf-bold-font\">{{ director.getName() }}</div>
  1020.                             <div class=\"text-muted\">{{ director.getLegalEntity() }} УНП {{ director.getTaxID() }}</div>
  1021.                         </div>
  1022.                     </div>
  1023.                 </div>
  1024.             {% else %}
  1025.                 <div class=\"py-2 px-0 sf-font\">
  1026.                     <div class=\"brand-block\">
  1027.                         <div id=\"mapOrderPage\" class=\"d-none\" style=\"height: 210px;\" data-toggle=\"modal\"
  1028.                              data-target=\"#mapsModal\"></div>
  1029.                     </div>
  1030.                 </div>
  1031.             {% endif %}
  1032.             {% if isCertificate is not defined or not isCertificate %}
  1033.                 <div id=\"fixedFiltersOffer\" class=\"w-auto px-2 d-flex\"
  1034.                      style=\"position: relative;background: linear-gradient(180deg, #A839FF 0%, #6747e5 100%), #6747E5;border-radius: 8px;\">
  1035.                     <div class=\"col d-flex align-items-center text-white justify-content-end px-0\">
  1036.                         <p class=\"col mb-0 px-0 text-filter-tittle\">⚡️ Используй супер-фильтр</p>
  1037.                         <div class=\"position-relative ordder-page-filter-block\">
  1038.                             <div class=\"ordder-page-filter py-1 mx-2\">
  1039.                                 <f class=\"text-filter\">Сравни 🔥</f>
  1040.                             </div>
  1041.                             <div class=\"filter-items-block filter-items px-2 py-2\" style=\"display: none\">
  1042.                                 <div class=\"filter-items-wrapper\">
  1043.                                     {% include 'Slivki/online_order/_online_order_sort.html.twig' %}
  1044.                                 </div>
  1045.                             </div>
  1046.                         </div>
  1047.                     </div>
  1048.                     <div class=\"switch-delivery-pickup-block px-0 {% if not offer.getBrandboxEnabled() %}d-none{% endif %}\">
  1049.                         <a class=\"switch-delivery-pickup-item button-tab-delivery delivery-type active\">
  1050.                             <p>Доставка</p>
  1051.                             <small>удобно👌</small>
  1052.                         </a>
  1053.                         <a class=\"switch-delivery-pickup-item pickup-type button-tab-pickup\">
  1054.                             <p> Самовывоз</p>
  1055.                             <small>еще дешевле🔥</small>
  1056.                         </a>
  1057.                     </div>
  1058.                     {% if isCertificate is not defined %}
  1059.                         {% if pickupEnabled %}
  1060.                             <input id=\"deliveryTypeOffers\" type=\"hidden\" value=\"2\">
  1061.                         {% elseif deliveryEnabled %}
  1062.                             <input id=\"deliveryTypeOffers\" type=\"hidden\" value=\"1\">
  1063.                         {% endif %}
  1064.                     {% endif %}
  1065.                 </div>
  1066.             {% else %}
  1067.                 <div class=\"d-flex mt-3\" style=\"justify-content: flex-end\">
  1068.                     {% include 'Slivki/delivery/_delivery_sort_filter.html.twig' %}
  1069.                 </div>
  1070.             {% endif %}
  1071.             <div id=\"listProducts\" class=\"delivery-teaser-row delivery-teasers-block\">
  1072.                 {% if isCertificate is defined and isCertificate %}
  1073.                     {% for dish in dishes %}
  1074.                         {% set teaserView = 'Slivki/delivery/delivery_teaser.html.twig' %}
  1075.                         {% if dish.isPizza is defined and dish.isPizza %}
  1076.                             {% set teaserView = 'Slivki/delivery/delivery_teaser_pizza.html.twig' %}
  1077.                         {% endif %}
  1078.                         <div class=\"col-4\">
  1079.                             {% include teaserView with {'isTop': dish.id in topDishIDList, 'isAvailableOnFood': isAvailableOnFood is defined and isAvailableOnFood} %}
  1080.                         </div>
  1081.                     {% endfor %}
  1082.                 {% endif %}
  1083.             </div>
  1084.             {% if options|length > 0 and showDelivery %}
  1085.                 <div id=\"dataMenu_options\" class=\"mb-2 pl-2 font-size-1250 sf-bold-font\">Дополнительные товары:</div>
  1086.                 <div class=\"delivery-teaser-row delivery-teasers-block\">
  1087.                     {% for option in options %}
  1088.                         <div class=\"col-4\">
  1089.                             {% include 'Slivki/delivery/delivery_teaser.html.twig' with {'dish': option, 'isOption': true} only %}
  1090.                         </div>
  1091.                     {% endfor %}
  1092.                 </div>
  1093.             {% endif %}
  1094.         </div>
  1095.         <div id=\"deliverySidebar\">
  1096.             {% if isAvailableOnFood is not defined or not isAvailableOnFood %}
  1097.             <form method=\"post\" action=\"{{ formAction }}\" id=\"dishSelectForm\">
  1098.                 {% else %}
  1099.                 <div id=\"dishSelectForm\">
  1100.                     {% endif %}
  1101.                     <input type=\"hidden\" id=\"pickupDeliveryType\" name=\"pickupDeliveryType\" value=\"\"/>
  1102.                     <input type=\"hidden\" id=\"deliveryBasketInput\" name=\"basket\" value=\"\"/>
  1103.                     <input id=\"offerID\" type=\"hidden\" name=\"offerID\" value=\"{{ offer.getID() }}\"/>
  1104.                     <input type=\"hidden\" id=\"dishSortBy\" name=\"dishSortBy\" value=\"\"/>
  1105.                     <input type=\"hidden\" id=\"isDominos\" name=\"isDominos\"
  1106.                            value=\"{{ (isDominos is defined and isDominos) ? '1' : '0' }}\">
  1107.                     {% if deliveryPrice is defined %}
  1108.                         <input type=\"hidden\" id=\"deliveryPrice\" name=\"deliveryPrice\" value=\"{{ deliveryPrice }}\"/>
  1109.                     {% endif %}
  1110.                     <div id=\"deliverySidebarContent\">
  1111.                         {% if isAvailableOnFood is not defined or not isAvailableOnFood %}
  1112.                             <div>
  1113.                                 <p class=\"basket-tittle\">Ваш заказ</p>
  1114.                             </div>
  1115.                             <div id=\"deliveryEmpty\">
  1116.                                 <div class=\"d-flex flex-column justify-content-center align-items-center text-center\">
  1117.                                     {% if isCertificate is not defined or not isCertificate or offer.getID() == 283384 %}
  1118.                                         <div class=\"delivery-empty-logo\">
  1119.                                             {% if offer.hasCategory(constant('Slivki\\\\Repository\\\\SeoRepository::FLOWERS_CATEGORY_ID')) %}
  1120.                                                 <img height=\"119\" class=\"mx-auto\" src=\"/images/basketFlowers.png\" alt=\"\">
  1121.                                             {% else %}
  1122.                                                 <img height=\"119\" class=\"mx-auto\" src=\"/images/sideBarEda.gif\" alt=\"\">
  1123.                                             {% endif %}
  1124.                                         </div>
  1125.                                     {% else %}
  1126.                                         <div class=\"delivery-empty-logo\">
  1127.                                             <img height=\"119\" class=\"mx-auto\" src=\"/images/sertificate.gif\" alt=\"\">
  1128.                                         </div>
  1129.                                     {% endif %}
  1130.                                     {% if isCertificate is not defined or not isCertificate %}
  1131.                                         <p class=\"font-size-1125 delivery-empty-text\">Выберите
  1132.                                             {% if offer.hasCategory(constant('Slivki\\\\Repository\\\\SeoRepository::FLOWERS_CATEGORY_ID')) %}
  1133.                                                 товары
  1134.                                             {% else %}
  1135.                                                 блюда
  1136.                                             {% endif %}
  1137.                                             <br> и добавьте их к
  1138.                                             заказу
  1139.                                         </p>
  1140.                                     {% else %}
  1141.                                         <p class=\"font-size-1125 delivery-empty-text\">Выберите услуги<br> и добавьте их
  1142.                                             к заказу
  1143.                                         </p>
  1144.                                     {% endif %}
  1145.                                 </div>
  1146.                             </div>
  1147.                             <div id=\"deliveryBasketWrapper\" style=\"display: none;\">
  1148.                                 <a href=\"#\" id=\"clearBasketBtn\" data-toggle=\"modal\"
  1149.                                    data-target=\"#confirmBasketClearModal\">
  1150.                                     <img width=\"16\" height=\"16\" class=\"mx-1\" src=\"/images/order_page/basket-icon.svg\"/>
  1151.                                     Очистить</a>
  1152.                                 <div id=\"deliverySidebarScroll\" {% if  isCertificate is not defined or not isCertificate %} class=\"height-74\" {% endif %}>
  1153.                                     <div id=\"deliveryBasketTop\" class=\"js-basket-modal\"></div>
  1154.                                     <div class=\"d-none options-tittle sf-bold-font font-size-1000 mb-3 {{ not showDelivery ? 'd-none' }}\">
  1155.                                         <strong>Дополнительные товары:</strong>
  1156.                                     </div>
  1157.                                     <div id=\"deliveryBasketOptions\"></div>
  1158.                                     <div class=\"delivery-basket-total font-size-1000 d-none\">
  1159.                                         <div id=\"deliveryTotalDishes\"></div>
  1160.                                         <div id=\"deliveryTotalOptions\"></div>
  1161.                                         <span id=\"codeCost\" data-price=\"0\"></span>
  1162.                                     </div>
  1163.                                 </div>
  1164.                                 <div id=\"deliverySidebarTotal\" {% if isCertificate is not defined or not isCertificate %} class=\"{{ isBuyCodeDisable ?  ''  : 'bottom-basket-offers' }}\" {% endif %}
  1165.                                      style=\"display: none;\">
  1166.                                     <div class=\"delivery-teaser-row font-size-1250\">
  1167.                                         {% if isBuyOnlyCodeResponse is defined and isBuyOnlyCodeResponse %}
  1168.                                             <div class=\"col-auto basket-tittle font-size-0900 mb-0\">К оплате на кассе:
  1169.                                             </div>
  1170.                                         {% else %}
  1171.                                             <div class=\"col-auto basket-tittle mb-0\">Итого:</div>
  1172.                                         {% endif %}
  1173.                                         <div class=\"col text-right\">
  1174.                                             <del class=\"mr-1\" style=\"text-decoration: none;\"><span
  1175.                                                         id=\"deliveryTotalPrice\"></span></del>
  1176.                                             <span class=\"sf-bold-font\" id=\"deliveryTotalOfferPrice\"></span>
  1177.                                         </div>
  1178.                                     </div>
  1179.                                 </div>
  1180.                             </div>
  1181.                         {% else %}
  1182.                             <div id=\"customFoodBasket\">
  1183.                                 <div id=\"customFoodBasketConditions\">
  1184.                                     <p class=\"tittle-basket-custom-food\">Условия заказа</p>
  1185.                                     <div class=\"offer-conditions\"></div>
  1186.                                 </div>
  1187.                                 <div id=\"customFoodBasketPayMethods\" class=\"col\" style=\"display: none\">
  1188.                                     <span id=\"unitPrice\" style=\"display: none;\">2.10</span>
  1189.                                     <div class=\"custom-promo-info\">
  1190.                                         <div class=\"custom-promo-block\">
  1191.                                             <p class=\"sf-bold-font text-uppercase text-center my-3\">Для заказа по
  1192.                                                 телефону<br>
  1193.                                                 оплатите промокод <br>на скидку</p>
  1194.                                         </div>
  1195.                                         <div class=\"d-flex col justify-content-center my-2\">
  1196.                                             <div class=\"payment-sum-block mb-3\">
  1197.                                                 <div class=\"unit-wrapp\">
  1198.                                                     <div class=\"minusUnit\" onclick=\"minus()\">
  1199.                                                         <img class=\"delivery-dec-quantity-img\" width=\"14\" height=\"14\"
  1200.                                                              src=\"/images/order_page/dec.svg\">
  1201.                                                     </div>
  1202.                                                     <span id=\"units\" class=\"js-units-header-popup-custom\"> 1 </span>
  1203.                                                     <div class=\"plusUnit\" onclick=\"plus()\">
  1204.                                                         <img width=\"14\" height=\"14\" src=\"/images/order_page/inc.svg\">
  1205.                                                     </div>
  1206.                                                 </div>
  1207.                                             </div>
  1208.                                         </div>
  1209.                                         <div class=\"align-self-center\">
  1210.                                             <p class=\"font-size-0750 mb-4 sf-font text-center\"><strong
  1211.                                                         class=\"font-size-10625 font-800\">
  1212.                                                     к оплате <span class=\"confirm-box-total mr-1\">2,10</span>р</strong>
  1213.                                             </p>
  1214.                                         </div>
  1215.                                     </div>
  1216.                                     <p class=\"my-2 sf-font font-size-1000 text-center\">Выберите способ оплаты:</p>
  1217.                                     <div id=\"paymentMethodsCustom\"></div>
  1218.                                 </div>
  1219.                             </div>
  1220.                         {% endif %}
  1221.                         <div id=\"deliveryBtnWrapperWithoutGift\" class=\"delivery-btn-wrapper\">
  1222.                             {% if isAvailableOnFood is not defined or not isAvailableOnFood %}
  1223.                             {% if isBuyOnlyCodeResponse is defined and isBuyOnlyCodeResponse %}
  1224.                             <button type=\"submit\" class=\"delivery-btn bg-violet text-white d-block disabled my-1\"
  1225.                                     id=\"dishSelectFormSubmit\">ПОЛУЧИТЬ ПРОМОКОД {{ offer.getDiscount() }}
  1226.                                 {% else %}
  1227.                                 {% if isCertificate is defined %}
  1228.                                 <button type=\"submit\" class=\"delivery-btn bg-violet text-white d-block disabled my-1\"
  1229.                                         id=\"dishSelectFormSubmit\">ОФОРМИТЬ СЕРТИФИКАТ
  1230.                                     {% else %}
  1231.                                     <button type=\"submit\"
  1232.                                             class=\"delivery-btn bg-violet text-white d-block disabled my-1\"
  1233.                                             id=\"dishSelectFormSubmit\">ЗАКАЗАТЬ ОНЛАЙН
  1234.                                         {% endif %}
  1235.                                         {% endif %}
  1236.                                     </button>
  1237.                                 {% if  isCertificate is not defined or not isCertificate %}
  1238.                                     <div class=\"delivery-btn bg-violet text-white d-block btn-phone-pay {{ isBuyCodeDisable ? 'd-none' : '' }}\">
  1239.                                         ЗАКАЗАТЬ ПО ТЕЛЕФОНУ
  1240.                                     </div>
  1241.                                 {% endif %}
  1242.                                 {% else %}
  1243.                                     <div class=\"delivery-btn bg-violet text-white my-1 text-uppercase cursor-pointer w-auto\"
  1244.                                          id=\"customPageBuyOrder\"> Получить скидку {{ offer.getDiscount() }}
  1245.                                     </div>
  1246.                                 {% endif %}
  1247.                                 {% if isCertificate is defined and offer.isFoodOnlineOrderAllowedOnSite() %}
  1248.                                 <a href=\"/gift-certificate/select/{{ offer.getID() }}\" class=\"d-none delivery-btn my-1 text-uppercase cursor-pointer w-auto certificate-delivery-btn\"> ВЫБРАТЬ СЕРТИФИКАТ
  1249.                                 </a>
  1250.                                 {% elseif offer.isGiftCertificateOnlineOrderAllowedOnSite() and offer.isFoodOnlineOrderAllowedOnSite() %}
  1251.                                     <a href=\"/gift-certificate/select/{{ offer.getID() }}\" class=\"delivery-btn my-1 text-uppercase cursor-pointer w-auto certificate-delivery-btn\"> ВЫБРАТЬ СЕРТИФИКАТ
  1252.                                     </a>
  1253.                                 {% endif %}
  1254.                         </div>
  1255.                         <div id=\"deliveryBtnWrapperForGift\"
  1256.                              class=\"gift-food-delivery-btn-wrapper delivery-btn-wrapper d-none\">
  1257.                             {% if isAvailableOnFood is not defined or not isAvailableOnFood %}
  1258.                                 <button type=\"submit\" class=\"delivery-btn bg-violet text-white d-block disabled my-1\"
  1259.                                         id=\"dishSelectFormSubmit\">ЗАКАЗАТЬ СЕБЕ
  1260.                                 </button>
  1261.                                 <div id=\"btnGiftOrder\" data-toggle=\"modal\" data-target=\"shareFoodForGift\"
  1262.                                      class=\"delivery-btn bg-violet text-white d-block w-auto btn-gift-order py-2\">
  1263.                                     ЗАКАЗАТЬ В ПОДАРОК<br><span>жене, подруге, родителям, детям </span></div>
  1264.                             {% endif %}
  1265.                         </div>
  1266.                     </div>
  1267.                     {% if isAvailableOnFood is not defined or not isAvailableOnFood %}
  1268.             </form>
  1269.             {% else %}
  1270.         </div>
  1271.         {% endif %}
  1272.     </div>
  1273.     </div>
  1274.     <input type=\"hidden\" id=\"minSumForFreeDelivery\" value=\"{{ minSumForFreeDelivery }}\">
  1275.     <input type=\"hidden\" id=\"minOrderSum\" value=\"{{ minOrderSum }}\">
  1276.     {% if allowedCodesToBuy is defined and allowedCodesToBuy is not null %}
  1277.         <input type=\"hidden\" id=\"allowedCodesCountBySubscription\" value=\"{{ allowedCodesToBuy }}\">
  1278.         <input type=\"hidden\" id=\"allowedCodesToBuy\" value=\"{{ allowedCodesToBuy }}\">
  1279.     {% endif %}
  1280.     {% if allowedCodesToBuyBatchCodes is defined and allowedCodesToBuyBatchCodes is not null %}
  1281.         <input type=\"hidden\" id=\"allowedCodesToBuyBatchCodes\" value=\"{{ allowedCodesToBuyBatchCodes }}\">
  1282.     {% endif %}
  1283.     <div class=\"hidden\">
  1284.         <div id=\"deliveryBasketItemTemplate\">
  1285.             {% include 'Slivki/delivery/basket_item.html.twig' %}
  1286.         </div>
  1287.         <div id=\"deliveryBasketOptionTemplate\">
  1288.             {% include 'Slivki/delivery/basket_option_item.html.twig' %}
  1289.         </div>
  1290.         <div id=\"deliveryBasketTotalTemplate\">
  1291.             <div class=\"delivery-teaser-row mb-3\">
  1292.                 <div class=\"col\">
  1293.                     <span><span class=\"dish-name\"></span> <small class=\"text-muted dish-discount\"></small></span>
  1294.                 </div>
  1295.                 <div class=\"col text-right\">
  1296.                     <del class=\"text-danger mr-1\"><small class=\"text-muted dish-item-price\"></small></del>
  1297.                     <span class=\"sf-bold-font dish-item-offer-price\"></span>
  1298.                 </div>
  1299.             </div>
  1300.         </div>
  1301.     </div>
  1302.     {% block footer %}
  1303.         {% include 'Slivki/footer_for_partner.html.twig' %}
  1304.     {% endblock %}
  1305. {% endblock %}
  1306. {% block popups %}
  1307.     {{ parent() }}
  1308.     {% include 'Slivki/delivery/modal/clear_basket_modal.html.twig' %}
  1309.     {% include 'Slivki/delivery/modal/details.html.twig' with {'isOfferPage': false}  %}
  1310.     {% include 'Slivki/popups/reviews_delivery_page.html.twig' %}
  1311.     {% include 'Slivki/popups/delivery_page_modal.html.twig' %}
  1312.     {% include 'Slivki/popups/buy_code_phone_offer.html.twig' %}
  1313.     {% include 'Slivki/popups/buy_code_item-offer.html.twig' %}
  1314.     {% include 'Slivki/popups/buy_code_phonenumber_offers.html.twig' %}
  1315.     {% include 'Slivki/popups/buy_code_erip_offers.html.twig' %}
  1316.     {% include 'Slivki/food_court/modal/maps.html.twig' %}
  1317.     {% include 'Slivki/popups/buy_promo_custom.html.twig' %}
  1318.     {% include 'Slivki/popups/share_food_gift_modal_male.html.twig' %}
  1319.     {% include 'Slivki/popups/create_massage_popup.html.twig' %}
  1320.     {% include 'Slivki/popups/share_gift_modal.html.twig' %}
  1321.     {% if app.user and app.user.getActiveCreditCards() %}
  1322.         {% include 'Slivki/popups/buy_code_credit_cards.html.twig' %}
  1323.     {% endif %}
  1324.     {% if offer.getBrandboxEnabled() and isCertificate is not defined %}
  1325.         {% include 'Slivki/delivery/modal/brandbox/brandbox_popup.html.twig' %}
  1326.     {% endif %}
  1327. {% endblock %}
  1328. {% block javascripts %}
  1329.     {{ parent() }}
  1330.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.8.0/Chart.bundle.min.js\"></script>
  1331.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery-toast-plugin/1.3.2/jquery.toast.min.js\" integrity=\"sha512-zlWWyZq71UMApAjih4WkaRpikgY9Bz1oXIW5G0fED4vk14JjGlQ1UmkGM392jEULP8jbNMiwLWdM8Z87Hu88Fw==\"
  1332.             crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\"></script>
  1333.     <script type=\"module\" src=\"/js/order_page/order_page.js?v={{ order_page_js_version }}\"></script>
  1334.     <script type=\"module\" src=\"/js/order_page/api.js?v=1\"></script>
  1335.     <script type=\"module\" src=\"/js/paymentOrderPage/paymentOrderPage.js?v={{ payment_order_page_js_version }}\"></script>
  1336.     <script type=\"module\" src=\"/js/paymentOrderPage/api.js?v={{ payment_order_page_api_js_version }}\"></script>
  1337.     <script src=\"/js/delivery-common.min.js?v={{ delivery_common_js_version }}\"></script>
  1338.     <script src=\"/js/delivery.js?v={{ delivery_js_version }}\"></script>
  1339.     <script src=\"https://unpkg.com/jquery-datetimepicker@2/build/jquery.datetimepicker.full.min.js\"></script>
  1340.     <script src=\"//cdn.jsdelivr.net/momentjs/latest/moment.min.js\"></script>
  1341.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery.maskedinput/1.4.1/jquery.maskedinput.min.js\"></script>
  1342.     <script src=\"/js/offer.js?v={{ offer_js_version }}\"></script>
  1343.     <script type=\"module\" src=\"/js/order_as_gift/main.js?v={{ order_as_gift_js_version }}\"></script>
  1344.     <script src=\"/js/food_has_variant/main.js?v={{ food_has_variant_js_version }}\"></script>
  1345.     {% if app.request.query.has('checkOrder') %}
  1346.         <script>
  1347.             \$(function () {
  1348.                 initCheckOfferOrderStatus({{ app.request.get('checkOrder') }});
  1349.             });
  1350.         </script>
  1351.     {% endif %}
  1352. {% endblock %}""Slivki/delivery/order.html.twig""/mnt/data/virtwww/slivki/templates/Slivki/delivery/order.html.twig");
  1353.     }
  1354. }