var/cache/dev/twig/ca/ca06d76890701e2b3b35607b05ff2d7f9c99ef215da7b2146c9a3e088135062c.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/popups/buy_code_phone_offer.html.twig */
  14. class __TwigTemplate_d7ab652566cbae9d318b0f801f0e96adc771bb8bd8e724fa88c5d13e6320c3d6 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->parent false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Slivki/popups/buy_code_phone_offer.html.twig"));
  31.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Slivki/popups/buy_code_phone_offer.html.twig"));
  33.         // line 1
  34.         echo "<div id=\"modalBuyPhoneOffer\" class=\"new-popup modal fade\" style=\"align-content: center;\">
  35.     <div class=\"modal-dialog modal-dialog-centered\" style=\"margin: 0 auto;\">
  36.         <div class=\"modal-content\">
  37.             <button type=\"button\" class=\"close\" data-dismiss=\"modal\"></button>
  38.             <div class=\"modal-info\">
  39.                 <div class=\"modal-title\"></div>
  40.                 <div class=\"modal-message\">
  41.                     <p class=\"sf-bold-font\">Отлично 😉</p>
  42.                     <p class=\"my-3\">Для заказа по телефону оплатите 
промокод на скидку</p>
  43.                     <p class=\"sf-bold-font my-3\">к оплате <span class=\"js-amount-to-pay-by-phone\">";
  44.         // line 10
  45.         echo twig_escape_filter($this->envtwig_number_format_filter($this->env, (isset($context["codeCost"]) || array_key_exists("codeCost"$context) ? $context["codeCost"] : (function () { throw new RuntimeError('Variable "codeCost" does not exist.'10$this->source); })()), 2","), "html"nulltrue);
  46.         echo "</span>р</p>
  47.                 </div>
  48.             </div>
  49.             ";
  50.         // line 13
  51.         if (($this->env->getRuntime('Slivki\Twig\ServerFeatureStateTwigRuntime')->isServerFeatureEnabled(twig_constant("Slivki\\Enum\\SwitcherFeatures::BONUS_CODES")) && (=== twig_compare(twig_get_attribute($this->env$this->source, (isset($context["currentCity"]) || array_key_exists("currentCity"$context) ? $context["currentCity"] : (function () { throw new RuntimeError('Variable "currentCity" does not exist.'13$this->source); })()), "getID", [], "method"falsefalsefalse13), 1)))) {
  52.             // line 14
  53.             echo "                <p style=\"font-size: 16px; margin-bottom: 25px !important;text-align: center;color:rgba(105, 105, 105, 1);margin-top: 10px\">Подарки к Новому году 🎄! 
<br>При оплате промокода за <span id=\"currentPriceLable\">";
  54.             echo twig_escape_filter($this->envtwig_number_format_filter($this->env, (isset($context["codeCost"]) || array_key_exists("codeCost"$context) ? $context["codeCost"] : (function () { throw new RuntimeError('Variable "codeCost" does not exist.'14$this->source); })()), 2","), "html"nulltrue);
  55.             echo "</span>р вы получите еще два случайных на две другие акции!
  56.                     <br> Делитесь с родными и друзьями! ❤️</p>
  57.             ";
  58.         }
  59.         // line 17
  60.         echo "            <p class=\"my-2 sf-font font-size-1000\">Выберите способ оплаты:</p>
  61.             <div id=\"paymentMethods\"></div>
  62.         </div>
  63.     </div>
  64. </div>";
  65.         
  66.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  67.         
  68.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  69.     }
  70.     public function getTemplateName()
  71.     {
  72.         return "Slivki/popups/buy_code_phone_offer.html.twig";
  73.     }
  74.     public function isTraitable()
  75.     {
  76.         return false;
  77.     }
  78.     public function getDebugInfo()
  79.     {
  80.         return array (  69 => 17,  62 => 14,  60 => 13,  54 => 10,  43 => 1,);
  81.     }
  82.     public function getSourceContext()
  83.     {
  84.         return new Source("<div id=\"modalBuyPhoneOffer\" class=\"new-popup modal fade\" style=\"align-content: center;\">
  85.     <div class=\"modal-dialog modal-dialog-centered\" style=\"margin: 0 auto;\">
  86.         <div class=\"modal-content\">
  87.             <button type=\"button\" class=\"close\" data-dismiss=\"modal\"></button>
  88.             <div class=\"modal-info\">
  89.                 <div class=\"modal-title\"></div>
  90.                 <div class=\"modal-message\">
  91.                     <p class=\"sf-bold-font\">Отлично 😉</p>
  92.                     <p class=\"my-3\">Для заказа по телефону оплатите 
промокод на скидку</p>
  93.                     <p class=\"sf-bold-font my-3\">к оплате <span class=\"js-amount-to-pay-by-phone\">{{ codeCost|number_format(2, ',') }}</span>р</p>
  94.                 </div>
  95.             </div>
  96.             {% if isServerFeatureEnabled(constant('Slivki\\\\Enum\\\\SwitcherFeatures::BONUS_CODES')) and currentCity.getID() == 1 %}
  97.                 <p style=\"font-size: 16px; margin-bottom: 25px !important;text-align: center;color:rgba(105, 105, 105, 1);margin-top: 10px\">Подарки к Новому году 🎄! 
<br>При оплате промокода за <span id=\"currentPriceLable\">{{ codeCost|number_format(2, ',') }}</span>р вы получите еще два случайных на две другие акции!
  98.                     <br> Делитесь с родными и друзьями! ❤️</p>
  99.             {% endif %}
  100.             <p class=\"my-2 sf-font font-size-1000\">Выберите способ оплаты:</p>
  101.             <div id=\"paymentMethods\"></div>
  102.         </div>
  103.     </div>
  104. </div>""Slivki/popups/buy_code_phone_offer.html.twig""/mnt/data/virtwww/dima/templates/Slivki/popups/buy_code_phone_offer.html.twig");
  105.     }
  106. }