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