var/cache/dev/twig/71/71f98299fe08f439eca027406a4ecc52.php line 617
<?phpuse 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;/* default/carrito/carrito1.html.twig */class __TwigTemplate_e98682d8037d942f7db4b58e11ac450f extends Template{private $source;private $macros = [];public function __construct(Environment $env){parent::__construct($env);$this->source = $this->getSourceContext();$this->blocks = ['bodyId' => [$this, 'block_bodyId'],'body' => [$this, 'block_body'],'carritoPasos' => [$this, 'block_carritoPasos'],'carritoContent' => [$this, 'block_carritoContent'],'footer' => [$this, 'block_footer'],'javascripts_footer' => [$this, 'block_javascripts_footer'],];}protected function doGetParent(array $context){// line 2return "base.html.twig";}protected function doDisplay(array $context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "default/carrito/carrito1.html.twig"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "default/carrito/carrito1.html.twig"));$this->parent = $this->loadTemplate("base.html.twig", "default/carrito/carrito1.html.twig", 2);$this->parent->display($context, array_merge($this->blocks, $blocks));$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);}// line 4public function block_bodyId($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "bodyId"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "bodyId"));echo "carrito";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 6public function block_body($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));// line 7echo "<div class=\"title container\"><h1>";// line 9echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Carrito"), "html", null, true);echo "</h1></div><div id=\"carrito\" class=\"container\">";// line 13$this->displayBlock('carritoPasos', $context, $blocks);// line 29echo "<div id=\"pasosContent\">";// line 32$this->displayBlock('carritoContent', $context, $blocks);// line 219echo "</div></div>";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 13public function block_carritoPasos($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "carritoPasos"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "carritoPasos"));// line 14echo " <div id=\"pasos\"><div class=\"num-pasos active\"><span id=\"primero-tab\">1</span><p>";// line 17echo twig_escape_filter($this->env, twig_upper_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Carrito")), "html", null, true);echo "</p></div><div class=\"num-pasos\"><a href=\"";// line 20echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_cart_2");echo "\" class=\"\" id=\"segundo-tab\">2</a><p>";// line 21echo twig_escape_filter($this->env, twig_upper_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Pago")), "html", null, true);echo "</p></div><div class=\"num-pasos\"><span class=\"\" id=\"tercero-tab\">3</span><p>";// line 25echo twig_escape_filter($this->env, twig_upper_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Confirmacion")), "html", null, true);echo "</p></div></div>";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 32public function block_carritoContent($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "carritoContent"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "carritoContent"));// line 33echo " <div id=\"primer-paso\" class=\"row\"><div class=\"cotizaciones\" style=\"display: none\">";// line 35echo twig_escape_filter($this->env, (isset($context["cotizacionesJson"]) || array_key_exists("cotizacionesJson", $context) ? $context["cotizacionesJson"] : (function () { throw new RuntimeError('Variable "cotizacionesJson" does not exist.', 35, $this->source); })()), "html", null, true);echo "</div><div id=\"cotizacionesOnline\" class=\"cotizacionesOnline\" style=\"display: none\">";// line 38echo twig_escape_filter($this->env, (isset($context["cotizacionesOnlineJson"]) || array_key_exists("cotizacionesOnlineJson", $context) ? $context["cotizacionesOnlineJson"] : (function () { throw new RuntimeError('Variable "cotizacionesOnlineJson" does not exist.', 38, $this->source); })()), "html", null, true);echo "</div><div class=\"divisas\" style=\"display: none\">";// line 41echo twig_escape_filter($this->env, (isset($context["divisasJson"]) || array_key_exists("divisasJson", $context) ? $context["divisasJson"] : (function () { throw new RuntimeError('Variable "divisasJson" does not exist.', 41, $this->source); })()), "html", null, true);echo "</div><div id=\"permiteCompra\" class=\"permiteCompra\" style=\"display: none\" value=\"";// line 43echo twig_escape_filter($this->env, (isset($context["permiteCompra"]) || array_key_exists("permiteCompra", $context) ? $context["permiteCompra"] : (function () { throw new RuntimeError('Variable "permiteCompra" does not exist.', 43, $this->source); })()), "html", null, true);echo "\">";// line 44echo twig_escape_filter($this->env, (isset($context["permiteCompra"]) || array_key_exists("permiteCompra", $context) ? $context["permiteCompra"] : (function () { throw new RuntimeError('Variable "permiteCompra" does not exist.', 44, $this->source); })()), "html", null, true);echo "</div><div class=\"parte-izq col-sm-8\">";// line 49echo $this->extensions['App\Twig\ShortcodesExtension']->doShortcode("banner", ["nombre" => "Carrito1", "auto" => "true", "pause" => "10000", "speed" => "1000"]);echo "<div ";// line 51echo "><div id=\"info\" class=\"banner-envio col1 texto_seg\"><p><strong>";// line 53echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("cart1.texto_recompra_3", [], "settings"), "html", null, true);echo "</strong>";echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("cart1.texto_recompra", [], "settings"), "html", null, true);echo "</p>";// line 56echo " <p id=\"texto_seguro2\" style=\"font-weight:bold\">";echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("cart1.texto_seguro_1", [], "settings"), "html", null, true);echo " <span id=\"texto_1_seguro\">";echo 700;echo "</span> ";echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("cart1.texto_seguro_2", [], "settings"), "html", null, true);echo "</p>";// line 59echo " </div></div><div ";// line 61echo "style=\"text-align: center;\">";// line 67echo "";// line 69echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["carro"]) || array_key_exists("carro", $context) ? $context["carro"] : (function () { throw new RuntimeError('Variable "carro" does not exist.', 69, $this->source); })()), 'form_start', ["attr" => ["id" => "dinamic_shop_carro"]]);echo "<div class=\"form-errors\">";// line 72$context['_parent'] = $context;$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["carro"]) || array_key_exists("carro", $context) ? $context["carro"] : (function () { throw new RuntimeError('Variable "carro" does not exist.', 72, $this->source); })()), "vars", [], "any", false, false, false, 72), "errors", [], "any", false, false, false, 72));foreach ($context['_seq'] as $context["_key"] => $context["error"]) {// line 73echo " <div class=\"invalid-feedback d-block\">";// line 74echo twig_get_attribute($this->env, $this->source, $context["error"], "message", [], "any", false, false, false, 74);echo "</div>";}$_parent = $context['_parent'];unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);$context = array_intersect_key($context, $_parent) + $_parent;// line 77echo " </div>";// line 79$context['_parent'] = $context;$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["carro"]) || array_key_exists("carro", $context) ? $context["carro"] : (function () { throw new RuntimeError('Variable "carro" does not exist.', 79, $this->source); })()), "pedidos", [], "array", false, false, false, 79));$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["pedido"]) {// line 80echo "<div class=\"comprarya conversor\" contador=\"0\"><div id=\"cont-monedas\" class=\"row\"><div class=\"col-5 div1\"><p>";// line 86echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("¿Qué moneda tienes?"), "html", null, true);echo "</p>";// line 87echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, $context["pedido"], "divisaOrigen", [], "any", false, false, false, 87), 'errors');echo "<img class=\"bandera band-1\" src=\"/img/bandera-EUR.svg\"/>";// line 89echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, $context["pedido"], "divisaOrigen", [], "any", false, false, false, 89), 'widget');echo "</div>";// line 93if ((((isset($context["ofi_var"]) || array_key_exists("ofi_var", $context) ? $context["ofi_var"] : (function () { throw new RuntimeError('Variable "ofi_var" does not exist.', 93, $this->source); })()) == 1) || ((isset($context["permiteCompra"]) || array_key_exists("permiteCompra", $context) ? $context["permiteCompra"] : (function () { throw new RuntimeError('Variable "permiteCompra" does not exist.', 93, $this->source); })()) == 0))) {// line 94echo " <div class=\"col-2 intercambio div2\">";// line 96echo " </div>";} else {// line 98echo " <div class=\"col-2 intercambio div2\">";// line 100echo " </div>";}// line 102echo "<div class=\"col-5 div3\"><p>";// line 104echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("¿Qué moneda quieres?"), "html", null, true);echo "</p>";// line 105echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, $context["pedido"], "divisaFinal", [], "any", false, false, false, 105), 'errors');echo "<img class=\"bandera band-2\" src=\"/img/bandera-GBP.svg\"/>";// line 107if (((isset($context["permiteCompra"]) || array_key_exists("permiteCompra", $context) ? $context["permiteCompra"] : (function () { throw new RuntimeError('Variable "permiteCompra" does not exist.', 107, $this->source); })()) == 0)) {// line 108echo " <div id=\"divisa_bloqueada\">";}// line 110echo "";// line 111echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, $context["pedido"], "divisaFinal", [], "any", false, false, false, 111), 'widget');echo "";// line 113if (((isset($context["permiteCompra"]) || array_key_exists("permiteCompra", $context) ? $context["permiteCompra"] : (function () { throw new RuntimeError('Variable "permiteCompra" does not exist.', 113, $this->source); })()) == 0)) {// line 114echo " </div>";}// line 116echo " </div></div><div id=\"cont-dinero\" class=\"row info_divisa\"><div class=\"col-6 comprar\"><p>";// line 121echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Cantidad en"), "html", null, true);echo " <span class=\"div_origen\">";echo twig_escape_filter($this->env, (isset($context["div_o_nombre"]) || array_key_exists("div_o_nombre", $context) ? $context["div_o_nombre"] : (function () { throw new RuntimeError('Variable "div_o_nombre" does not exist.', 121, $this->source); })()), "html", null, true);echo "</span></p><div class=\"number cant\">";// line 122echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, $context["pedido"], "cantidadOrigen", [], "any", false, false, false, 122), 'widget');echo "</div><p>";// line 123echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("¿Cuánto tienes?"), "html", null, true);echo "</p></div><div class=\"col-6 pagar\"><p>";// line 126echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Cantidad en"), "html", null, true);echo " <span class=\"div_final\">";echo twig_escape_filter($this->env, (isset($context["div_f_nombre"]) || array_key_exists("div_f_nombre", $context) ? $context["div_f_nombre"] : (function () { throw new RuntimeError('Variable "div_f_nombre" does not exist.', 126, $this->source); })()), "html", null, true);echo "</span></p></p><div class=\"number cant\">";// line 127echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, $context["pedido"], "cantidadFinal", [], "any", false, false, false, 127), 'widget');echo "</div><p>";// line 128echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("¿Cuánto recibes?"), "html", null, true);echo "</p></div><p class=\"cambio_divisa\"></p><div class=\"masdivisas-wrapper\">";// line 134if ((twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 134) == 1)) {// line 135echo " <a href=\"#\"class=\"masdivisas\"><span>";// line 136echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("+ Añadir más divisas"), "html", null, true);echo "</span></a>";} else {// line 138echo " <a class=\"removeThis\" href=\"#\">";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["settings_manager"]) || array_key_exists("settings_manager", $context) ? $context["settings_manager"] : (function () { throw new RuntimeError('Variable "settings_manager" does not exist.', 138, $this->source); })()), "getValue", [0 => "cart1.remove"], "method", false, false, false, 138), "html", null, true);echo "</a>";}// line 140echo " </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['pedido'], $context['_parent'], $context['loop']);$context = array_intersect_key($context, $_parent) + $_parent;// line 145echo " <div class=\"cupon_boton\">";// line 146echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["carro"]) || array_key_exists("carro", $context) ? $context["carro"] : (function () { throw new RuntimeError('Variable "carro" does not exist.', 146, $this->source); })()), "codigoPromo", [], "any", false, false, false, 146), 'widget');echo "";// line 148echo " </div>";// line 149echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["carro"]) || array_key_exists("carro", $context) ? $context["carro"] : (function () { throw new RuntimeError('Variable "carro" does not exist.', 149, $this->source); })()), 'rest');echo "";// line 150echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["carro"]) || array_key_exists("carro", $context) ? $context["carro"] : (function () { throw new RuntimeError('Variable "carro" does not exist.', 150, $this->source); })()), 'form_end');echo "</div>";// line 154echo $this->extensions['App\Twig\ShortcodesExtension']->doShortcode("banner", ["nombre" => "Carrito1_abajo", "auto" => "true", "pause" => "10000", "speed" => "1000"]);echo "</div><div class=\"parte-der col-sm-4\"><div class=\"cuadro-resumen-carrito\"><p>";// line 160echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Resumen de tu compra"), "html", null, true);echo ":</p><div class=\"datos-resumen\"><ul id=\"list-monedas-resumen\"></ul><div class=\"import-resumen\"><span>";// line 165echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Importe"), "html", null, true);echo ":</span><span class=\"val-import\">0,00 €</span></div><div class=\"envio-resumen\"><span>";// line 169echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Envio"), "html", null, true);echo ":</span><span class=\"val-envio\">0,00 €</span></div><div class=\"cupon-resumen\" style=\"display:none;\"><span>";// line 173echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Cupon"), "html", null, true);echo ":</span><span class=\"val-cupon\"></span></div><div class=\"total-resumen\"><span>";// line 177echo twig_escape_filter($this->env, twig_upper_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Total")), "html", null, true);echo "</span><span class=\"val-total\">0,00 €</span></div></div></div><div class=\"codProm-line\"><input type=\"text\" id=\"rellenar_codigoPromo\" class=\"campo-relleno\" placeholder=\"";// line 184echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("cart.step4.reserva.cupon", [], "settings"), "html", null, true);echo "\"><button type=\"button\" id=\"comprobarCodigoProm\" >";// line 185echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("aplicar cupón")), "html", null, true);echo "</button><div id=\"textoCod1\" style=\"display:none\"> <div class=\"text-box-prom alert alert-success\">";// line 186echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("texto.cupon.carro1", [], "settings"), "html", null, true);echo "</div></div><div id=\"textoCod2\" style=\"display:none\"> <div class=\"text-box-prom alert alert-danger\">";// line 187echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("texto.cupon.carro1.fallo", [], "settings"), "html", null, true);echo "</div></div></div><div class=\"metEnvio-line\"><select id=\"elegir-envio\" class=\"campo-relleno\"><option value=\"0\" disabled selected>";// line 191echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Selecciona metodo entrega"), "html", null, true);echo "</option><option value=\"1\">";// line 192echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Recogida en tienda"), "html", null, true);echo "</option><option value=\"2\">";// line 193echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Envio a domicilio"), "html", null, true);echo "</option></select><p id=\"noMetEnv\" style=\"display: none; color: red;\">";// line 195echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("aviso.carro1.entrega", [], "settings"), "html", null, true);echo "</p></div><div class=\"provDest-line\" style=\"display: none;\"><select id=\"elegir-provDest\" class=\"campo-relleno\"><option value=\"0\" data-gastos=\"0\" disabled selected>";// line 199echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Selecciona provincia destino"), "html", null, true);echo "</option>";// line 200$context['_parent'] = $context;$context['_seq'] = twig_ensure_traversable((isset($context["provincias"]) || array_key_exists("provincias", $context) ? $context["provincias"] : (function () { throw new RuntimeError('Variable "provincias" does not exist.', 200, $this->source); })()));foreach ($context['_seq'] as $context["_key"] => $context["provincia"]) {// line 201echo " <option value=\"";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["provincia"], "id", [], "any", false, false, false, 201), "html", null, true);echo "\" data-gastos=\"";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["provincia"], "gastos", [], "any", false, false, false, 201), "html", null, true);echo "\" ";if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["provincia"], "oficinas", [], "any", false, false, false, 201), "isEmpty", [], "method", false, false, false, 201)) {echo "class=\"sinOficina\"";}echo ">";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["provincia"], "nombre", [], "any", false, false, false, 201), "html", null, true);echo "</option>";}$_parent = $context['_parent'];unset($context['_seq'], $context['_iterated'], $context['_key'], $context['provincia'], $context['_parent'], $context['loop']);$context = array_intersect_key($context, $_parent) + $_parent;// line 203echo " </select><p id=\"noProvDest\" style=\"display: none; color: red;\">";// line 204echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("aviso.carro1.provincia", [], "settings"), "html", null, true);echo "</p><p id=\"noProvDestOfi\" style=\"display: none; color: red;\">";// line 205echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("aviso.carro1.conOfi", [], "settings"), "html", null, true);echo "</p></div><div class=\"ofiDest-line\" style=\"display: none;\">";// line 208echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\DefaultController::oficinaAction", ["select_id" => "selectOfi6"]));echo "<p id=\"noOfiDest\" style=\"display: none; color: red;\">";// line 209echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("aviso.carro1.recogida", [], "settings"), "html", null, true);echo "</p></div><div class=\"link_divisa\"><button id=\"Box1Compra\" class=\"bcol1\" type=\"submit\"value=\"";// line 213echo twig_escape_filter($this->env, twig_upper_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("comprar")), "html", null, true);echo "\">";echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("comprar")), "html", null, true);echo "</button></div></div></div>";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 224public function block_footer($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));// line 225echo "<input id=\"cupon\" name=\"cupon\" type=\"hidden\" value=\"\">";// line 227echo "<input type=\"hidden\" id=\"valor_cup\" value=\"10\">";// line 228$this->displayParentBlock("footer", $context, $blocks);echo "";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 231public function block_javascripts_footer($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts_footer"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts_footer"));// line 232echo " ";$this->displayParentBlock("javascripts_footer", $context, $blocks);echo "<script>var ruta_cupon = '";// line 234echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_cupon_check");echo "';</script><!-- jsCarrito --><script src=\"/js/cart.js?2.1\"></script><script src=\"/js/fastShop.js?2.1\"></script><script src=\"/js/datapick/js/bootstrap-datepicker.js\"></script><script src=\"/js/timepick/bootstrap-timepicker.js\"></script><!-- /jsCarrito -->";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}public function getTemplateName(){return "default/carrito/carrito1.html.twig";}public function isTraitable(){return false;}public function getDebugInfo(){return array ( 661 => 234, 655 => 232, 645 => 231, 633 => 228, 630 => 227, 627 => 225, 617 => 224, 599 => 213, 592 => 209, 588 => 208, 582 => 205, 578 => 204, 575 => 203, 558 => 201, 554 => 200, 550 => 199, 543 => 195, 538 => 193, 534 => 192, 530 => 191, 523 => 187, 519 => 186, 515 => 185, 511 => 184, 501 => 177, 494 => 173, 487 => 169, 480 => 165, 472 => 160, 463 => 154, 456 => 150, 452 => 149, 449 => 148, 445 => 146, 442 => 145, 424 => 140, 418 => 138, 413 => 136, 410 => 135, 408 => 134, 399 => 128, 395 => 127, 389 => 126, 383 => 123, 379 => 122, 373 => 121, 366 => 116, 362 => 114, 360 => 113, 355 => 111, 352 => 110, 348 => 108, 346 => 107, 341 => 105, 337 => 104, 333 => 102, 329 => 100, 326 => 98, 322 => 96, 319 => 94, 317 => 93, 310 => 89, 305 => 87, 301 => 86, 293 => 80, 276 => 79, 272 => 77, 263 => 74, 260 => 73, 256 => 72, 250 => 69, 246 => 67, 242 => 61, 238 => 59, 229 => 56, 223 => 53, 219 => 51, 214 => 49, 206 => 44, 202 => 43, 197 => 41, 191 => 38, 185 => 35, 181 => 33, 171 => 32, 157 => 25, 150 => 21, 146 => 20, 140 => 17, 135 => 14, 125 => 13, 112 => 219, 110 => 32, 105 => 29, 103 => 13, 96 => 9, 92 => 7, 82 => 6, 63 => 4, 40 => 2,);}public function getSourceContext(){return new Source("{# {% extends 'default/contenido.html.twig' %} #}{% extends 'base.html.twig' %}{% block bodyId %}carrito{% endblock %}{% block body %}<div class=\"title container\"><h1>{{ 'Carrito' | trans}}</h1></div><div id=\"carrito\" class=\"container\">{% block carritoPasos %}<div id=\"pasos\"><div class=\"num-pasos active\"><span id=\"primero-tab\">1</span><p>{{ 'Carrito' | trans | upper }}</p></div><div class=\"num-pasos\"><a href=\"{{ path('app_cart_2') }}\" class=\"\" id=\"segundo-tab\">2</a><p>{{ 'Pago' | trans | upper }}</p></div><div class=\"num-pasos\"><span class=\"\" id=\"tercero-tab\">3</span><p>{{ 'Confirmacion' | trans | upper }}</p></div></div>{% endblock %}<div id=\"pasosContent\">{% block carritoContent %}<div id=\"primer-paso\" class=\"row\"><div class=\"cotizaciones\" style=\"display: none\">{{ cotizacionesJson }}</div><div id=\"cotizacionesOnline\" class=\"cotizacionesOnline\" style=\"display: none\">{{ cotizacionesOnlineJson }}</div><div class=\"divisas\" style=\"display: none\">{{ divisasJson }}</div><div id=\"permiteCompra\" class=\"permiteCompra\" style=\"display: none\" value=\"{{permiteCompra}}\">{{ permiteCompra }}</div><div class=\"parte-izq col-sm-8\">{{ doShortcode(\"banner\", {nombre:\"Carrito1\", auto:\"true\", pause: \"10000\", speed:\"1000\" }) | raw }}<div {#class=\"col-sm-6 order-sm-2\"#}><div id=\"info\" class=\"banner-envio col1 texto_seg\"><p><strong>{{ 'cart1.texto_recompra_3' | trans({}, 'settings') }}</strong>{{ 'cart1.texto_recompra' | trans({}, 'settings') }}</p>{# {% set i = 1 %} #}{# {% for pedido in carro['pedidos'] %} #}<p id=\"texto_seguro2\" style=\"font-weight:bold\">{{ 'cart1.texto_seguro_1' | trans({}, 'settings') }} <span id=\"texto_1_seguro\">{{ 700 }}</span> {{ 'cart1.texto_seguro_2' | trans({}, 'settings') }}</p>{# {% set i = i + 1 %} #}{# {% endfor %} #}</div></div><div {#class=\"col-sm-6 order-sm-1\"#}style=\"text-align: center;\">{#<div style=\"display:none\">{{ render(controller('App\\\\Controller\\\\DefaultController::oficinaAction', { select_id: 'select_ofi2' } )) }}<p class=\"info-select\">{{ '* La tienda online solo permite la compra de divisas extranjeras (no Euros)' | trans}}</p></div>#}{{ form_start(carro, {'attr': {'id': 'dinamic_shop_carro'}}) }}<div class=\"form-errors\">{% for error in carro.vars.errors %}<div class=\"invalid-feedback d-block\">{{ error.message | raw }}</div>{% endfor %}</div>{% for pedido in carro['pedidos'] %}<div class=\"comprarya conversor\" contador=\"0\"><div id=\"cont-monedas\" class=\"row\"><div class=\"col-5 div1\"><p>{{ '¿Qué moneda tienes?' | trans}}</p>{{ form_errors(pedido.divisaOrigen) }}<img class=\"bandera band-1\" src=\"/img/bandera-EUR.svg\"/>{{ form_widget(pedido.divisaOrigen) }}</div>{% if ofi_var == 1 or permiteCompra == 0 %}<div class=\"col-2 intercambio div2\">{# <a href=\"#\" class=\"swtich_moneda\" style=\"display:none\"><img src=\"/img/intercambio.svg\"/></a> #}</div>{% else %}<div class=\"col-2 intercambio div2\">{# <a href=\"#\" class=\"swtich_moneda\"><img src=\"/img/intercambio.svg\"/></a> #}</div>{% endif %}<div class=\"col-5 div3\"><p>{{ '¿Qué moneda quieres?' | trans}}</p>{{ form_errors(pedido.divisaFinal) }}<img class=\"bandera band-2\" src=\"/img/bandera-GBP.svg\"/>{% if permiteCompra == 0 %}<div id=\"divisa_bloqueada\">{% endif %}{{ form_widget(pedido.divisaFinal) }}{% if permiteCompra == 0 %}</div>{% endif %}</div></div><div id=\"cont-dinero\" class=\"row info_divisa\"><div class=\"col-6 comprar\"><p>{{ 'Cantidad en' | trans }} <span class=\"div_origen\">{{ div_o_nombre}}</span></p><div class=\"number cant\">{{ form_widget(pedido.cantidadOrigen ) }}</div><p>{{ '¿Cuánto tienes?' | trans }}</p></div><div class=\"col-6 pagar\"><p>{{ 'Cantidad en' | trans }} <span class=\"div_final\">{{ div_f_nombre}}</span></p></p><div class=\"number cant\">{{ form_widget(pedido.cantidadFinal) }}</div><p>{{ '¿Cuánto recibes?' | trans }}</p></div><p class=\"cambio_divisa\"></p><div class=\"masdivisas-wrapper\">{% if loop.index==1 %}<a href=\"#\"class=\"masdivisas\"><span>{{ '+ Añadir más divisas' | trans }}</span></a>{% else %}<a class=\"removeThis\" href=\"#\">{{ settings_manager.getValue('cart1.remove') }}</a>{% endif %}</div></div></div>{% endfor %}<div class=\"cupon_boton\">{{ form_widget(carro.codigoPromo) }}{# <button type=\"button\" id=\"comprobarCodigoProm\" >{{ 'aplicar cupón' | trans | capitalize }}</button> #}</div>{{ form_rest(carro) }}{{ form_end(carro) }}</div>{{ doShortcode(\"banner\", {nombre:\"Carrito1_abajo\", auto:\"true\", pause: \"10000\", speed:\"1000\" }) | raw }}</div><div class=\"parte-der col-sm-4\"><div class=\"cuadro-resumen-carrito\"><p>{{ 'Resumen de tu compra' | trans }}:</p><div class=\"datos-resumen\"><ul id=\"list-monedas-resumen\"></ul><div class=\"import-resumen\"><span>{{ 'Importe' | trans }}:</span><span class=\"val-import\">0,00 €</span></div><div class=\"envio-resumen\"><span>{{ 'Envio' | trans }}:</span><span class=\"val-envio\">0,00 €</span></div><div class=\"cupon-resumen\" style=\"display:none;\"><span>{{ 'Cupon' | trans }}:</span><span class=\"val-cupon\"></span></div><div class=\"total-resumen\"><span>{{ 'Total' | trans | upper }}</span><span class=\"val-total\">0,00 €</span></div></div></div><div class=\"codProm-line\"><input type=\"text\" id=\"rellenar_codigoPromo\" class=\"campo-relleno\" placeholder=\"{{ 'cart.step4.reserva.cupon' | trans({}, 'settings') }}\"><button type=\"button\" id=\"comprobarCodigoProm\" >{{ 'aplicar cupón' | trans | capitalize }}</button><div id=\"textoCod1\" style=\"display:none\"> <div class=\"text-box-prom alert alert-success\">{{ 'texto.cupon.carro1' | trans({}, 'settings') }}</div></div><div id=\"textoCod2\" style=\"display:none\"> <div class=\"text-box-prom alert alert-danger\">{{ 'texto.cupon.carro1.fallo' | trans({}, 'settings') }}</div></div></div><div class=\"metEnvio-line\"><select id=\"elegir-envio\" class=\"campo-relleno\"><option value=\"0\" disabled selected>{{ 'Selecciona metodo entrega' | trans }}</option><option value=\"1\">{{ 'Recogida en tienda' | trans }}</option><option value=\"2\">{{ 'Envio a domicilio' | trans }}</option></select><p id=\"noMetEnv\" style=\"display: none; color: red;\">{{ 'aviso.carro1.entrega' | trans({}, 'settings') }}</p></div><div class=\"provDest-line\" style=\"display: none;\"><select id=\"elegir-provDest\" class=\"campo-relleno\"><option value=\"0\" data-gastos=\"0\" disabled selected>{{ 'Selecciona provincia destino' | trans }}</option>{% for provincia in provincias %}<option value=\"{{ provincia.id }}\" data-gastos=\"{{ provincia.gastos }}\" {% if provincia.oficinas.isEmpty() %}class=\"sinOficina\"{% endif %}>{{ provincia.nombre }}</option>{% endfor %}</select><p id=\"noProvDest\" style=\"display: none; color: red;\">{{ 'aviso.carro1.provincia' | trans({}, 'settings') }}</p><p id=\"noProvDestOfi\" style=\"display: none; color: red;\">{{ 'aviso.carro1.conOfi' | trans({}, 'settings') }}</p></div><div class=\"ofiDest-line\" style=\"display: none;\">{{ render(controller('App\\\\Controller\\\\DefaultController::oficinaAction', { select_id: 'selectOfi6' } )) }}<p id=\"noOfiDest\" style=\"display: none; color: red;\">{{ 'aviso.carro1.recogida' | trans({}, 'settings') }}</p></div><div class=\"link_divisa\"><button id=\"Box1Compra\" class=\"bcol1\" type=\"submit\"value=\"{{ 'comprar' | trans |upper }}\">{{ 'comprar' | trans | capitalize }}</button></div></div></div>{% endblock %}</div></div>{% endblock %}{% block footer %}<input id=\"cupon\" name=\"cupon\" type=\"hidden\" value=\"\">{# <input type=\"hidden\" id=\"tipo_cupon\" value=\"0\"> #}<input type=\"hidden\" id=\"valor_cup\" value=\"10\">{{ parent() }}{% endblock %}{% block javascripts_footer %}{{ parent() }}<script>var ruta_cupon = '{{ path('app_cupon_check') }}';</script><!-- jsCarrito --><script src=\"/js/cart.js?2.1\"></script><script src=\"/js/fastShop.js?2.1\"></script><script src=\"/js/datapick/js/bootstrap-datepicker.js\"></script><script src=\"/js/timepick/bootstrap-timepicker.js\"></script><!-- /jsCarrito -->{% endblock %}", "default/carrito/carrito1.html.twig", "/home/alien/www/eurochange/templates/default/carrito/carrito1.html.twig");}}