var/cache/dev/twig/71/71f98299fe08f439eca027406a4ecc52.php line 43

  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. /* default/carrito/carrito1.html.twig */
  14. class __TwigTemplate_e98682d8037d942f7db4b58e11ac450f 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.             'bodyId' => [$this'block_bodyId'],
  24.             'body' => [$this'block_body'],
  25.             'carritoPasos' => [$this'block_carritoPasos'],
  26.             'carritoContent' => [$this'block_carritoContent'],
  27.             'footer' => [$this'block_footer'],
  28.             'javascripts_footer' => [$this'block_javascripts_footer'],
  29.         ];
  30.     }
  31.     protected function doGetParent(array $context)
  32.     {
  33.         // line 2
  34.         return "base.html.twig";
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = [])
  37.     {
  38.         $macros $this->macros;
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""default/carrito/carrito1.html.twig"));
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""default/carrito/carrito1.html.twig"));
  43.         $this->parent $this->loadTemplate("base.html.twig""default/carrito/carrito1.html.twig"2);
  44.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  47.         
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  49.     }
  50.     // line 4
  51.     public function block_bodyId($context, array $blocks = [])
  52.     {
  53.         $macros $this->macros;
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""bodyId"));
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""bodyId"));
  58.         echo "carrito";
  59.         
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  61.         
  62.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  63.     }
  64.     // line 6
  65.     public function block_body($context, array $blocks = [])
  66.     {
  67.         $macros $this->macros;
  68.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  69.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  70.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  71.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  72.         // line 7
  73.         echo "
  74.     <div class=\"title container\">
  75.         <h1>";
  76.         // line 9
  77.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Carrito"), "html"nulltrue);
  78.         echo "</h1>
  79.     </div>
  80.     
  81.     <div id=\"carrito\" class=\"container\">
  82.         ";
  83.         // line 13
  84.         $this->displayBlock('carritoPasos'$context$blocks);
  85.         // line 29
  86.         echo "        
  87.         <div id=\"pasosContent\">
  88.         
  89.             ";
  90.         // line 32
  91.         $this->displayBlock('carritoContent'$context$blocks);
  92.         // line 219
  93.         echo "            
  94.         </div>
  95.     </div>
  96. ";
  97.         
  98.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  99.         
  100.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  101.     }
  102.     // line 13
  103.     public function block_carritoPasos($context, array $blocks = [])
  104.     {
  105.         $macros $this->macros;
  106.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  107.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""carritoPasos"));
  108.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  109.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""carritoPasos"));
  110.         // line 14
  111.         echo "            <div id=\"pasos\">
  112.                 <div class=\"num-pasos active\">
  113.                     <span id=\"primero-tab\">1</span>
  114.                     <p>";
  115.         // line 17
  116.         echo twig_escape_filter($this->envtwig_upper_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Carrito")), "html"nulltrue);
  117.         echo "</p>
  118.                 </div>
  119.                 <div class=\"num-pasos\">
  120.                     <a href=\"";
  121.         // line 20
  122.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_cart_2");
  123.         echo "\" class=\"\" id=\"segundo-tab\">2</a>
  124.                     <p>";
  125.         // line 21
  126.         echo twig_escape_filter($this->envtwig_upper_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Pago")), "html"nulltrue);
  127.         echo "</p>
  128.                 </div>
  129.                 <div class=\"num-pasos\">
  130.                     <span class=\"\" id=\"tercero-tab\">3</span>
  131.                     <p>";
  132.         // line 25
  133.         echo twig_escape_filter($this->envtwig_upper_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Confirmacion")), "html"nulltrue);
  134.         echo "</p>
  135.                 </div>
  136.             </div>
  137.         ";
  138.         
  139.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  140.         
  141.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  142.     }
  143.     // line 32
  144.     public function block_carritoContent($context, array $blocks = [])
  145.     {
  146.         $macros $this->macros;
  147.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  148.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""carritoContent"));
  149.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  150.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""carritoContent"));
  151.         // line 33
  152.         echo "                <div id=\"primer-paso\" class=\"row\">
  153.                     <div class=\"cotizaciones\" style=\"display: none\">
  154.                         ";
  155.         // line 35
  156.         echo 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"nulltrue);
  157.         echo "
  158.                     </div>
  159.                     <div id=\"cotizacionesOnline\" class=\"cotizacionesOnline\" style=\"display: none\">
  160.                         ";
  161.         // line 38
  162.         echo 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"nulltrue);
  163.         echo "
  164.                     </div>
  165.                     <div class=\"divisas\" style=\"display: none\">
  166.                         ";
  167.         // line 41
  168.         echo 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"nulltrue);
  169.         echo "
  170.                     </div>
  171.                     <div id=\"permiteCompra\" class=\"permiteCompra\" style=\"display: none\" value=\"";
  172.         // line 43
  173.         echo 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"nulltrue);
  174.         echo "\">
  175.                         ";
  176.         // line 44
  177.         echo 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"nulltrue);
  178.         echo "
  179.                     </div>
  180.                     <div class=\"parte-izq col-sm-8\">
  181.                         ";
  182.         // line 49
  183.         echo $this->extensions['App\Twig\ShortcodesExtension']->doShortcode("banner", ["nombre" => "Carrito1""auto" => "true""pause" => "10000""speed" => "1000"]);
  184.         echo "
  185.                         
  186.                         <div ";
  187.         // line 51
  188.         echo ">
  189.                             <div id=\"info\" class=\"banner-envio col1 texto_seg\">
  190.                                 <p><strong>";
  191.         // line 53
  192.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("cart1.texto_recompra_3", [], "settings"), "html"nulltrue);
  193.         echo "</strong>";
  194.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("cart1.texto_recompra", [], "settings"), "html"nulltrue);
  195.         echo "</p> 
  196. ";
  197.         // line 56
  198.         echo "                                    <p id=\"texto_seguro2\" style=\"font-weight:bold\">";
  199.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("cart1.texto_seguro_1", [], "settings"), "html"nulltrue);
  200.         echo " <span id=\"texto_1_seguro\">";
  201.         echo 700;
  202.         echo "</span> ";
  203.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("cart1.texto_seguro_2", [], "settings"), "html"nulltrue);
  204.         echo "</p>
  205. ";
  206.         // line 59
  207.         echo "                            </div>
  208.                         </div>
  209.                         <div ";
  210.         // line 61
  211.         echo "style=\"text-align: center;\">
  212.                                 
  213.                                 ";
  214.         // line 67
  215.         echo "                        
  216.                         
  217.                                 ";
  218.         // line 69
  219.         echo         $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"]]);
  220.         echo "
  221.                                 <div class=\"form-errors\">
  222.                                     ";
  223.         // line 72
  224.         $context['_parent'] = $context;
  225.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse72), "errors", [], "any"falsefalsefalse72));
  226.         foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
  227.             // line 73
  228.             echo "                                        <div class=\"invalid-feedback d-block\">
  229.                                             ";
  230.             // line 74
  231.             echo twig_get_attribute($this->env$this->source$context["error"], "message", [], "any"falsefalsefalse74);
  232.             echo "
  233.                                         </div>
  234.                                     ";
  235.         }
  236.         $_parent $context['_parent'];
  237.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
  238.         $context array_intersect_key($context$_parent) + $_parent;
  239.         // line 77
  240.         echo "                                </div>
  241.                                 
  242.                                 ";
  243.         // line 79
  244.         $context['_parent'] = $context;
  245.         $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"falsefalsefalse79));
  246.         $context['loop'] = [
  247.           'parent' => $context['_parent'],
  248.           'index0' => 0,
  249.           'index'  => 1,
  250.           'first'  => true,
  251.         ];
  252.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  253.             $length count($context['_seq']);
  254.             $context['loop']['revindex0'] = $length 1;
  255.             $context['loop']['revindex'] = $length;
  256.             $context['loop']['length'] = $length;
  257.             $context['loop']['last'] = === $length;
  258.         }
  259.         foreach ($context['_seq'] as $context["_key"] => $context["pedido"]) {
  260.             // line 80
  261.             echo "
  262.                                     <div class=\"comprarya conversor\" contador=\"0\">
  263.                                         
  264.                                         <div id=\"cont-monedas\" class=\"row\">
  265.                                             <div class=\"col-5 div1\">
  266.                                                 <p>";
  267.             // line 86
  268.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("¿Qué moneda tienes?"), "html"nulltrue);
  269.             echo "</p>
  270.                                                 ";
  271.             // line 87
  272.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source$context["pedido"], "divisaOrigen", [], "any"falsefalsefalse87), 'errors');
  273.             echo "
  274.                                                 <img class=\"bandera band-1\" src=\"/img/bandera-EUR.svg\"/>
  275.                                                 ";
  276.             // line 89
  277.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source$context["pedido"], "divisaOrigen", [], "any"falsefalsefalse89), 'widget');
  278.             echo "
  279.                                                 
  280.                                             </div>
  281.                                             
  282.                                             ";
  283.             // line 93
  284.             if ((((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))) {
  285.                 // line 94
  286.                 echo "                                                <div class=\"col-2 intercambio div2\">
  287. ";
  288.                 // line 96
  289.                 echo "                                                </div>
  290.                                             ";
  291.             } else {
  292.                 // line 98
  293.                 echo "                                                <div class=\"col-2 intercambio div2\">
  294. ";
  295.                 // line 100
  296.                 echo "                                                </div>
  297.                                             ";
  298.             }
  299.             // line 102
  300.             echo "                                            
  301.                                             <div class=\"col-5 div3\">
  302.                                                 <p>";
  303.             // line 104
  304.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("¿Qué moneda quieres?"), "html"nulltrue);
  305.             echo "</p>
  306.                                                 ";
  307.             // line 105
  308.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source$context["pedido"], "divisaFinal", [], "any"falsefalsefalse105), 'errors');
  309.             echo "
  310.                                                 <img class=\"bandera band-2\" src=\"/img/bandera-GBP.svg\"/>
  311.                                                 ";
  312.             // line 107
  313.             if (((isset($context["permiteCompra"]) || array_key_exists("permiteCompra"$context) ? $context["permiteCompra"] : (function () { throw new RuntimeError('Variable "permiteCompra" does not exist.'107$this->source); })()) == 0)) {
  314.                 // line 108
  315.                 echo "                                                    <div id=\"divisa_bloqueada\">
  316.                                                 ";
  317.             }
  318.             // line 110
  319.             echo "                                                        
  320.                                                 ";
  321.             // line 111
  322.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source$context["pedido"], "divisaFinal", [], "any"falsefalsefalse111), 'widget');
  323.             echo "
  324.                                                         
  325.                                                 ";
  326.             // line 113
  327.             if (((isset($context["permiteCompra"]) || array_key_exists("permiteCompra"$context) ? $context["permiteCompra"] : (function () { throw new RuntimeError('Variable "permiteCompra" does not exist.'113$this->source); })()) == 0)) {
  328.                 // line 114
  329.                 echo "                                                    </div>
  330.                                                 ";
  331.             }
  332.             // line 116
  333.             echo "                                            </div>
  334.                                         </div>
  335.                                         
  336.                                         <div id=\"cont-dinero\" class=\"row info_divisa\">
  337.                                             <div class=\"col-6 comprar\">
  338.                                                 <p>";
  339.             // line 121
  340.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Cantidad en"), "html"nulltrue);
  341.             echo " <span class=\"div_origen\">";
  342.             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"nulltrue);
  343.             echo "</span></p>
  344.                                                 <div class=\"number cant\">";
  345.             // line 122
  346.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source$context["pedido"], "cantidadOrigen", [], "any"falsefalsefalse122), 'widget');
  347.             echo "</div>
  348.                                                 <p>";
  349.             // line 123
  350.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("¿Cuánto tienes?"), "html"nulltrue);
  351.             echo "</p>
  352.                                             </div>
  353.                                             <div class=\"col-6 pagar\">
  354.                                                 <p>";
  355.             // line 126
  356.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Cantidad en"), "html"nulltrue);
  357.             echo " <span class=\"div_final\">";
  358.             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"nulltrue);
  359.             echo "</span></p></p>
  360.                                                 <div class=\"number cant\">";
  361.             // line 127
  362.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source$context["pedido"], "cantidadFinal", [], "any"falsefalsefalse127), 'widget');
  363.             echo "</div>
  364.                                                 <p>";
  365.             // line 128
  366.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("¿Cuánto recibes?"), "html"nulltrue);
  367.             echo "</p>
  368.                                             </div>
  369.                                             
  370.                                             <p class=\"cambio_divisa\"></p>
  371.                                             
  372.                                             <div class=\"masdivisas-wrapper\">
  373.                                                 ";
  374.             // line 134
  375.             if ((twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse134) == 1)) {
  376.                 // line 135
  377.                 echo "                                                    <a href=\"#\"
  378.                                                     class=\"masdivisas\"><span>";
  379.                 // line 136
  380.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("+ Añadir más divisas"), "html"nulltrue);
  381.                 echo "</span></a>
  382.                                                 ";
  383.             } else {
  384.                 // line 138
  385.                 echo "                                                    <a class=\"removeThis\" href=\"#\">";
  386.                 echo twig_escape_filter($this->envtwig_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", [=> "cart1.remove"], "method"falsefalsefalse138), "html"nulltrue);
  387.                 echo "</a>
  388.                                                 ";
  389.             }
  390.             // line 140
  391.             echo "                                            </div>
  392.                                         </div>
  393.                                     </div>
  394.                                 ";
  395.             ++$context['loop']['index0'];
  396.             ++$context['loop']['index'];
  397.             $context['loop']['first'] = false;
  398.             if (isset($context['loop']['length'])) {
  399.                 --$context['loop']['revindex0'];
  400.                 --$context['loop']['revindex'];
  401.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  402.             }
  403.         }
  404.         $_parent $context['_parent'];
  405.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['pedido'], $context['_parent'], $context['loop']);
  406.         $context array_intersect_key($context$_parent) + $_parent;
  407.         // line 145
  408.         echo "                                <div class=\"cupon_boton\">
  409.                                     ";
  410.         // line 146
  411.         echo $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"falsefalsefalse146), 'widget');
  412.         echo "
  413. ";
  414.         // line 148
  415.         echo "                                </div>
  416.                                 ";
  417.         // line 149
  418.         echo $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');
  419.         echo "
  420.                                 ";
  421.         // line 150
  422.         echo         $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');
  423.         echo "
  424.                         
  425.                         </div>
  426.                         ";
  427.         // line 154
  428.         echo $this->extensions['App\Twig\ShortcodesExtension']->doShortcode("banner", ["nombre" => "Carrito1_abajo""auto" => "true""pause" => "10000""speed" => "1000"]);
  429.         echo "
  430.                         
  431.                     </div>
  432.                     <div class=\"parte-der col-sm-4\">
  433.                         <div class=\"cuadro-resumen-carrito\">
  434.                             <p>";
  435.         // line 160
  436.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Resumen de tu compra"), "html"nulltrue);
  437.         echo ":</p>
  438.                             <div class=\"datos-resumen\">
  439.                                 <ul id=\"list-monedas-resumen\">
  440.                                 </ul>
  441.                                 <div class=\"import-resumen\">
  442.                                     <span>";
  443.         // line 165
  444.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Importe"), "html"nulltrue);
  445.         echo ":</span>
  446.                                     <span class=\"val-import\">0,00 €</span>
  447.                                 </div>
  448.                                 <div class=\"envio-resumen\">
  449.                                     <span>";
  450.         // line 169
  451.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Envio"), "html"nulltrue);
  452.         echo ":</span>
  453.                                     <span class=\"val-envio\">0,00 €</span>
  454.                                 </div>
  455.                                 <div class=\"cupon-resumen\" style=\"display:none;\">
  456.                                     <span>";
  457.         // line 173
  458.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Cupon"), "html"nulltrue);
  459.         echo ":</span>
  460.                                     <span class=\"val-cupon\"></span>
  461.                                 </div>
  462.                                 <div class=\"total-resumen\">
  463.                                     <span>";
  464.         // line 177
  465.         echo twig_escape_filter($this->envtwig_upper_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Total")), "html"nulltrue);
  466.         echo "</span>
  467.                                     <span class=\"val-total\">0,00 €</span>
  468.                                 </div>
  469.                             </div>
  470.                         </div>
  471.                         <div class=\"codProm-line\">
  472.                             <input type=\"text\" id=\"rellenar_codigoPromo\" class=\"campo-relleno\" placeholder=\"";
  473.         // line 184
  474.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("cart.step4.reserva.cupon", [], "settings"), "html"nulltrue);
  475.         echo "\">
  476.                             <button type=\"button\" id=\"comprobarCodigoProm\" >";
  477.         // line 185
  478.         echo twig_escape_filter($this->envtwig_capitalize_string_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("aplicar cupón")), "html"nulltrue);
  479.         echo "</button>
  480.                             <div id=\"textoCod1\" style=\"display:none\"> <div class=\"text-box-prom alert alert-success\">";
  481.         // line 186
  482.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("texto.cupon.carro1", [], "settings"), "html"nulltrue);
  483.         echo "</div></div>
  484.                             <div id=\"textoCod2\" style=\"display:none\"> <div class=\"text-box-prom alert alert-danger\">";
  485.         // line 187
  486.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("texto.cupon.carro1.fallo", [], "settings"), "html"nulltrue);
  487.         echo "</div></div>
  488.                         </div>
  489.                         <div class=\"metEnvio-line\">
  490.                             <select id=\"elegir-envio\" class=\"campo-relleno\">
  491.                                 <option value=\"0\" disabled selected>";
  492.         // line 191
  493.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Selecciona metodo entrega"), "html"nulltrue);
  494.         echo "</option>
  495.                                 <option value=\"1\">";
  496.         // line 192
  497.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Recogida en tienda"), "html"nulltrue);
  498.         echo "</option>
  499.                                 <option value=\"2\">";
  500.         // line 193
  501.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Envio a domicilio"), "html"nulltrue);
  502.         echo "</option>
  503.                             </select>
  504.                             <p id=\"noMetEnv\" style=\"display: none; color: red;\">";
  505.         // line 195
  506.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("aviso.carro1.entrega", [], "settings"), "html"nulltrue);
  507.         echo "</p>
  508.                         </div>
  509.                         <div class=\"provDest-line\" style=\"display: none;\">
  510.                             <select id=\"elegir-provDest\" class=\"campo-relleno\">
  511.                                 <option value=\"0\" data-gastos=\"0\" disabled selected>";
  512.         // line 199
  513.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Selecciona provincia destino"), "html"nulltrue);
  514.         echo "</option>
  515.                                 ";
  516.         // line 200
  517.         $context['_parent'] = $context;
  518.         $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); })()));
  519.         foreach ($context['_seq'] as $context["_key"] => $context["provincia"]) {
  520.             // line 201
  521.             echo "                                    <option value=\"";
  522.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["provincia"], "id", [], "any"falsefalsefalse201), "html"nulltrue);
  523.             echo "\" data-gastos=\"";
  524.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["provincia"], "gastos", [], "any"falsefalsefalse201), "html"nulltrue);
  525.             echo "\" ";
  526.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["provincia"], "oficinas", [], "any"falsefalsefalse201), "isEmpty", [], "method"falsefalsefalse201)) {
  527.                 echo "class=\"sinOficina\"";
  528.             }
  529.             echo ">";
  530.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["provincia"], "nombre", [], "any"falsefalsefalse201), "html"nulltrue);
  531.             echo "</option>
  532.                                 ";
  533.         }
  534.         $_parent $context['_parent'];
  535.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['provincia'], $context['_parent'], $context['loop']);
  536.         $context array_intersect_key($context$_parent) + $_parent;
  537.         // line 203
  538.         echo "                            </select>
  539.                             <p id=\"noProvDest\" style=\"display: none; color: red;\">";
  540.         // line 204
  541.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("aviso.carro1.provincia", [], "settings"), "html"nulltrue);
  542.         echo "</p>
  543.                             <p id=\"noProvDestOfi\" style=\"display: none; color: red;\">";
  544.         // line 205
  545.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("aviso.carro1.conOfi", [], "settings"), "html"nulltrue);
  546.         echo "</p>
  547.                         </div>
  548.                         <div class=\"ofiDest-line\" style=\"display: none;\">
  549.                             ";
  550.         // line 208
  551.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\DefaultController::oficinaAction", ["select_id" => "selectOfi6"]));
  552.         echo "
  553.                             <p id=\"noOfiDest\" style=\"display: none; color: red;\">";
  554.         // line 209
  555.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("aviso.carro1.recogida", [], "settings"), "html"nulltrue);
  556.         echo "</p>
  557.                         </div>
  558.                         <div class=\"link_divisa\">
  559.                             <button id=\"Box1Compra\" class=\"bcol1\" type=\"submit\"
  560.                                 value=\"";
  561.         // line 213
  562.         echo twig_escape_filter($this->envtwig_upper_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("comprar")), "html"nulltrue);
  563.         echo "\">";
  564.         echo twig_escape_filter($this->envtwig_capitalize_string_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("comprar")), "html"nulltrue);
  565.         echo "
  566.                             </button>
  567.                         </div>
  568.                     </div>
  569.                 </div>
  570.             ";
  571.         
  572.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  573.         
  574.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  575.     }
  576.     // line 224
  577.     public function block_footer($context, array $blocks = [])
  578.     {
  579.         $macros $this->macros;
  580.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  581.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  582.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  583.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  584.         // line 225
  585.         echo "<input id=\"cupon\" name=\"cupon\" type=\"hidden\" value=\"\">
  586. ";
  587.         // line 227
  588.         echo "<input type=\"hidden\" id=\"valor_cup\" value=\"10\">
  589. ";
  590.         // line 228
  591.         $this->displayParentBlock("footer"$context$blocks);
  592.         echo "
  593. ";
  594.         
  595.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  596.         
  597.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  598.     }
  599.     // line 231
  600.     public function block_javascripts_footer($context, array $blocks = [])
  601.     {
  602.         $macros $this->macros;
  603.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  604.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts_footer"));
  605.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  606.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts_footer"));
  607.         // line 232
  608.         echo "        ";
  609.         $this->displayParentBlock("javascripts_footer"$context$blocks);
  610.         echo "
  611.         <script>
  612.         var ruta_cupon = '";
  613.         // line 234
  614.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_cupon_check");
  615.         echo "';
  616.         </script>
  617.         <!-- jsCarrito -->
  618.         
  619.         <script src=\"/js/cart.js?2.1\"></script>
  620.         <script src=\"/js/fastShop.js?2.1\"></script>
  621.         <script src=\"/js/datapick/js/bootstrap-datepicker.js\"></script>
  622.         <script src=\"/js/timepick/bootstrap-timepicker.js\"></script>
  623.         
  624.         <!-- /jsCarrito -->
  625. ";
  626.         
  627.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  628.         
  629.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  630.     }
  631.     public function getTemplateName()
  632.     {
  633.         return "default/carrito/carrito1.html.twig";
  634.     }
  635.     public function isTraitable()
  636.     {
  637.         return false;
  638.     }
  639.     public function getDebugInfo()
  640.     {
  641.         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,);
  642.     }
  643.     public function getSourceContext()
  644.     {
  645.         return new Source("{# {% extends 'default/contenido.html.twig' %} #}
  646. {% extends 'base.html.twig' %}
  647. {% block bodyId %}carrito{% endblock %}
  648. {% block body %}
  649.     <div class=\"title container\">
  650.         <h1>{{ 'Carrito' | trans}}</h1>
  651.     </div>
  652.     
  653.     <div id=\"carrito\" class=\"container\">
  654.         {% block carritoPasos %}
  655.             <div id=\"pasos\">
  656.                 <div class=\"num-pasos active\">
  657.                     <span id=\"primero-tab\">1</span>
  658.                     <p>{{ 'Carrito' | trans | upper }}</p>
  659.                 </div>
  660.                 <div class=\"num-pasos\">
  661.                     <a href=\"{{ path('app_cart_2') }}\" class=\"\" id=\"segundo-tab\">2</a>
  662.                     <p>{{ 'Pago' | trans | upper }}</p>
  663.                 </div>
  664.                 <div class=\"num-pasos\">
  665.                     <span class=\"\" id=\"tercero-tab\">3</span>
  666.                     <p>{{ 'Confirmacion' | trans | upper }}</p>
  667.                 </div>
  668.             </div>
  669.         {% endblock %}
  670.         
  671.         <div id=\"pasosContent\">
  672.         
  673.             {% block carritoContent %}
  674.                 <div id=\"primer-paso\" class=\"row\">
  675.                     <div class=\"cotizaciones\" style=\"display: none\">
  676.                         {{ cotizacionesJson }}
  677.                     </div>
  678.                     <div id=\"cotizacionesOnline\" class=\"cotizacionesOnline\" style=\"display: none\">
  679.                         {{ cotizacionesOnlineJson }}
  680.                     </div>
  681.                     <div class=\"divisas\" style=\"display: none\">
  682.                         {{ divisasJson }}
  683.                     </div>
  684.                     <div id=\"permiteCompra\" class=\"permiteCompra\" style=\"display: none\" value=\"{{permiteCompra}}\">
  685.                         {{ permiteCompra }}
  686.                     </div>
  687.                     <div class=\"parte-izq col-sm-8\">
  688.                         {{ doShortcode(\"banner\", {nombre:\"Carrito1\", auto:\"true\", pause: \"10000\", speed:\"1000\" }) | raw }}
  689.                         
  690.                         <div {#class=\"col-sm-6 order-sm-2\"#}>
  691.                             <div id=\"info\" class=\"banner-envio col1 texto_seg\">
  692.                                 <p><strong>{{ 'cart1.texto_recompra_3' | trans({}, 'settings') }}</strong>{{ 'cart1.texto_recompra' | trans({}, 'settings') }}</p> 
  693. {#                                 {% set i = 1 %} #}
  694. {#                                 {% for pedido in carro['pedidos'] %} #}
  695.                                     <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>
  696. {#                                     {% set i = i + 1 %} #}
  697. {#                                 {% endfor %}  #}
  698.                             </div>
  699.                         </div>
  700.                         <div {#class=\"col-sm-6 order-sm-1\"#}style=\"text-align: center;\">
  701.                                 
  702.                                 {#<div style=\"display:none\">
  703.                                     {{ render(controller('App\\\\Controller\\\\DefaultController::oficinaAction', { select_id: 'select_ofi2' } )) }}
  704.                                     <p class=\"info-select\">{{ '* La tienda online solo permite la compra de divisas extranjeras (no Euros)' | trans}}</p>
  705.                                 </div>#}
  706.                         
  707.                         
  708.                                 {{ form_start(carro, {'attr': {'id': 'dinamic_shop_carro'}}) }}
  709.                                 <div class=\"form-errors\">
  710.                                     {% for error in carro.vars.errors %}
  711.                                         <div class=\"invalid-feedback d-block\">
  712.                                             {{ error.message | raw }}
  713.                                         </div>
  714.                                     {% endfor %}
  715.                                 </div>
  716.                                 
  717.                                 {% for pedido in carro['pedidos'] %}
  718.                                     <div class=\"comprarya conversor\" contador=\"0\">
  719.                                         
  720.                                         <div id=\"cont-monedas\" class=\"row\">
  721.                                             <div class=\"col-5 div1\">
  722.                                                 <p>{{ '¿Qué moneda tienes?' | trans}}</p>
  723.                                                 {{ form_errors(pedido.divisaOrigen) }}
  724.                                                 <img class=\"bandera band-1\" src=\"/img/bandera-EUR.svg\"/>
  725.                                                 {{ form_widget(pedido.divisaOrigen) }}
  726.                                                 
  727.                                             </div>
  728.                                             
  729.                                             {% if ofi_var == 1 or permiteCompra == 0 %}
  730.                                                 <div class=\"col-2 intercambio div2\">
  731. {#                                                     <a href=\"#\" class=\"swtich_moneda\" style=\"display:none\"><img src=\"/img/intercambio.svg\"/></a> #}
  732.                                                 </div>
  733.                                             {% else %}
  734.                                                 <div class=\"col-2 intercambio div2\">
  735. {#                                                     <a href=\"#\" class=\"swtich_moneda\"><img src=\"/img/intercambio.svg\"/></a> #}
  736.                                                 </div>
  737.                                             {% endif %}
  738.                                             
  739.                                             <div class=\"col-5 div3\">
  740.                                                 <p>{{ '¿Qué moneda quieres?' | trans}}</p>
  741.                                                 {{ form_errors(pedido.divisaFinal) }}
  742.                                                 <img class=\"bandera band-2\" src=\"/img/bandera-GBP.svg\"/>
  743.                                                 {% if permiteCompra == 0 %}
  744.                                                     <div id=\"divisa_bloqueada\">
  745.                                                 {% endif %}
  746.                                                         
  747.                                                 {{ form_widget(pedido.divisaFinal) }}
  748.                                                         
  749.                                                 {% if permiteCompra == 0 %}
  750.                                                     </div>
  751.                                                 {% endif %}
  752.                                             </div>
  753.                                         </div>
  754.                                         
  755.                                         <div id=\"cont-dinero\" class=\"row info_divisa\">
  756.                                             <div class=\"col-6 comprar\">
  757.                                                 <p>{{ 'Cantidad en' | trans }} <span class=\"div_origen\">{{ div_o_nombre}}</span></p>
  758.                                                 <div class=\"number cant\">{{ form_widget(pedido.cantidadOrigen ) }}</div>
  759.                                                 <p>{{ '¿Cuánto tienes?' | trans }}</p>
  760.                                             </div>
  761.                                             <div class=\"col-6 pagar\">
  762.                                                 <p>{{ 'Cantidad en' | trans }} <span class=\"div_final\">{{ div_f_nombre}}</span></p></p>
  763.                                                 <div class=\"number cant\">{{ form_widget(pedido.cantidadFinal) }}</div>
  764.                                                 <p>{{ '¿Cuánto recibes?' | trans }}</p>
  765.                                             </div>
  766.                                             
  767.                                             <p class=\"cambio_divisa\"></p>
  768.                                             
  769.                                             <div class=\"masdivisas-wrapper\">
  770.                                                 {% if loop.index==1 %}
  771.                                                     <a href=\"#\"
  772.                                                     class=\"masdivisas\"><span>{{ '+ Añadir más divisas' | trans }}</span></a>
  773.                                                 {% else %}
  774.                                                     <a class=\"removeThis\" href=\"#\">{{ settings_manager.getValue('cart1.remove') }}</a>
  775.                                                 {% endif %}
  776.                                             </div>
  777.                                         </div>
  778.                                     </div>
  779.                                 {% endfor %}
  780.                                 <div class=\"cupon_boton\">
  781.                                     {{ form_widget(carro.codigoPromo) }}
  782. {#                                     <button type=\"button\" id=\"comprobarCodigoProm\" >{{ 'aplicar cupón' | trans | capitalize }}</button> #}
  783.                                 </div>
  784.                                 {{ form_rest(carro) }}
  785.                                 {{ form_end(carro) }}
  786.                         
  787.                         </div>
  788.                         {{ doShortcode(\"banner\", {nombre:\"Carrito1_abajo\", auto:\"true\", pause: \"10000\", speed:\"1000\" }) | raw }}
  789.                         
  790.                     </div>
  791.                     <div class=\"parte-der col-sm-4\">
  792.                         <div class=\"cuadro-resumen-carrito\">
  793.                             <p>{{ 'Resumen de tu compra' | trans }}:</p>
  794.                             <div class=\"datos-resumen\">
  795.                                 <ul id=\"list-monedas-resumen\">
  796.                                 </ul>
  797.                                 <div class=\"import-resumen\">
  798.                                     <span>{{ 'Importe' | trans }}:</span>
  799.                                     <span class=\"val-import\">0,00 €</span>
  800.                                 </div>
  801.                                 <div class=\"envio-resumen\">
  802.                                     <span>{{ 'Envio' | trans }}:</span>
  803.                                     <span class=\"val-envio\">0,00 €</span>
  804.                                 </div>
  805.                                 <div class=\"cupon-resumen\" style=\"display:none;\">
  806.                                     <span>{{ 'Cupon' | trans }}:</span>
  807.                                     <span class=\"val-cupon\"></span>
  808.                                 </div>
  809.                                 <div class=\"total-resumen\">
  810.                                     <span>{{ 'Total' | trans | upper }}</span>
  811.                                     <span class=\"val-total\">0,00 €</span>
  812.                                 </div>
  813.                             </div>
  814.                         </div>
  815.                         <div class=\"codProm-line\">
  816.                             <input type=\"text\" id=\"rellenar_codigoPromo\" class=\"campo-relleno\" placeholder=\"{{ 'cart.step4.reserva.cupon' | trans({}, 'settings') }}\">
  817.                             <button type=\"button\" id=\"comprobarCodigoProm\" >{{ 'aplicar cupón' | trans | capitalize }}</button>
  818.                             <div id=\"textoCod1\" style=\"display:none\"> <div class=\"text-box-prom alert alert-success\">{{ 'texto.cupon.carro1' | trans({}, 'settings') }}</div></div>
  819.                             <div id=\"textoCod2\" style=\"display:none\"> <div class=\"text-box-prom alert alert-danger\">{{ 'texto.cupon.carro1.fallo' | trans({}, 'settings') }}</div></div>
  820.                         </div>
  821.                         <div class=\"metEnvio-line\">
  822.                             <select id=\"elegir-envio\" class=\"campo-relleno\">
  823.                                 <option value=\"0\" disabled selected>{{ 'Selecciona metodo entrega' | trans }}</option>
  824.                                 <option value=\"1\">{{ 'Recogida en tienda' | trans }}</option>
  825.                                 <option value=\"2\">{{ 'Envio a domicilio' | trans }}</option>
  826.                             </select>
  827.                             <p id=\"noMetEnv\" style=\"display: none; color: red;\">{{ 'aviso.carro1.entrega' | trans({}, 'settings') }}</p>
  828.                         </div>
  829.                         <div class=\"provDest-line\" style=\"display: none;\">
  830.                             <select id=\"elegir-provDest\" class=\"campo-relleno\">
  831.                                 <option value=\"0\" data-gastos=\"0\" disabled selected>{{ 'Selecciona provincia destino' | trans }}</option>
  832.                                 {% for provincia in provincias %}
  833.                                     <option value=\"{{ provincia.id }}\" data-gastos=\"{{ provincia.gastos }}\" {% if provincia.oficinas.isEmpty() %}class=\"sinOficina\"{% endif %}>{{ provincia.nombre }}</option>
  834.                                 {% endfor %}
  835.                             </select>
  836.                             <p id=\"noProvDest\" style=\"display: none; color: red;\">{{ 'aviso.carro1.provincia' | trans({}, 'settings') }}</p>
  837.                             <p id=\"noProvDestOfi\" style=\"display: none; color: red;\">{{ 'aviso.carro1.conOfi' | trans({}, 'settings') }}</p>
  838.                         </div>
  839.                         <div class=\"ofiDest-line\" style=\"display: none;\">
  840.                             {{ render(controller('App\\\\Controller\\\\DefaultController::oficinaAction', { select_id: 'selectOfi6' } )) }}
  841.                             <p id=\"noOfiDest\" style=\"display: none; color: red;\">{{ 'aviso.carro1.recogida' | trans({}, 'settings') }}</p>
  842.                         </div>
  843.                         <div class=\"link_divisa\">
  844.                             <button id=\"Box1Compra\" class=\"bcol1\" type=\"submit\"
  845.                                 value=\"{{ 'comprar' | trans |upper }}\">{{ 'comprar' | trans | capitalize }}
  846.                             </button>
  847.                         </div>
  848.                     </div>
  849.                 </div>
  850.             {% endblock %}
  851.             
  852.         </div>
  853.     </div>
  854. {% endblock %}
  855. {% block footer %}
  856. <input id=\"cupon\" name=\"cupon\" type=\"hidden\" value=\"\">
  857. {# <input type=\"hidden\" id=\"tipo_cupon\" value=\"0\"> #}
  858. <input type=\"hidden\" id=\"valor_cup\" value=\"10\">
  859. {{ parent() }}
  860. {% endblock %}
  861. {% block javascripts_footer %}
  862.         {{ parent() }}
  863.         <script>
  864.         var ruta_cupon = '{{ path('app_cupon_check') }}';
  865.         </script>
  866.         <!-- jsCarrito -->
  867.         
  868.         <script src=\"/js/cart.js?2.1\"></script>
  869.         <script src=\"/js/fastShop.js?2.1\"></script>
  870.         <script src=\"/js/datapick/js/bootstrap-datepicker.js\"></script>
  871.         <script src=\"/js/timepick/bootstrap-timepicker.js\"></script>
  872.         
  873.         <!-- /jsCarrito -->
  874. {% endblock %}
  875. ""default/carrito/carrito1.html.twig""/home/alien/www/eurochange/templates/default/carrito/carrito1.html.twig");
  876.     }
  877. }