<?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/popups/buy_code_phone_offer.html.twig */
class __TwigTemplate_d7ab652566cbae9d318b0f801f0e96adc771bb8bd8e724fa88c5d13e6320c3d6 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
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/popups/buy_code_phone_offer.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/popups/buy_code_phone_offer.html.twig"));
// line 1
echo "<div id=\"modalBuyPhoneOffer\" class=\"new-popup modal fade\" style=\"align-content: center;\">
<div class=\"modal-dialog modal-dialog-centered\" style=\"margin: 0 auto;\">
<div class=\"modal-content\">
<button type=\"button\" class=\"close\" data-dismiss=\"modal\"></button>
<div class=\"modal-info\">
<div class=\"modal-title\"></div>
<div class=\"modal-message\">
<p class=\"sf-bold-font\">Отлично 😉</p>
<p class=\"my-3\">Для заказа по телефону оплатите
промокод на скидку</p>
<p class=\"sf-bold-font my-3\">к оплате <span class=\"js-amount-to-pay-by-phone\">";
// line 10
echo twig_escape_filter($this->env, twig_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", null, true);
echo "</span>р</p>
</div>
</div>
";
// line 13
if (($this->env->getRuntime('Slivki\Twig\ServerFeatureStateTwigRuntime')->isServerFeatureEnabled(twig_constant("Slivki\\Enum\\SwitcherFeatures::BONUS_CODES")) && (0 === 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", false, false, false, 13), 1)))) {
// line 14
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\">";
echo twig_escape_filter($this->env, twig_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", null, true);
echo "</span>р вы получите еще два случайных на две другие акции!
<br> Делитесь с родными и друзьями! ❤️</p>
";
}
// line 17
echo " <p class=\"my-2 sf-font font-size-1000\">Выберите способ оплаты:</p>
<div id=\"paymentMethods\"></div>
</div>
</div>
</div>";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "Slivki/popups/buy_code_phone_offer.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 69 => 17, 62 => 14, 60 => 13, 54 => 10, 43 => 1,);
}
public function getSourceContext()
{
return new Source("<div id=\"modalBuyPhoneOffer\" class=\"new-popup modal fade\" style=\"align-content: center;\">
<div class=\"modal-dialog modal-dialog-centered\" style=\"margin: 0 auto;\">
<div class=\"modal-content\">
<button type=\"button\" class=\"close\" data-dismiss=\"modal\"></button>
<div class=\"modal-info\">
<div class=\"modal-title\"></div>
<div class=\"modal-message\">
<p class=\"sf-bold-font\">Отлично 😉</p>
<p class=\"my-3\">Для заказа по телефону оплатите
промокод на скидку</p>
<p class=\"sf-bold-font my-3\">к оплате <span class=\"js-amount-to-pay-by-phone\">{{ codeCost|number_format(2, ',') }}</span>р</p>
</div>
</div>
{% if isServerFeatureEnabled(constant('Slivki\\\\Enum\\\\SwitcherFeatures::BONUS_CODES')) and currentCity.getID() == 1 %}
<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>р вы получите еще два случайных на две другие акции!
<br> Делитесь с родными и друзьями! ❤️</p>
{% endif %}
<p class=\"my-2 sf-font font-size-1000\">Выберите способ оплаты:</p>
<div id=\"paymentMethods\"></div>
</div>
</div>
</div>", "Slivki/popups/buy_code_phone_offer.html.twig", "/mnt/data/virtwww/dima/templates/Slivki/popups/buy_code_phone_offer.html.twig");
}
}