var/cache/dev/twig/cf/cfb822970e7b696e8fd506d1a6930c258ba4147835c39899bfb1ff2f48c3a370.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/mobile/delivery/order.html.twig */
  14. class __TwigTemplate_ee142e3c0cd727706720950f3cff0c2bd510d6ee0f12234fcc5a6fbf3c911fbf 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.             'floatingMobileBanner' => [$this'block_floatingMobileBanner'],
  24.             'messenger' => [$this'block_messenger'],
  25.             'styles' => [$this'block_styles'],
  26.             'content' => [$this'block_content'],
  27.             'footer' => [$this'block_footer'],
  28.             'popup' => [$this'block_popup'],
  29.             'javascripts' => [$this'block_javascripts'],
  30.         ];
  31.     }
  32.     protected function doGetParent(array $context)
  33.     {
  34.         // line 1
  35.         return "Slivki/mobile/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/mobile/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/mobile/delivery/order.html.twig"));
  44.         $this->parent $this->loadTemplate("Slivki/mobile/base.html.twig""Slivki/mobile/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_floatingMobileBanner($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""floatingMobileBanner"));
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""floatingMobileBanner"));
  59.         
  60.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  61.         
  62.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  63.     }
  64.     // line 4
  65.     public function block_messenger($context, array $blocks = [])
  66.     {
  67.         $macros $this->macros;
  68.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  69.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""messenger"));
  70.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  71.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""messenger"));
  72.         
  73.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  74.         
  75.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  76.     }
  77.     // line 6
  78.     public function block_styles($context, array $blocks = [])
  79.     {
  80.         $macros $this->macros;
  81.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  82.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""styles"));
  83.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  84.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""styles"));
  85.         // line 7
  86.         echo "     ";
  87.         $this->displayParentBlock("styles"$context$blocks);
  88.         echo "
  89.      <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/jquery-toast-plugin/1.3.2/jquery.toast.min.css\" integrity=\"sha512-wJgJNTBBkLit7ymC6vvzM1EcSWeM9mmOu+1USHaRBbHkm6W9EgM0HY27+UtUaprntaYQJF75rc8gjxllKs5OIQ==\" crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\" />
  90.      <link href=\"/mobile/css/order_page.min.css?v=";
  91.         // line 9
  92.         echo twig_escape_filter($this->env, (isset($context["mobile_order_page_css_version"]) || array_key_exists("mobile_order_page_css_version"$context) ? $context["mobile_order_page_css_version"] : (function () { throw new RuntimeError('Variable "mobile_order_page_css_version" does not exist.'9$this->source); })()), "html"nulltrue);
  93.         echo "\" rel=\"stylesheet\" type=\"text/css\" />
  94.      <link href=\"/css/orderAsGift.min.css?v=";
  95.         // line 10
  96.         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);
  97.         echo "\" rel=\"stylesheet\" type=\"text/css\"/>
  98.  ";
  99.         
  100.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  101.         
  102.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  103.     }
  104.     // line 13
  105.     public function block_content($context, array $blocks = [])
  106.     {
  107.         $macros $this->macros;
  108.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  109.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  110.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  111.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  112.         // line 14
  113.         echo "    ";
  114.         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.'14$this->source); })()), "isWithoutCodes", [], "method"falsefalsefalse14)) {
  115.             // line 15
  116.             echo "        <input type=\"hidden\" id=\"isWithoutCodes\">
  117.     ";
  118.         }
  119.         // line 17
  120.         echo "    ";
  121.         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.'17$this->source); })()))) {
  122.             // line 18
  123.             echo "        <input type=\"hidden\" id=\"isAvailableOnFood\" value=\"true\">
  124.     ";
  125.         }
  126.         // line 20
  127.         echo "    ";
  128.         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.'20$this->source); })()))) {
  129.             // line 21
  130.             echo "        <input type=\"hidden\" id=\"isFirstSosediPurchase\">
  131.     ";
  132.         }
  133.         // line 23
  134.         echo "    ";
  135.         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.'23$this->source); })())))) {
  136.             // line 24
  137.             echo "        <input type=\"hidden\" id=\"allowedCodesToBuy\" value=\"";
  138.             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.'24$this->source); })()), "html"nulltrue);
  139.             echo "\">
  140.         <input type=\"hidden\" id=\"allowedCodesCountBySubscription\" value=\"";
  141.             // line 25
  142.             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.'25$this->source); })()), "html"nulltrue);
  143.             echo "\">
  144.     ";
  145.         }
  146.         // line 27
  147.         echo "    ";
  148.         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.'27$this->source); })()))) {
  149.             // line 28
  150.             echo "        <input id=\"isCertificate\" type=\"hidden\" value=\"\">
  151.     ";
  152.         }
  153.         // line 30
  154.         echo "    ";
  155.         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.'30$this->source); })())))) {
  156.             // line 31
  157.             echo "        <input type=\"hidden\" id=\"allowedCodesToBuyBatchCodes\" value=\"";
  158.             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.'31$this->source); })()), "html"nulltrue);
  159.             echo "\">
  160.     ";
  161.         }
  162.         // line 33
  163.         echo "    ";
  164.         if (array_key_exists("director"$context)) {
  165.             // line 34
  166.             echo "        <input type=\"hidden\" id=\"companyNameOffer\" value=\"";
  167.             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.'34$this->source); })()), "getName", [], "method"falsefalsefalse34));
  168.             echo "\">
  169.     ";
  170.         }
  171.         // line 36
  172.         echo "    <nav aria-label=\"breadcrumb\">
  173.         <ol class=\"breadcrumb m-0 py-1 px-2 bg-white sf-text-font\">
  174.             <li class=\"breadcrumb-item\"><a href=\"";
  175.         // line 38
  176.         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.'38$this->source); })()), "html"nulltrue);
  177.         echo "\">Главная</a></li>
  178.             ";
  179.         // line 39
  180.         if ((!== twig_compare((isset($context["categoryName"]) || array_key_exists("categoryName"$context) ? $context["categoryName"] : (function () { throw new RuntimeError('Variable "categoryName" does not exist.'39$this->source); })()), null))) {
  181.             // line 40
  182.             echo "                <li class=\"breadcrumb-item\"><a href=\"";
  183.             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.'40$this->source); })()), "html"nulltrue);
  184.             echo "\">";
  185.             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.'40$this->source); })()), "html"nulltrue);
  186.             echo "</a></li>
  187.             ";
  188.         }
  189.         // line 42
  190.         echo "            <li class=\"breadcrumb-item\"><a href=\"";
  191.         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.'42$this->source); })()), "getID", [], "method"falsefalsefalse42)), "html"nulltrue);
  192.         echo "\">";
  193.         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.'42$this->source); })()), "getCompanyName", [], "method"falsefalsefalse42), "html"nulltrue);
  194.         echo "</a></li>
  195.             <li class=\"breadcrumb-item active\" aria-current=\"page\">Онлайн заказ</li>
  196.         </ol>
  197.     </nav>
  198.     ";
  199.         // line 46
  200.         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.'46$this->source); })()))) {
  201.             // line 47
  202.             echo "        <div id=\"deliverySupplierCard\" class=\"card rounded-14 mb-3\">
  203.             <div class=\"gradient rounded-14\"></div>
  204.             <div class=\"card-img rounded-14\">
  205.                 <img class=\"w-100 rounded-14\" src=\"";
  206.             // line 50
  207.             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.'50$this->source); })()), "getTopBlockMobileMedia", [], "method"falsefalsefalse50), 00), "html"nulltrue);
  208.             echo "\">
  209.             </div>
  210.             <div class=\"delivery-supplier--logo\" style=\"background-image: url('";
  211.             // line 52
  212.             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);
  213.             echo "')\"></div>
  214.             <div class=\"delivery-supplier--rating\">
  215.                 <i class=\"slivki-icon-star\"></i>";
  216.             // line 54
  217.             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.'54$this->source); })()), "getRating", [], "method"falsefalsefalse54), "html"nulltrue);
  218.             echo "
  219.                 <span class=\"pl-2\">
  220.                     <img style=\"vertical-align: -3px; margin-right: .2em;\" class=\"delivery-sales-icon d-inline-block\" src=\"/images/delivery-sales-icon.svg\" alt=\"delivery-sales-icon\">
  221.                     ";
  222.             // line 57
  223.             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.'57$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.'57$this->source); })()), "getUsedCodesCount", [], "method"falsefalsefalse57))), "html"nulltrue);
  224.             echo "
  225.                 </span>
  226.                 <span class=\"pl-2\"><i class=\"slivki-icon-eye\"></i>";
  227.             // line 59
  228.             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);
  229.             echo "</span>
  230.             </div>
  231.             <div class=\"delivery-supplier--text sf-bold-font\"></div>
  232.             <div class=\"delivery-supplier--info w-100\">
  233.                 <span><i class=\"slivki-icon-info-circled-o\"></i>Информация о компании</span>
  234.                 <div class=\"supplier-info-tooltip d-none\">
  235.                     <div class=\"clearfix\">
  236.                         <button class=\"close float-right\"><i class=\"slivki-icon-close-thin\"></i></button>
  237.                     </div>
  238.                     <div class=\"mb-2 sf-bold-font text-dark\">";
  239.             // line 68
  240.             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.'68$this->source); })()), "getName", [], "method"falsefalsefalse68), "html"nulltrue);
  241.             echo "</div>
  242.                     <div class=\"text-muted\">
  243.                         ";
  244.             // line 70
  245.             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.'70$this->source); })()), "getLegalEntity", [], "method"falsefalsefalse70), "html"nulltrue);
  246.             echo " УНП ";
  247.             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.'70$this->source); })()), "getTaxID", [], "method"falsefalsefalse70), "html"nulltrue);
  248.             echo "
  249.                     </div>
  250.                 </div>
  251.             </div>
  252.         </div>
  253.     ";
  254.         } else {
  255.             // line 76
  256.             echo "        <div  class=\"p-2 sf-font delivery-page\">
  257.             <div class=\"brand-block\">
  258.                 <div id=\"mapOrderPage\" class=\"d-none\" style=\"height: 178px;\" data-toggle=\"modal\" data-target=\"#mapsModal\"></div>
  259.             </div>
  260.         </div>
  261.     ";
  262.         }
  263.         // line 82
  264.         echo "    <div class=\"can-be-fixed-wrapper vendor-filters-wrapper\">
  265.         <div id=\"fixedBlockFilters\">
  266.             ";
  267.         // line 84
  268.         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.'84$this->source); })()))) {
  269.             // line 85
  270.             echo "            <div id=\"jsFixedType\" class=\"d-flex flex-column align-items-center\">
  271.                 <div class=\"switch-delivery-pickup-block px-0 ";
  272.             // line 86
  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.'86$this->source); })()), "getBrandboxEnabled", [], "method"falsefalsefalse86)) {
  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 96
  288.             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.'96$this->source); })()), "isGiftCertificateOnlineOrderAllowedOnSite", [], "method"falsefalsefalse96) && 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.'96$this->source); })()), "isFoodOnlineOrderAllowedOnSite", [], "method"falsefalsefalse96))) {
  289.                 // line 97
  290.                 echo "                <a href=\"/gift-certificate/select/";
  291.                 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.'97$this->source); })()), "getID", [], "method"falsefalsefalse97), "html"nulltrue);
  292.                 echo "\" class=\"button-order certificate-order-btn\"> Выбрать сертификат<small>себе или в подарок 🎁</small>
  293.                 </a>
  294.                 ";
  295.             }
  296.             // line 100
  297.             echo "                ";
  298.         }
  299.         // line 101
  300.         echo "            </div>
  301.             ";
  302.         // line 102
  303.         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.'102$this->source); })()))) {
  304.             // line 103
  305.             echo "                ";
  306.             if ((isset($context["pickupEnabled"]) || array_key_exists("pickupEnabled"$context) ? $context["pickupEnabled"] : (function () { throw new RuntimeError('Variable "pickupEnabled" does not exist.'103$this->source); })())) {
  307.                 // line 104
  308.                 echo "                    <input id=\"deliveryTypeOffers\" type=\"hidden\" value=\"2\">
  309.                 ";
  310.             } elseif (            // line 105
  311. (isset($context["deliveryEnabled"]) || array_key_exists("deliveryEnabled"$context) ? $context["deliveryEnabled"] : (function () { throw new RuntimeError('Variable "deliveryEnabled" does not exist.'105$this->source); })())) {
  312.                 // line 106
  313.                 echo "                    <input id=\"deliveryTypeOffers\" type=\"hidden\" value=\"1\">
  314.                 ";
  315.             }
  316.             // line 108
  317.             echo "            ";
  318.         }
  319.         // line 109
  320.         echo "            ";
  321.         if (( !array_key_exists("isCertificate"$context) ||  !(isset($context["isCertificate"]) || array_key_exists("isCertificate"$context) ? $context["isCertificate"] : (function () { throw new RuntimeError('Variable "isCertificate" does not exist.'109$this->source); })()))) {
  322.             // line 110
  323.             echo "                <div class=\"p-2 sf-font\">
  324.                     <div id=\"jsFixedFilters\" class=\"w-100 py-0 px-2\" style=\"background: linear-gradient(180deg, #A839FF 0%, #6747e5 100%), #6747E5; border-radius: 6px\">
  325.                         <div class=\"col d-flex align-items-center text-white justify-content-end px-0\">
  326.                             <p class=\"col mb-0 px-0 text-filter-tittle\" style=\"font-size: 0.8rem;\">⚡️ Используй супер-фильтр</p>
  327.                             <div class=\"ordder-page-filter py-1 mx-2\">
  328.                                 <f class=\"text-filter\">Сравни 🔥</f>
  329.                             </div>
  330.                         </div>
  331.                         <div class=\"filter-items-block px-2 py-2\" style=\"display: none\">
  332.                             <div class=\"filter-items-wrapper\">
  333.                                 ";
  334.             // line 120
  335.             $this->loadTemplate("Slivki/online_order/_online_order_sort.html.twig""Slivki/mobile/delivery/order.html.twig"120)->display($context);
  336.             // line 121
  337.             echo "                            </div>
  338.                         </div>
  339.                     </div>
  340.                 </div>
  341.             ";
  342.         }
  343.         // line 126
  344.         echo "        </div>
  345.     </div>
  346.     <div class=\"p-2 sf-font\">
  347.         <form method=\"post\" action=\"";
  348.         // line 130
  349.         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.'130$this->source); })()), "html"nulltrue);
  350.         echo "\" id=\"dishSelectForm\" class=\"delivery-teasers-block js-delivery-teasers\">
  351.             <input type=\"hidden\" id=\"deliveryBasketInput\" name=\"basket\" value=\"\"/>
  352.             <input type=\"hidden\" id=\"pickupDeliveryType\" name=\"pickupDeliveryType\" value=\"\"/>
  353.             <input type=\"hidden\" id=\"offerID\" name=\"offerID\" value=\"";
  354.         // line 133
  355.         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.'133$this->source); })()), "getID", [], "method"falsefalsefalse133), "html"nulltrue);
  356.         echo "\"/>
  357.             <input type=\"hidden\" id=\"dishSortBy\" name=\"dishSortBy\" value=\"\"/>
  358.             ";
  359.         // line 135
  360.         if (array_key_exists("deliveryPrice"$context)) {
  361.             // line 136
  362.             echo "                <input type=\"hidden\" id=\"deliveryPrice\" name=\"deliveryPrice\" value=\"";
  363.             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.'136$this->source); })()), "html"nulltrue);
  364.             echo "\"/>
  365.             ";
  366.         }
  367.         // line 138
  368.         echo "
  369.             <div id=\"listProducts\">
  370.                 ";
  371.         // line 140
  372.         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.'140$this->source); })()))) {
  373.             // line 141
  374.             echo "                    ";
  375.             $context['_parent'] = $context;
  376.             $context['_seq'] = twig_ensure_traversable((isset($context["dishes"]) || array_key_exists("dishes"$context) ? $context["dishes"] : (function () { throw new RuntimeError('Variable "dishes" does not exist.'141$this->source); })()));
  377.             $context['loop'] = [
  378.               'parent' => $context['_parent'],
  379.               'index0' => 0,
  380.               'index'  => 1,
  381.               'first'  => true,
  382.             ];
  383.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  384.                 $length count($context['_seq']);
  385.                 $context['loop']['revindex0'] = $length 1;
  386.                 $context['loop']['revindex'] = $length;
  387.                 $context['loop']['length'] = $length;
  388.                 $context['loop']['last'] = === $length;
  389.             }
  390.             foreach ($context['_seq'] as $context["_key"] => $context["dish"]) {
  391.                 // line 142
  392.                 echo "                        ";
  393.                 $context["teaserView"] = "Slivki/mobile/delivery/delivery_teaser.html.twig";
  394.                 // line 143
  395.                 echo "                        ";
  396.                 if ((twig_get_attribute($this->env$this->source$context["dish"], "isPizza", [], "any"truetruefalse143) && twig_get_attribute($this->env$this->source$context["dish"], "isPizza", [], "any"falsefalsefalse143))) {
  397.                     // line 144
  398.                     echo "                            ";
  399.                     $context["teaserView"] = "Slivki/mobile/delivery/delivery_teaser_pizza.html.twig";
  400.                     // line 145
  401.                     echo "                        ";
  402.                 }
  403.                 // line 146
  404.                 echo "                        ";
  405.                 if ((== twig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsefalse146) % 2)) {
  406.                     // line 147
  407.                     echo "                            <div class=\"row\">
  408.                         ";
  409.                 }
  410.                 // line 149
  411.                 echo "                        <div class=\"col-sm-6\">
  412.                             ";
  413.                 // line 150
  414.                 $this->loadTemplate((isset($context["teaserView"]) || array_key_exists("teaserView"$context) ? $context["teaserView"] : (function () { throw new RuntimeError('Variable "teaserView" does not exist.'150$this->source); })()), "Slivki/mobile/delivery/order.html.twig"150)->display(twig_to_array(["dish" => $context["dish"], "isTop" => twig_in_filter(twig_get_attribute($this->env$this->source$context["dish"], "id", [], "any"falsefalsefalse150), (isset($context["topDishIDList"]) || array_key_exists("topDishIDList"$context) ? $context["topDishIDList"] : (function () { throw new RuntimeError('Variable "topDishIDList" does not exist.'150$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.'150$this->source); })()))]));
  415.                 // line 151
  416.                 echo "                        </div>
  417.                         ";
  418.                 // line 152
  419.                 if (((== twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse152) % 2) || twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse152))) {
  420.                     // line 153
  421.                     echo "                            </div>
  422.                         ";
  423.                 }
  424.                 // line 155
  425.                 echo "                    ";
  426.                 ++$context['loop']['index0'];
  427.                 ++$context['loop']['index'];
  428.                 $context['loop']['first'] = false;
  429.                 if (isset($context['loop']['length'])) {
  430.                     --$context['loop']['revindex0'];
  431.                     --$context['loop']['revindex'];
  432.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  433.                 }
  434.             }
  435.             $_parent $context['_parent'];
  436.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['dish'], $context['_parent'], $context['loop']);
  437.             $context array_intersect_key($context$_parent) + $_parent;
  438.             // line 156
  439.             echo "                ";
  440.         }
  441.         // line 157
  442.         echo "            </div>
  443.             ";
  444.         // line 158
  445.         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.'158$this->source); })())), 0))) {
  446.             // line 159
  447.             echo "                ";
  448.             if ((=== 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.'159$this->source); })()), "getID", [], "method"falsefalsefalse159), twig_constant("Slivki\\Util\\Iiko\\SushiChefArts::OFFER_ID")))) {
  449.                 // line 160
  450.                 echo "                    <h6 id=\"dataMenu_options\" class=\"font-size-1000 font-700 mb-4\">Дополнительно</h6>
  451.                 ";
  452.             } else {
  453.                 // line 162
  454.                 echo "                    <h6 id=\"dataMenu_options\" class=\"font-size-1000 font-700 mb-4\">Гарниры и напитки:</h6>
  455.                 ";
  456.             }
  457.             // line 164
  458.             echo "                <div class=\"row mb-5 pb-3\">
  459.                     ";
  460.             // line 165
  461.             $context['_parent'] = $context;
  462.             $context['_seq'] = twig_ensure_traversable((isset($context["options"]) || array_key_exists("options"$context) ? $context["options"] : (function () { throw new RuntimeError('Variable "options" does not exist.'165$this->source); })()));
  463.             $context['loop'] = [
  464.               'parent' => $context['_parent'],
  465.               'index0' => 0,
  466.               'index'  => 1,
  467.               'first'  => true,
  468.             ];
  469.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  470.                 $length count($context['_seq']);
  471.                 $context['loop']['revindex0'] = $length 1;
  472.                 $context['loop']['revindex'] = $length;
  473.                 $context['loop']['length'] = $length;
  474.                 $context['loop']['last'] = === $length;
  475.             }
  476.             foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
  477.                 // line 166
  478.                 echo "                        <div class=\"col-sm-6\">
  479.                             <div class=\"delivery-teaser delivery-teaser-item-products additional-delivery-teaser card border-0 px-3\">
  480.                                 <div class=\"row no-gutters\">
  481.                                     <div class=\"col-auto mr-3\">
  482.                                         <div class=\"additional-delivery-teaser--img\" style=\"background-image: url('";
  483.                 // line 170
  484.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["option"], "imageURL", [], "any"falsefalsefalse170), "html"nulltrue);
  485.                 echo "')\"></div>
  486.                                     </div>
  487.                                     <div class=\"col\">
  488.                                         <div class=\"font-size-1000 dish-name\">";
  489.                 // line 173
  490.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["option"], "name", [], "any"falsefalsefalse173), "html"nulltrue);
  491.                 echo "</div>
  492.                                         <div class=\"d-flex justify-content-between align-items-end\">
  493.                                             <div class=\"d-flex flex-column\">
  494.                                                 <div class=\"font-size-1000 opacity-06 dish-weight\">
  495.                                                     ";
  496.                 // line 177
  497.                 if (twig_get_attribute($this->env$this->source$context["option"], "sizeFull", [], "any"falsefalsefalse177)) {
  498.                     // line 178
  499.                     echo "                                                        ";
  500.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["option"], "sizeFull", [], "any"falsefalsefalse178), "html"nulltrue);
  501.                     echo "
  502.                                                     ";
  503.                 }
  504.                 // line 180
  505.                 echo "                                                </div>
  506.                                             </div>
  507.                                         </div>
  508.                                     </div>
  509.                                 </div>
  510.                                 <div id=\"options_basket\" class=\"row\">
  511.                                     <div class=\"col-auto\">
  512.                                         <div class=\"font-size-1250 font-700 h5 mb-0 py-2 px-3 text-center delivery-price\">
  513.                                             ";
  514.                 // line 188
  515.                 echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->source$context["option"], "price", [], "any"falsefalsefalse188), 2","), "html"nulltrue);
  516.                 echo "&nbsp;р
  517.                                         </div>
  518.                                     </div>
  519.                                     <div class=\"col\">
  520.                                         ";
  521.                 // line 192
  522.                 $this->loadTemplate("Slivki/delivery/quantity_select.html.twig""Slivki/mobile/delivery/order.html.twig"192)->display(twig_array_merge($context, ["isMobile" => true"dish" => $context["option"], "isOption" => true]));
  523.                 // line 193
  524.                 echo "                                    </div>
  525.                                 </div>
  526.                             </div>
  527.                         </div>
  528.                     ";
  529.                 ++$context['loop']['index0'];
  530.                 ++$context['loop']['index'];
  531.                 $context['loop']['first'] = false;
  532.                 if (isset($context['loop']['length'])) {
  533.                     --$context['loop']['revindex0'];
  534.                     --$context['loop']['revindex'];
  535.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  536.                 }
  537.             }
  538.             $_parent $context['_parent'];
  539.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
  540.             $context array_intersect_key($context$_parent) + $_parent;
  541.             // line 198
  542.             echo "                </div>
  543.             ";
  544.         }
  545.         // line 200
  546.         echo "        </form>
  547.         <div class=\"delivery-bottom-placholder\" style=\"height: 150px\"></div>
  548.         <div class=\"basket-container\">
  549.             ";
  550.         // line 203
  551.         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.'203$this->source); })()))) {
  552.             // line 204
  553.             echo "                <div class=\"d-flex\">
  554.                     <div class=\"basket-item-block\" >
  555.                         <img width=\"20\" height=\"20\" src=\"/images/order_page/basket.svg\">
  556.                         <small class=\"counter-basket\">0</small>
  557.                         <p>в корзине</p>
  558.                     </div>
  559.                     <div class=\"price-block-basket\">
  560.                         <p id=\"deliveryTotal\" class=\"old-price-basket\">0,00 р</p>
  561.                         <p id=\"deliveryTotalOfferPrice\" class=\"new-price-basket\">0,00 р</p>
  562.                     </div>
  563.                 </div>
  564.             ";
  565.         }
  566.         // line 216
  567.         echo "            <div id=\"deliveryBtnWrapperWithoutGift\" class=\"basket-buttons-block\">
  568.                 ";
  569.         // line 217
  570.         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.'217$this->source); })()))) {
  571.             // line 218
  572.             echo "                    <div class=\"button-order button-online-order disabled\">
  573.                         ";
  574.             // line 219
  575.             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.'219$this->source); })()))) {
  576.                 // line 220
  577.                 echo "                            получить промокод ";
  578.                 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.'220$this->source); })()), "getDiscount", [], "method"falsefalsefalse220), "html"nulltrue);
  579.                 echo "
  580.                         ";
  581.             } elseif (            // line 221
  582. array_key_exists("isCertificate"$context)) {
  583.                 // line 222
  584.                 echo "                            оформить сертификат
  585.                         ";
  586.             } else {
  587.                 // line 224
  588.                 echo "                            заказать онлайн
  589.                         ";
  590.             }
  591.             // line 226
  592.             echo "                    </div>
  593.                     ";
  594.             // line 228
  595.             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.'228$this->source); })()))) {
  596.                 // line 229
  597.                 echo "                        <div class=\"btn-phone-pay button-order button-call-order text-uppercase ";
  598.                 echo (((isset($context["isBuyCodeDisable"]) || array_key_exists("isBuyCodeDisable"$context) ? $context["isBuyCodeDisable"] : (function () { throw new RuntimeError('Variable "isBuyCodeDisable" does not exist.'229$this->source); })())) ? ("d-none") : (""));
  599.                 echo "\">
  600.                             заказать по телефону
  601.                         </div>
  602.                     ";
  603.             }
  604.             // line 233
  605.             echo "                ";
  606.         } else {
  607.             // line 234
  608.             echo "                    <div class=\"btn-phone-pay button-order\">
  609.                         Получить скидку ";
  610.             // line 235
  611.             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.'235$this->source); })()), "getDiscount", [], "method"falsefalsefalse235), "html"nulltrue);
  612.             echo "
  613.                     </div>
  614.                 ";
  615.         }
  616.         // line 238
  617.         echo "            </div>
  618.             <div id=\"deliveryBtnWrapperForGift\" class=\"basket-buttons-block d-none\">
  619.                 ";
  620.         // line 240
  621.         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.'240$this->source); })()))) {
  622.             // line 241
  623.             echo "                    <div class=\"button-order button-online-order disabled\">
  624.                         заказать себе
  625.                     </div>
  626.                 ";
  627.         }
  628.         // line 245
  629.         echo "                <div id=\"btnGiftOrder\" data-toggle=\"modal\" data-target=\"shareFoodForGift\" class=\"button-order btn-gift-order flex-column\">ЗАКАЗАТЬ В ПОДАРОК<br><span>жене, подруге, родителям, детям </span></div>
  630.             </div>
  631.         </div>
  632.     </div>
  633.     <input type=\"hidden\" id=\"minSumForFreeDelivery\" value=\"";
  634.         // line 249
  635.         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.'249$this->source); })()), "html"nulltrue);
  636.         echo "\">
  637.     <input type=\"hidden\" id=\"minOrderSum\" value=\"";
  638.         // line 250
  639.         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.'250$this->source); })()), "html"nulltrue);
  640.         echo "\">
  641.     <input type=\"hidden\" id=\"codeCost\" value=\"0\"/>
  642.     <input type=\"hidden\" id=\"isDominos\" name=\"isDominos\" value=\"";
  643.         // line 252
  644.         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.'252$this->source); })()))) ? ("1") : ("0"));
  645.         echo "\">
  646. ";
  647.         
  648.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  649.         
  650.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  651.     }
  652.     // line 255
  653.     public function block_footer($context, array $blocks = [])
  654.     {
  655.         $macros $this->macros;
  656.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  657.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  658.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  659.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  660.         
  661.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  662.         
  663.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  664.     }
  665.     // line 257
  666.     public function block_popup($context, array $blocks = [])
  667.     {
  668.         $macros $this->macros;
  669.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  670.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""popup"));
  671.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  672.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""popup"));
  673.         // line 258
  674.         echo "    ";
  675.         $this->displayParentBlock("popup"$context$blocks);
  676.         echo "
  677.     ";
  678.         // line 259
  679.         if ((!== 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.'259$this->source); })()), "getID", [], "method"falsefalsefalse259), 283793))) {
  680.             // line 260
  681.             echo "        ";
  682.             $this->loadTemplate("Slivki/mobile/delivery/modal/details.html.twig""Slivki/mobile/delivery/order.html.twig"260)->display(twig_array_merge($context, ["isOfferPage" => false]));
  683.             // line 261
  684.             echo "    ";
  685.         }
  686.         // line 262
  687.         echo "    ";
  688.         $this->loadTemplate("Slivki/mobile/delivery/modal/clear_basket_modal.html.twig""Slivki/mobile/delivery/order.html.twig"262)->display($context);
  689.         // line 263
  690.         echo "    ";
  691.         $this->loadTemplate("Slivki/mobile/popup/loading_popup.html.twig""Slivki/mobile/delivery/order.html.twig"263)->display($context);
  692.         // line 264
  693.         echo "    ";
  694.         $this->loadTemplate("Slivki/mobile/delivery/modal/basket.html.twig""Slivki/mobile/delivery/order.html.twig"264)->display($context);
  695.         // line 265
  696.         echo "    ";
  697.         $this->loadTemplate("Slivki/popups/buy_code_phone_offer.html.twig""Slivki/mobile/delivery/order.html.twig"265)->display($context);
  698.         // line 266
  699.         echo "    ";
  700.         $this->loadTemplate("Slivki/popups/buy_code_item-offer.html.twig""Slivki/mobile/delivery/order.html.twig"266)->display($context);
  701.         // line 267
  702.         echo "    ";
  703.         $this->loadTemplate("Slivki/popups/buy_code_phonenumber_offers.html.twig""Slivki/mobile/delivery/order.html.twig"267)->display($context);
  704.         // line 268
  705.         echo "    ";
  706.         $this->loadTemplate("Slivki/popups/buy_code_erip_offers.html.twig""Slivki/mobile/delivery/order.html.twig"268)->display($context);
  707.         // line 269
  708.         echo "    ";
  709.         $this->loadTemplate("Slivki/popups/reviews_delivery_page.html.twig""Slivki/mobile/delivery/order.html.twig"269)->display($context);
  710.         // line 270
  711.         echo "    ";
  712.         $this->loadTemplate("Slivki/mobile/order_page/delivery_page_modal.html.twig""Slivki/mobile/delivery/order.html.twig"270)->display($context);
  713.         // line 271
  714.         echo "    ";
  715.         $this->loadTemplate("Slivki/food_court/modal/maps_mobile.html.twig""Slivki/mobile/delivery/order.html.twig"271)->display($context);
  716.         // line 272
  717.         echo "    ";
  718.         $this->loadTemplate("Slivki/popups/share_food_gift_modal_male.html.twig""Slivki/mobile/delivery/order.html.twig"272)->display($context);
  719.         // line 273
  720.         echo "    ";
  721.         $this->loadTemplate("Slivki/popups/create_massage_popup.html.twig""Slivki/mobile/delivery/order.html.twig"273)->display($context);
  722.         // line 274
  723.         echo "    ";
  724.         $this->loadTemplate("Slivki/popups/share_gift_modal.html.twig""Slivki/mobile/delivery/order.html.twig"274)->display($context);
  725.         // line 275
  726.         echo "    ";
  727.         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.'275$this->source); })()), "getBrandboxEnabled", [], "method"falsefalsefalse275) &&  !array_key_exists("isCertificate"$context))) {
  728.             // line 276
  729.             echo "        ";
  730.             $this->loadTemplate("Slivki/mobile/delivery/modal/brandbox/brandbox_popup.html.twig""Slivki/mobile/delivery/order.html.twig"276)->display($context);
  731.             // line 277
  732.             echo "    ";
  733.         }
  734.         // line 278
  735.         echo "    ";
  736.         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.'278$this->source); })()), "user", [], "any"falsefalsefalse278) && 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.'278$this->source); })()), "user", [], "any"falsefalsefalse278), "getActiveCreditCards", [], "method"falsefalsefalse278))) {
  737.             // line 279
  738.             echo "        ";
  739.             $this->loadTemplate("Slivki/popups/buy_code_credit_cards.html.twig""Slivki/mobile/delivery/order.html.twig"279)->display($context);
  740.             // line 280
  741.             echo "        ";
  742.             $this->loadTemplate("Slivki/mobile/popup/buy_promo_custom.html.twig""Slivki/mobile/delivery/order.html.twig"280)->display($context);
  743.             // line 281
  744.             echo "        ";
  745.             $this->loadTemplate("Slivki/popups/buy_code_phone_order_page.html.twig""Slivki/mobile/delivery/order.html.twig"281)->display($context);
  746.             // line 282
  747.             echo "    ";
  748.         }
  749.         // line 283
  750.         echo "    ";
  751.         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.'283$this->source); })()))) {
  752.             // line 284
  753.             echo "        ";
  754.             $this->loadTemplate("Slivki/popups/step_buy_certificate.twig""Slivki/mobile/delivery/order.html.twig"284)->display($context);
  755.             // line 285
  756.             echo "    ";
  757.         }
  758.         
  759.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  760.         
  761.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  762.     }
  763.     // line 288
  764.     public function block_javascripts($context, array $blocks = [])
  765.     {
  766.         $macros $this->macros;
  767.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  768.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  769.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  770.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  771.         // line 289
  772.         echo "    ";
  773.         $this->displayParentBlock("javascripts"$context$blocks);
  774.         echo "
  775.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.8.0/Chart.bundle.min.js\"></script>
  776.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery-toast-plugin/1.3.2/jquery.toast.min.js\" integrity=\"sha512-zlWWyZq71UMApAjih4WkaRpikgY9Bz1oXIW5G0fED4vk14JjGlQ1UmkGM392jEULP8jbNMiwLWdM8Z87Hu88Fw==\" crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\"></script>
  777.     <script type=\"module\" src=\"/mobile/js/order_page.min.js?v=";
  778.         // line 292
  779.         echo twig_escape_filter($this->env, (isset($context["mobile_order_page_js_version"]) || array_key_exists("mobile_order_page_js_version"$context) ? $context["mobile_order_page_js_version"] : (function () { throw new RuntimeError('Variable "mobile_order_page_js_version" does not exist.'292$this->source); })()), "html"nulltrue);
  780.         echo "\"></script>
  781.     <script type=\"module\" src=\"/js/paymentOrderPage/paymentOrderPage.js?v=";
  782.         // line 293
  783.         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.'293$this->source); })()), "html"nulltrue);
  784.         echo "\"></script>
  785.     <script type=\"module\" src=\"/js/paymentOrderPage/api.js?v=";
  786.         // line 294
  787.         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.'294$this->source); })()), "html"nulltrue);
  788.         echo "\"></script>
  789.     <script type=\"module\" src=\"/js/order_page/api.js?v=5\"></script>
  790.     <script src=\"/js/delivery-common.min.js?v=";
  791.         // line 296
  792.         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.'296$this->source); })()), "html"nulltrue);
  793.         echo "\"></script>
  794.     <script src=\"/js/offer.js?v=";
  795.         // line 297
  796.         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.'297$this->source); })()), "html"nulltrue);
  797.         echo "\"></script>
  798.     <script src=\"/mobile/js/delivery.js?v=";
  799.         // line 298
  800.         echo twig_escape_filter($this->env, (isset($context["mobile_delivery_js_version"]) || array_key_exists("mobile_delivery_js_version"$context) ? $context["mobile_delivery_js_version"] : (function () { throw new RuntimeError('Variable "mobile_delivery_js_version" does not exist.'298$this->source); })()), "html"nulltrue);
  801.         echo "\"></script>
  802.     <script src=\"/js/jquery.sameheight.js\"></script>
  803.     <script type=\"module\" src=\"/js/order_as_gift/main.js?v=";
  804.         // line 300
  805.         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.'300$this->source); })()), "html"nulltrue);
  806.         echo "\"></script>
  807.     <script src=\"/js/food_has_variant/main.js?v=";
  808.         // line 301
  809.         echo twig_escape_filter($this->env, (isset($context["food_has_variant_js_version"]) || array_key_exists("food_has_variant_js_version"$context) ? $context["food_has_variant_js_version"] : (function () { throw new RuntimeError('Variable "food_has_variant_js_version" does not exist.'301$this->source); })()), "html"nulltrue);
  810.         echo "\"></script>
  811.     ";
  812.         // line 302
  813.         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.'302$this->source); })()), "request", [], "any"falsefalsefalse302), "query", [], "any"falsefalsefalse302), "has", [=> "checkOrder"], "method"falsefalsefalse302)) {
  814.             // line 303
  815.             echo "        <script>
  816.             \$(function(){
  817.                 initCheckOfferOrderStatus(";
  818.             // line 305
  819.             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.'305$this->source); })()), "request", [], "any"falsefalsefalse305), "get", [=> "checkOrder"], "method"falsefalsefalse305), "html"nulltrue);
  820.             echo ");
  821.             });
  822.         </script>
  823.     ";
  824.         }
  825.         
  826.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  827.         
  828.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  829.     }
  830.     public function getTemplateName()
  831.     {
  832.         return "Slivki/mobile/delivery/order.html.twig";
  833.     }
  834.     public function isTraitable()
  835.     {
  836.         return false;
  837.     }
  838.     public function getDebugInfo()
  839.     {
  840.         return array (  865 => 305,  861 => 303,  859 => 302,  855 => 301,  851 => 300,  846 => 298,  842 => 297,  838 => 296,  833 => 294,  829 => 293,  825 => 292,  818 => 289,  808 => 288,  797 => 285,  794 => 284,  791 => 283,  788 => 282,  785 => 281,  782 => 280,  779 => 279,  776 => 278,  773 => 277,  770 => 276,  767 => 275,  764 => 274,  761 => 273,  758 => 272,  755 => 271,  752 => 270,  749 => 269,  746 => 268,  743 => 267,  740 => 266,  737 => 265,  734 => 264,  731 => 263,  728 => 262,  725 => 261,  722 => 260,  720 => 259,  715 => 258,  705 => 257,  687 => 255,  675 => 252,  670 => 250,  666 => 249,  660 => 245,  654 => 241,  652 => 240,  648 => 238,  642 => 235,  639 => 234,  636 => 233,  628 => 229,  626 => 228,  622 => 226,  618 => 224,  614 => 222,  612 => 221,  607 => 220,  605 => 219,  602 => 218,  600 => 217,  597 => 216,  583 => 204,  581 => 203,  576 => 200,  572 => 198,  554 => 193,  552 => 192,  545 => 188,  535 => 180,  529 => 178,  527 => 177,  520 => 173,  514 => 170,  508 => 166,  491 => 165,  488 => 164,  484 => 162,  480 => 160,  477 => 159,  475 => 158,  472 => 157,  469 => 156,  455 => 155,  451 => 153,  449 => 152,  446 => 151,  444 => 150,  441 => 149,  437 => 147,  434 => 146,  431 => 145,  428 => 144,  425 => 143,  422 => 142,  404 => 141,  402 => 140,  398 => 138,  392 => 136,  390 => 135,  385 => 133,  379 => 130,  373 => 126,  366 => 121,  364 => 120,  352 => 110,  349 => 109,  346 => 108,  342 => 106,  340 => 105,  337 => 104,  334 => 103,  332 => 102,  329 => 101,  326 => 100,  319 => 97,  317 => 96,  302 => 86,  299 => 85,  297 => 84,  293 => 82,  285 => 76,  274 => 70,  269 => 68,  257 => 59,  252 => 57,  246 => 54,  241 => 52,  236 => 50,  231 => 47,  229 => 46,  219 => 42,  211 => 40,  209 => 39,  205 => 38,  201 => 36,  195 => 34,  192 => 33,  186 => 31,  183 => 30,  179 => 28,  176 => 27,  171 => 25,  166 => 24,  163 => 23,  159 => 21,  156 => 20,  152 => 18,  149 => 17,  145 => 15,  142 => 14,  132 => 13,  120 => 10,  116 => 9,  110 => 7,  100 => 6,  82 => 4,  64 => 3,  41 => 1,);
  841.     }
  842.     public function getSourceContext()
  843.     {
  844.         return new Source("{% extends 'Slivki/mobile/base.html.twig' %}
  845. {% block floatingMobileBanner %}{% endblock %}
  846. {% block messenger%}{% endblock %}
  847.  {% block styles %}
  848.      {{ parent() }}
  849.      <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/jquery-toast-plugin/1.3.2/jquery.toast.min.css\" integrity=\"sha512-wJgJNTBBkLit7ymC6vvzM1EcSWeM9mmOu+1USHaRBbHkm6W9EgM0HY27+UtUaprntaYQJF75rc8gjxllKs5OIQ==\" crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\" />
  850.      <link href=\"/mobile/css/order_page.min.css?v={{ mobile_order_page_css_version }}\" rel=\"stylesheet\" type=\"text/css\" />
  851.      <link href=\"/css/orderAsGift.min.css?v={{ order_as_gift_css }}\" rel=\"stylesheet\" type=\"text/css\"/>
  852.  {% endblock %}
  853. {% block content %}
  854.     {% if offer.isWithoutCodes() %}
  855.         <input type=\"hidden\" id=\"isWithoutCodes\">
  856.     {% endif %}
  857.     {% if isAvailableOnFood is defined and isAvailableOnFood %}
  858.         <input type=\"hidden\" id=\"isAvailableOnFood\" value=\"true\">
  859.     {% endif %}
  860.     {% if isFirstSosediPurchase is defined and isFirstSosediPurchase %}
  861.         <input type=\"hidden\" id=\"isFirstSosediPurchase\">
  862.     {% endif %}
  863.     {% if allowedCodesToBuy is defined and allowedCodesToBuy is not null %}
  864.         <input type=\"hidden\" id=\"allowedCodesToBuy\" value=\"{{ allowedCodesToBuy }}\">
  865.         <input type=\"hidden\" id=\"allowedCodesCountBySubscription\" value=\"{{ allowedCodesToBuy }}\">
  866.     {% endif %}
  867.     {% if isCertificate is defined and isCertificate %}
  868.         <input id=\"isCertificate\" type=\"hidden\" value=\"\">
  869.     {% endif %}
  870.     {% if allowedCodesToBuyBatchCodes is defined and allowedCodesToBuyBatchCodes is not null %}
  871.         <input type=\"hidden\" id=\"allowedCodesToBuyBatchCodes\" value=\"{{ allowedCodesToBuyBatchCodes }}\">
  872.     {% endif %}
  873.     {% if director is defined %}
  874.         <input type=\"hidden\" id=\"companyNameOffer\" value=\"{{ director.getName()|e }}\">
  875.     {% endif %}
  876.     <nav aria-label=\"breadcrumb\">
  877.         <ol class=\"breadcrumb m-0 py-1 px-2 bg-white sf-text-font\">
  878.             <li class=\"breadcrumb-item\"><a href=\"{{ base_url }}\">Главная</a></li>
  879.             {% if categoryName != null %}
  880.                 <li class=\"breadcrumb-item\"><a href=\"{{ categoryURL }}\">{{ categoryName }}</a></li>
  881.             {% endif %}
  882.             <li class=\"breadcrumb-item\"><a href=\"{{ getURL(constant('Slivki\\\\Repository\\\\SeoRepository::RESOURCE_URL_OFFER_DETAILS'), offer.getID()) }}\">{{ offer.getCompanyName() }}</a></li>
  883.             <li class=\"breadcrumb-item active\" aria-current=\"page\">Онлайн заказ</li>
  884.         </ol>
  885.     </nav>
  886.     {% if isCertificate is defined and isCertificate %}
  887.         <div id=\"deliverySupplierCard\" class=\"card rounded-14 mb-3\">
  888.             <div class=\"gradient rounded-14\"></div>
  889.             <div class=\"card-img rounded-14\">
  890.                 <img class=\"w-100 rounded-14\" src=\"{{ getImageURL(offer.getTopBlockMobileMedia(), 0, 0) }}\">
  891.             </div>
  892.             <div class=\"delivery-supplier--logo\" style=\"background-image: url('{{ getImageURL(logoMedia, 0, 0) }}')\"></div>
  893.             <div class=\"delivery-supplier--rating\">
  894.                 <i class=\"slivki-icon-star\"></i>{{ offer.getRating() }}
  895.                 <span class=\"pl-2\">
  896.                     <img style=\"vertical-align: -3px; margin-right: .2em;\" class=\"delivery-sales-icon d-inline-block\" src=\"/images/delivery-sales-icon.svg\" alt=\"delivery-sales-icon\">
  897.                     {{ purchaseCountMonth is defined ? purchaseCountMonth : offer.getUsedCodesCount() }}
  898.                 </span>
  899.                 <span class=\"pl-2\"><i class=\"slivki-icon-eye\"></i>{{ visitCount }}</span>
  900.             </div>
  901.             <div class=\"delivery-supplier--text sf-bold-font\"></div>
  902.             <div class=\"delivery-supplier--info w-100\">
  903.                 <span><i class=\"slivki-icon-info-circled-o\"></i>Информация о компании</span>
  904.                 <div class=\"supplier-info-tooltip d-none\">
  905.                     <div class=\"clearfix\">
  906.                         <button class=\"close float-right\"><i class=\"slivki-icon-close-thin\"></i></button>
  907.                     </div>
  908.                     <div class=\"mb-2 sf-bold-font text-dark\">{{ director.getName() }}</div>
  909.                     <div class=\"text-muted\">
  910.                         {{ director.getLegalEntity() }} УНП {{ director.getTaxID() }}
  911.                     </div>
  912.                 </div>
  913.             </div>
  914.         </div>
  915.     {% else %}
  916.         <div  class=\"p-2 sf-font delivery-page\">
  917.             <div class=\"brand-block\">
  918.                 <div id=\"mapOrderPage\" class=\"d-none\" style=\"height: 178px;\" data-toggle=\"modal\" data-target=\"#mapsModal\"></div>
  919.             </div>
  920.         </div>
  921.     {% endif %}
  922.     <div class=\"can-be-fixed-wrapper vendor-filters-wrapper\">
  923.         <div id=\"fixedBlockFilters\">
  924.             {% if isCertificate is not defined or not isCertificate %}
  925.             <div id=\"jsFixedType\" class=\"d-flex flex-column align-items-center\">
  926.                 <div class=\"switch-delivery-pickup-block px-0 {% if not offer.getBrandboxEnabled() %}d-none{% endif %}\">
  927.                     <a class=\"switch-delivery-pickup-item button-tab-delivery delivery-type active\">
  928.                         <p>Доставка</p>
  929.                         <small>удобно👌</small>
  930.                     </a>
  931.                     <a class=\"switch-delivery-pickup-item pickup-type button-tab-pickup\">
  932.                         <p> Самовывоз</p>
  933.                         <small>еще дешевле🔥</small>
  934.                     </a>
  935.                 </div>
  936.                 {% if offer.isGiftCertificateOnlineOrderAllowedOnSite() and offer.isFoodOnlineOrderAllowedOnSite() %}
  937.                 <a href=\"/gift-certificate/select/{{ offer.getID() }}\" class=\"button-order certificate-order-btn\"> Выбрать сертификат<small>себе или в подарок 🎁</small>
  938.                 </a>
  939.                 {% endif %}
  940.                 {% endif %}
  941.             </div>
  942.             {% if isCertificate is not defined or not isCertificate %}
  943.                 {% if pickupEnabled %}
  944.                     <input id=\"deliveryTypeOffers\" type=\"hidden\" value=\"2\">
  945.                 {% elseif deliveryEnabled %}
  946.                     <input id=\"deliveryTypeOffers\" type=\"hidden\" value=\"1\">
  947.                 {% endif %}
  948.             {% endif %}
  949.             {% if isCertificate is not defined or not isCertificate %}
  950.                 <div class=\"p-2 sf-font\">
  951.                     <div id=\"jsFixedFilters\" class=\"w-100 py-0 px-2\" style=\"background: linear-gradient(180deg, #A839FF 0%, #6747e5 100%), #6747E5; border-radius: 6px\">
  952.                         <div class=\"col d-flex align-items-center text-white justify-content-end px-0\">
  953.                             <p class=\"col mb-0 px-0 text-filter-tittle\" style=\"font-size: 0.8rem;\">⚡️ Используй супер-фильтр</p>
  954.                             <div class=\"ordder-page-filter py-1 mx-2\">
  955.                                 <f class=\"text-filter\">Сравни 🔥</f>
  956.                             </div>
  957.                         </div>
  958.                         <div class=\"filter-items-block px-2 py-2\" style=\"display: none\">
  959.                             <div class=\"filter-items-wrapper\">
  960.                                 {% include 'Slivki/online_order/_online_order_sort.html.twig' %}
  961.                             </div>
  962.                         </div>
  963.                     </div>
  964.                 </div>
  965.             {% endif %}
  966.         </div>
  967.     </div>
  968.     <div class=\"p-2 sf-font\">
  969.         <form method=\"post\" action=\"{{ formAction }}\" id=\"dishSelectForm\" class=\"delivery-teasers-block js-delivery-teasers\">
  970.             <input type=\"hidden\" id=\"deliveryBasketInput\" name=\"basket\" value=\"\"/>
  971.             <input type=\"hidden\" id=\"pickupDeliveryType\" name=\"pickupDeliveryType\" value=\"\"/>
  972.             <input type=\"hidden\" id=\"offerID\" name=\"offerID\" value=\"{{ offer.getID() }}\"/>
  973.             <input type=\"hidden\" id=\"dishSortBy\" name=\"dishSortBy\" value=\"\"/>
  974.             {% if deliveryPrice is defined %}
  975.                 <input type=\"hidden\" id=\"deliveryPrice\" name=\"deliveryPrice\" value=\"{{ deliveryPrice }}\"/>
  976.             {% endif %}
  977.             <div id=\"listProducts\">
  978.                 {% if isCertificate is defined and isCertificate %}
  979.                     {% for dish in dishes %}
  980.                         {% set teaserView = 'Slivki/mobile/delivery/delivery_teaser.html.twig' %}
  981.                         {% if dish.isPizza is defined and dish.isPizza %}
  982.                             {% set teaserView = 'Slivki/mobile/delivery/delivery_teaser_pizza.html.twig' %}
  983.                         {% endif %}
  984.                         {% if loop.index0 is divisible by(2) %}
  985.                             <div class=\"row\">
  986.                         {% endif %}
  987.                         <div class=\"col-sm-6\">
  988.                             {% include teaserView with {'dish': dish, 'isTop': dish.id in topDishIDList, 'isAvailableOnFood': isAvailableOnFood is defined and isAvailableOnFood} only %}
  989.                         </div>
  990.                         {% if loop.index is divisible by(2) or loop.last %}
  991.                             </div>
  992.                         {% endif %}
  993.                     {% endfor %}
  994.                 {% endif %}
  995.             </div>
  996.             {% if options|length > 0 %}
  997.                 {% if offer.getID() == constant('Slivki\\\\Util\\\\Iiko\\\\SushiChefArts::OFFER_ID') %}
  998.                     <h6 id=\"dataMenu_options\" class=\"font-size-1000 font-700 mb-4\">Дополнительно</h6>
  999.                 {% else %}
  1000.                     <h6 id=\"dataMenu_options\" class=\"font-size-1000 font-700 mb-4\">Гарниры и напитки:</h6>
  1001.                 {% endif %}
  1002.                 <div class=\"row mb-5 pb-3\">
  1003.                     {% for option in options %}
  1004.                         <div class=\"col-sm-6\">
  1005.                             <div class=\"delivery-teaser delivery-teaser-item-products additional-delivery-teaser card border-0 px-3\">
  1006.                                 <div class=\"row no-gutters\">
  1007.                                     <div class=\"col-auto mr-3\">
  1008.                                         <div class=\"additional-delivery-teaser--img\" style=\"background-image: url('{{ option.imageURL }}')\"></div>
  1009.                                     </div>
  1010.                                     <div class=\"col\">
  1011.                                         <div class=\"font-size-1000 dish-name\">{{ option.name }}</div>
  1012.                                         <div class=\"d-flex justify-content-between align-items-end\">
  1013.                                             <div class=\"d-flex flex-column\">
  1014.                                                 <div class=\"font-size-1000 opacity-06 dish-weight\">
  1015.                                                     {% if option.sizeFull %}
  1016.                                                         {{ option.sizeFull }}
  1017.                                                     {% endif %}
  1018.                                                 </div>
  1019.                                             </div>
  1020.                                         </div>
  1021.                                     </div>
  1022.                                 </div>
  1023.                                 <div id=\"options_basket\" class=\"row\">
  1024.                                     <div class=\"col-auto\">
  1025.                                         <div class=\"font-size-1250 font-700 h5 mb-0 py-2 px-3 text-center delivery-price\">
  1026.                                             {{ option.price|number_format(2, ',') }}&nbsp;р
  1027.                                         </div>
  1028.                                     </div>
  1029.                                     <div class=\"col\">
  1030.                                         {% include 'Slivki/delivery/quantity_select.html.twig' with {'isMobile': true, 'dish': option, 'isOption': true} %}
  1031.                                     </div>
  1032.                                 </div>
  1033.                             </div>
  1034.                         </div>
  1035.                     {% endfor %}
  1036.                 </div>
  1037.             {% endif %}
  1038.         </form>
  1039.         <div class=\"delivery-bottom-placholder\" style=\"height: 150px\"></div>
  1040.         <div class=\"basket-container\">
  1041.             {% if isAvailableOnFood is not defined or not isAvailableOnFood  %}
  1042.                 <div class=\"d-flex\">
  1043.                     <div class=\"basket-item-block\" >
  1044.                         <img width=\"20\" height=\"20\" src=\"/images/order_page/basket.svg\">
  1045.                         <small class=\"counter-basket\">0</small>
  1046.                         <p>в корзине</p>
  1047.                     </div>
  1048.                     <div class=\"price-block-basket\">
  1049.                         <p id=\"deliveryTotal\" class=\"old-price-basket\">0,00 р</p>
  1050.                         <p id=\"deliveryTotalOfferPrice\" class=\"new-price-basket\">0,00 р</p>
  1051.                     </div>
  1052.                 </div>
  1053.             {% endif %}
  1054.             <div id=\"deliveryBtnWrapperWithoutGift\" class=\"basket-buttons-block\">
  1055.                 {% if isAvailableOnFood is not defined or not isAvailableOnFood  %}
  1056.                     <div class=\"button-order button-online-order disabled\">
  1057.                         {% if isBuyOnlyCodeResponse is defined and isBuyOnlyCodeResponse %}
  1058.                             получить промокод {{ offer.getDiscount() }}
  1059.                         {% elseif isCertificate is defined %}
  1060.                             оформить сертификат
  1061.                         {% else %}
  1062.                             заказать онлайн
  1063.                         {% endif %}
  1064.                     </div>
  1065.                     {% if isCertificate is not defined or not isCertificate %}
  1066.                         <div class=\"btn-phone-pay button-order button-call-order text-uppercase {{ isBuyCodeDisable ? 'd-none' : ''  }}\">
  1067.                             заказать по телефону
  1068.                         </div>
  1069.                     {% endif %}
  1070.                 {% else %}
  1071.                     <div class=\"btn-phone-pay button-order\">
  1072.                         Получить скидку {{ offer.getDiscount() }}
  1073.                     </div>
  1074.                 {% endif %}
  1075.             </div>
  1076.             <div id=\"deliveryBtnWrapperForGift\" class=\"basket-buttons-block d-none\">
  1077.                 {% if isAvailableOnFood is not defined or not isAvailableOnFood  %}
  1078.                     <div class=\"button-order button-online-order disabled\">
  1079.                         заказать себе
  1080.                     </div>
  1081.                 {% endif %}
  1082.                 <div id=\"btnGiftOrder\" data-toggle=\"modal\" data-target=\"shareFoodForGift\" class=\"button-order btn-gift-order flex-column\">ЗАКАЗАТЬ В ПОДАРОК<br><span>жене, подруге, родителям, детям </span></div>
  1083.             </div>
  1084.         </div>
  1085.     </div>
  1086.     <input type=\"hidden\" id=\"minSumForFreeDelivery\" value=\"{{ minSumForFreeDelivery }}\">
  1087.     <input type=\"hidden\" id=\"minOrderSum\" value=\"{{ minOrderSum }}\">
  1088.     <input type=\"hidden\" id=\"codeCost\" value=\"0\"/>
  1089.     <input type=\"hidden\" id=\"isDominos\" name=\"isDominos\" value=\"{{ (isDominos is defined and isDominos) ? '1' : '0'  }}\">
  1090. {% endblock %}
  1091. {% block footer %}{% endblock %}
  1092. {% block popup %}
  1093.     {{ parent() }}
  1094.     {% if offer.getID() != 283793 %}
  1095.         {% include 'Slivki/mobile/delivery/modal/details.html.twig' with {'isOfferPage': false}  %}
  1096.     {% endif %}
  1097.     {% include 'Slivki/mobile/delivery/modal/clear_basket_modal.html.twig' %}
  1098.     {% include 'Slivki/mobile/popup/loading_popup.html.twig' %}
  1099.     {% include 'Slivki/mobile/delivery/modal/basket.html.twig' %}
  1100.     {% include 'Slivki/popups/buy_code_phone_offer.html.twig' %}
  1101.     {% include 'Slivki/popups/buy_code_item-offer.html.twig' %}
  1102.     {% include 'Slivki/popups/buy_code_phonenumber_offers.html.twig' %}
  1103.     {% include 'Slivki/popups/buy_code_erip_offers.html.twig' %}
  1104.     {% include 'Slivki/popups/reviews_delivery_page.html.twig' %}
  1105.     {% include 'Slivki/mobile/order_page/delivery_page_modal.html.twig' %}
  1106.     {% include 'Slivki/food_court/modal/maps_mobile.html.twig' %}
  1107.     {% include 'Slivki/popups/share_food_gift_modal_male.html.twig' %}
  1108.     {% include 'Slivki/popups/create_massage_popup.html.twig' %}
  1109.     {% include 'Slivki/popups/share_gift_modal.html.twig' %}
  1110.     {% if offer.getBrandboxEnabled() and isCertificate is not defined %}
  1111.         {% include 'Slivki/mobile/delivery/modal/brandbox/brandbox_popup.html.twig' %}
  1112.     {% endif %}
  1113.     {% if app.user and app.user.getActiveCreditCards()  %}
  1114.         {% include 'Slivki/popups/buy_code_credit_cards.html.twig' %}
  1115.         {% include 'Slivki/mobile/popup/buy_promo_custom.html.twig' %}
  1116.         {% include 'Slivki/popups/buy_code_phone_order_page.html.twig' %}
  1117.     {% endif %}
  1118.     {% if isCertificate is defined and isCertificate %}
  1119.         {% include 'Slivki/popups/step_buy_certificate.twig' %}
  1120.     {% endif %}
  1121. {% endblock %}
  1122. {% block javascripts %}
  1123.     {{ parent() }}
  1124.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.8.0/Chart.bundle.min.js\"></script>
  1125.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery-toast-plugin/1.3.2/jquery.toast.min.js\" integrity=\"sha512-zlWWyZq71UMApAjih4WkaRpikgY9Bz1oXIW5G0fED4vk14JjGlQ1UmkGM392jEULP8jbNMiwLWdM8Z87Hu88Fw==\" crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\"></script>
  1126.     <script type=\"module\" src=\"/mobile/js/order_page.min.js?v={{ mobile_order_page_js_version }}\"></script>
  1127.     <script type=\"module\" src=\"/js/paymentOrderPage/paymentOrderPage.js?v={{ payment_order_page_js_version }}\"></script>
  1128.     <script type=\"module\" src=\"/js/paymentOrderPage/api.js?v={{ payment_order_page_api_js_version }}\"></script>
  1129.     <script type=\"module\" src=\"/js/order_page/api.js?v=5\"></script>
  1130.     <script src=\"/js/delivery-common.min.js?v={{ delivery_common_js_version }}\"></script>
  1131.     <script src=\"/js/offer.js?v={{ offer_js_version }}\"></script>
  1132.     <script src=\"/mobile/js/delivery.js?v={{ mobile_delivery_js_version }}\"></script>
  1133.     <script src=\"/js/jquery.sameheight.js\"></script>
  1134.     <script type=\"module\" src=\"/js/order_as_gift/main.js?v={{ order_as_gift_js_version }}\"></script>
  1135.     <script src=\"/js/food_has_variant/main.js?v={{ food_has_variant_js_version }}\"></script>
  1136.     {% if app.request.query.has('checkOrder') %}
  1137.         <script>
  1138.             \$(function(){
  1139.                 initCheckOfferOrderStatus({{ app.request.get('checkOrder') }});
  1140.             });
  1141.         </script>
  1142.     {% endif %}
  1143. {% endblock %}""Slivki/mobile/delivery/order.html.twig""/mnt/data/virtwww/dima/templates/Slivki/mobile/delivery/order.html.twig");
  1144.     }
  1145. }