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\">";
  601.             // line 261
  602.             echo twig_escape_filter($this->env, (isset($context["codeCost"]) || array_key_exists("codeCost"$context) ? $context["codeCost"] : (function () { throw new RuntimeError('Variable "codeCost" does not exist.'261$this->source); })()), "html"nulltrue);
  603.             echo "</span>р</strong>
  604.                                             </p>
  605.                                         </div>
  606.                                     </div>
  607.                                     <p class=\"my-2 sf-font font-size-1000 text-center\">Выберите способ оплаты:</p>
  608.                                     <div id=\"paymentMethodsCustom\"></div>
  609.                                 </div>
  610.                             </div>
  611.                         ";
  612.         }
  613.         // line 271
  614.         echo "
  615.                         <div id=\"deliveryBtnWrapperWithoutGift\" class=\"delivery-btn-wrapper\">
  616.                             ";
  617.         // line 273
  618.         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); })()))) {
  619.             // line 274
  620.             echo "                            ";
  621.             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); })()))) {
  622.                 // line 275
  623.                 echo "                            <button type=\"submit\" class=\"delivery-btn bg-violet text-white d-block disabled my-1\"
  624.                                     id=\"dishSelectFormSubmit\">ПОЛУЧИТЬ ПРОМОКОД ";
  625.                 // line 276
  626.                 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);
  627.                 echo "
  628.                                 ";
  629.             } else {
  630.                 // line 278
  631.                 echo "                                ";
  632.                 if (array_key_exists("isCertificate"$context)) {
  633.                     // line 279
  634.                     echo "                                <button type=\"submit\" class=\"delivery-btn bg-violet text-white d-block disabled my-1\"
  635.                                         id=\"dishSelectFormSubmit\">ОФОРМИТЬ СЕРТИФИКАТ
  636.                                     ";
  637.                 } else {
  638.                     // line 282
  639.                     echo "                                    <button type=\"submit\"
  640.                                             class=\"delivery-btn bg-violet text-white d-block disabled my-1\"
  641.                                             id=\"dishSelectFormSubmit\">ЗАКАЗАТЬ ОНЛАЙН
  642.                                         ";
  643.                 }
  644.                 // line 286
  645.                 echo "                                        ";
  646.             }
  647.             // line 287
  648.             echo "                                    </button>
  649.                                 ";
  650.             // line 289
  651.             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); })()))) {
  652.                 // line 290
  653.                 echo "                                    <div class=\"delivery-btn bg-violet text-white d-block btn-phone-pay ";
  654.                 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") : (""));
  655.                 echo "\">
  656.                                         ЗАКАЗАТЬ ПО ТЕЛЕФОНУ
  657.                                     </div>
  658.                                 ";
  659.             }
  660.             // line 294
  661.             echo "                                ";
  662.         } else {
  663.             // line 295
  664.             echo "                                    <div class=\"delivery-btn bg-violet text-white my-1 text-uppercase cursor-pointer w-auto\"
  665.                                          id=\"customPageBuyOrder\"> Получить скидку ";
  666.             // line 296
  667.             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);
  668.             echo "
  669.                                     </div>
  670.                                 ";
  671.         }
  672.         // line 299
  673.         echo "                                ";
  674.         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))) {
  675.             // line 300
  676.             echo "                                <a href=\"/gift-certificate/select/";
  677.             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);
  678.             echo "\" class=\"d-none delivery-btn my-1 text-uppercase cursor-pointer w-auto certificate-delivery-btn\"> ВЫБРАТЬ СЕРТИФИКАТ
  679.                                 </a>
  680.                                 ";
  681.         } elseif ((twig_get_attribute($this->env$this->source,         // line 302
  682. (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))) {
  683.             // line 303
  684.             echo "                                    <a href=\"/gift-certificate/select/";
  685.             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);
  686.             echo "\" class=\"delivery-btn my-1 text-uppercase cursor-pointer w-auto certificate-delivery-btn\"> ВЫБРАТЬ СЕРТИФИКАТ
  687.                                     </a>
  688.                                 ";
  689.         }
  690.         // line 306
  691.         echo "                        </div>
  692.                         <div id=\"deliveryBtnWrapperForGift\"
  693.                              class=\"gift-food-delivery-btn-wrapper delivery-btn-wrapper d-none\">
  694.                             ";
  695.         // line 309
  696.         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); })()))) {
  697.             // line 310
  698.             echo "                                <button type=\"submit\" class=\"delivery-btn bg-violet text-white d-block disabled my-1\"
  699.                                         id=\"dishSelectFormSubmit\">ЗАКАЗАТЬ СЕБЕ
  700.                                 </button>
  701.                                 <div id=\"btnGiftOrder\" data-toggle=\"modal\" data-target=\"shareFoodForGift\"
  702.                                      class=\"delivery-btn bg-violet text-white d-block w-auto btn-gift-order py-2\">
  703.                                     ЗАКАЗАТЬ В ПОДАРОК<br><span>жене, подруге, родителям, детям </span></div>
  704.                             ";
  705.         }
  706.         // line 317
  707.         echo "                        </div>
  708.                     </div>
  709.                     ";
  710.         // line 319
  711.         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); })()))) {
  712.             // line 320
  713.             echo "            </form>
  714.             ";
  715.         } else {
  716.             // line 322
  717.             echo "        </div>
  718.         ";
  719.         }
  720.         // line 324
  721.         echo "    </div>
  722.     </div>
  723.     <input type=\"hidden\" id=\"minSumForFreeDelivery\" value=\"";
  724.         // line 327
  725.         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);
  726.         echo "\">
  727.     <input type=\"hidden\" id=\"minOrderSum\" value=\"";
  728.         // line 328
  729.         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);
  730.         echo "\">
  731.     ";
  732.         // line 329
  733.         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); })())))) {
  734.             // line 330
  735.             echo "        <input type=\"hidden\" id=\"allowedCodesCountBySubscription\" value=\"";
  736.             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);
  737.             echo "\">
  738.         <input type=\"hidden\" id=\"allowedCodesToBuy\" value=\"";
  739.             // line 331
  740.             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);
  741.             echo "\">
  742.     ";
  743.         }
  744.         // line 333
  745.         echo "    ";
  746.         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); })())))) {
  747.             // line 334
  748.             echo "        <input type=\"hidden\" id=\"allowedCodesToBuyBatchCodes\" value=\"";
  749.             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);
  750.             echo "\">
  751.     ";
  752.         }
  753.         // line 336
  754.         echo "    <div class=\"hidden\">
  755.         <div id=\"deliveryBasketItemTemplate\">
  756.             ";
  757.         // line 338
  758.         $this->loadTemplate("Slivki/delivery/basket_item.html.twig""Slivki/delivery/order.html.twig"338)->display($context);
  759.         // line 339
  760.         echo "        </div>
  761.         <div id=\"deliveryBasketOptionTemplate\">
  762.             ";
  763.         // line 341
  764.         $this->loadTemplate("Slivki/delivery/basket_option_item.html.twig""Slivki/delivery/order.html.twig"341)->display($context);
  765.         // line 342
  766.         echo "        </div>
  767.         <div id=\"deliveryBasketTotalTemplate\">
  768.             <div class=\"delivery-teaser-row mb-3\">
  769.                 <div class=\"col\">
  770.                     <span><span class=\"dish-name\"></span> <small class=\"text-muted dish-discount\"></small></span>
  771.                 </div>
  772.                 <div class=\"col text-right\">
  773.                     <del class=\"text-danger mr-1\"><small class=\"text-muted dish-item-price\"></small></del>
  774.                     <span class=\"sf-bold-font dish-item-offer-price\"></span>
  775.                 </div>
  776.             </div>
  777.         </div>
  778.     </div>
  779.     ";
  780.         // line 355
  781.         $this->displayBlock('footer'$context$blocks);
  782.         
  783.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  784.         
  785.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  786.     }
  787.     public function block_footer($context, array $blocks = [])
  788.     {
  789.         $macros $this->macros;
  790.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  791.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  792.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  793.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  794.         // line 356
  795.         echo "        ";
  796.         $this->loadTemplate("Slivki/footer_for_partner.html.twig""Slivki/delivery/order.html.twig"356)->display($context);
  797.         // line 357
  798.         echo "    ";
  799.         
  800.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  801.         
  802.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  803.     }
  804.     // line 360
  805.     public function block_popups($context, array $blocks = [])
  806.     {
  807.         $macros $this->macros;
  808.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  809.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""popups"));
  810.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  811.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""popups"));
  812.         // line 361
  813.         echo "    ";
  814.         $this->displayParentBlock("popups"$context$blocks);
  815.         echo "
  816.     ";
  817.         // line 362
  818.         $this->loadTemplate("Slivki/delivery/modal/clear_basket_modal.html.twig""Slivki/delivery/order.html.twig"362)->display($context);
  819.         // line 363
  820.         echo "    ";
  821.         $this->loadTemplate("Slivki/delivery/modal/details.html.twig""Slivki/delivery/order.html.twig"363)->display(twig_array_merge($context, ["isOfferPage" => false]));
  822.         // line 364
  823.         echo "    ";
  824.         $this->loadTemplate("Slivki/popups/reviews_delivery_page.html.twig""Slivki/delivery/order.html.twig"364)->display($context);
  825.         // line 365
  826.         echo "    ";
  827.         $this->loadTemplate("Slivki/popups/delivery_page_modal.html.twig""Slivki/delivery/order.html.twig"365)->display($context);
  828.         // line 366
  829.         echo "    ";
  830.         $this->loadTemplate("Slivki/popups/buy_code_phone_offer.html.twig""Slivki/delivery/order.html.twig"366)->display($context);
  831.         // line 367
  832.         echo "    ";
  833.         $this->loadTemplate("Slivki/popups/buy_code_item-offer.html.twig""Slivki/delivery/order.html.twig"367)->display($context);
  834.         // line 368
  835.         echo "    ";
  836.         $this->loadTemplate("Slivki/popups/buy_code_phonenumber_offers.html.twig""Slivki/delivery/order.html.twig"368)->display($context);
  837.         // line 369
  838.         echo "    ";
  839.         $this->loadTemplate("Slivki/popups/buy_code_erip_offers.html.twig""Slivki/delivery/order.html.twig"369)->display($context);
  840.         // line 370
  841.         echo "    ";
  842.         $this->loadTemplate("Slivki/food_court/modal/maps.html.twig""Slivki/delivery/order.html.twig"370)->display($context);
  843.         // line 371
  844.         echo "    ";
  845.         $this->loadTemplate("Slivki/popups/buy_promo_custom.html.twig""Slivki/delivery/order.html.twig"371)->display($context);
  846.         // line 372
  847.         echo "    ";
  848.         $this->loadTemplate("Slivki/popups/share_food_gift_modal_male.html.twig""Slivki/delivery/order.html.twig"372)->display($context);
  849.         // line 373
  850.         echo "    ";
  851.         $this->loadTemplate("Slivki/popups/create_massage_popup.html.twig""Slivki/delivery/order.html.twig"373)->display($context);
  852.         // line 374
  853.         echo "    ";
  854.         $this->loadTemplate("Slivki/popups/share_gift_modal.html.twig""Slivki/delivery/order.html.twig"374)->display($context);
  855.         // line 375
  856.         echo "    ";
  857.         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))) {
  858.             // line 376
  859.             echo "        ";
  860.             $this->loadTemplate("Slivki/popups/buy_code_credit_cards.html.twig""Slivki/delivery/order.html.twig"376)->display($context);
  861.             // line 377
  862.             echo "    ";
  863.         }
  864.         // line 378
  865.         echo "    ";
  866.         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))) {
  867.             // line 379
  868.             echo "        ";
  869.             $this->loadTemplate("Slivki/delivery/modal/brandbox/brandbox_popup.html.twig""Slivki/delivery/order.html.twig"379)->display($context);
  870.             // line 380
  871.             echo "    ";
  872.         }
  873.         
  874.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  875.         
  876.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  877.     }
  878.     // line 383
  879.     public function block_javascripts($context, array $blocks = [])
  880.     {
  881.         $macros $this->macros;
  882.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  883.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  884.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  885.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  886.         // line 384
  887.         echo "    ";
  888.         $this->displayParentBlock("javascripts"$context$blocks);
  889.         echo "
  890.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.8.0/Chart.bundle.min.js\"></script>
  891.     <script src=\"/js/jquery.toast.min.js\" integrity=\"sha512-zlWWyZq71UMApAjih4WkaRpikgY9Bz1oXIW5G0fED4vk14JjGlQ1UmkGM392jEULP8jbNMiwLWdM8Z87Hu88Fw==\"
  892.             crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\"></script>
  893.     <script type=\"module\" src=\"/js/order_page/order_page.js?v=";
  894.         // line 388
  895.         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);
  896.         echo "\"></script>
  897.     <script type=\"module\" src=\"/js/order_page/api.js?v=1\"></script>
  898.     <script type=\"module\" src=\"/js/paymentOrderPage/paymentOrderPage.js?v=";
  899.         // line 390
  900.         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);
  901.         echo "\"></script>
  902.     <script type=\"module\" src=\"/js/paymentOrderPage/api.js?v=";
  903.         // line 391
  904.         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);
  905.         echo "\"></script>
  906.     <script src=\"/js/delivery-common.min.js?v=";
  907.         // line 392
  908.         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);
  909.         echo "\"></script>
  910.     <script src=\"/js/delivery.js?v=";
  911.         // line 393
  912.         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);
  913.         echo "\"></script>
  914.     <script src=\"/js/jquery.datetimepicker.full.min.js\"></script>
  915.     <script src=\"/js/moment.min.js\"></script>
  916.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery.maskedinput/1.4.1/jquery.maskedinput.min.js\"></script>
  917.     <script src=\"/js/offer.js?v=";
  918.         // line 397
  919.         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);
  920.         echo "\"></script>
  921.     <script type=\"module\" src=\"/js/order_as_gift/main.js?v=";
  922.         // line 398
  923.         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);
  924.         echo "\"></script>
  925.     <script src=\"/js/food_has_variant/main.js?v=";
  926.         // line 399
  927.         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);
  928.         echo "\"></script>
  929.     ";
  930.         // line 400
  931.         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)) {
  932.             // line 401
  933.             echo "        <script>
  934.             \$(function () {
  935.                 initCheckOfferOrderStatus(";
  936.             // line 403
  937.             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);
  938.             echo ");
  939.             });
  940.         </script>
  941.     ";
  942.         }
  943.         
  944.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  945.         
  946.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  947.     }
  948.     public function getTemplateName()
  949.     {
  950.         return "Slivki/delivery/order.html.twig";
  951.     }
  952.     public function isTraitable()
  953.     {
  954.         return false;
  955.     }
  956.     public function getDebugInfo()
  957.     {
  958.         return array (  985 => 403,  981 => 401,  979 => 400,  975 => 399,  971 => 398,  967 => 397,  960 => 393,  956 => 392,  952 => 391,  948 => 390,  943 => 388,  935 => 384,  925 => 383,  914 => 380,  911 => 379,  908 => 378,  905 => 377,  902 => 376,  899 => 375,  896 => 374,  893 => 373,  890 => 372,  887 => 371,  884 => 370,  881 => 369,  878 => 368,  875 => 367,  872 => 366,  869 => 365,  866 => 364,  863 => 363,  861 => 362,  856 => 361,  846 => 360,  836 => 357,  833 => 356,  814 => 355,  799 => 342,  797 => 341,  793 => 339,  791 => 338,  787 => 336,  781 => 334,  778 => 333,  773 => 331,  768 => 330,  766 => 329,  762 => 328,  758 => 327,  753 => 324,  749 => 322,  745 => 320,  743 => 319,  739 => 317,  730 => 310,  728 => 309,  723 => 306,  716 => 303,  714 => 302,  708 => 300,  705 => 299,  699 => 296,  696 => 295,  693 => 294,  685 => 290,  683 => 289,  679 => 287,  676 => 286,  670 => 282,  665 => 279,  662 => 278,  657 => 276,  654 => 275,  651 => 274,  649 => 273,  645 => 271,  632 => 261,  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,);
  959.     }
  960.     public function getSourceContext()
  961.     {
  962.         return new Source("{% extends 'base.html.twig' %}
  963. {% block stylesheets %}
  964.     {{ parent() }}
  965.     <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/jquery-toast-plugin/1.3.2/jquery.toast.min.css\"
  966.           integrity=\"sha512-wJgJNTBBkLit7ymC6vvzM1EcSWeM9mmOu+1USHaRBbHkm6W9EgM0HY27+UtUaprntaYQJF75rc8gjxllKs5OIQ==\"
  967.           crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\"/>
  968.     <link href=\"/css/delivery.min.css?v={{ delivery_css_version }}\" rel=\"stylesheet\" type=\"text/css\"/>
  969.     <link href=\"/css/order_page.min.css?v={{ order_page_css_version }}\" rel=\"stylesheet\" type=\"text/css\"/>
  970.     <link href=\"/css/orderAsGift.min.css?v={{ order_as_gift_css }}\" rel=\"stylesheet\" type=\"text/css\"/>
  971. {% endblock %}
  972. {% block left_sidebar %}{% endblock %}
  973. {% block messenger %}{% endblock %}
  974. {% block content %}
  975.     {% if offer.isWithoutCodes() %}
  976.         <input type=\"hidden\" id=\"isWithoutCodes\">
  977.     {% endif %}
  978.     {% if isFirstSosediPurchase is defined and isFirstSosediPurchase %}
  979.         <input type=\"hidden\" id=\"isFirstSosediPurchase\">
  980.     {% endif %}
  981.     {% if isCertificate is defined and isCertificate %}
  982.         <input id=\"isCertificate\" type=\"hidden\" value=\"\">
  983.     {% endif %}
  984.     {% if director is defined %}
  985.         <input type=\"hidden\" id=\"companyNameOffer\" value=\"{{ director.getName()|e }}\">
  986.     {% endif %}
  987.     {% if isAvailableOnFood is defined and isAvailableOnFood %}
  988.         <input type=\"hidden\" id=\"isAvailableOnFood\" value=\"true\">
  989.     {% endif %}
  990.     <div class=\"delivery-page container sf-font\">
  991.         <div id=\"deliveryContent\" class=\"js-delivery-teasers\">
  992.             <div class=\"breadcrumbs sf-text-font\">
  993.                 <a href=\"{{ base_url }}\">Главная</a>
  994.                 {% if categoryName != null %}
  995.                     <i class=\"fa fa-angle-right\"></i>&nbsp;<a href=\"{{ categoryURL }}\">{{ categoryName }}</a>
  996.                 {% endif %}
  997.                 <i class=\"fa fa-angle-right\"></i>&nbsp;<a
  998.                         href=\"{{ getURL(constant('Slivki\\\\Repository\\\\SeoRepository::RESOURCE_URL_OFFER_DETAILS'), offer.getID()) }}\">{{ offer.getCompanyName() }}</a>
  999.                 <i class=\"fa fa-angle-right\"></i>&nbsp;<a href=\"javascript:;\">Онлайн заказ</a>
  1000.             </div>
  1001.             <div class=\"clear\"></div>
  1002.             {% if isCertificate is defined and isCertificate %}
  1003.                 <div id=\"deliverySupplierCard\" class=\"rounded-14\">
  1004.                     <div class=\"gradient rounded-14\"></div>
  1005.                     <div class=\"card-img rounded-14\">
  1006.                         <img class=\"w-100 rounded-14\" src=\"{{ getImageURL(offer.getTopBlockMedia(), 0, 0) }}\"/>
  1007.                     </div>
  1008.                     <div class=\"delivery-supplier--logo\"
  1009.                          style=\"background-image: url('{{ getImageURL(logoMedia, 0, 0) }}')\"
  1010.                     >
  1011.                     </div>
  1012.                     <div class=\"delivery-supplier--rating\">
  1013.                         <i class=\"slivki-icon-star\">{{ offer.getRating() }}</i>
  1014.                         <span class=\"pl-2\"><i
  1015.                                     class=\"slivki-icon slivki-icon-users\"></i>{{ purchaseCountMonth is defined ? purchaseCountMonth : offer.getUsedCodesCount() }}</span>
  1016.                         <span class=\"pl-2\"><i class=\"slivki-icon-eye\"></i>{{ visitCount }}</span>
  1017.                     </div>
  1018.                     <div class=\"delivery-supplier--text sf-bold-font\"></div>
  1019.                     <div class=\"delivery-supplier--info\">
  1020.                         <i class=\"slivki-icon-info-circled-o\"></i><span>Информация о компании</span>
  1021.                         <div class=\"supplier-info-tooltip arrow-box\">
  1022.                             <div class=\"mb-2 sf-bold-font\">{{ director.getName() }}</div>
  1023.                             <div class=\"text-muted\">{{ director.getLegalEntity() }} УНП {{ director.getTaxID() }}</div>
  1024.                         </div>
  1025.                     </div>
  1026.                 </div>
  1027.             {% else %}
  1028.                 <div class=\"py-2 px-0 sf-font\">
  1029.                     <div class=\"brand-block\">
  1030.                         <div id=\"mapOrderPage\" class=\"d-none\" style=\"height: 210px;\" data-toggle=\"modal\"
  1031.                              data-target=\"#mapsModal\"></div>
  1032.                     </div>
  1033.                 </div>
  1034.             {% endif %}
  1035.             {% if isCertificate is not defined or not isCertificate %}
  1036.                 <div id=\"fixedFiltersOffer\" class=\"w-auto px-2 d-flex\"
  1037.                      style=\"position: relative;background: linear-gradient(180deg, #A839FF 0%, #6747e5 100%), #6747E5;border-radius: 8px;\">
  1038.                     <div class=\"col d-flex align-items-center text-white justify-content-end px-0\">
  1039.                         <p class=\"col mb-0 px-0 text-filter-tittle\">⚡️ Используй супер-фильтр</p>
  1040.                         <div class=\"position-relative ordder-page-filter-block\">
  1041.                             <div class=\"ordder-page-filter py-1 mx-2\">
  1042.                                 <f class=\"text-filter\">Сравни 🔥</f>
  1043.                             </div>
  1044.                             <div class=\"filter-items-block filter-items px-2 py-2\" style=\"display: none\">
  1045.                                 <div class=\"filter-items-wrapper\">
  1046.                                     {% include 'Slivki/online_order/_online_order_sort.html.twig' %}
  1047.                                 </div>
  1048.                             </div>
  1049.                         </div>
  1050.                     </div>
  1051.                     <div class=\"switch-delivery-pickup-block px-0 {% if not offer.getBrandboxEnabled() %}d-none{% endif %}\">
  1052.                         <a class=\"switch-delivery-pickup-item button-tab-delivery delivery-type active\">
  1053.                             <p>Доставка</p>
  1054.                             <small>удобно👌</small>
  1055.                         </a>
  1056.                         <a class=\"switch-delivery-pickup-item pickup-type button-tab-pickup\">
  1057.                             <p> Самовывоз</p>
  1058.                             <small>еще дешевле🔥</small>
  1059.                         </a>
  1060.                     </div>
  1061.                     {% if isCertificate is not defined %}
  1062.                         {% if pickupEnabled %}
  1063.                             <input id=\"deliveryTypeOffers\" type=\"hidden\" value=\"2\">
  1064.                         {% elseif deliveryEnabled %}
  1065.                             <input id=\"deliveryTypeOffers\" type=\"hidden\" value=\"1\">
  1066.                         {% endif %}
  1067.                     {% endif %}
  1068.                 </div>
  1069.             {% else %}
  1070.                 <div class=\"d-flex mt-3\" style=\"justify-content: flex-end\">
  1071.                     {% include 'Slivki/delivery/_delivery_sort_filter.html.twig' %}
  1072.                 </div>
  1073.             {% endif %}
  1074.             <div id=\"listProducts\" class=\"delivery-teaser-row delivery-teasers-block\">
  1075.                 {% if isCertificate is defined and isCertificate %}
  1076.                     {% for dish in dishes %}
  1077.                         {% set teaserView = 'Slivki/delivery/delivery_teaser.html.twig' %}
  1078.                         {% if dish.isPizza is defined and dish.isPizza %}
  1079.                             {% set teaserView = 'Slivki/delivery/delivery_teaser_pizza.html.twig' %}
  1080.                         {% endif %}
  1081.                         <div class=\"col-4\">
  1082.                             {% include teaserView with {'isTop': dish.id in topDishIDList, 'isAvailableOnFood': isAvailableOnFood is defined and isAvailableOnFood} %}
  1083.                         </div>
  1084.                     {% endfor %}
  1085.                 {% endif %}
  1086.             </div>
  1087.             {% if options|length > 0 and showDelivery %}
  1088.                 <div id=\"dataMenu_options\" class=\"mb-2 pl-2 font-size-1250 sf-bold-font\">Дополнительные товары:</div>
  1089.                 <div class=\"delivery-teaser-row delivery-teasers-block\">
  1090.                     {% for option in options %}
  1091.                         <div class=\"col-4\">
  1092.                             {% include 'Slivki/delivery/delivery_teaser.html.twig' with {'dish': option, 'isOption': true} only %}
  1093.                         </div>
  1094.                     {% endfor %}
  1095.                 </div>
  1096.             {% endif %}
  1097.         </div>
  1098.         <div id=\"deliverySidebar\">
  1099.             {% if isAvailableOnFood is not defined or not isAvailableOnFood %}
  1100.             <form method=\"post\" action=\"{{ formAction }}\" id=\"dishSelectForm\">
  1101.                 {% else %}
  1102.                 <div id=\"dishSelectForm\">
  1103.                     {% endif %}
  1104.                     <input type=\"hidden\" id=\"pickupDeliveryType\" name=\"pickupDeliveryType\" value=\"\"/>
  1105.                     <input type=\"hidden\" id=\"deliveryBasketInput\" name=\"basket\" value=\"\"/>
  1106.                     <input id=\"offerID\" type=\"hidden\" name=\"offerID\" value=\"{{ offer.getID() }}\"/>
  1107.                     <input type=\"hidden\" id=\"dishSortBy\" name=\"dishSortBy\" value=\"\"/>
  1108.                     <input type=\"hidden\" id=\"isDominos\" name=\"isDominos\"
  1109.                            value=\"{{ (isDominos is defined and isDominos) ? '1' : '0' }}\">
  1110.                     {% if deliveryPrice is defined %}
  1111.                         <input type=\"hidden\" id=\"deliveryPrice\" name=\"deliveryPrice\" value=\"{{ deliveryPrice }}\"/>
  1112.                     {% endif %}
  1113.                     <div id=\"deliverySidebarContent\">
  1114.                         {% if isAvailableOnFood is not defined or not isAvailableOnFood %}
  1115.                             <div>
  1116.                                 <p class=\"basket-tittle\">Ваш заказ</p>
  1117.                             </div>
  1118.                             <div id=\"deliveryEmpty\">
  1119.                                 <div class=\"d-flex flex-column justify-content-center align-items-center text-center\">
  1120.                                     {% if isCertificate is not defined or not isCertificate or offer.getID() == 283384 %}
  1121.                                         <div class=\"delivery-empty-logo\">
  1122.                                             {% if offer.hasCategory(constant('Slivki\\\\Repository\\\\SeoRepository::FLOWERS_CATEGORY_ID')) %}
  1123.                                                 <img height=\"119\" class=\"mx-auto\" src=\"/images/basketFlowers.png\" alt=\"\">
  1124.                                             {% else %}
  1125.                                                 <img height=\"119\" class=\"mx-auto\" src=\"/images/sideBarEda.gif\" alt=\"\">
  1126.                                             {% endif %}
  1127.                                         </div>
  1128.                                     {% else %}
  1129.                                         <div class=\"delivery-empty-logo\">
  1130.                                             <img height=\"119\" class=\"mx-auto\" src=\"/images/sertificate.gif\" alt=\"\">
  1131.                                         </div>
  1132.                                     {% endif %}
  1133.                                     {% if isCertificate is not defined or not isCertificate %}
  1134.                                         <p class=\"font-size-1125 delivery-empty-text\">Выберите
  1135.                                             {% if offer.hasCategory(constant('Slivki\\\\Repository\\\\SeoRepository::FLOWERS_CATEGORY_ID')) %}
  1136.                                                 товары
  1137.                                             {% else %}
  1138.                                                 блюда
  1139.                                             {% endif %}
  1140.                                             <br> и добавьте их к
  1141.                                             заказу
  1142.                                         </p>
  1143.                                     {% else %}
  1144.                                         <p class=\"font-size-1125 delivery-empty-text\">Выберите услуги<br> и добавьте их
  1145.                                             к заказу
  1146.                                         </p>
  1147.                                     {% endif %}
  1148.                                 </div>
  1149.                             </div>
  1150.                             <div id=\"deliveryBasketWrapper\" style=\"display: none;\">
  1151.                                 <a href=\"#\" id=\"clearBasketBtn\" data-toggle=\"modal\"
  1152.                                    data-target=\"#confirmBasketClearModal\">
  1153.                                     <img width=\"16\" height=\"16\" class=\"mx-1\" src=\"/images/order_page/basket-icon.svg\"/>
  1154.                                     Очистить</a>
  1155.                                 <div id=\"deliverySidebarScroll\" {% if  isCertificate is not defined or not isCertificate %} class=\"height-74\" {% endif %}>
  1156.                                     <div id=\"deliveryBasketTop\" class=\"js-basket-modal\"></div>
  1157.                                     <div class=\"d-none options-tittle sf-bold-font font-size-1000 mb-3 {{ not showDelivery ? 'd-none' }}\">
  1158.                                         <strong>Дополнительные товары:</strong>
  1159.                                     </div>
  1160.                                     <div id=\"deliveryBasketOptions\"></div>
  1161.                                     <div class=\"delivery-basket-total font-size-1000 d-none\">
  1162.                                         <div id=\"deliveryTotalDishes\"></div>
  1163.                                         <div id=\"deliveryTotalOptions\"></div>
  1164.                                         <span id=\"codeCost\" data-price=\"0\"></span>
  1165.                                     </div>
  1166.                                 </div>
  1167.                                 <div id=\"deliverySidebarTotal\" {% if isCertificate is not defined or not isCertificate %} class=\"{{ isBuyCodeDisable ?  ''  : 'bottom-basket-offers' }}\" {% endif %}
  1168.                                      style=\"display: none;\">
  1169.                                     <div class=\"delivery-teaser-row font-size-1250\">
  1170.                                         {% if isBuyOnlyCodeResponse is defined and isBuyOnlyCodeResponse %}
  1171.                                             <div class=\"col-auto basket-tittle font-size-0900 mb-0\">К оплате на кассе:
  1172.                                             </div>
  1173.                                         {% else %}
  1174.                                             <div class=\"col-auto basket-tittle mb-0\">Итого:</div>
  1175.                                         {% endif %}
  1176.                                         <div class=\"col text-right\">
  1177.                                             <del class=\"mr-1\" style=\"text-decoration: none;\"><span
  1178.                                                         id=\"deliveryTotalPrice\"></span></del>
  1179.                                             <span class=\"sf-bold-font\" id=\"deliveryTotalOfferPrice\"></span>
  1180.                                         </div>
  1181.                                     </div>
  1182.                                 </div>
  1183.                             </div>
  1184.                         {% else %}
  1185.                             <div id=\"customFoodBasket\">
  1186.                                 <div id=\"customFoodBasketConditions\">
  1187.                                     <p class=\"tittle-basket-custom-food\">Условия заказа</p>
  1188.                                     <div class=\"offer-conditions\"></div>
  1189.                                 </div>
  1190.                                 <div id=\"customFoodBasketPayMethods\" class=\"col\" style=\"display: none\">
  1191.                                     <span id=\"unitPrice\" style=\"display: none;\">2.10</span>
  1192.                                     <div class=\"custom-promo-info\">
  1193.                                         <div class=\"custom-promo-block\">
  1194.                                             <p class=\"sf-bold-font text-uppercase text-center my-3\">Для заказа по
  1195.                                                 телефону<br>
  1196.                                                 оплатите промокод <br>на скидку</p>
  1197.                                         </div>
  1198.                                         <div class=\"d-flex col justify-content-center my-2\">
  1199.                                             <div class=\"payment-sum-block mb-3\">
  1200.                                                 <div class=\"unit-wrapp\">
  1201.                                                     <div class=\"minusUnit\" onclick=\"minus()\">
  1202.                                                         <img class=\"delivery-dec-quantity-img\" width=\"14\" height=\"14\"
  1203.                                                              src=\"/images/order_page/dec.svg\">
  1204.                                                     </div>
  1205.                                                     <span id=\"units\" class=\"js-units-header-popup-custom\"> 1 </span>
  1206.                                                     <div class=\"plusUnit\" onclick=\"plus()\">
  1207.                                                         <img width=\"14\" height=\"14\" src=\"/images/order_page/inc.svg\">
  1208.                                                     </div>
  1209.                                                 </div>
  1210.                                             </div>
  1211.                                         </div>
  1212.                                         <div class=\"align-self-center\">
  1213.                                             <p class=\"font-size-0750 mb-4 sf-font text-center\"><strong
  1214.                                                         class=\"font-size-10625 font-800\">
  1215.                                                     к оплате <span class=\"confirm-box-total\">{{ codeCost }}</span>р</strong>
  1216.                                             </p>
  1217.                                         </div>
  1218.                                     </div>
  1219.                                     <p class=\"my-2 sf-font font-size-1000 text-center\">Выберите способ оплаты:</p>
  1220.                                     <div id=\"paymentMethodsCustom\"></div>
  1221.                                 </div>
  1222.                             </div>
  1223.                         {% endif %}
  1224.                         <div id=\"deliveryBtnWrapperWithoutGift\" class=\"delivery-btn-wrapper\">
  1225.                             {% if isAvailableOnFood is not defined or not isAvailableOnFood %}
  1226.                             {% if isBuyOnlyCodeResponse is defined and isBuyOnlyCodeResponse %}
  1227.                             <button type=\"submit\" class=\"delivery-btn bg-violet text-white d-block disabled my-1\"
  1228.                                     id=\"dishSelectFormSubmit\">ПОЛУЧИТЬ ПРОМОКОД {{ offer.getDiscount() }}
  1229.                                 {% else %}
  1230.                                 {% if isCertificate is defined %}
  1231.                                 <button type=\"submit\" class=\"delivery-btn bg-violet text-white d-block disabled my-1\"
  1232.                                         id=\"dishSelectFormSubmit\">ОФОРМИТЬ СЕРТИФИКАТ
  1233.                                     {% else %}
  1234.                                     <button type=\"submit\"
  1235.                                             class=\"delivery-btn bg-violet text-white d-block disabled my-1\"
  1236.                                             id=\"dishSelectFormSubmit\">ЗАКАЗАТЬ ОНЛАЙН
  1237.                                         {% endif %}
  1238.                                         {% endif %}
  1239.                                     </button>
  1240.                                 {% if  isCertificate is not defined or not isCertificate %}
  1241.                                     <div class=\"delivery-btn bg-violet text-white d-block btn-phone-pay {{ isBuyCodeDisable ? 'd-none' : '' }}\">
  1242.                                         ЗАКАЗАТЬ ПО ТЕЛЕФОНУ
  1243.                                     </div>
  1244.                                 {% endif %}
  1245.                                 {% else %}
  1246.                                     <div class=\"delivery-btn bg-violet text-white my-1 text-uppercase cursor-pointer w-auto\"
  1247.                                          id=\"customPageBuyOrder\"> Получить скидку {{ offer.getDiscount() }}
  1248.                                     </div>
  1249.                                 {% endif %}
  1250.                                 {% if isCertificate is defined and offer.isFoodOnlineOrderAllowedOnSite() %}
  1251.                                 <a href=\"/gift-certificate/select/{{ offer.getID() }}\" class=\"d-none delivery-btn my-1 text-uppercase cursor-pointer w-auto certificate-delivery-btn\"> ВЫБРАТЬ СЕРТИФИКАТ
  1252.                                 </a>
  1253.                                 {% elseif offer.isGiftCertificateOnlineOrderAllowedOnSite() and offer.isFoodOnlineOrderAllowedOnSite() %}
  1254.                                     <a href=\"/gift-certificate/select/{{ offer.getID() }}\" class=\"delivery-btn my-1 text-uppercase cursor-pointer w-auto certificate-delivery-btn\"> ВЫБРАТЬ СЕРТИФИКАТ
  1255.                                     </a>
  1256.                                 {% endif %}
  1257.                         </div>
  1258.                         <div id=\"deliveryBtnWrapperForGift\"
  1259.                              class=\"gift-food-delivery-btn-wrapper delivery-btn-wrapper d-none\">
  1260.                             {% if isAvailableOnFood is not defined or not isAvailableOnFood %}
  1261.                                 <button type=\"submit\" class=\"delivery-btn bg-violet text-white d-block disabled my-1\"
  1262.                                         id=\"dishSelectFormSubmit\">ЗАКАЗАТЬ СЕБЕ
  1263.                                 </button>
  1264.                                 <div id=\"btnGiftOrder\" data-toggle=\"modal\" data-target=\"shareFoodForGift\"
  1265.                                      class=\"delivery-btn bg-violet text-white d-block w-auto btn-gift-order py-2\">
  1266.                                     ЗАКАЗАТЬ В ПОДАРОК<br><span>жене, подруге, родителям, детям </span></div>
  1267.                             {% endif %}
  1268.                         </div>
  1269.                     </div>
  1270.                     {% if isAvailableOnFood is not defined or not isAvailableOnFood %}
  1271.             </form>
  1272.             {% else %}
  1273.         </div>
  1274.         {% endif %}
  1275.     </div>
  1276.     </div>
  1277.     <input type=\"hidden\" id=\"minSumForFreeDelivery\" value=\"{{ minSumForFreeDelivery }}\">
  1278.     <input type=\"hidden\" id=\"minOrderSum\" value=\"{{ minOrderSum }}\">
  1279.     {% if allowedCodesToBuy is defined and allowedCodesToBuy is not null %}
  1280.         <input type=\"hidden\" id=\"allowedCodesCountBySubscription\" value=\"{{ allowedCodesToBuy }}\">
  1281.         <input type=\"hidden\" id=\"allowedCodesToBuy\" value=\"{{ allowedCodesToBuy }}\">
  1282.     {% endif %}
  1283.     {% if allowedCodesToBuyBatchCodes is defined and allowedCodesToBuyBatchCodes is not null %}
  1284.         <input type=\"hidden\" id=\"allowedCodesToBuyBatchCodes\" value=\"{{ allowedCodesToBuyBatchCodes }}\">
  1285.     {% endif %}
  1286.     <div class=\"hidden\">
  1287.         <div id=\"deliveryBasketItemTemplate\">
  1288.             {% include 'Slivki/delivery/basket_item.html.twig' %}
  1289.         </div>
  1290.         <div id=\"deliveryBasketOptionTemplate\">
  1291.             {% include 'Slivki/delivery/basket_option_item.html.twig' %}
  1292.         </div>
  1293.         <div id=\"deliveryBasketTotalTemplate\">
  1294.             <div class=\"delivery-teaser-row mb-3\">
  1295.                 <div class=\"col\">
  1296.                     <span><span class=\"dish-name\"></span> <small class=\"text-muted dish-discount\"></small></span>
  1297.                 </div>
  1298.                 <div class=\"col text-right\">
  1299.                     <del class=\"text-danger mr-1\"><small class=\"text-muted dish-item-price\"></small></del>
  1300.                     <span class=\"sf-bold-font dish-item-offer-price\"></span>
  1301.                 </div>
  1302.             </div>
  1303.         </div>
  1304.     </div>
  1305.     {% block footer %}
  1306.         {% include 'Slivki/footer_for_partner.html.twig' %}
  1307.     {% endblock %}
  1308. {% endblock %}
  1309. {% block popups %}
  1310.     {{ parent() }}
  1311.     {% include 'Slivki/delivery/modal/clear_basket_modal.html.twig' %}
  1312.     {% include 'Slivki/delivery/modal/details.html.twig' with {'isOfferPage': false}  %}
  1313.     {% include 'Slivki/popups/reviews_delivery_page.html.twig' %}
  1314.     {% include 'Slivki/popups/delivery_page_modal.html.twig' %}
  1315.     {% include 'Slivki/popups/buy_code_phone_offer.html.twig' %}
  1316.     {% include 'Slivki/popups/buy_code_item-offer.html.twig' %}
  1317.     {% include 'Slivki/popups/buy_code_phonenumber_offers.html.twig' %}
  1318.     {% include 'Slivki/popups/buy_code_erip_offers.html.twig' %}
  1319.     {% include 'Slivki/food_court/modal/maps.html.twig' %}
  1320.     {% include 'Slivki/popups/buy_promo_custom.html.twig' %}
  1321.     {% include 'Slivki/popups/share_food_gift_modal_male.html.twig' %}
  1322.     {% include 'Slivki/popups/create_massage_popup.html.twig' %}
  1323.     {% include 'Slivki/popups/share_gift_modal.html.twig' %}
  1324.     {% if app.user and app.user.getActiveCreditCards() %}
  1325.         {% include 'Slivki/popups/buy_code_credit_cards.html.twig' %}
  1326.     {% endif %}
  1327.     {% if offer.getBrandboxEnabled() and isCertificate is not defined %}
  1328.         {% include 'Slivki/delivery/modal/brandbox/brandbox_popup.html.twig' %}
  1329.     {% endif %}
  1330. {% endblock %}
  1331. {% block javascripts %}
  1332.     {{ parent() }}
  1333.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.8.0/Chart.bundle.min.js\"></script>
  1334.     <script src=\"/js/jquery.toast.min.js\" integrity=\"sha512-zlWWyZq71UMApAjih4WkaRpikgY9Bz1oXIW5G0fED4vk14JjGlQ1UmkGM392jEULP8jbNMiwLWdM8Z87Hu88Fw==\"
  1335.             crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\"></script>
  1336.     <script type=\"module\" src=\"/js/order_page/order_page.js?v={{ order_page_js_version }}\"></script>
  1337.     <script type=\"module\" src=\"/js/order_page/api.js?v=1\"></script>
  1338.     <script type=\"module\" src=\"/js/paymentOrderPage/paymentOrderPage.js?v={{ payment_order_page_js_version }}\"></script>
  1339.     <script type=\"module\" src=\"/js/paymentOrderPage/api.js?v={{ payment_order_page_api_js_version }}\"></script>
  1340.     <script src=\"/js/delivery-common.min.js?v={{ delivery_common_js_version }}\"></script>
  1341.     <script src=\"/js/delivery.js?v={{ delivery_js_version }}\"></script>
  1342.     <script src=\"/js/jquery.datetimepicker.full.min.js\"></script>
  1343.     <script src=\"/js/moment.min.js\"></script>
  1344.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery.maskedinput/1.4.1/jquery.maskedinput.min.js\"></script>
  1345.     <script src=\"/js/offer.js?v={{ offer_js_version }}\"></script>
  1346.     <script type=\"module\" src=\"/js/order_as_gift/main.js?v={{ order_as_gift_js_version }}\"></script>
  1347.     <script src=\"/js/food_has_variant/main.js?v={{ food_has_variant_js_version }}\"></script>
  1348.     {% if app.request.query.has('checkOrder') %}
  1349.         <script>
  1350.             \$(function () {
  1351.                 initCheckOfferOrderStatus({{ app.request.get('checkOrder') }});
  1352.             });
  1353.         </script>
  1354.     {% endif %}
  1355. {% endblock %}""Slivki/delivery/order.html.twig""/mnt/data/virtwww/test1/templates/Slivki/delivery/order.html.twig");
  1356.     }
  1357. }