<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* Slivki/mobile/delivery/order.html.twig */
class __TwigTemplate_ee142e3c0cd727706720950f3cff0c2bd510d6ee0f12234fcc5a6fbf3c911fbf extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'floatingMobileBanner' => [$this, 'block_floatingMobileBanner'],
'messenger' => [$this, 'block_messenger'],
'styles' => [$this, 'block_styles'],
'content' => [$this, 'block_content'],
'footer' => [$this, 'block_footer'],
'popup' => [$this, 'block_popup'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "Slivki/mobile/base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Slivki/mobile/delivery/order.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Slivki/mobile/delivery/order.html.twig"));
$this->parent = $this->loadTemplate("Slivki/mobile/base.html.twig", "Slivki/mobile/delivery/order.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_floatingMobileBanner($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "floatingMobileBanner"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "floatingMobileBanner"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 4
public function block_messenger($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "messenger"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "messenger"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 6
public function block_styles($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "styles"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "styles"));
// line 7
echo " ";
$this->displayParentBlock("styles", $context, $blocks);
echo "
<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\" />
<link href=\"/mobile/css/order_page.min.css?v=";
// line 9
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", null, true);
echo "\" rel=\"stylesheet\" type=\"text/css\" />
<link href=\"/css/orderAsGift.min.css?v=";
// line 10
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", null, true);
echo "\" rel=\"stylesheet\" type=\"text/css\"/>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 13
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 14
echo " ";
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", false, false, false, 14)) {
// line 15
echo " <input type=\"hidden\" id=\"isWithoutCodes\">
";
}
// line 17
echo " ";
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); })()))) {
// line 18
echo " <input type=\"hidden\" id=\"isAvailableOnFood\" value=\"true\">
";
}
// line 20
echo " ";
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); })()))) {
// line 21
echo " <input type=\"hidden\" id=\"isFirstSosediPurchase\">
";
}
// line 23
echo " ";
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); })())))) {
// line 24
echo " <input type=\"hidden\" id=\"allowedCodesToBuy\" value=\"";
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", null, true);
echo "\">
<input type=\"hidden\" id=\"allowedCodesCountBySubscription\" value=\"";
// line 25
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", null, true);
echo "\">
";
}
// line 27
echo " ";
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); })()))) {
// line 28
echo " <input id=\"isCertificate\" type=\"hidden\" value=\"\">
";
}
// line 30
echo " ";
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); })())))) {
// line 31
echo " <input type=\"hidden\" id=\"allowedCodesToBuyBatchCodes\" value=\"";
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", null, true);
echo "\">
";
}
// line 33
echo " ";
if (array_key_exists("director", $context)) {
// line 34
echo " <input type=\"hidden\" id=\"companyNameOffer\" value=\"";
echo twig_escape_filter($this->env, twig_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", false, false, false, 34));
echo "\">
";
}
// line 36
echo " <nav aria-label=\"breadcrumb\">
<ol class=\"breadcrumb m-0 py-1 px-2 bg-white sf-text-font\">
<li class=\"breadcrumb-item\"><a href=\"";
// line 38
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", null, true);
echo "\">Главная</a></li>
";
// line 39
if ((0 !== 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))) {
// line 40
echo " <li class=\"breadcrumb-item\"><a href=\"";
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", null, true);
echo "\">";
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", null, true);
echo "</a></li>
";
}
// line 42
echo " <li class=\"breadcrumb-item\"><a href=\"";
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", false, false, false, 42)), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, 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); })()), "getCompanyName", [], "method", false, false, false, 42), "html", null, true);
echo "</a></li>
<li class=\"breadcrumb-item active\" aria-current=\"page\">Онлайн заказ</li>
</ol>
</nav>
";
// line 46
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); })()))) {
// line 47
echo " <div id=\"deliverySupplierCard\" class=\"card rounded-14 mb-3\">
<div class=\"gradient rounded-14\"></div>
<div class=\"card-img rounded-14\">
<img class=\"w-100 rounded-14\" src=\"";
// line 50
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", false, false, false, 50), 0, 0), "html", null, true);
echo "\">
</div>
<div class=\"delivery-supplier--logo\" style=\"background-image: url('";
// line 52
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); })()), 0, 0), "html", null, true);
echo "')\"></div>
<div class=\"delivery-supplier--rating\">
<i class=\"slivki-icon-star\"></i>";
// line 54
echo twig_escape_filter($this->env, 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.', 54, $this->source); })()), "getRating", [], "method", false, false, false, 54), "html", null, true);
echo "
<span class=\"pl-2\">
<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\">
";
// line 57
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", false, false, false, 57))), "html", null, true);
echo "
</span>
<span class=\"pl-2\"><i class=\"slivki-icon-eye\"></i>";
// line 59
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", null, true);
echo "</span>
</div>
<div class=\"delivery-supplier--text sf-bold-font\"></div>
<div class=\"delivery-supplier--info w-100\">
<span><i class=\"slivki-icon-info-circled-o\"></i>Информация о компании</span>
<div class=\"supplier-info-tooltip d-none\">
<div class=\"clearfix\">
<button class=\"close float-right\"><i class=\"slivki-icon-close-thin\"></i></button>
</div>
<div class=\"mb-2 sf-bold-font text-dark\">";
// line 68
echo twig_escape_filter($this->env, twig_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", false, false, false, 68), "html", null, true);
echo "</div>
<div class=\"text-muted\">
";
// line 70
echo twig_escape_filter($this->env, twig_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", false, false, false, 70), "html", null, true);
echo " УНП ";
echo twig_escape_filter($this->env, twig_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", false, false, false, 70), "html", null, true);
echo "
</div>
</div>
</div>
</div>
";
} else {
// line 76
echo " <div class=\"p-2 sf-font delivery-page\">
<div class=\"brand-block\">
<div id=\"mapOrderPage\" class=\"d-none\" style=\"height: 178px;\" data-toggle=\"modal\" data-target=\"#mapsModal\"></div>
</div>
</div>
";
}
// line 82
echo " <div class=\"can-be-fixed-wrapper vendor-filters-wrapper\">
<div id=\"fixedBlockFilters\">
";
// line 84
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); })()))) {
// line 85
echo " <div id=\"jsFixedType\" class=\"d-flex flex-column align-items-center\">
<div class=\"switch-delivery-pickup-block px-0 ";
// line 86
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", false, false, false, 86)) {
echo "d-none";
}
echo "\">
<a class=\"switch-delivery-pickup-item button-tab-delivery delivery-type active\">
<p>Доставка</p>
<small>удобно👌</small>
</a>
<a class=\"switch-delivery-pickup-item pickup-type button-tab-pickup\">
<p> Самовывоз</p>
<small>еще дешевле🔥</small>
</a>
</div>
";
// line 96
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", false, false, false, 96) && 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", false, false, false, 96))) {
// line 97
echo " <a href=\"/gift-certificate/select/";
echo twig_escape_filter($this->env, 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.', 97, $this->source); })()), "getID", [], "method", false, false, false, 97), "html", null, true);
echo "\" class=\"button-order certificate-order-btn\"> Выбрать сертификат<small>себе или в подарок 🎁</small>
</a>
";
}
// line 100
echo " ";
}
// line 101
echo " </div>
";
// line 102
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); })()))) {
// line 103
echo " ";
if ((isset($context["pickupEnabled"]) || array_key_exists("pickupEnabled", $context) ? $context["pickupEnabled"] : (function () { throw new RuntimeError('Variable "pickupEnabled" does not exist.', 103, $this->source); })())) {
// line 104
echo " <input id=\"deliveryTypeOffers\" type=\"hidden\" value=\"2\">
";
} elseif ( // line 105
(isset($context["deliveryEnabled"]) || array_key_exists("deliveryEnabled", $context) ? $context["deliveryEnabled"] : (function () { throw new RuntimeError('Variable "deliveryEnabled" does not exist.', 105, $this->source); })())) {
// line 106
echo " <input id=\"deliveryTypeOffers\" type=\"hidden\" value=\"1\">
";
}
// line 108
echo " ";
}
// line 109
echo " ";
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); })()))) {
// line 110
echo " <div class=\"p-2 sf-font\">
<div id=\"jsFixedFilters\" class=\"w-100 py-0 px-2\" style=\"background: linear-gradient(180deg, #A839FF 0%, #6747e5 100%), #6747E5; border-radius: 6px\">
<div class=\"col d-flex align-items-center text-white justify-content-end px-0\">
<p class=\"col mb-0 px-0 text-filter-tittle\" style=\"font-size: 0.8rem;\">⚡️ Используй супер-фильтр</p>
<div class=\"ordder-page-filter py-1 mx-2\">
<f class=\"text-filter\">Сравни 🔥</f>
</div>
</div>
<div class=\"filter-items-block px-2 py-2\" style=\"display: none\">
<div class=\"filter-items-wrapper\">
";
// line 120
$this->loadTemplate("Slivki/online_order/_online_order_sort.html.twig", "Slivki/mobile/delivery/order.html.twig", 120)->display($context);
// line 121
echo " </div>
</div>
</div>
</div>
";
}
// line 126
echo " </div>
</div>
<div class=\"p-2 sf-font\">
<form method=\"post\" action=\"";
// line 130
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", null, true);
echo "\" id=\"dishSelectForm\" class=\"delivery-teasers-block js-delivery-teasers\">
<input type=\"hidden\" id=\"deliveryBasketInput\" name=\"basket\" value=\"\"/>
<input type=\"hidden\" id=\"pickupDeliveryType\" name=\"pickupDeliveryType\" value=\"\"/>
<input type=\"hidden\" id=\"offerID\" name=\"offerID\" value=\"";
// line 133
echo twig_escape_filter($this->env, 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.', 133, $this->source); })()), "getID", [], "method", false, false, false, 133), "html", null, true);
echo "\"/>
<input type=\"hidden\" id=\"dishSortBy\" name=\"dishSortBy\" value=\"\"/>
";
// line 135
if (array_key_exists("deliveryPrice", $context)) {
// line 136
echo " <input type=\"hidden\" id=\"deliveryPrice\" name=\"deliveryPrice\" value=\"";
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", null, true);
echo "\"/>
";
}
// line 138
echo "
<div id=\"listProducts\">
";
// line 140
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); })()))) {
// line 141
echo " ";
$context['_parent'] = $context;
$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); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["dish"]) {
// line 142
echo " ";
$context["teaserView"] = "Slivki/mobile/delivery/delivery_teaser.html.twig";
// line 143
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["dish"], "isPizza", [], "any", true, true, false, 143) && twig_get_attribute($this->env, $this->source, $context["dish"], "isPizza", [], "any", false, false, false, 143))) {
// line 144
echo " ";
$context["teaserView"] = "Slivki/mobile/delivery/delivery_teaser_pizza.html.twig";
// line 145
echo " ";
}
// line 146
echo " ";
if ((0 == twig_get_attribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 146) % 2)) {
// line 147
echo " <div class=\"row\">
";
}
// line 149
echo " <div class=\"col-sm-6\">
";
// line 150
$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", false, false, false, 150), (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); })()))]));
// line 151
echo " </div>
";
// line 152
if (((0 == twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 152) % 2) || twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 152))) {
// line 153
echo " </div>
";
}
// line 155
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['dish'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 156
echo " ";
}
// line 157
echo " </div>
";
// line 158
if ((1 === 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))) {
// line 159
echo " ";
if ((0 === 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", false, false, false, 159), twig_constant("Slivki\\Util\\Iiko\\SushiChefArts::OFFER_ID")))) {
// line 160
echo " <h6 id=\"dataMenu_options\" class=\"font-size-1000 font-700 mb-4\">Дополнительно</h6>
";
} else {
// line 162
echo " <h6 id=\"dataMenu_options\" class=\"font-size-1000 font-700 mb-4\">Гарниры и напитки:</h6>
";
}
// line 164
echo " <div class=\"row mb-5 pb-3\">
";
// line 165
$context['_parent'] = $context;
$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); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
// line 166
echo " <div class=\"col-sm-6\">
<div class=\"delivery-teaser delivery-teaser-item-products additional-delivery-teaser card border-0 px-3\">
<div class=\"row no-gutters\">
<div class=\"col-auto mr-3\">
<div class=\"additional-delivery-teaser--img\" style=\"background-image: url('";
// line 170
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "imageURL", [], "any", false, false, false, 170), "html", null, true);
echo "')\"></div>
</div>
<div class=\"col\">
<div class=\"font-size-1000 dish-name\">";
// line 173
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "name", [], "any", false, false, false, 173), "html", null, true);
echo "</div>
<div class=\"d-flex justify-content-between align-items-end\">
<div class=\"d-flex flex-column\">
<div class=\"font-size-1000 opacity-06 dish-weight\">
";
// line 177
if (twig_get_attribute($this->env, $this->source, $context["option"], "sizeFull", [], "any", false, false, false, 177)) {
// line 178
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "sizeFull", [], "any", false, false, false, 178), "html", null, true);
echo "
";
}
// line 180
echo " </div>
</div>
</div>
</div>
</div>
<div id=\"options_basket\" class=\"row\">
<div class=\"col-auto\">
<div class=\"font-size-1250 font-700 h5 mb-0 py-2 px-3 text-center delivery-price\">
";
// line 188
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "price", [], "any", false, false, false, 188), 2, ","), "html", null, true);
echo " р
</div>
</div>
<div class=\"col\">
";
// line 192
$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]));
// line 193
echo " </div>
</div>
</div>
</div>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 198
echo " </div>
";
}
// line 200
echo " </form>
<div class=\"delivery-bottom-placholder\" style=\"height: 150px\"></div>
<div class=\"basket-container\">
";
// line 203
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); })()))) {
// line 204
echo " <div class=\"d-flex\">
<div class=\"basket-item-block\" >
<img width=\"20\" height=\"20\" src=\"/images/order_page/basket.svg\">
<small class=\"counter-basket\">0</small>
<p>в корзине</p>
</div>
<div class=\"price-block-basket\">
<p id=\"deliveryTotal\" class=\"old-price-basket\">0,00 р</p>
<p id=\"deliveryTotalOfferPrice\" class=\"new-price-basket\">0,00 р</p>
</div>
</div>
";
}
// line 216
echo " <div id=\"deliveryBtnWrapperWithoutGift\" class=\"basket-buttons-block\">
";
// line 217
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); })()))) {
// line 218
echo " <div class=\"button-order button-online-order disabled\">
";
// line 219
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); })()))) {
// line 220
echo " получить промокод ";
echo twig_escape_filter($this->env, 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.', 220, $this->source); })()), "getDiscount", [], "method", false, false, false, 220), "html", null, true);
echo "
";
} elseif ( // line 221
array_key_exists("isCertificate", $context)) {
// line 222
echo " оформить сертификат
";
} else {
// line 224
echo " заказать онлайн
";
}
// line 226
echo " </div>
";
// line 228
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); })()))) {
// line 229
echo " <div class=\"btn-phone-pay button-order button-call-order text-uppercase ";
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") : (""));
echo "\">
заказать по телефону
</div>
";
}
// line 233
echo " ";
} else {
// line 234
echo " <div class=\"btn-phone-pay button-order\">
Получить скидку ";
// line 235
echo twig_escape_filter($this->env, 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.', 235, $this->source); })()), "getDiscount", [], "method", false, false, false, 235), "html", null, true);
echo "
</div>
";
}
// line 238
echo " </div>
<div id=\"deliveryBtnWrapperForGift\" class=\"basket-buttons-block d-none\">
";
// line 240
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); })()))) {
// line 241
echo " <div class=\"button-order button-online-order disabled\">
заказать себе
</div>
";
}
// line 245
echo " <div id=\"btnGiftOrder\" data-toggle=\"modal\" data-target=\"shareFoodForGift\" class=\"button-order btn-gift-order flex-column\">ЗАКАЗАТЬ В ПОДАРОК<br><span>жене, подруге, родителям, детям </span></div>
</div>
</div>
</div>
<input type=\"hidden\" id=\"minSumForFreeDelivery\" value=\"";
// line 249
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", null, true);
echo "\">
<input type=\"hidden\" id=\"minOrderSum\" value=\"";
// line 250
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", null, true);
echo "\">
<input type=\"hidden\" id=\"codeCost\" value=\"0\"/>
<input type=\"hidden\" id=\"isDominos\" name=\"isDominos\" value=\"";
// line 252
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"));
echo "\">
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 255
public function block_footer($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 257
public function block_popup($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "popup"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "popup"));
// line 258
echo " ";
$this->displayParentBlock("popup", $context, $blocks);
echo "
";
// line 259
if ((0 !== 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", false, false, false, 259), 283793))) {
// line 260
echo " ";
$this->loadTemplate("Slivki/mobile/delivery/modal/details.html.twig", "Slivki/mobile/delivery/order.html.twig", 260)->display(twig_array_merge($context, ["isOfferPage" => false]));
// line 261
echo " ";
}
// line 262
echo " ";
$this->loadTemplate("Slivki/mobile/delivery/modal/clear_basket_modal.html.twig", "Slivki/mobile/delivery/order.html.twig", 262)->display($context);
// line 263
echo " ";
$this->loadTemplate("Slivki/mobile/popup/loading_popup.html.twig", "Slivki/mobile/delivery/order.html.twig", 263)->display($context);
// line 264
echo " ";
$this->loadTemplate("Slivki/mobile/delivery/modal/basket.html.twig", "Slivki/mobile/delivery/order.html.twig", 264)->display($context);
// line 265
echo " ";
$this->loadTemplate("Slivki/popups/buy_code_phone_offer.html.twig", "Slivki/mobile/delivery/order.html.twig", 265)->display($context);
// line 266
echo " ";
$this->loadTemplate("Slivki/popups/buy_code_item-offer.html.twig", "Slivki/mobile/delivery/order.html.twig", 266)->display($context);
// line 267
echo " ";
$this->loadTemplate("Slivki/popups/buy_code_phonenumber_offers.html.twig", "Slivki/mobile/delivery/order.html.twig", 267)->display($context);
// line 268
echo " ";
$this->loadTemplate("Slivki/popups/buy_code_erip_offers.html.twig", "Slivki/mobile/delivery/order.html.twig", 268)->display($context);
// line 269
echo " ";
$this->loadTemplate("Slivki/popups/reviews_delivery_page.html.twig", "Slivki/mobile/delivery/order.html.twig", 269)->display($context);
// line 270
echo " ";
$this->loadTemplate("Slivki/mobile/order_page/delivery_page_modal.html.twig", "Slivki/mobile/delivery/order.html.twig", 270)->display($context);
// line 271
echo " ";
$this->loadTemplate("Slivki/food_court/modal/maps_mobile.html.twig", "Slivki/mobile/delivery/order.html.twig", 271)->display($context);
// line 272
echo " ";
$this->loadTemplate("Slivki/popups/share_food_gift_modal_male.html.twig", "Slivki/mobile/delivery/order.html.twig", 272)->display($context);
// line 273
echo " ";
$this->loadTemplate("Slivki/popups/create_massage_popup.html.twig", "Slivki/mobile/delivery/order.html.twig", 273)->display($context);
// line 274
echo " ";
$this->loadTemplate("Slivki/popups/share_gift_modal.html.twig", "Slivki/mobile/delivery/order.html.twig", 274)->display($context);
// line 275
echo " ";
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", false, false, false, 275) && !array_key_exists("isCertificate", $context))) {
// line 276
echo " ";
$this->loadTemplate("Slivki/mobile/delivery/modal/brandbox/brandbox_popup.html.twig", "Slivki/mobile/delivery/order.html.twig", 276)->display($context);
// line 277
echo " ";
}
// line 278
echo " ";
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", false, false, false, 278) && twig_get_attribute($this->env, $this->source, 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", false, false, false, 278), "getActiveCreditCards", [], "method", false, false, false, 278))) {
// line 279
echo " ";
$this->loadTemplate("Slivki/popups/buy_code_credit_cards.html.twig", "Slivki/mobile/delivery/order.html.twig", 279)->display($context);
// line 280
echo " ";
$this->loadTemplate("Slivki/mobile/popup/buy_promo_custom.html.twig", "Slivki/mobile/delivery/order.html.twig", 280)->display($context);
// line 281
echo " ";
$this->loadTemplate("Slivki/popups/buy_code_phone_order_page.html.twig", "Slivki/mobile/delivery/order.html.twig", 281)->display($context);
// line 282
echo " ";
}
// line 283
echo " ";
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); })()))) {
// line 284
echo " ";
$this->loadTemplate("Slivki/popups/step_buy_certificate.twig", "Slivki/mobile/delivery/order.html.twig", 284)->display($context);
// line 285
echo " ";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 288
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 289
echo " ";
$this->displayParentBlock("javascripts", $context, $blocks);
echo "
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.8.0/Chart.bundle.min.js\"></script>
<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>
<script type=\"module\" src=\"/mobile/js/order_page.min.js?v=";
// line 292
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", null, true);
echo "\"></script>
<script type=\"module\" src=\"/js/paymentOrderPage/paymentOrderPage.js?v=";
// line 293
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", null, true);
echo "\"></script>
<script type=\"module\" src=\"/js/paymentOrderPage/api.js?v=";
// line 294
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", null, true);
echo "\"></script>
<script type=\"module\" src=\"/js/order_page/api.js?v=5\"></script>
<script src=\"/js/delivery-common.min.js?v=";
// line 296
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", null, true);
echo "\"></script>
<script src=\"/js/offer.js?v=";
// line 297
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", null, true);
echo "\"></script>
<script src=\"/mobile/js/delivery.js?v=";
// line 298
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", null, true);
echo "\"></script>
<script src=\"/js/jquery.sameheight.js\"></script>
<script type=\"module\" src=\"/js/order_as_gift/main.js?v=";
// line 300
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", null, true);
echo "\"></script>
<script src=\"/js/food_has_variant/main.js?v=";
// line 301
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", null, true);
echo "\"></script>
";
// line 302
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 302, $this->source); })()), "request", [], "any", false, false, false, 302), "query", [], "any", false, false, false, 302), "has", [0 => "checkOrder"], "method", false, false, false, 302)) {
// line 303
echo " <script>
\$(function(){
initCheckOfferOrderStatus(";
// line 305
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 305, $this->source); })()), "request", [], "any", false, false, false, 305), "get", [0 => "checkOrder"], "method", false, false, false, 305), "html", null, true);
echo ");
});
</script>
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "Slivki/mobile/delivery/order.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends 'Slivki/mobile/base.html.twig' %}
{% block floatingMobileBanner %}{% endblock %}
{% block messenger%}{% endblock %}
{% block styles %}
{{ parent() }}
<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\" />
<link href=\"/mobile/css/order_page.min.css?v={{ mobile_order_page_css_version }}\" rel=\"stylesheet\" type=\"text/css\" />
<link href=\"/css/orderAsGift.min.css?v={{ order_as_gift_css }}\" rel=\"stylesheet\" type=\"text/css\"/>
{% endblock %}
{% block content %}
{% if offer.isWithoutCodes() %}
<input type=\"hidden\" id=\"isWithoutCodes\">
{% endif %}
{% if isAvailableOnFood is defined and isAvailableOnFood %}
<input type=\"hidden\" id=\"isAvailableOnFood\" value=\"true\">
{% endif %}
{% if isFirstSosediPurchase is defined and isFirstSosediPurchase %}
<input type=\"hidden\" id=\"isFirstSosediPurchase\">
{% endif %}
{% if allowedCodesToBuy is defined and allowedCodesToBuy is not null %}
<input type=\"hidden\" id=\"allowedCodesToBuy\" value=\"{{ allowedCodesToBuy }}\">
<input type=\"hidden\" id=\"allowedCodesCountBySubscription\" value=\"{{ allowedCodesToBuy }}\">
{% endif %}
{% if isCertificate is defined and isCertificate %}
<input id=\"isCertificate\" type=\"hidden\" value=\"\">
{% endif %}
{% if allowedCodesToBuyBatchCodes is defined and allowedCodesToBuyBatchCodes is not null %}
<input type=\"hidden\" id=\"allowedCodesToBuyBatchCodes\" value=\"{{ allowedCodesToBuyBatchCodes }}\">
{% endif %}
{% if director is defined %}
<input type=\"hidden\" id=\"companyNameOffer\" value=\"{{ director.getName()|e }}\">
{% endif %}
<nav aria-label=\"breadcrumb\">
<ol class=\"breadcrumb m-0 py-1 px-2 bg-white sf-text-font\">
<li class=\"breadcrumb-item\"><a href=\"{{ base_url }}\">Главная</a></li>
{% if categoryName != null %}
<li class=\"breadcrumb-item\"><a href=\"{{ categoryURL }}\">{{ categoryName }}</a></li>
{% endif %}
<li class=\"breadcrumb-item\"><a href=\"{{ getURL(constant('Slivki\\\\Repository\\\\SeoRepository::RESOURCE_URL_OFFER_DETAILS'), offer.getID()) }}\">{{ offer.getCompanyName() }}</a></li>
<li class=\"breadcrumb-item active\" aria-current=\"page\">Онлайн заказ</li>
</ol>
</nav>
{% if isCertificate is defined and isCertificate %}
<div id=\"deliverySupplierCard\" class=\"card rounded-14 mb-3\">
<div class=\"gradient rounded-14\"></div>
<div class=\"card-img rounded-14\">
<img class=\"w-100 rounded-14\" src=\"{{ getImageURL(offer.getTopBlockMobileMedia(), 0, 0) }}\">
</div>
<div class=\"delivery-supplier--logo\" style=\"background-image: url('{{ getImageURL(logoMedia, 0, 0) }}')\"></div>
<div class=\"delivery-supplier--rating\">
<i class=\"slivki-icon-star\"></i>{{ offer.getRating() }}
<span class=\"pl-2\">
<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\">
{{ purchaseCountMonth is defined ? purchaseCountMonth : offer.getUsedCodesCount() }}
</span>
<span class=\"pl-2\"><i class=\"slivki-icon-eye\"></i>{{ visitCount }}</span>
</div>
<div class=\"delivery-supplier--text sf-bold-font\"></div>
<div class=\"delivery-supplier--info w-100\">
<span><i class=\"slivki-icon-info-circled-o\"></i>Информация о компании</span>
<div class=\"supplier-info-tooltip d-none\">
<div class=\"clearfix\">
<button class=\"close float-right\"><i class=\"slivki-icon-close-thin\"></i></button>
</div>
<div class=\"mb-2 sf-bold-font text-dark\">{{ director.getName() }}</div>
<div class=\"text-muted\">
{{ director.getLegalEntity() }} УНП {{ director.getTaxID() }}
</div>
</div>
</div>
</div>
{% else %}
<div class=\"p-2 sf-font delivery-page\">
<div class=\"brand-block\">
<div id=\"mapOrderPage\" class=\"d-none\" style=\"height: 178px;\" data-toggle=\"modal\" data-target=\"#mapsModal\"></div>
</div>
</div>
{% endif %}
<div class=\"can-be-fixed-wrapper vendor-filters-wrapper\">
<div id=\"fixedBlockFilters\">
{% if isCertificate is not defined or not isCertificate %}
<div id=\"jsFixedType\" class=\"d-flex flex-column align-items-center\">
<div class=\"switch-delivery-pickup-block px-0 {% if not offer.getBrandboxEnabled() %}d-none{% endif %}\">
<a class=\"switch-delivery-pickup-item button-tab-delivery delivery-type active\">
<p>Доставка</p>
<small>удобно👌</small>
</a>
<a class=\"switch-delivery-pickup-item pickup-type button-tab-pickup\">
<p> Самовывоз</p>
<small>еще дешевле🔥</small>
</a>
</div>
{% if offer.isGiftCertificateOnlineOrderAllowedOnSite() and offer.isFoodOnlineOrderAllowedOnSite() %}
<a href=\"/gift-certificate/select/{{ offer.getID() }}\" class=\"button-order certificate-order-btn\"> Выбрать сертификат<small>себе или в подарок 🎁</small>
</a>
{% endif %}
{% endif %}
</div>
{% if isCertificate is not defined or not isCertificate %}
{% if pickupEnabled %}
<input id=\"deliveryTypeOffers\" type=\"hidden\" value=\"2\">
{% elseif deliveryEnabled %}
<input id=\"deliveryTypeOffers\" type=\"hidden\" value=\"1\">
{% endif %}
{% endif %}
{% if isCertificate is not defined or not isCertificate %}
<div class=\"p-2 sf-font\">
<div id=\"jsFixedFilters\" class=\"w-100 py-0 px-2\" style=\"background: linear-gradient(180deg, #A839FF 0%, #6747e5 100%), #6747E5; border-radius: 6px\">
<div class=\"col d-flex align-items-center text-white justify-content-end px-0\">
<p class=\"col mb-0 px-0 text-filter-tittle\" style=\"font-size: 0.8rem;\">⚡️ Используй супер-фильтр</p>
<div class=\"ordder-page-filter py-1 mx-2\">
<f class=\"text-filter\">Сравни 🔥</f>
</div>
</div>
<div class=\"filter-items-block px-2 py-2\" style=\"display: none\">
<div class=\"filter-items-wrapper\">
{% include 'Slivki/online_order/_online_order_sort.html.twig' %}
</div>
</div>
</div>
</div>
{% endif %}
</div>
</div>
<div class=\"p-2 sf-font\">
<form method=\"post\" action=\"{{ formAction }}\" id=\"dishSelectForm\" class=\"delivery-teasers-block js-delivery-teasers\">
<input type=\"hidden\" id=\"deliveryBasketInput\" name=\"basket\" value=\"\"/>
<input type=\"hidden\" id=\"pickupDeliveryType\" name=\"pickupDeliveryType\" value=\"\"/>
<input type=\"hidden\" id=\"offerID\" name=\"offerID\" value=\"{{ offer.getID() }}\"/>
<input type=\"hidden\" id=\"dishSortBy\" name=\"dishSortBy\" value=\"\"/>
{% if deliveryPrice is defined %}
<input type=\"hidden\" id=\"deliveryPrice\" name=\"deliveryPrice\" value=\"{{ deliveryPrice }}\"/>
{% endif %}
<div id=\"listProducts\">
{% if isCertificate is defined and isCertificate %}
{% for dish in dishes %}
{% set teaserView = 'Slivki/mobile/delivery/delivery_teaser.html.twig' %}
{% if dish.isPizza is defined and dish.isPizza %}
{% set teaserView = 'Slivki/mobile/delivery/delivery_teaser_pizza.html.twig' %}
{% endif %}
{% if loop.index0 is divisible by(2) %}
<div class=\"row\">
{% endif %}
<div class=\"col-sm-6\">
{% include teaserView with {'dish': dish, 'isTop': dish.id in topDishIDList, 'isAvailableOnFood': isAvailableOnFood is defined and isAvailableOnFood} only %}
</div>
{% if loop.index is divisible by(2) or loop.last %}
</div>
{% endif %}
{% endfor %}
{% endif %}
</div>
{% if options|length > 0 %}
{% if offer.getID() == constant('Slivki\\\\Util\\\\Iiko\\\\SushiChefArts::OFFER_ID') %}
<h6 id=\"dataMenu_options\" class=\"font-size-1000 font-700 mb-4\">Дополнительно</h6>
{% else %}
<h6 id=\"dataMenu_options\" class=\"font-size-1000 font-700 mb-4\">Гарниры и напитки:</h6>
{% endif %}
<div class=\"row mb-5 pb-3\">
{% for option in options %}
<div class=\"col-sm-6\">
<div class=\"delivery-teaser delivery-teaser-item-products additional-delivery-teaser card border-0 px-3\">
<div class=\"row no-gutters\">
<div class=\"col-auto mr-3\">
<div class=\"additional-delivery-teaser--img\" style=\"background-image: url('{{ option.imageURL }}')\"></div>
</div>
<div class=\"col\">
<div class=\"font-size-1000 dish-name\">{{ option.name }}</div>
<div class=\"d-flex justify-content-between align-items-end\">
<div class=\"d-flex flex-column\">
<div class=\"font-size-1000 opacity-06 dish-weight\">
{% if option.sizeFull %}
{{ option.sizeFull }}
{% endif %}
</div>
</div>
</div>
</div>
</div>
<div id=\"options_basket\" class=\"row\">
<div class=\"col-auto\">
<div class=\"font-size-1250 font-700 h5 mb-0 py-2 px-3 text-center delivery-price\">
{{ option.price|number_format(2, ',') }} р
</div>
</div>
<div class=\"col\">
{% include 'Slivki/delivery/quantity_select.html.twig' with {'isMobile': true, 'dish': option, 'isOption': true} %}
</div>
</div>
</div>
</div>
{% endfor %}
</div>
{% endif %}
</form>
<div class=\"delivery-bottom-placholder\" style=\"height: 150px\"></div>
<div class=\"basket-container\">
{% if isAvailableOnFood is not defined or not isAvailableOnFood %}
<div class=\"d-flex\">
<div class=\"basket-item-block\" >
<img width=\"20\" height=\"20\" src=\"/images/order_page/basket.svg\">
<small class=\"counter-basket\">0</small>
<p>в корзине</p>
</div>
<div class=\"price-block-basket\">
<p id=\"deliveryTotal\" class=\"old-price-basket\">0,00 р</p>
<p id=\"deliveryTotalOfferPrice\" class=\"new-price-basket\">0,00 р</p>
</div>
</div>
{% endif %}
<div id=\"deliveryBtnWrapperWithoutGift\" class=\"basket-buttons-block\">
{% if isAvailableOnFood is not defined or not isAvailableOnFood %}
<div class=\"button-order button-online-order disabled\">
{% if isBuyOnlyCodeResponse is defined and isBuyOnlyCodeResponse %}
получить промокод {{ offer.getDiscount() }}
{% elseif isCertificate is defined %}
оформить сертификат
{% else %}
заказать онлайн
{% endif %}
</div>
{% if isCertificate is not defined or not isCertificate %}
<div class=\"btn-phone-pay button-order button-call-order text-uppercase {{ isBuyCodeDisable ? 'd-none' : '' }}\">
заказать по телефону
</div>
{% endif %}
{% else %}
<div class=\"btn-phone-pay button-order\">
Получить скидку {{ offer.getDiscount() }}
</div>
{% endif %}
</div>
<div id=\"deliveryBtnWrapperForGift\" class=\"basket-buttons-block d-none\">
{% if isAvailableOnFood is not defined or not isAvailableOnFood %}
<div class=\"button-order button-online-order disabled\">
заказать себе
</div>
{% endif %}
<div id=\"btnGiftOrder\" data-toggle=\"modal\" data-target=\"shareFoodForGift\" class=\"button-order btn-gift-order flex-column\">ЗАКАЗАТЬ В ПОДАРОК<br><span>жене, подруге, родителям, детям </span></div>
</div>
</div>
</div>
<input type=\"hidden\" id=\"minSumForFreeDelivery\" value=\"{{ minSumForFreeDelivery }}\">
<input type=\"hidden\" id=\"minOrderSum\" value=\"{{ minOrderSum }}\">
<input type=\"hidden\" id=\"codeCost\" value=\"0\"/>
<input type=\"hidden\" id=\"isDominos\" name=\"isDominos\" value=\"{{ (isDominos is defined and isDominos) ? '1' : '0' }}\">
{% endblock %}
{% block footer %}{% endblock %}
{% block popup %}
{{ parent() }}
{% if offer.getID() != 283793 %}
{% include 'Slivki/mobile/delivery/modal/details.html.twig' with {'isOfferPage': false} %}
{% endif %}
{% include 'Slivki/mobile/delivery/modal/clear_basket_modal.html.twig' %}
{% include 'Slivki/mobile/popup/loading_popup.html.twig' %}
{% include 'Slivki/mobile/delivery/modal/basket.html.twig' %}
{% include 'Slivki/popups/buy_code_phone_offer.html.twig' %}
{% include 'Slivki/popups/buy_code_item-offer.html.twig' %}
{% include 'Slivki/popups/buy_code_phonenumber_offers.html.twig' %}
{% include 'Slivki/popups/buy_code_erip_offers.html.twig' %}
{% include 'Slivki/popups/reviews_delivery_page.html.twig' %}
{% include 'Slivki/mobile/order_page/delivery_page_modal.html.twig' %}
{% include 'Slivki/food_court/modal/maps_mobile.html.twig' %}
{% include 'Slivki/popups/share_food_gift_modal_male.html.twig' %}
{% include 'Slivki/popups/create_massage_popup.html.twig' %}
{% include 'Slivki/popups/share_gift_modal.html.twig' %}
{% if offer.getBrandboxEnabled() and isCertificate is not defined %}
{% include 'Slivki/mobile/delivery/modal/brandbox/brandbox_popup.html.twig' %}
{% endif %}
{% if app.user and app.user.getActiveCreditCards() %}
{% include 'Slivki/popups/buy_code_credit_cards.html.twig' %}
{% include 'Slivki/mobile/popup/buy_promo_custom.html.twig' %}
{% include 'Slivki/popups/buy_code_phone_order_page.html.twig' %}
{% endif %}
{% if isCertificate is defined and isCertificate %}
{% include 'Slivki/popups/step_buy_certificate.twig' %}
{% endif %}
{% endblock %}
{% block javascripts %}
{{ parent() }}
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.8.0/Chart.bundle.min.js\"></script>
<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>
<script type=\"module\" src=\"/mobile/js/order_page.min.js?v={{ mobile_order_page_js_version }}\"></script>
<script type=\"module\" src=\"/js/paymentOrderPage/paymentOrderPage.js?v={{ payment_order_page_js_version }}\"></script>
<script type=\"module\" src=\"/js/paymentOrderPage/api.js?v={{ payment_order_page_api_js_version }}\"></script>
<script type=\"module\" src=\"/js/order_page/api.js?v=5\"></script>
<script src=\"/js/delivery-common.min.js?v={{ delivery_common_js_version }}\"></script>
<script src=\"/js/offer.js?v={{ offer_js_version }}\"></script>
<script src=\"/mobile/js/delivery.js?v={{ mobile_delivery_js_version }}\"></script>
<script src=\"/js/jquery.sameheight.js\"></script>
<script type=\"module\" src=\"/js/order_as_gift/main.js?v={{ order_as_gift_js_version }}\"></script>
<script src=\"/js/food_has_variant/main.js?v={{ food_has_variant_js_version }}\"></script>
{% if app.request.query.has('checkOrder') %}
<script>
\$(function(){
initCheckOfferOrderStatus({{ app.request.get('checkOrder') }});
});
</script>
{% endif %}
{% endblock %}", "Slivki/mobile/delivery/order.html.twig", "/mnt/data/virtwww/dima/templates/Slivki/mobile/delivery/order.html.twig");
}
}