var/cache/dev/twig/1e/1e434cf86b493f97957b8332713988e7.php line 57

  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/index.html.twig */
  14. class __TwigTemplate_78e9724f005863859b13f846616de735 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.             'title' => [$this'block_title'],
  24.             'metadescription' => [$this'block_metadescription'],
  25.             'metakeywords' => [$this'block_metakeywords'],
  26.             'metarobots' => [$this'block_metarobots'],
  27.             'canonical' => [$this'block_canonical'],
  28.             'bodyId' => [$this'block_bodyId'],
  29.             'modalDniCaducado' => [$this'block_modalDniCaducado'],
  30.             'body' => [$this'block_body'],
  31.             'empresas' => [$this'block_empresas'],
  32.             'funciones_eventos' => [$this'block_funciones_eventos'],
  33.         ];
  34.     }
  35.     protected function doGetParent(array $context)
  36.     {
  37.         // line 2
  38.         return "base.html.twig";
  39.     }
  40.     protected function doDisplay(array $context, array $blocks = [])
  41.     {
  42.         $macros $this->macros;
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""default/index.html.twig"));
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""default/index.html.twig"));
  47.         $this->parent $this->loadTemplate("base.html.twig""default/index.html.twig"2);
  48.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  49.         
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  51.         
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  53.     }
  54.     // line 4
  55.     public function block_title($context, array $blocks = [])
  56.     {
  57.         $macros $this->macros;
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  62.         echo twig_escape_filter($this->envtwig_replace_filter(((twig_get_attribute($this->env$this->source, ($context["contenido"] ?? null), "metaTitle", [], "any"truetruefalse4)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["contenido"] ?? null), "metaTitle", [], "any"falsefalsefalse4), twig_get_attribute($this->env$this->source, (isset($context["contenido"]) || array_key_exists("contenido"$context) ? $context["contenido"] : (function () { throw new RuntimeError('Variable "contenido" does not exist.'4$this->source); })()), "titulo", [], "any"falsefalsefalse4))) : (twig_get_attribute($this->env$this->source, (isset($context["contenido"]) || array_key_exists("contenido"$context) ? $context["contenido"] : (function () { throw new RuntimeError('Variable "contenido" does not exist.'4$this->source); })()), "titulo", [], "any"falsefalsefalse4))), ["| Eurochange.es" => ""]), "html"nulltrue);
  63.         
  64.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  65.         
  66.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  67.     }
  68.     // line 5
  69.     public function block_metadescription($context, array $blocks = [])
  70.     {
  71.         $macros $this->macros;
  72.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  73.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metadescription"));
  74.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  75.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metadescription"));
  76.         echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source, ($context["contenido"] ?? null), "metaDescription", [], "any"truetruefalse5)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["contenido"] ?? null), "metaDescription", [], "any"falsefalsefalse5), twig_get_attribute($this->env$this->source, (isset($context["contenido"]) || array_key_exists("contenido"$context) ? $context["contenido"] : (function () { throw new RuntimeError('Variable "contenido" does not exist.'5$this->source); })()), "intro", [], "any"falsefalsefalse5))) : (twig_get_attribute($this->env$this->source, (isset($context["contenido"]) || array_key_exists("contenido"$context) ? $context["contenido"] : (function () { throw new RuntimeError('Variable "contenido" does not exist.'5$this->source); })()), "intro", [], "any"falsefalsefalse5))), "html"nulltrue);
  77.         
  78.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  79.         
  80.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  81.     }
  82.     // line 6
  83.     public function block_metakeywords($context, array $blocks = [])
  84.     {
  85.         $macros $this->macros;
  86.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  87.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metakeywords"));
  88.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  89.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metakeywords"));
  90.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["contenido"]) || array_key_exists("contenido"$context) ? $context["contenido"] : (function () { throw new RuntimeError('Variable "contenido" does not exist.'6$this->source); })()), "metaKeywords", [], "any"falsefalsefalse6), "html"nulltrue);
  91.         
  92.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  93.         
  94.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  95.     }
  96.     // line 7
  97.     public function block_metarobots($context, array $blocks = [])
  98.     {
  99.         $macros $this->macros;
  100.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  101.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metarobots"));
  102.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  103.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metarobots"));
  104.         echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source, ($context["contenido"] ?? null), "metaRobots", [], "any"truetruefalse7)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["contenido"] ?? null), "metaRobots", [], "any"falsefalsefalse7), $this->renderParentBlock("metarobots"$context$blocks))) : ($this->renderParentBlock("metarobots"$context$blocks))), "html"nulltrue);
  105.         
  106.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  107.         
  108.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  109.     }
  110.     // line 8
  111.     public function block_canonical($context, array $blocks = [])
  112.     {
  113.         $macros $this->macros;
  114.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  115.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""canonical"));
  116.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  117.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""canonical"));
  118.         if (twig_get_attribute($this->env$this->source, (isset($context["contenido"]) || array_key_exists("contenido"$context) ? $context["contenido"] : (function () { throw new RuntimeError('Variable "contenido" does not exist.'8$this->source); })()), "canonical", [], "any"falsefalsefalse8)) {
  119.             echo "<link rel=\"canonical\" href=\"";
  120.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["contenido"]) || array_key_exists("contenido"$context) ? $context["contenido"] : (function () { throw new RuntimeError('Variable "contenido" does not exist.'8$this->source); })()), "canonical", [], "any"falsefalsefalse8), "html"nulltrue);
  121.             echo "\" />";
  122.         }
  123.         
  124.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  125.         
  126.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  127.     }
  128.     // line 10
  129.     public function block_bodyId($context, array $blocks = [])
  130.     {
  131.         $macros $this->macros;
  132.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  133.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""bodyId"));
  134.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  135.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""bodyId"));
  136.         echo "home";
  137.         
  138.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  139.         
  140.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  141.     }
  142.     // line 12
  143.     public function block_modalDniCaducado($context, array $blocks = [])
  144.     {
  145.         $macros $this->macros;
  146.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  147.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""modalDniCaducado"));
  148.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  149.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""modalDniCaducado"));
  150.         // line 13
  151.         echo "        <div id=\"modalDniCaducado\" class=\"modal\" ";
  152.         if (((twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'13$this->source); })()), "user", [], "any"falsefalsefalse13) && (isset($context["caducado"]) || array_key_exists("caducado"$context) ? $context["caducado"] : (function () { throw new RuntimeError('Variable "caducado" does not exist.'13$this->source); })())) && ((isset($context["bodyId"]) || array_key_exists("bodyId"$context) ? $context["bodyId"] : (function () { throw new RuntimeError('Variable "bodyId" does not exist.'13$this->source); })()) != "perfil"))) {
  153.             echo "style=\"display: block;\"";
  154.         }
  155.         echo ">
  156.             <div class=\"modal-dialog\">
  157.                 <div class=\"modal-content\">
  158.                 <div class=\"modal-header\">
  159.                     <h5 class=\"modal-title\">Documento de identidad caducado</h5>
  160.                     <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\">X</button>
  161.                 </div>
  162.                 <div class=\"modal-body\">
  163.                     <p>Tiene el documento de identidad caducado. Debe actualizarlo para poder realizar compras en la web.</p>
  164.                 </div>
  165.                 <div class=\"modal-footer\">
  166.                     <a href=\"";
  167.         // line 24
  168.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_profile");
  169.         echo "\" class=\"btn btn-primary\">Actualizar</a>
  170.                 </div>
  171.                 </div>
  172.             </div>
  173.         </div>
  174.     ";
  175.         
  176.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  177.         
  178.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  179.     }
  180.     // line 31
  181.     public function block_body($context, array $blocks = [])
  182.     {
  183.         $macros $this->macros;
  184.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  185.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  186.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  187.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  188.         // line 32
  189.         echo "    <div class=\"title container\">
  190.         <h1>";
  191.         // line 33
  192.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Cambio de divisas online sin comisiones"), "html"nulltrue);
  193.         echo "</h1>
  194.     </div>
  195.     
  196.     <div class=\"top-main container\">
  197.         <div class=\"row\">
  198.             <div class=\"col-12 col-xl-8 order-xl-1 order-5 carousel-images\">
  199.             
  200.                 ";
  201.         // line 40
  202.         echo $this->extensions['App\Twig\ShortcodesExtension']->doShortcode("banner", ["nombre" => "home""auto" => "true""pause" => "10000""speed" => "1000"]);
  203.         echo "
  204.                 
  205.             </div>
  206.             
  207.             <div id=\"cambio\" class=\"col-12 col-xl-4 order-xl-5 order-1 cambio\">
  208.                 <ul class=\"nav nav-tabs\" id=\"myTab\" role=\"tablist\">
  209.                     <li class=\"nav-item\" role=\"presentation\">
  210.                         <button class=\"nav-link active\" id=\"home-tab\" data-bs-toggle=\"tab\" data-bs-target=\"#cotizaciones-main\" type=\"button\" role=\"tab\" aria-controls=\"home\" aria-selected=\"true\">";
  211.         // line 47
  212.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Cotizaciones"), "html"nulltrue);
  213.         echo "</button>
  214.                     </li>
  215.                     <li class=\"nav-item\" role=\"presentation\">
  216.                         <button class=\"nav-link\" id=\"comprar-tab\" data-bs-toggle=\"tab\" data-bs-target=\"#calcular_cambio\" type=\"button\" role=\"tab\" aria-controls=\"profile\" aria-selected=\"false\">";
  217.         // line 50
  218.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Comprar_online"), "html"nulltrue);
  219.         echo "</button>
  220.                     </li>
  221.                     <li class=\"nav-item\" id=\"calc\" role=\"presentation\">
  222.                         <button class=\"nav-link\" id=\"calcular-tab\" data-bs-toggle=\"tab\" data-bs-target=\"#calcular_cambio\" type=\"button\" role=\"tab\" aria-controls=\"profile\" aria-selected=\"false\"><i class=\"fa-solid fa-calculator\"></i></button>
  223.                     </li>
  224.                 </ul>
  225.                 
  226.                 <div class=\"tab-content\" id=\"myTabContent\">
  227.                     
  228.                     <div class=\"tab-pane fade show active\" id=\"cotizaciones-main\" role=\"tabpanel\" aria-labelledby=\"home-tab\">
  229.                         ";
  230.         // line 60
  231.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\DefaultController::oficinaAction", ["select_id" => "select_ofi3"]));
  232.         echo "
  233.                         ";
  234.         // line 62
  235.         echo "                        
  236.                         <p class=\"precios\">";
  237.         // line 63
  238.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Precios"), "html"nulltrue);
  239.         echo "</p>
  240.                         <div class=\"cont-table\">
  241.                             <table id=\"tabla-cot\">
  242.                                 <tr>
  243.                                     <th>";
  244.         // line 67
  245.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Divisa"), "html"nulltrue);
  246.         echo "</th>
  247.                                     <th>";
  248.         // line 68
  249.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Compramos"), "html"nulltrue);
  250.         echo "</th>
  251.                                     <th>";
  252.         // line 69
  253.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Vendemos"), "html"nulltrue);
  254.         echo "</th>
  255.                                 </tr>
  256.                                 ";
  257.         // line 71
  258.         $context['_parent'] = $context;
  259.         $context['_seq'] = twig_ensure_traversable((isset($context["cotizaciones"]) || array_key_exists("cotizaciones"$context) ? $context["cotizaciones"] : (function () { throw new RuntimeError('Variable "cotizaciones" does not exist.'71$this->source); })()));
  260.         foreach ($context['_seq'] as $context["_key"] => $context["cotizacion"]) {
  261.             // line 72
  262.             echo "                                    <tr data-oficina=\"";
  263.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["cotizacion"], "oficina", [], "any"falsefalsefalse72), "html"nulltrue);
  264.             echo "\">
  265.                                         <td>
  266.                                             <a href=\"";
  267.             // line 74
  268.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("divisas", ["nombre" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["cotizacion"], "shortName", [], "any"falsefalsefalse74), "slug", [=> twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'74$this->source); })()), "request", [], "any"falsefalsefalse74), "locale", [], "any"falsefalsefalse74)], "method"falsefalsefalse74)]), "html"nulltrue);
  269.             echo "\" title=\"";
  270.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["cotizacion"], "shortName", [], "any"falsefalsefalse74), "nombre", [], "any"falsefalsefalse74), "html"nulltrue);
  271.             echo "\"><span class=\"banderas\">
  272.                                             ";
  273.             // line 75
  274.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["cotizacion"], "shortName", [], "any"falsefalsefalse75), "imagen", [], "any"falsefalsefalse75)) {
  275.                 // line 76
  276.                 echo "                                                ";
  277.                 echo $this->env->getRuntime('Sonata\MediaBundle\Twig\MediaRuntime')->thumbnail(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["cotizacion"], "shortName", [], "any"falsefalsefalse76), "imagen", [], "any"falsefalsefalse76), "flag", ["title" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["cotizacion"], "shortName", [], "any"falsefalsefalse76), "nombre", [], "any"falsefalsefalse76)]);
  278.                 echo "
  279.                                             ";
  280.             }
  281.             // line 78
  282.             echo "                                            </span>";
  283.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["cotizacion"], "shortName", [], "any"falsefalsefalse78), "html"nulltrue);
  284.             echo "</a>
  285.                                         </td>
  286.                                         <td>
  287.                                             ";
  288.             // line 81
  289.             if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["cotizacion"], "oficina", [], "any"falsefalsefalse81), "id", [], "any"falsefalsefalse81) == 66)) {
  290.                 // line 82
  291.                 echo "                                                -
  292.                                             ";
  293.             } elseif (twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 83
  294. $context["cotizacion"], "oficina", [], "any"falsefalsefalse83), "franjas", [], "any"falsefalsefalse83))) {
  295.                 // line 84
  296.                 echo "                                                -
  297.                                             ";
  298.             } else {
  299.                 // line 86
  300.                 echo "                                                ";
  301.                 echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->source$context["cotizacion"], "precioCompra", [], "any"falsefalsefalse86), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["cotizacion"], "shortName", [], "any"falsefalsefalse86), "numDecimales", [], "any"falsefalsefalse86)), "html"nulltrue);
  302.                 echo "
  303.                                             ";
  304.             }
  305.             // line 88
  306.             echo "                                        </td>
  307.                                         <td>
  308.                                             ";
  309.             // line 90
  310.             if (twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["cotizacion"], "oficina", [], "any"falsefalsefalse90), "franjas", [], "any"falsefalsefalse90))) {
  311.                 // line 91
  312.                 echo "                                                -
  313.                                             ";
  314.             } elseif ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 92
  315. $context["cotizacion"], "oficina", [], "any"falsefalsefalse92), "permiteCompra", [], "any"falsefalsefalse92) == 1)) {
  316.                 // line 93
  317.                 echo "                                                ";
  318.                 echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->source$context["cotizacion"], "precioVenta", [], "any"falsefalsefalse93), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["cotizacion"], "shortName", [], "any"falsefalsefalse93), "numDecimales", [], "any"falsefalsefalse93)), "html"nulltrue);
  319.                 echo "
  320.                                             ";
  321.             } else {
  322.                 // line 95
  323.                 echo "                                                -
  324.                                             ";
  325.             }
  326.             // line 97
  327.             echo "                                        </td>
  328.                                     </tr>
  329.                                 ";
  330.         }
  331.         $_parent $context['_parent'];
  332.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['cotizacion'], $context['_parent'], $context['loop']);
  333.         $context array_intersect_key($context$_parent) + $_parent;
  334.         // line 100
  335.         echo "                            </table>
  336.                         </div>
  337.                         ";
  338.         // line 102
  339.         if (((isset($context["of"]) || array_key_exists("of"$context) ? $context["of"] : (function () { throw new RuntimeError('Variable "of" does not exist.'102$this->source); })()) != "")) {
  340.             echo "<p class=\"info-select\">";
  341.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Precios para"), "html"nulltrue);
  342.             echo " ";
  343.             echo twig_escape_filter($this->env, (isset($context["diaMax"]) || array_key_exists("diaMax"$context) ? $context["diaMax"] : (function () { throw new RuntimeError('Variable "diaMax" does not exist.'102$this->source); })()), "html"nulltrue);
  344.             echo "</p>";
  345.         }
  346.         // line 103
  347.         echo "                    </div>
  348.                     
  349.                     <div class=\"tab-pane fade\" id=\"calcular_cambio\" role=\"tabpanel\" aria-labelledby=\"profile-tab\">
  350.                         
  351.                         ";
  352.         // line 107
  353.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\DefaultController::oficinaAction", ["select_id" => "select_ofi2"]));
  354.         echo "
  355.                         
  356.                         ";
  357.         // line 110
  358.         echo "                        
  359.                     </div>
  360.                 </div>
  361.             </div>
  362.             
  363.         </div>
  364.     </div>
  365.     
  366.     <div class=\"container\" style=\"margin-top:200px;\">
  367.         ";
  368.         // line 119
  369.         echo $this->extensions['App\Twig\ShortcodesExtension']->doShortcode("banner", ["nombre" => "home2""auto" => "true""pause" => "10000""speed" => "1000"]);
  370.         echo "
  371.     </div>
  372.     <div id=\"garantia\" class=\"container\">
  373.         <h2>";
  374.         // line 123
  375.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Garantía Eurochange"), "html"nulltrue);
  376.         echo "</h2>
  377.         
  378.         
  379.         <div id=\"car-garantia\" class=\"owl-carousel owl-theme cuadrados\">
  380.             <div class=\"item\">
  381.                     <div class=\"cuadrado\">
  382.                         <img src=\"/img/icono1.svg\"/>
  383.                         <span>";
  384.         // line 130
  385.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Con Eurochange obtendrás la mejor tarifa de tus reservas en cambio de moneda online en el mercado porque no te cobramos comisiones."), "html"nulltrue);
  386.         echo "</span>
  387.                     </div>
  388.             </div>
  389.             <div class=\"item\">
  390.                     <div class=\"cuadrado\">
  391.                         <img src=\"/img/icono2.svg\"/>
  392.                         <span>";
  393.         // line 136
  394.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Contamos con 42 oficinas de cambio de divisas repartidas por la costa mediterránea y principales capitales."), "html"nulltrue);
  395.         echo "</span>
  396.                     </div>
  397.             </div>
  398.             <div class=\"item\">
  399.                     <div class=\"cuadrado\">
  400.                         <img src=\"/img/icono3.svg\"/>
  401.                         <span>";
  402.         // line 142
  403.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Haz tu reserva online y asegúrate tener efectivo en la divisa que necesites en un plazo máximo de 24 ó 48 horas."), "html"nulltrue);
  404.         echo "</span>
  405.                     </div>
  406.             </div>
  407.         </div>
  408.     </div>
  409.     
  410.     
  411.     ";
  412.         // line 150
  413.         $this->displayBlock('empresas'$context$blocks);
  414.         // line 153
  415.         echo "    
  416.     <div id=\"servicios\" class=\"container\">
  417.         <h2>";
  418.         // line 155
  419.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Nuestros servicios"), "html"nulltrue);
  420.         echo "</h2>
  421.         <div id=\"car-servicios\" class=\"owl-carousel owl-theme\">
  422.             ";
  423.         // line 157
  424.         $context['_parent'] = $context;
  425.         $context['_seq'] = twig_ensure_traversable((isset($context["servicios"]) || array_key_exists("servicios"$context) ? $context["servicios"] : (function () { throw new RuntimeError('Variable "servicios" does not exist.'157$this->source); })()));
  426.         foreach ($context['_seq'] as $context["_key"] => $context["servicio"]) {
  427.             // line 158
  428.             echo "                <a class=\"item\" href=\"";
  429.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["servicio"], "url", [], "any"falsefalsefalse158), "html"nulltrue);
  430.             echo "\">
  431.                     <div class=\"head\">
  432.                         <div>
  433.                             ";
  434.             // line 161
  435.             if (twig_get_attribute($this->env$this->source$context["servicio"], "imagen", [], "any"falsefalsefalse161)) {
  436.                 // line 162
  437.                 echo "                                ";
  438.                 echo $this->env->getRuntime('Sonata\MediaBundle\Twig\MediaRuntime')->thumbnail(twig_get_attribute($this->env$this->source$context["servicio"], "imagen", [], "any"falsefalsefalse162), "servicio");
  439.                 echo "
  440.                             ";
  441.             }
  442.             // line 164
  443.             echo "                        </div>
  444.                     </div>
  445.                     <div class=\"bod\">
  446.                         <p class=\"tit col-8\">";
  447.             // line 167
  448.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["servicio"], "titulo", [], "any"falsefalsefalse167), "html"nulltrue);
  449.             echo "</p>
  450.                         <p class=\"text\">";
  451.             // line 168
  452.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["servicio"], "intro", [], "any"falsefalsefalse168), "html"nulltrue);
  453.             echo "</p>
  454.                         <p class=\"enl\" href=\"";
  455.             // line 169
  456.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["servicio"], "url", [], "any"falsefalsefalse169), "html"nulltrue);
  457.             echo "\">Más info</p>
  458.                     </div>
  459.                 </a>
  460.             ";
  461.         }
  462.         $_parent $context['_parent'];
  463.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['servicio'], $context['_parent'], $context['loop']);
  464.         $context array_intersect_key($context$_parent) + $_parent;
  465.         // line 173
  466.         echo "        </div>
  467.     </div>
  468.     
  469.     <div id=\"destacamos\">
  470.         <div class=\"container\">
  471.             <div class=\"row\">
  472.                 <div class=\"izquierda col-12 col-lg-6\">
  473.                     <h2>";
  474.         // line 180
  475.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Destacamos"), "html"nulltrue);
  476.         echo "</h2>
  477.                     <p class=\"d-none d-sm-block\">";
  478.         // line 181
  479.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("En nuestro blog podrás aprender algo más sobre las monedas de los países que visitas, estar al tanto de todo lo que sucede en Eurochange (nuevas promociones, aperturas, nuevos servicios) y recibir consejos de viaje para los destinos más demandados."), "html"nulltrue);
  480.         echo "</p>
  481.                     <p class=\"d-block d-sm-none\">";
  482.         // line 182
  483.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("En nuestro blog estarás al tanto de todo lo que sucede en Eurochange."), "html"nulltrue);
  484.         echo "</p>
  485.                     <a class=\"boton-azul d-none d-sm-block\" href=\"/blog\">";
  486.         // line 183
  487.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Ver todas las publicaciones"), "html"nulltrue);
  488.         echo "</a>
  489.                 </div>
  490.                 <div class=\"derecha col-12 col-lg-6\">
  491.                     ";
  492.         // line 186
  493.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\WordpressController::postsHomeAction", []));
  494.         echo "
  495.                     
  496.                     </div>
  497.                 </div>
  498.             </div>
  499.         </div>
  500.     </div>
  501. ";
  502.         
  503.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  504.         
  505.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  506.     }
  507.     // line 150
  508.     public function block_empresas($context, array $blocks = [])
  509.     {
  510.         $macros $this->macros;
  511.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  512.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""empresas"));
  513.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  514.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""empresas"));
  515.         // line 151
  516.         echo "        ";
  517.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\DefaultController::empresas"));
  518.         echo "
  519.     ";
  520.         
  521.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  522.         
  523.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  524.     }
  525.     // line 196
  526.     public function block_funciones_eventos($context, array $blocks = [])
  527.     {
  528.         $macros $this->macros;
  529.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  530.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""funciones_eventos"));
  531.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  532.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""funciones_eventos"));
  533.         // line 197
  534.         echo "        ";
  535.         $this->displayParentBlock("funciones_eventos"$context$blocks);
  536.         echo "
  537.         <script>
  538.             
  539.             \$(document).ready(function() {
  540.                 var contenido = \$('#contenedorInv #contenedorMover').clone();
  541.                 if (\$('#calcular_cambio .parte-repetida').length === 0) {
  542.                     \$('#calcular_cambio').append(contenido);
  543.                     \$('#contenedorInv #contenedorMover').remove();
  544.                 }
  545.             });
  546.             
  547.             
  548.         </script>
  549. ";
  550.         
  551.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  552.         
  553.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  554.     }
  555.     public function getTemplateName()
  556.     {
  557.         return "default/index.html.twig";
  558.     }
  559.     public function isTraitable()
  560.     {
  561.         return false;
  562.     }
  563.     public function getDebugInfo()
  564.     {
  565.         return array (  595 => 197,  585 => 196,  572 => 151,  562 => 150,  544 => 186,  538 => 183,  534 => 182,  530 => 181,  526 => 180,  517 => 173,  507 => 169,  503 => 168,  499 => 167,  494 => 164,  488 => 162,  486 => 161,  479 => 158,  475 => 157,  470 => 155,  466 => 153,  464 => 150,  453 => 142,  444 => 136,  435 => 130,  425 => 123,  418 => 119,  407 => 110,  402 => 107,  396 => 103,  388 => 102,  384 => 100,  376 => 97,  372 => 95,  366 => 93,  364 => 92,  361 => 91,  359 => 90,  355 => 88,  349 => 86,  345 => 84,  343 => 83,  340 => 82,  338 => 81,  331 => 78,  325 => 76,  323 => 75,  317 => 74,  311 => 72,  307 => 71,  302 => 69,  298 => 68,  294 => 67,  287 => 63,  284 => 62,  280 => 60,  267 => 50,  261 => 47,  251 => 40,  241 => 33,  238 => 32,  228 => 31,  212 => 24,  195 => 13,  185 => 12,  166 => 10,  143 => 8,  124 => 7,  105 => 6,  86 => 5,  67 => 4,  44 => 2,);
  566.     }
  567.     public function getSourceContext()
  568.     {
  569.         return new Source("{# {% extends 'default/contenido.html.twig' %} #}
  570. {% extends 'base.html.twig' %}
  571. {% block title %}{{ contenido.metaTitle|default(contenido.titulo)| replace({'| Eurochange.es':''}) }}{% endblock %}
  572. {% block metadescription %}{{ contenido.metaDescription|default(contenido.intro) }}{% endblock %}
  573. {% block metakeywords %}{{ contenido.metaKeywords }}{% endblock %}
  574. {% block metarobots %}{{ contenido.metaRobots|default(parent()) }}{% endblock %}
  575. {% block canonical %}{% if contenido.canonical %}<link rel=\"canonical\" href=\"{{contenido.canonical}}\" />{% endif %}{% endblock %}
  576. {% block bodyId %}home{% endblock %}
  577.     {% block modalDniCaducado %}
  578.         <div id=\"modalDniCaducado\" class=\"modal\" {% if app.user and caducado and bodyId != 'perfil' %}style=\"display: block;\"{% endif %}>
  579.             <div class=\"modal-dialog\">
  580.                 <div class=\"modal-content\">
  581.                 <div class=\"modal-header\">
  582.                     <h5 class=\"modal-title\">Documento de identidad caducado</h5>
  583.                     <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\">X</button>
  584.                 </div>
  585.                 <div class=\"modal-body\">
  586.                     <p>Tiene el documento de identidad caducado. Debe actualizarlo para poder realizar compras en la web.</p>
  587.                 </div>
  588.                 <div class=\"modal-footer\">
  589.                     <a href=\"{{ path('app_profile') }}\" class=\"btn btn-primary\">Actualizar</a>
  590.                 </div>
  591.                 </div>
  592.             </div>
  593.         </div>
  594.     {% endblock %}
  595. {% block body %}
  596.     <div class=\"title container\">
  597.         <h1>{{ 'Cambio de divisas online sin comisiones' | trans}}</h1>
  598.     </div>
  599.     
  600.     <div class=\"top-main container\">
  601.         <div class=\"row\">
  602.             <div class=\"col-12 col-xl-8 order-xl-1 order-5 carousel-images\">
  603.             
  604.                 {{ doShortcode(\"banner\", {nombre:\"home\", auto:\"true\", pause: \"10000\", speed:\"1000\" }) | raw }}
  605.                 
  606.             </div>
  607.             
  608.             <div id=\"cambio\" class=\"col-12 col-xl-4 order-xl-5 order-1 cambio\">
  609.                 <ul class=\"nav nav-tabs\" id=\"myTab\" role=\"tablist\">
  610.                     <li class=\"nav-item\" role=\"presentation\">
  611.                         <button class=\"nav-link active\" id=\"home-tab\" data-bs-toggle=\"tab\" data-bs-target=\"#cotizaciones-main\" type=\"button\" role=\"tab\" aria-controls=\"home\" aria-selected=\"true\">{{ 'Cotizaciones' | trans}}</button>
  612.                     </li>
  613.                     <li class=\"nav-item\" role=\"presentation\">
  614.                         <button class=\"nav-link\" id=\"comprar-tab\" data-bs-toggle=\"tab\" data-bs-target=\"#calcular_cambio\" type=\"button\" role=\"tab\" aria-controls=\"profile\" aria-selected=\"false\">{{ 'Comprar_online' | trans}}</button>
  615.                     </li>
  616.                     <li class=\"nav-item\" id=\"calc\" role=\"presentation\">
  617.                         <button class=\"nav-link\" id=\"calcular-tab\" data-bs-toggle=\"tab\" data-bs-target=\"#calcular_cambio\" type=\"button\" role=\"tab\" aria-controls=\"profile\" aria-selected=\"false\"><i class=\"fa-solid fa-calculator\"></i></button>
  618.                     </li>
  619.                 </ul>
  620.                 
  621.                 <div class=\"tab-content\" id=\"myTabContent\">
  622.                     
  623.                     <div class=\"tab-pane fade show active\" id=\"cotizaciones-main\" role=\"tabpanel\" aria-labelledby=\"home-tab\">
  624.                         {{ render(controller('App\\\\Controller\\\\DefaultController::oficinaAction', { select_id: 'select_ofi3' } )) }}
  625.                         {#<p class=\"info-select info-text\">{{ '* La tienda online solo permite la compra de divisas extranjeras (no Euros)' | trans}}</p>#}
  626.                         
  627.                         <p class=\"precios\">{{ 'Precios' | trans}}</p>
  628.                         <div class=\"cont-table\">
  629.                             <table id=\"tabla-cot\">
  630.                                 <tr>
  631.                                     <th>{{ 'Divisa' | trans}}</th>
  632.                                     <th>{{ 'Compramos' | trans}}</th>
  633.                                     <th>{{ 'Vendemos' | trans}}</th>
  634.                                 </tr>
  635.                                 {% for cotizacion in cotizaciones %}
  636.                                     <tr data-oficina=\"{{ cotizacion.oficina }}\">
  637.                                         <td>
  638.                                             <a href=\"{{ path('divisas', {'nombre': cotizacion.shortName.slug(app.request.locale)}) }}\" title=\"{{ cotizacion.shortName.nombre }}\"><span class=\"banderas\">
  639.                                             {% if cotizacion.shortName.imagen %}
  640.                                                 {{ sonata_thumbnail(cotizacion.shortName.imagen, 'flag', {'title': cotizacion.shortName.nombre}) }}
  641.                                             {% endif %}
  642.                                             </span>{{ cotizacion.shortName }}</a>
  643.                                         </td>
  644.                                         <td>
  645.                                             {% if cotizacion.oficina.id == 66 %}
  646.                                                 -
  647.                                             {% elseif cotizacion.oficina.franjas is empty %}
  648.                                                 -
  649.                                             {% else %}
  650.                                                 {{ cotizacion.precioCompra|number_format(cotizacion.shortName.numDecimales) }}
  651.                                             {% endif %}
  652.                                         </td>
  653.                                         <td>
  654.                                             {% if cotizacion.oficina.franjas is empty %}
  655.                                                 -
  656.                                             {% elseif cotizacion.oficina.permiteCompra == 1 %}
  657.                                                 {{ cotizacion.precioVenta|number_format(cotizacion.shortName.numDecimales) }}
  658.                                             {% else %}
  659.                                                 -
  660.                                             {% endif %}
  661.                                         </td>
  662.                                     </tr>
  663.                                 {% endfor %}
  664.                             </table>
  665.                         </div>
  666.                         {% if of != \"\" %}<p class=\"info-select\">{{ 'Precios para' | trans}} {{ diaMax }}</p>{% endif %}
  667.                     </div>
  668.                     
  669.                     <div class=\"tab-pane fade\" id=\"calcular_cambio\" role=\"tabpanel\" aria-labelledby=\"profile-tab\">
  670.                         
  671.                         {{ render(controller('App\\\\Controller\\\\DefaultController::oficinaAction', { select_id: 'select_ofi2' } )) }}
  672.                         
  673.                         {#<p class=\"info-select info-text\">{{ '* La tienda online solo permite la compra de divisas extranjeras (no Euros)' | trans}}</p>#}
  674.                         
  675.                     </div>
  676.                 </div>
  677.             </div>
  678.             
  679.         </div>
  680.     </div>
  681.     
  682.     <div class=\"container\" style=\"margin-top:200px;\">
  683.         {{ doShortcode(\"banner\", {nombre:\"home2\", auto:\"true\", pause: \"10000\", speed:\"1000\" }) | raw }}
  684.     </div>
  685.     <div id=\"garantia\" class=\"container\">
  686.         <h2>{{ 'Garantía Eurochange' | trans}}</h2>
  687.         
  688.         
  689.         <div id=\"car-garantia\" class=\"owl-carousel owl-theme cuadrados\">
  690.             <div class=\"item\">
  691.                     <div class=\"cuadrado\">
  692.                         <img src=\"/img/icono1.svg\"/>
  693.                         <span>{{ 'Con Eurochange obtendrás la mejor tarifa de tus reservas en cambio de moneda online en el mercado porque no te cobramos comisiones.' | trans}}</span>
  694.                     </div>
  695.             </div>
  696.             <div class=\"item\">
  697.                     <div class=\"cuadrado\">
  698.                         <img src=\"/img/icono2.svg\"/>
  699.                         <span>{{ 'Contamos con 42 oficinas de cambio de divisas repartidas por la costa mediterránea y principales capitales.' | trans}}</span>
  700.                     </div>
  701.             </div>
  702.             <div class=\"item\">
  703.                     <div class=\"cuadrado\">
  704.                         <img src=\"/img/icono3.svg\"/>
  705.                         <span>{{ 'Haz tu reserva online y asegúrate tener efectivo en la divisa que necesites en un plazo máximo de 24 ó 48 horas.' | trans}}</span>
  706.                     </div>
  707.             </div>
  708.         </div>
  709.     </div>
  710.     
  711.     
  712.     {% block empresas %}
  713.         {{ render(controller('App\\\\Controller\\\\DefaultController::empresas' )) }}
  714.     {% endblock %}
  715.     
  716.     <div id=\"servicios\" class=\"container\">
  717.         <h2>{{ 'Nuestros servicios' | trans}}</h2>
  718.         <div id=\"car-servicios\" class=\"owl-carousel owl-theme\">
  719.             {% for servicio in servicios %}
  720.                 <a class=\"item\" href=\"{{ servicio.url }}\">
  721.                     <div class=\"head\">
  722.                         <div>
  723.                             {% if servicio.imagen %}
  724.                                 {{ sonata_thumbnail(servicio.imagen, 'servicio') }}
  725.                             {% endif %}
  726.                         </div>
  727.                     </div>
  728.                     <div class=\"bod\">
  729.                         <p class=\"tit col-8\">{{ servicio.titulo }}</p>
  730.                         <p class=\"text\">{{ servicio.intro }}</p>
  731.                         <p class=\"enl\" href=\"{{ servicio.url }}\">Más info</p>
  732.                     </div>
  733.                 </a>
  734.             {% endfor %}
  735.         </div>
  736.     </div>
  737.     
  738.     <div id=\"destacamos\">
  739.         <div class=\"container\">
  740.             <div class=\"row\">
  741.                 <div class=\"izquierda col-12 col-lg-6\">
  742.                     <h2>{{ 'Destacamos' | trans}}</h2>
  743.                     <p class=\"d-none d-sm-block\">{{ 'En nuestro blog podrás aprender algo más sobre las monedas de los países que visitas, estar al tanto de todo lo que sucede en Eurochange (nuevas promociones, aperturas, nuevos servicios) y recibir consejos de viaje para los destinos más demandados.' | trans}}</p>
  744.                     <p class=\"d-block d-sm-none\">{{ 'En nuestro blog estarás al tanto de todo lo que sucede en Eurochange.' | trans}}</p>
  745.                     <a class=\"boton-azul d-none d-sm-block\" href=\"/blog\">{{ 'Ver todas las publicaciones' | trans}}</a>
  746.                 </div>
  747.                 <div class=\"derecha col-12 col-lg-6\">
  748.                     {{ render(controller('App\\\\Controller\\\\WordpressController::postsHomeAction', {} )) }}
  749.                     
  750.                     </div>
  751.                 </div>
  752.             </div>
  753.         </div>
  754.     </div>
  755. {% endblock %}
  756. {% block funciones_eventos %}
  757.         {{ parent() }}
  758.         <script>
  759.             
  760.             \$(document).ready(function() {
  761.                 var contenido = \$('#contenedorInv #contenedorMover').clone();
  762.                 if (\$('#calcular_cambio .parte-repetida').length === 0) {
  763.                     \$('#calcular_cambio').append(contenido);
  764.                     \$('#contenedorInv #contenedorMover').remove();
  765.                 }
  766.             });
  767.             
  768.             
  769.         </script>
  770. {% endblock %}
  771. ""default/index.html.twig""/home/alien/www/eurochange/templates/default/index.html.twig");
  772.     }
  773. }