var/cache/dev/twig/29/294c30d66f5f5cce66f57627518681b7989c45119d84e6f84414266e4ec48d20.php line 54

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/tire/tires_by_offer.html.twig */
  14. class __TwigTemplate_3e2b1a45dde78c40f63b7591cbe4b85a1b730e76b148a212c2ed33e9dda111e1 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'stylesheets' => [$this'block_stylesheets'],
  24.             'left_sidebar' => [$this'block_left_sidebar'],
  25.             'messenger' => [$this'block_messenger'],
  26.             'content' => [$this'block_content'],
  27.             'footer' => [$this'block_footer'],
  28.             'popups' => [$this'block_popups'],
  29.             'javascripts' => [$this'block_javascripts'],
  30.         ];
  31.     }
  32.     protected function doGetParent(array $context)
  33.     {
  34.         // line 1
  35.         return "base.html.twig";
  36.     }
  37.     protected function doDisplay(array $context, array $blocks = [])
  38.     {
  39.         $macros $this->macros;
  40.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Slivki/tire/tires_by_offer.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/tire/tires_by_offer.html.twig"));
  44.         $this->parent $this->loadTemplate("base.html.twig""Slivki/tire/tires_by_offer.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 2
  52.     public function block_stylesheets($context, array $blocks = [])
  53.     {
  54.         $macros $this->macros;
  55.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  56.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  59.         // line 3
  60.         echo "    <link href=\"https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css\" rel=\"stylesheet\">
  61.     <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/jquery-toast-plugin/1.3.2/jquery.toast.min.css\"
  62.           integrity=\"sha512-wJgJNTBBkLit7ymC6vvzM1EcSWeM9mmOu+1USHaRBbHkm6W9EgM0HY27+UtUaprntaYQJF75rc8gjxllKs5OIQ==\"
  63.           crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\"/>
  64.     ";
  65.         // line 7
  66.         $this->displayParentBlock("stylesheets"$context$blocks);
  67.         echo "
  68.     <link href=\"/css/jquery.datetimepicker.css\" rel=\"stylesheet\">
  69.     <link rel=\"stylesheet\" href=\"/css/grid.min.css\"/>
  70.     <link href=\"/css/delivery.min.css?v=";
  71.         // line 10
  72.         echo twig_escape_filter($this->env, (isset($context["delivery_css_version"]) || array_key_exists("delivery_css_version"$context) ? $context["delivery_css_version"] : (function () { throw new RuntimeError('Variable "delivery_css_version" does not exist.'10$this->source); })()), "html"nulltrue);
  73.         echo "\" rel=\"stylesheet\" type=\"text/css\"/>
  74.     <link href=\"/css/online_booking.css?v=2\" rel=\"stylesheet\">
  75. ";
  76.         
  77.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  78.         
  79.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  80.     }
  81.     // line 13
  82.     public function block_left_sidebar($context, array $blocks = [])
  83.     {
  84.         $macros $this->macros;
  85.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  86.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""left_sidebar"));
  87.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  88.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""left_sidebar"));
  89.         
  90.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  91.         
  92.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  93.     }
  94.     // line 14
  95.     public function block_messenger($context, array $blocks = [])
  96.     {
  97.         $macros $this->macros;
  98.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  99.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""messenger"));
  100.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  101.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""messenger"));
  102.         
  103.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  104.         
  105.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  106.     }
  107.     // line 16
  108.     public function block_content($context, array $blocks = [])
  109.     {
  110.         $macros $this->macros;
  111.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  112.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  113.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  114.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  115.         // line 17
  116.         echo "    ";
  117.         $context["subscription"] = ((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.'17$this->source); })()), "user", [], "any"falsefalsefalse17)) ? ($this->env->getRuntime('Slivki\Twig\SubscriptionTwigRuntime')->getSubscription(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.'17$this->source); })()), "user", [], "any"falsefalsefalse17))) : (null));
  118.         // line 18
  119.         echo "    ";
  120.         if (((isset($context["subscription"]) || array_key_exists("subscription"$context) ? $context["subscription"] : (function () { throw new RuntimeError('Variable "subscription" does not exist.'18$this->source); })()) && (=== twig_compare(twig_get_attribute($this->env$this->source, (isset($context["subscription"]) || array_key_exists("subscription"$context) ? $context["subscription"] : (function () { throw new RuntimeError('Variable "subscription" does not exist.'18$this->source); })()), "getNumberOfCodes", [], "method"falsefalsefalse18), 0)))) {
  121.             // line 19
  122.             echo "        <input type=\"hidden\" id=\"allowedCodesCountBySubscription\" value=\"";
  123.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["subscription"]) || array_key_exists("subscription"$context) ? $context["subscription"] : (function () { throw new RuntimeError('Variable "subscription" does not exist.'19$this->source); })()), "getNumberOfCodes", [], "method"falsefalsefalse19), "html"nulltrue);
  124.             echo "\">
  125.         <input type=\"hidden\" id=\"allowedCodesToBuy\" value=\"";
  126.             // line 20
  127.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["subscription"]) || array_key_exists("subscription"$context) ? $context["subscription"] : (function () { throw new RuntimeError('Variable "subscription" does not exist.'20$this->source); })()), "getNumberOfCodes", [], "method"falsefalsefalse20), "html"nulltrue);
  128.             echo "\">
  129.     ";
  130.         }
  131.         // line 22
  132.         echo "    ";
  133.         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.'22$this->source); })()), "user", [], "any"falsefalsefalse22) && (=== twig_compare(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.'22$this->source); })()), "user", [], "any"falsefalsefalse22), "getBatchCodesCount", [], "method"falsefalsefalse22), 0)))) {
  134.             // line 23
  135.             echo "        <input type=\"hidden\" id=\"allowedCodesToBuyBatchCodes\" value=\"";
  136.             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.'23$this->source); })()), "user", [], "any"falsefalsefalse23), "getBatchCodesCount", [], "method"falsefalsefalse23), "html"nulltrue);
  137.             echo "\">
  138.     ";
  139.         }
  140.         // line 25
  141.         echo "    <input type=\"hidden\" name=\"_csrf_token\" value=\"";
  142.         echo twig_escape_filter($this->env$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html"nulltrue);
  143.         echo "\">
  144.     <input type=\"hidden\" id=\"onlineBookingBuyCodeOrderID\" value=\"\">
  145.     <div class=\"delivery-page container sf-font\">
  146.         <div id=\"deliveryContent\">
  147.             <div class=\"breadcrumbs sf-text-font\">
  148.                 <a href=\"";
  149.         // line 30
  150.         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.'30$this->source); })()), "html"nulltrue);
  151.         echo "\">Главная</a>
  152.                 <i class=\"fa fa-angle-right\"></i>&nbsp;<a href=\"";
  153.         // line 31
  154.         echo twig_escape_filter($this->env, (isset($context["offerUrl"]) || array_key_exists("offerUrl"$context) ? $context["offerUrl"] : (function () { throw new RuntimeError('Variable "offerUrl" does not exist.'31$this->source); })()), "html"nulltrue);
  155.         echo "\">";
  156.         echo twig_escape_filter($this->env, (isset($context["companyName"]) || array_key_exists("companyName"$context) ? $context["companyName"] : (function () { throw new RuntimeError('Variable "companyName" does not exist.'31$this->source); })()), "html"nulltrue);
  157.         echo "</a>
  158.                 <i class=\"fa fa-angle-right\"></i>&nbsp;<a href=\"#\">Онлайн-запись</a>
  159.             </div>
  160.             <div class=\"clear\"></div>
  161.             <div id=\"deliverySupplierCard\" class=\"rounded-14\">
  162.                 <div class=\"gradient rounded-14\"></div>
  163.                 <div class=\"card-img rounded-14\">
  164.                     <img class=\"w-100 rounded-14\" src=\"";
  165.         // line 39
  166.         echo twig_escape_filter($this->env, (isset($context["topImageUrl"]) || array_key_exists("topImageUrl"$context) ? $context["topImageUrl"] : (function () { throw new RuntimeError('Variable "topImageUrl" does not exist.'39$this->source); })()), "html"nulltrue);
  167.         echo "\"/>
  168.                 </div>
  169.                 <div class=\"delivery-supplier--rating\"><i class=\"slivki-icon-star\"></i>";
  170.         // line 41
  171.         echo twig_escape_filter($this->env, (isset($context["rating"]) || array_key_exists("rating"$context) ? $context["rating"] : (function () { throw new RuntimeError('Variable "rating" does not exist.'41$this->source); })()), "html"nulltrue);
  172.         echo "</div>
  173.                 <div class=\"delivery-supplier--info\">
  174.                     <i class=\"slivki-icon-info-circled-o\"></i>
  175.                     <div class=\"supplier-info-tooltip arrow-box\">
  176.                         <div class=\"mb-2 sf-bold-font\">";
  177.         // line 45
  178.         echo twig_escape_filter($this->env, (isset($context["companyName"]) || array_key_exists("companyName"$context) ? $context["companyName"] : (function () { throw new RuntimeError('Variable "companyName" does not exist.'45$this->source); })()), "html"nulltrue);
  179.         echo "</div>
  180.                         <div class=\"text-muted\">";
  181.         // line 46
  182.         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.'46$this->source); })()), "getName", [], "method"falsefalsefalse46), "html"nulltrue);
  183.         echo ", УНП ";
  184.         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.'46$this->source); })()), "getTaxId", [], "method"falsefalsefalse46), "html"nulltrue);
  185.         echo "</div>
  186.                     </div>
  187.                 </div>
  188.             </div>
  189.             <div class=\"row\">
  190.                 <div class=\"col my-2 pl-3 font-size-1250 sf-bold-font\">Услуги:</div>
  191.             </div>
  192.             <div class=\"row delivery-teaser-row delivery-teasers-block\">
  193.                 ";
  194.         // line 56
  195.         $context['_parent'] = $context;
  196.         $context['_seq'] = twig_ensure_traversable((isset($context["tires"]) || array_key_exists("tires"$context) ? $context["tires"] : (function () { throw new RuntimeError('Variable "tires" does not exist.'56$this->source); })()));
  197.         $context['loop'] = [
  198.           'parent' => $context['_parent'],
  199.           'index0' => 0,
  200.           'index'  => 1,
  201.           'first'  => true,
  202.         ];
  203.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  204.             $length count($context['_seq']);
  205.             $context['loop']['revindex0'] = $length 1;
  206.             $context['loop']['revindex'] = $length;
  207.             $context['loop']['length'] = $length;
  208.             $context['loop']['last'] = === $length;
  209.         }
  210.         foreach ($context['_seq'] as $context["_key"] => $context["tire"]) {
  211.             // line 57
  212.             echo "                    ";
  213.             $this->loadTemplate("Slivki/tire/tire_teaser.html.twig""Slivki/tire/tires_by_offer.html.twig"57)->display($context);
  214.             // line 58
  215.             echo "                ";
  216.             ++$context['loop']['index0'];
  217.             ++$context['loop']['index'];
  218.             $context['loop']['first'] = false;
  219.             if (isset($context['loop']['length'])) {
  220.                 --$context['loop']['revindex0'];
  221.                 --$context['loop']['revindex'];
  222.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  223.             }
  224.         }
  225.         $_parent $context['_parent'];
  226.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['tire'], $context['_parent'], $context['loop']);
  227.         $context array_intersect_key($context$_parent) + $_parent;
  228.         // line 59
  229.         echo "            </div>
  230.         </div>
  231.         <div id=\"deliverySidebar\">
  232.             <div id=\"deliverySidebarContent\">
  233.                 <div class=\"sf-bold-font font-size-1125 mb-2 text-uppercase\"><strong>Онлайн запись</strong></div>
  234.                 <div id=\"basketItemBooking\" class=\"d-none delivery-basket-tire-item position-relative d-flex mb-3 mx-1 p-2\">
  235.                     <button type=\"button\" class=\"js-tire-delete-from-basket close float-none position-absolute m-0\" data-id=\"\">
  236.                         <span aria-hidden=\"true\"><i class=\"slivki-icon-close-thin\"></i></span>
  237.                     </button>
  238.                     <div class=\"d-flex flex-column\">
  239.                         <span id=\"nameBasketBooking\" class=\"font-size-1125 sf-bold-font mx-1\">Наращивание ногтей</span>
  240.                         <span id=\"addressBasketBooking\" class=\"font-size-1125 mx-1 my-1\"><strong>Адрес: </strong>Минск, ул.Чюрлениса, д. 6</span>
  241.                         <span id=\"dateBasketBooking\" class=\"font-size-1125 mx-1 my-1\"><strong>Дата:</strong> 20.12.22</span>
  242.                         <span id=\"timeBasketBooking\" class=\"font-size-1125 mx-1 my-1\"><strong>Время:</strong> 14:50</span>
  243.                         <div class=\"d-flex flex-column mx-1 my-1\">
  244.                             <div class=\"d-flex\">
  245.                                 <del class=\"text-danger delivery-price mr-3\">
  246.                                     <span id=\"oldPriceBookingBasket\" class=\"delivery-old-price font-weight-normal font-size-1125\">10 р</span>
  247.                                 </del>
  248.                                 <span id=\"newPriceBookingBasket\" class=\"delivery-price mr-0 sf-bold-font font-size-1125\">20 р.</span>
  249.                             </div>
  250.                         </div>
  251.                     </div>
  252.                 </div>
  253.                 <div id=\"deliveryEmpty\">
  254.                     <div class=\"text-center\">
  255.                         <p class=\"font-size-1125\">Добавьте<br> услугу!</p>
  256.                     </div>
  257.                     <button style=\"position: absolute;bottom: 15px;width: 79% !important;\" class=\"button-send-online-booking delivery-btn rounded-14 bg-violet font-size-1125 color-white w-auto disabled\">ЗАПИСАТЬСЯ СО СКИДОЙ
  258.                     </button>
  259.                 </div>
  260.                 <div id=\"basketContainer\"></div>
  261.                 <div id=\"buyCodeBlock\" class=\"w-100 px-2 pt-2 pb-2 d-none bottom-0\">
  262.                     ";
  263.         // line 94
  264.         if (((isset($context["subscription"]) || array_key_exists("subscription"$context) ? $context["subscription"] : (function () { throw new RuntimeError('Variable "subscription" does not exist.'94$this->source); })()) && (=== twig_compare(twig_get_attribute($this->env$this->source, (isset($context["subscription"]) || array_key_exists("subscription"$context) ? $context["subscription"] : (function () { throw new RuntimeError('Variable "subscription" does not exist.'94$this->source); })()), "getNumberOfCodes", [], "method"falsefalsefalse94), 0)))) {
  265.             // line 95
  266.             echo "                        <div class=\"font-size-1125 text-center sf-bold-font mx-1 mb-2\">Почти готово 😉 </div>
  267.                         <div class=\"font-size-1125 text-center mx-1 mb-2 mt-2\">Для записи  на выбранное время оплатите промокод на скидку</div>
  268.                         <div class=\"font-size-1125 text-center sf-bold-font mx-1 mb-1 mt-2\">К оплате 0 р.  <del>12,10 р.</del></div>
  269.                         <div class=\"font-size-1125 text-center mx-1 mt-1\">по подписке</div>
  270.                         <button id=\"offerBuyCodeOrderPage\"
  271.                                 class=\"button-send-online-booking delivery-btn rounded-14 bg-violet font-size-1125 color-white w-auto\"
  272.                                 data-id=\"\">ЗАПИСАТЬСЯ СО СКИДОЙ
  273.                         </button>
  274.                     ";
  275.         } elseif (((twig_get_attribute($this->env$this->source,         // line 103
  276. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'103$this->source); })()), "user", [], "any"falsefalsefalse103) && (=== twig_compare(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.'103$this->source); })()), "user", [], "any"falsefalsefalse103), "getBatchCodesCount", [], "method"falsefalsefalse103), 0))) && (=== twig_compare(twig_get_attribute($this->env$this->source, (isset($context["subscription"]) || array_key_exists("subscription"$context) ? $context["subscription"] : (function () { throw new RuntimeError('Variable "subscription" does not exist.'103$this->source); })()), "getNumberOfCodes", [], "method"falsefalsefalse103), 0)))) {
  277.             // line 104
  278.             echo "                        <div class=\"font-size-1125 text-center sf-bold-font mx-1 mb-2\">Почти готово 😉 </div>
  279.                         <div class=\"font-size-1125 text-center mx-1 mb-2 mt-2\">Для записи  на выбранное время оплатите промокод на скидку</div>
  280.                         <div class=\"font-size-1125 text-center sf-bold-font mx-1 mb-1 mt-2\">К оплате 0 р.  <del>2,10 р.</del></div>
  281.                         <div class=\"font-size-1125 text-center mx-1 mt-1\">по пакету</div>
  282.                         <button id=\"offerBuyCodeOrderPage\"
  283.                                 class=\"button-send-online-booking delivery-btn rounded-14 bg-violet font-size-1125 color-white w-auto\"
  284.                                 data-id=\"\">ЗАПИСАТЬСЯ СО СКИДОЙ
  285.                         </button>
  286.                         ";
  287.         } else {
  288.             // line 113
  289.             echo "                            <div class=\"font-size-1125 text-center sf-bold-font mx-1 mb-2\">Почти готово 😉 </div>
  290.                             <div class=\"font-size-1125 text-center mx-1 mb-2 mt-2\">Для записи  на выбранное время оплатите промокод на скидку</div>
  291.                             <div class=\"font-size-1125 text-center sf-bold-font mx-1 mb-1 mt-2\">К оплате 2,10 р.</div>
  292.                             <div class=\"font-size-1125 text-center mx-1 mt-2\">Выберите способ оплаты:</div>
  293.                             ";
  294.             // line 117
  295.             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.'117$this->source); })()), "user", [], "any"falsefalsefalse117) && (<= twig_compare(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.'117$this->source); })()), "user", [], "any"falsefalsefalse117), "getFullBalance", [], "method"falsefalsefalse117), 2.1)))) {
  296.                 // line 118
  297.                 echo "                                <button id=\"byCodeBalance\"
  298.                                         class=\"button-send-online-booking-buttons-pay delivery-btn rounded-14 bg-violet font-size-1125 color-white w-auto\"
  299.                                         data-id=\"\">С БАЛАНСА
  300.                                 </button>
  301.                             ";
  302.             }
  303.             // line 123
  304.             echo "                            <button id=\"byCodeCreditCards\"
  305.                                     class=\"button-send-online-booking-buttons-pay delivery-btn rounded-14 bg-violet font-size-1125 color-white w-auto\"
  306.                                     data-id=\"\">БАНКОВСКАЯ КАРТА
  307.                             </button>
  308.                             <button id=\"byCodeErip\"
  309.                                     class=\"button-send-online-booking-buttons-pay delivery-btn rounded-14 bg-violet font-size-1125 color-white w-auto\"
  310.                                     data-id=\"\">ЕРИП
  311.                             </button>
  312.                             <button id=\"byCodePhone\"
  313.                                     class=\"button-send-online-booking-buttons-pay delivery-btn rounded-14 bg-violet font-size-1125 color-white w-auto\"
  314.                                     data-id=\"\">ПО ЗВОНКУ С А1, МТС, LIFE:)
  315.                             </button>
  316.                     ";
  317.         }
  318.         // line 136
  319.         echo "
  320.                 </div>
  321.             </div>
  322.         </div>
  323.     </div>
  324.     ";
  325.         // line 141
  326.         $this->displayBlock('footer'$context$blocks);
  327.         
  328.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  329.         
  330.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  331.     }
  332.     public function block_footer($context, array $blocks = [])
  333.     {
  334.         $macros $this->macros;
  335.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  336.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  337.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  338.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  339.         // line 142
  340.         echo "        ";
  341.         $this->loadTemplate("Slivki/footer_for_partner.html.twig""Slivki/tire/tires_by_offer.html.twig"142)->display($context);
  342.         // line 143
  343.         echo "    ";
  344.         
  345.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  346.         
  347.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  348.     }
  349.     // line 146
  350.     public function block_popups($context, array $blocks = [])
  351.     {
  352.         $macros $this->macros;
  353.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  354.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""popups"));
  355.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  356.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""popups"));
  357.         // line 147
  358.         echo "    ";
  359.         $this->displayParentBlock("popups"$context$blocks);
  360.         echo "
  361.     ";
  362.         // line 148
  363.         $this->loadTemplate("/Slivki/online_booking/modal_online_booking.html.twig""Slivki/tire/tires_by_offer.html.twig"148)->display($context);
  364.         // line 149
  365.         echo "    ";
  366.         $this->loadTemplate("Slivki/popups/buy_code_phone_offer.html.twig""Slivki/tire/tires_by_offer.html.twig"149)->display($context);
  367.         // line 150
  368.         echo "    ";
  369.         $this->loadTemplate("Slivki/popups/buy_code_item-offer.html.twig""Slivki/tire/tires_by_offer.html.twig"150)->display($context);
  370.         // line 151
  371.         echo "    ";
  372.         $this->loadTemplate("Slivki/popups/buy_code_phonenumber_offers.html.twig""Slivki/tire/tires_by_offer.html.twig"151)->display($context);
  373.         // line 152
  374.         echo "    ";
  375.         $this->loadTemplate("Slivki/popups/buy_code_erip_offers.html.twig""Slivki/tire/tires_by_offer.html.twig"152)->display($context);
  376.         // line 153
  377.         echo "    ";
  378.         $this->loadTemplate("Slivki/online_booking/booking_alert_popup.html.twig""Slivki/tire/tires_by_offer.html.twig"153)->display($context);
  379.         
  380.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  381.         
  382.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  383.     }
  384.     // line 156
  385.     public function block_javascripts($context, array $blocks = [])
  386.     {
  387.         $macros $this->macros;
  388.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  389.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  390.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  391.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  392.         // line 157
  393.         echo "    <script src=\"https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.22.2/moment.min.js\"></script>
  394.     <script src=\"/js/delivery.js?v=";
  395.         // line 158
  396.         echo twig_escape_filter($this->env, (isset($context["delivery_js_version"]) || array_key_exists("delivery_js_version"$context) ? $context["delivery_js_version"] : (function () { throw new RuntimeError('Variable "delivery_js_version" does not exist.'158$this->source); })()), "html"nulltrue);
  397.         echo "\"></script>
  398.     ";
  399.         // line 159
  400.         $this->displayParentBlock("javascripts"$context$blocks);
  401.         echo "
  402.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery-toast-plugin/1.3.2/jquery.toast.min.js\"
  403.             integrity=\"sha512-zlWWyZq71UMApAjih4WkaRpikgY9Bz1oXIW5G0fED4vk14JjGlQ1UmkGM392jEULP8jbNMiwLWdM8Z87Hu88Fw==\"
  404.             crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\"></script>
  405.     <script src=\"/js/jquery.datetimepicker.full.min.js\"></script>
  406.     <script src=\"/js/tires-common.js?v=";
  407.         // line 164
  408.         echo twig_escape_filter($this->env, (isset($context["tires_common_js_version"]) || array_key_exists("tires_common_js_version"$context) ? $context["tires_common_js_version"] : (function () { throw new RuntimeError('Variable "tires_common_js_version" does not exist.'164$this->source); })()), "html"nulltrue);
  409.         echo "\"></script>
  410.     <script src=\"/js/collapse.js\"></script>
  411.     <script src=\"/js/tires.js?v=";
  412.         // line 166
  413.         echo twig_escape_filter($this->env, (isset($context["online_booking_js_version"]) || array_key_exists("online_booking_js_version"$context) ? $context["online_booking_js_version"] : (function () { throw new RuntimeError('Variable "online_booking_js_version" does not exist.'166$this->source); })()), "html"nulltrue);
  414.         echo "\"></script>
  415.     <script type=\"module\" src=\"/js/paymentOrderPage/paymentOrderPage.js?v=";
  416.         // line 167
  417.         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.'167$this->source); })()), "html"nulltrue);
  418.         echo "\"></script>
  419.     <script type=\"module\" src=\"/js/paymentOrderPage/api.js?v=";
  420.         // line 168
  421.         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.'168$this->source); })()), "html"nulltrue);
  422.         echo "\"></script>
  423. ";
  424.         
  425.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  426.         
  427.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  428.     }
  429.     public function getTemplateName()
  430.     {
  431.         return "Slivki/tire/tires_by_offer.html.twig";
  432.     }
  433.     public function isTraitable()
  434.     {
  435.         return false;
  436.     }
  437.     public function getDebugInfo()
  438.     {
  439.         return array (  470 => 168,  466 => 167,  462 => 166,  457 => 164,  449 => 159,  445 => 158,  442 => 157,  432 => 156,  421 => 153,  418 => 152,  415 => 151,  412 => 150,  409 => 149,  407 => 148,  402 => 147,  392 => 146,  382 => 143,  379 => 142,  360 => 141,  353 => 136,  338 => 123,  331 => 118,  329 => 117,  323 => 113,  312 => 104,  310 => 103,  300 => 95,  298 => 94,  261 => 59,  247 => 58,  244 => 57,  227 => 56,  212 => 46,  208 => 45,  201 => 41,  196 => 39,  183 => 31,  179 => 30,  170 => 25,  164 => 23,  161 => 22,  156 => 20,  151 => 19,  148 => 18,  145 => 17,  135 => 16,  117 => 14,  99 => 13,  86 => 10,  80 => 7,  74 => 3,  64 => 2,  41 => 1,);
  440.     }
  441.     public function getSourceContext()
  442.     {
  443.         return new Source("{% extends 'base.html.twig' %}
  444. {% block stylesheets %}
  445.     <link href=\"https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css\" rel=\"stylesheet\">
  446.     <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/jquery-toast-plugin/1.3.2/jquery.toast.min.css\"
  447.           integrity=\"sha512-wJgJNTBBkLit7ymC6vvzM1EcSWeM9mmOu+1USHaRBbHkm6W9EgM0HY27+UtUaprntaYQJF75rc8gjxllKs5OIQ==\"
  448.           crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\"/>
  449.     {{ parent() }}
  450.     <link href=\"/css/jquery.datetimepicker.css\" rel=\"stylesheet\">
  451.     <link rel=\"stylesheet\" href=\"/css/grid.min.css\"/>
  452.     <link href=\"/css/delivery.min.css?v={{ delivery_css_version }}\" rel=\"stylesheet\" type=\"text/css\"/>
  453.     <link href=\"/css/online_booking.css?v=2\" rel=\"stylesheet\">
  454. {% endblock %}
  455. {% block left_sidebar %}{% endblock %}
  456. {% block messenger %}{% endblock %}
  457. {% block content %}
  458.     {% set subscription = app.user ? getSubscription(app.user) : null %}
  459.     {% if subscription and subscription.getNumberOfCodes() > 0 %}
  460.         <input type=\"hidden\" id=\"allowedCodesCountBySubscription\" value=\"{{ subscription.getNumberOfCodes() }}\">
  461.         <input type=\"hidden\" id=\"allowedCodesToBuy\" value=\"{{ subscription.getNumberOfCodes() }}\">
  462.     {% endif %}
  463.     {% if app.user and app.user.getBatchCodesCount() > 0 %}
  464.         <input type=\"hidden\" id=\"allowedCodesToBuyBatchCodes\" value=\"{{ app.user.getBatchCodesCount() }}\">
  465.     {% endif %}
  466.     <input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('authenticate') }}\">
  467.     <input type=\"hidden\" id=\"onlineBookingBuyCodeOrderID\" value=\"\">
  468.     <div class=\"delivery-page container sf-font\">
  469.         <div id=\"deliveryContent\">
  470.             <div class=\"breadcrumbs sf-text-font\">
  471.                 <a href=\"{{ base_url }}\">Главная</a>
  472.                 <i class=\"fa fa-angle-right\"></i>&nbsp;<a href=\"{{ offerUrl }}\">{{ companyName }}</a>
  473.                 <i class=\"fa fa-angle-right\"></i>&nbsp;<a href=\"#\">Онлайн-запись</a>
  474.             </div>
  475.             <div class=\"clear\"></div>
  476.             <div id=\"deliverySupplierCard\" class=\"rounded-14\">
  477.                 <div class=\"gradient rounded-14\"></div>
  478.                 <div class=\"card-img rounded-14\">
  479.                     <img class=\"w-100 rounded-14\" src=\"{{ topImageUrl }}\"/>
  480.                 </div>
  481.                 <div class=\"delivery-supplier--rating\"><i class=\"slivki-icon-star\"></i>{{ rating }}</div>
  482.                 <div class=\"delivery-supplier--info\">
  483.                     <i class=\"slivki-icon-info-circled-o\"></i>
  484.                     <div class=\"supplier-info-tooltip arrow-box\">
  485.                         <div class=\"mb-2 sf-bold-font\">{{ companyName }}</div>
  486.                         <div class=\"text-muted\">{{ director.getName() }}, УНП {{ director.getTaxId() }}</div>
  487.                     </div>
  488.                 </div>
  489.             </div>
  490.             <div class=\"row\">
  491.                 <div class=\"col my-2 pl-3 font-size-1250 sf-bold-font\">Услуги:</div>
  492.             </div>
  493.             <div class=\"row delivery-teaser-row delivery-teasers-block\">
  494.                 {% for tire in tires %}
  495.                     {% include 'Slivki/tire/tire_teaser.html.twig' %}
  496.                 {% endfor %}
  497.             </div>
  498.         </div>
  499.         <div id=\"deliverySidebar\">
  500.             <div id=\"deliverySidebarContent\">
  501.                 <div class=\"sf-bold-font font-size-1125 mb-2 text-uppercase\"><strong>Онлайн запись</strong></div>
  502.                 <div id=\"basketItemBooking\" class=\"d-none delivery-basket-tire-item position-relative d-flex mb-3 mx-1 p-2\">
  503.                     <button type=\"button\" class=\"js-tire-delete-from-basket close float-none position-absolute m-0\" data-id=\"\">
  504.                         <span aria-hidden=\"true\"><i class=\"slivki-icon-close-thin\"></i></span>
  505.                     </button>
  506.                     <div class=\"d-flex flex-column\">
  507.                         <span id=\"nameBasketBooking\" class=\"font-size-1125 sf-bold-font mx-1\">Наращивание ногтей</span>
  508.                         <span id=\"addressBasketBooking\" class=\"font-size-1125 mx-1 my-1\"><strong>Адрес: </strong>Минск, ул.Чюрлениса, д. 6</span>
  509.                         <span id=\"dateBasketBooking\" class=\"font-size-1125 mx-1 my-1\"><strong>Дата:</strong> 20.12.22</span>
  510.                         <span id=\"timeBasketBooking\" class=\"font-size-1125 mx-1 my-1\"><strong>Время:</strong> 14:50</span>
  511.                         <div class=\"d-flex flex-column mx-1 my-1\">
  512.                             <div class=\"d-flex\">
  513.                                 <del class=\"text-danger delivery-price mr-3\">
  514.                                     <span id=\"oldPriceBookingBasket\" class=\"delivery-old-price font-weight-normal font-size-1125\">10 р</span>
  515.                                 </del>
  516.                                 <span id=\"newPriceBookingBasket\" class=\"delivery-price mr-0 sf-bold-font font-size-1125\">20 р.</span>
  517.                             </div>
  518.                         </div>
  519.                     </div>
  520.                 </div>
  521.                 <div id=\"deliveryEmpty\">
  522.                     <div class=\"text-center\">
  523.                         <p class=\"font-size-1125\">Добавьте<br> услугу!</p>
  524.                     </div>
  525.                     <button style=\"position: absolute;bottom: 15px;width: 79% !important;\" class=\"button-send-online-booking delivery-btn rounded-14 bg-violet font-size-1125 color-white w-auto disabled\">ЗАПИСАТЬСЯ СО СКИДОЙ
  526.                     </button>
  527.                 </div>
  528.                 <div id=\"basketContainer\"></div>
  529.                 <div id=\"buyCodeBlock\" class=\"w-100 px-2 pt-2 pb-2 d-none bottom-0\">
  530.                     {% if subscription and subscription.getNumberOfCodes() > 0  %}
  531.                         <div class=\"font-size-1125 text-center sf-bold-font mx-1 mb-2\">Почти готово 😉 </div>
  532.                         <div class=\"font-size-1125 text-center mx-1 mb-2 mt-2\">Для записи  на выбранное время оплатите промокод на скидку</div>
  533.                         <div class=\"font-size-1125 text-center sf-bold-font mx-1 mb-1 mt-2\">К оплате 0 р.  <del>12,10 р.</del></div>
  534.                         <div class=\"font-size-1125 text-center mx-1 mt-1\">по подписке</div>
  535.                         <button id=\"offerBuyCodeOrderPage\"
  536.                                 class=\"button-send-online-booking delivery-btn rounded-14 bg-violet font-size-1125 color-white w-auto\"
  537.                                 data-id=\"\">ЗАПИСАТЬСЯ СО СКИДОЙ
  538.                         </button>
  539.                     {% elseif app.user and app.user.getBatchCodesCount() > 0 and subscription.getNumberOfCodes() == 0  %}
  540.                         <div class=\"font-size-1125 text-center sf-bold-font mx-1 mb-2\">Почти готово 😉 </div>
  541.                         <div class=\"font-size-1125 text-center mx-1 mb-2 mt-2\">Для записи  на выбранное время оплатите промокод на скидку</div>
  542.                         <div class=\"font-size-1125 text-center sf-bold-font mx-1 mb-1 mt-2\">К оплате 0 р.  <del>2,10 р.</del></div>
  543.                         <div class=\"font-size-1125 text-center mx-1 mt-1\">по пакету</div>
  544.                         <button id=\"offerBuyCodeOrderPage\"
  545.                                 class=\"button-send-online-booking delivery-btn rounded-14 bg-violet font-size-1125 color-white w-auto\"
  546.                                 data-id=\"\">ЗАПИСАТЬСЯ СО СКИДОЙ
  547.                         </button>
  548.                         {% else %}
  549.                             <div class=\"font-size-1125 text-center sf-bold-font mx-1 mb-2\">Почти готово 😉 </div>
  550.                             <div class=\"font-size-1125 text-center mx-1 mb-2 mt-2\">Для записи  на выбранное время оплатите промокод на скидку</div>
  551.                             <div class=\"font-size-1125 text-center sf-bold-font mx-1 mb-1 mt-2\">К оплате 2,10 р.</div>
  552.                             <div class=\"font-size-1125 text-center mx-1 mt-2\">Выберите способ оплаты:</div>
  553.                             {% if app.user and app.user.getFullBalance() >=  2.10 %}
  554.                                 <button id=\"byCodeBalance\"
  555.                                         class=\"button-send-online-booking-buttons-pay delivery-btn rounded-14 bg-violet font-size-1125 color-white w-auto\"
  556.                                         data-id=\"\">С БАЛАНСА
  557.                                 </button>
  558.                             {% endif %}
  559.                             <button id=\"byCodeCreditCards\"
  560.                                     class=\"button-send-online-booking-buttons-pay delivery-btn rounded-14 bg-violet font-size-1125 color-white w-auto\"
  561.                                     data-id=\"\">БАНКОВСКАЯ КАРТА
  562.                             </button>
  563.                             <button id=\"byCodeErip\"
  564.                                     class=\"button-send-online-booking-buttons-pay delivery-btn rounded-14 bg-violet font-size-1125 color-white w-auto\"
  565.                                     data-id=\"\">ЕРИП
  566.                             </button>
  567.                             <button id=\"byCodePhone\"
  568.                                     class=\"button-send-online-booking-buttons-pay delivery-btn rounded-14 bg-violet font-size-1125 color-white w-auto\"
  569.                                     data-id=\"\">ПО ЗВОНКУ С А1, МТС, LIFE:)
  570.                             </button>
  571.                     {% endif %}
  572.                 </div>
  573.             </div>
  574.         </div>
  575.     </div>
  576.     {% block footer %}
  577.         {% include 'Slivki/footer_for_partner.html.twig' %}
  578.     {% endblock %}
  579. {% endblock %}
  580. {% block popups %}
  581.     {{ parent() }}
  582.     {% include '/Slivki/online_booking/modal_online_booking.html.twig' %}
  583.     {% include 'Slivki/popups/buy_code_phone_offer.html.twig' %}
  584.     {% include 'Slivki/popups/buy_code_item-offer.html.twig' %}
  585.     {% include 'Slivki/popups/buy_code_phonenumber_offers.html.twig' %}
  586.     {% include 'Slivki/popups/buy_code_erip_offers.html.twig' %}
  587.     {% include 'Slivki/online_booking/booking_alert_popup.html.twig' %}
  588. {% endblock %}
  589. {% block javascripts %}
  590.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.22.2/moment.min.js\"></script>
  591.     <script src=\"/js/delivery.js?v={{ delivery_js_version }}\"></script>
  592.     {{ parent() }}
  593.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery-toast-plugin/1.3.2/jquery.toast.min.js\"
  594.             integrity=\"sha512-zlWWyZq71UMApAjih4WkaRpikgY9Bz1oXIW5G0fED4vk14JjGlQ1UmkGM392jEULP8jbNMiwLWdM8Z87Hu88Fw==\"
  595.             crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\"></script>
  596.     <script src=\"/js/jquery.datetimepicker.full.min.js\"></script>
  597.     <script src=\"/js/tires-common.js?v={{ tires_common_js_version }}\"></script>
  598.     <script src=\"/js/collapse.js\"></script>
  599.     <script src=\"/js/tires.js?v={{ online_booking_js_version }}\"></script>
  600.     <script type=\"module\" src=\"/js/paymentOrderPage/paymentOrderPage.js?v={{ payment_order_page_js_version }}\"></script>
  601.     <script type=\"module\" src=\"/js/paymentOrderPage/api.js?v={{ payment_order_page_api_js_version }}\"></script>
  602. {% endblock %}""Slivki/tire/tires_by_offer.html.twig""/mnt/data/virtwww/dima/templates/Slivki/tire/tires_by_offer.html.twig");
  603.     }
  604. }