var/cache/dev/twig/4a/4a79d87d380df001d5fda0014e29b0d5.php line 48

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* Product/public_cart_order_checkout.html.twig */
  16. class __TwigTemplate_9620903b6822df8897c3c805a118cd1a extends Template
  17. {
  18. private Source $source;
  19. /**
  20. * @var array<string, Template>
  21. */
  22. private array $macros = [];
  23. public function __construct(Environment $env)
  24. {
  25. parent::__construct($env);
  26. $this->source = $this->getSourceContext();
  27. $this->blocks = [
  28. 'title' => [$this, 'block_title'],
  29. 'classBody' => [$this, 'block_classBody'],
  30. 'ogTitle' => [$this, 'block_ogTitle'],
  31. 'javascripts' => [$this, 'block_javascripts'],
  32. 'stylesheets' => [$this, 'block_stylesheets'],
  33. 'contents' => [$this, 'block_contents'],
  34. ];
  35. }
  36. protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  37. {
  38. // line 1
  39. return "Common/base.html.twig";
  40. }
  41. protected function doDisplay(array $context, array $blocks = []): iterable
  42. {
  43. $macros = $this->macros;
  44. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  45. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Product/public_cart_order_checkout.html.twig"));
  46. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  47. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Product/public_cart_order_checkout.html.twig"));
  48. // line 2
  49. $macros["function"] = $this->macros["function"] = $this->loadTemplate("Common/parts/functions.html.twig", "Product/public_cart_order_checkout.html.twig", 2)->unwrap();
  50. // line 1
  51. $this->parent = $this->loadTemplate("Common/base.html.twig", "Product/public_cart_order_checkout.html.twig", 1);
  52. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  53. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  54. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  55. }
  56. // line 4
  57. /**
  58. * @return iterable<null|scalar|\Stringable>
  59. */
  60. public function block_title(array $context, array $blocks = []): iterable
  61. {
  62. $macros = $this->macros;
  63. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  64. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  65. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  66. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  67. yield "Formulario de compra";
  68. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  69. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  70. yield from [];
  71. }
  72. // line 5
  73. /**
  74. * @return iterable<null|scalar|\Stringable>
  75. */
  76. public function block_classBody(array $context, array $blocks = []): iterable
  77. {
  78. $macros = $this->macros;
  79. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  80. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "classBody"));
  81. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  82. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "classBody"));
  83. yield "product ";
  84. yield from $this->yieldParentBlock("classBody", $context, $blocks);
  85. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  86. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  87. yield from [];
  88. }
  89. // line 7
  90. /**
  91. * @return iterable<null|scalar|\Stringable>
  92. */
  93. public function block_ogTitle(array $context, array $blocks = []): iterable
  94. {
  95. $macros = $this->macros;
  96. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  97. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "ogTitle"));
  98. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  99. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "ogTitle"));
  100. yield "Formulario de compra";
  101. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  102. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  103. yield from [];
  104. }
  105. // line 9
  106. /**
  107. * @return iterable<null|scalar|\Stringable>
  108. */
  109. public function block_javascripts(array $context, array $blocks = []): iterable
  110. {
  111. $macros = $this->macros;
  112. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  113. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  114. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  115. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  116. // line 10
  117. yield " ";
  118. yield from $this->yieldParentBlock("javascripts", $context, $blocks);
  119. yield "
  120. <script src=\"https://js.stripe.com/v3/\"></script>
  121. ";
  122. // line 12
  123. yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("select2_js");
  124. yield "
  125. ";
  126. // line 13
  127. yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("public_cart_order_checkout");
  128. yield "
  129. ";
  130. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  131. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  132. yield from [];
  133. }
  134. // line 16
  135. /**
  136. * @return iterable<null|scalar|\Stringable>
  137. */
  138. public function block_stylesheets(array $context, array $blocks = []): iterable
  139. {
  140. $macros = $this->macros;
  141. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  142. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
  143. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  144. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
  145. // line 17
  146. yield " ";
  147. yield from $this->yieldParentBlock("stylesheets", $context, $blocks);
  148. yield "
  149. ";
  150. // line 18
  151. yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("select2_styles");
  152. yield "
  153. ";
  154. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  155. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  156. yield from [];
  157. }
  158. // line 21
  159. /**
  160. * @return iterable<null|scalar|\Stringable>
  161. */
  162. public function block_contents(array $context, array $blocks = []): iterable
  163. {
  164. $macros = $this->macros;
  165. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  166. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "contents"));
  167. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  168. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "contents"));
  169. // line 22
  170. yield "
  171. ";
  172. // line 23
  173. $context["stripeIntentClientSecret"] = "";
  174. // line 24
  175. if (((CoreExtension::getAttribute($this->env, $this->source, ($context["cartOrder"] ?? null), "stripePaymentIntent", [], "any", true, true, false, 24) && !(null === CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 24, $this->source); })()), "stripePaymentIntent", [], "any", false, false, false, 24))) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["cartOrder"] ?? null), "stripePaymentIntent", [], "any", false, true, false, 24), "client_secret", [], "any", true, true, false, 24))) {
  176. // line 25
  177. yield " ";
  178. $context["stripeIntentClientSecret"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 25, $this->source); })()), "stripePaymentIntent", [], "any", false, false, false, 25), "client_secret", [], "any", false, false, false, 25);
  179. }
  180. // line 27
  181. yield "
  182. <div id=\"public_cart_order_checkout_page\" ng-controller=\"cartOrderCheckoutCtrl\"
  183. data-cart-order-id=\"";
  184. // line 30
  185. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 30, $this->source); })()), "id", [], "any", false, false, false, 30), "html", null, true);
  186. yield "\"
  187. ";
  188. // line 31
  189. if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
  190. // line 32
  191. yield " data-grantuser-username=\"";
  192. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 32, $this->source); })()), "user", [], "any", false, false, false, 32), "user", [], "any", false, false, false, 32), "firstName", [], "any", false, false, false, 32), "html", null, true);
  193. yield "\"
  194. data-grantuser-id=\"";
  195. // line 33
  196. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 33, $this->source); })()), "user", [], "any", false, false, false, 33), "user", [], "any", false, false, false, 33), "id", [], "any", false, false, false, 33), "html", null, true);
  197. yield "\"
  198. ";
  199. }
  200. // line 35
  201. yield " class=\"container pt-5 pb-9\">
  202. <section class=\"py-0\">
  203. <div class=\"container-small\">
  204. <nav class=\"mb-3\" aria-label=\"breadcrumb\">
  205. <ol class=\"breadcrumb mb-0\">
  206. <li class=\"breadcrumb-item\"><a href=\"";
  207. // line 41
  208. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("web_init");
  209. yield "\">Inicio</a></li>
  210. ";
  211. // line 42
  212. if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
  213. // line 43
  214. yield " <li class=\"breadcrumb-item\"><a href=\"";
  215. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("web_app_user_dashboard");
  216. yield "\">Mi cuenta</a></li>
  217. ";
  218. }
  219. // line 45
  220. yield " <li class=\"breadcrumb-item active\" aria-current=\"page\">Formulario de compra</li>
  221. </ol>
  222. </nav>
  223. <h2 class=\"mb-5\">Compra</h2>
  224. <div class=\"row justify-content-between\">
  225. <div class=\"col-lg-7 col-xl-7\">
  226. ";
  227. // line 53
  228. if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 53, $this->source); })()), "status", [], "any", false, false, false, 53) == "PAID")) {
  229. // line 54
  230. yield " <div class=\"card theme-wizard mb-5\" >
  231. <div class=\"card-header bg-100 pt-3 pb-2 border-bottom-0\">
  232. <ul class=\"nav justify-content-between nav-wizard\">
  233. <li class=\"nav-item\">
  234. <div class=\"nav-link fw-semi-bold\" >
  235. <div class=\"text-center d-inline-block\">
  236. <span class=\"nav-item-circle-parent\">
  237. <span class=\"nav-item-circle\">
  238. <span class=\"fas fa-lock\"></span>
  239. </span>
  240. </span>
  241. <span class=\"d-none d-md-block mt-1 fs--1\">Cuenta</span>
  242. </div>
  243. </div>
  244. </li>
  245. <li class=\"nav-item\">
  246. <a class=\"nav-link fw-semi-bold\" >
  247. <div class=\"text-center d-inline-block\">
  248. <span class=\"nav-item-circle-parent\">
  249. <span class=\"nav-item-circle\">
  250. <span class=\"fas fa-wallet\"></span>
  251. </span>
  252. </span>
  253. <span class=\"d-none d-md-block mt-1 fs--1\">Pago</span>
  254. </div>
  255. </a>
  256. </li>
  257. <li class=\"nav-item\">
  258. <div class=\"nav-link active fw-semi-bold\" >
  259. <div class=\"text-center d-inline-block\">
  260. <span class=\"nav-item-circle-parent\">
  261. <span class=\"nav-item-circle\">
  262. <span class=\"fas fa-check\"></span>
  263. </span>
  264. </span>
  265. <span class=\"d-none d-md-block mt-1 fs--1\">Finalizado2</span>
  266. </div>
  267. </div>
  268. </li>
  269. </ul>
  270. </div>
  271. <div class=\"card-body pt-4 pb-0\">
  272. <div class=\"tab-content\">
  273. <div class=\"tab-pane active\" role=\"tabpanel\" >
  274. ";
  275. // line 98
  276. yield $macros["function"]->getTemplateForMacro("macro_showFlashes", $context, 98, $this->getSourceContext())->macro_showFlashes(...[]);
  277. yield "
  278. <div class=\"alert alert-soft-success\" role=\"alert\">Compra finalizada!</div>
  279. <div class=\"row gx-4 gy-6 g-xl-7 justify-content-sm-center justify-content-xl-start mb-4\">
  280. <div class=\"col-12 col-sm-6 \">
  281. <h4 class=\"mb-5\">Cuenta</h4>
  282. <div class=\"row g-4 flex-sm-column\">
  283. <div class=\"col-6 col-sm-12\">
  284. <div class=\"d-flex align-items-center mb-1\">
  285. <span class=\"me-2\" data-feather=\"user\" style=\"stroke-width:2.5;\"></span>
  286. <h6 class=\"mb-0\">Nombre</h6>
  287. </div>
  288. <div class=\"fs--1 ms-4\">";
  289. // line 109
  290. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 109, $this->source); })()), "user", [], "any", false, false, false, 109), "fullName", [], "any", false, false, false, 109), "html", null, true);
  291. yield "</div>
  292. </div>
  293. <div class=\"col-6 col-sm-12\">
  294. <div class=\"d-flex align-items-center mb-1\">
  295. <span class=\"me-2\" data-feather=\"mail\" style=\"stroke-width:2.5;\"></span>
  296. <h6 class=\"mb-0\">Email</h6>
  297. </div>
  298. <div class=\"fs--1 ms-4\">";
  299. // line 116
  300. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 116, $this->source); })()), "user", [], "any", false, false, false, 116), "email", [], "any", false, false, false, 116), "html", null, true);
  301. yield "</div>
  302. </div>
  303. </div>
  304. </div>
  305. <div class=\"col-12 col-sm-6 \">
  306. <h4 class=\"mb-5\">Pago</h4>
  307. <div class=\"row g-4 flex-sm-column\">
  308. <div class=\"col-6 col-sm-12\">
  309. <div class=\"d-flex align-items-center mb-1\">
  310. <span class=\"me-2\" data-feather=\"file\" style=\"stroke-width:2.5;\"></span>
  311. <h6 class=\"mb-0\">#Pedido</h6>
  312. </div>
  313. <div class=\"fs--1 ms-4\" >";
  314. // line 128
  315. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 128, $this->source); })()), "cartOrderNumber", [], "any", false, false, false, 128), "html", null, true);
  316. yield "</div>
  317. </div>
  318. <div class=\"col-6 col-sm-12\">
  319. <div class=\"d-flex align-items-center mb-1\">
  320. <span class=\"me-2\" data-feather=\"credit-card\" style=\"stroke-width:2.5;\"></span>
  321. <h6 class=\"mb-0\">Tipo de pago</h6>
  322. </div>
  323. <div class=\"fs--1 ms-4\" >
  324. ";
  325. // line 136
  326. if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 136, $this->source); })()), "cartOrderType", [], "any", false, false, false, 136) == "ORDER_TYPE_LICENSE")) {
  327. // line 137
  328. yield " ";
  329. if (CoreExtension::inFilter("payment_plan", CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 137, $this->source); })()), "cartItem", [0], "method", false, false, false, 137), "meta", [], "any", false, false, false, 137))) {
  330. // line 138
  331. yield " Suscripción
  332. ";
  333. // line 139
  334. if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 139, $this->source); })()), "cartItem", [0], "method", false, false, false, 139), "meta", [], "any", false, false, false, 139), "payment_plan", [], "array", false, false, false, 139) == "LICENSE_PAYMENT_PLAN_ANNUAL")) {
  335. // line 140
  336. yield " anual renovable
  337. ";
  338. } else {
  339. // line 142
  340. yield " mensual renovable
  341. ";
  342. }
  343. // line 144
  344. yield " ";
  345. }
  346. // line 145
  347. yield " ";
  348. } elseif (((CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 145, $this->source); })()), "totalEuros", [], "any", false, false, false, 145) > 0) && (CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 145, $this->source); })()), "totalWhatercoins", [], "any", false, false, false, 145) == 0))) {
  349. // line 146
  350. yield " Tarjeta
  351. ";
  352. // line 147
  353. if ((($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED") && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 147, $this->source); })()), "user", [], "any", false, false, false, 147), "user", [], "any", false, false, false, 147), "hasRole", ["ROLE_ADMIN"], "method", false, false, false, 147)) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["cartOrder"] ?? null), "stripePaymentIntent", [], "any", false, true, false, 147), "id", [], "any", true, true, false, 147))) {
  354. // line 148
  355. yield " (<a href=\"https://dashboard.stripe.com/test/payments/";
  356. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 148, $this->source); })()), "stripePaymentIntent", [], "any", false, false, false, 148), "id", [], "any", false, false, false, 148), "html", null, true);
  357. yield "\" target=\"_blank\">Ver detalles en sStripe</a>)
  358. ";
  359. }
  360. // line 150
  361. yield " ";
  362. } elseif (((CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 150, $this->source); })()), "totalEuros", [], "any", false, false, false, 150) == 0) && (CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 150, $this->source); })()), "totalWhatercoins", [], "any", false, false, false, 150) > 0))) {
  363. // line 151
  364. yield " Whatercoins
  365. ";
  366. } elseif (((CoreExtension::getAttribute($this->env, $this->source, // line 152
  367. (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 152, $this->source); })()), "totalEuros", [], "any", false, false, false, 152) > 0) && (CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 152, $this->source); })()), "totalWhatercoins", [], "any", false, false, false, 152) > 0))) {
  368. // line 153
  369. yield " Tarjeta y Whatercoins
  370. ";
  371. }
  372. // line 155
  373. yield " </div>
  374. </div>
  375. </div>
  376. </div>
  377. </div>
  378. </div>
  379. </div>
  380. </div>
  381. </div>
  382. ";
  383. } elseif ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
  384. // line 168
  385. yield " ";
  386. yield $macros["function"]->getTemplateForMacro("macro_showFlashes", $context, 168, $this->getSourceContext())->macro_showFlashes(...[]);
  387. yield "
  388. ";
  389. // line 169
  390. $this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme((isset($context["appUserConfirmCartOrderForm"]) || array_key_exists("appUserConfirmCartOrderForm", $context) ? $context["appUserConfirmCartOrderForm"] : (function () { throw new RuntimeError('Variable "appUserConfirmCartOrderForm" does not exist.', 169, $this->source); })()), ["Form/bootstrap_5_layout.html.twig"], true);
  391. // line 170
  392. yield " ";
  393. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["appUserConfirmCartOrderForm"]) || array_key_exists("appUserConfirmCartOrderForm", $context) ? $context["appUserConfirmCartOrderForm"] : (function () { throw new RuntimeError('Variable "appUserConfirmCartOrderForm" does not exist.', 170, $this->source); })()), 'form_start', ["attr" => ["class" => "needs-validation", "id" => "complete-cart-order-form", "method" => "POST", "action" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("web_public_cart_order_checkout", ["cartOrderId" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 170, $this->source); })()), "id", [], "any", false, false, false, 170)])]]);
  394. yield "
  395. ";
  396. // line 171
  397. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["appUserConfirmCartOrderForm"]) || array_key_exists("appUserConfirmCartOrderForm", $context) ? $context["appUserConfirmCartOrderForm"] : (function () { throw new RuntimeError('Variable "appUserConfirmCartOrderForm" does not exist.', 171, $this->source); })()), 'errors');
  398. yield "
  399. <div class=\"card theme-wizard mb-5\" >
  400. <div class=\"card-header bg-100 pt-3 pb-2 border-bottom-0\">
  401. <ul class=\"nav justify-content-between nav-wizard\">
  402. <li class=\"nav-item\">
  403. <a class=\"nav-link active fw-semi-bold step-button\" href=\"#\" id=\"wizard-tab-1\" data-step-number=\"1\">
  404. <div class=\"text-center d-inline-block\">
  405. <span class=\"nav-item-circle-parent\">
  406. <span class=\"nav-item-circle\">
  407. <span class=\"fas fa-lock\"></span>
  408. </span>
  409. </span>
  410. <span class=\"d-none d-md-block mt-1 fs--1\">Cuenta</span>
  411. </div>
  412. </a>
  413. </li>
  414. <li class=\"nav-item\">
  415. <a class=\"nav-link fw-semi-bold step-button\" href=\"#\" id=\"wizard-tab-2\" data-step-number=\"2\">
  416. <div class=\"text-center d-inline-block\">
  417. <span class=\"nav-item-circle-parent\">
  418. <span class=\"nav-item-circle\">
  419. <span class=\"fas fa-file-alt\"></span>
  420. </span>
  421. </span>
  422. <span class=\"d-none d-md-block mt-1 fs--1\">Envio</span>
  423. </div>
  424. </a>
  425. </li>
  426. <li class=\"nav-item\">
  427. <a class=\"nav-link fw-semi-bold step-button\" href=\"#\" id=\"wizard-tab-3\" data-step-number=\"2\">
  428. <div class=\"text-center d-inline-block\">
  429. <span class=\"nav-item-circle-parent\">
  430. <span class=\"nav-item-circle\">
  431. <span class=\"fas fa-wallet\"></span>
  432. </span>
  433. </span>
  434. <span class=\"d-none d-md-block mt-1 fs--1\">Pago</span>
  435. </div>
  436. </a>
  437. </li>
  438. <li class=\"nav-item\">
  439. <a class=\"nav-link fw-semi-bold step-button pending-press-pay\" href=\"#\" id=\"wizard-tab-4\" data-step-number=\"3\">
  440. <div class=\"text-center d-inline-block\">
  441. <span class=\"nav-item-circle-parent\">
  442. <span class=\"nav-item-circle\">
  443. <span class=\"fas fa-check\"></span>
  444. </span>
  445. </span>
  446. <span class=\"d-none d-md-block mt-1 fs--1\">Finalizado</span>
  447. </div>
  448. </a>
  449. </li>
  450. </ul>
  451. </div>
  452. <div class=\"card-body pt-4 pb-0\">
  453. <div class=\"tab-content\">
  454. <div class=\"tab-pane active\" role=\"tabpanel\" id=\"wizard-content-1\">
  455. <div class=\"row g-3 mb-3\">
  456. <div class=\"col-12\">
  457. <div class=\"mb-2 mb-sm-0\">
  458. ";
  459. // line 231
  460. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["appUserConfirmCartOrderForm"]) || array_key_exists("appUserConfirmCartOrderForm", $context) ? $context["appUserConfirmCartOrderForm"] : (function () { throw new RuntimeError('Variable "appUserConfirmCartOrderForm" does not exist.', 231, $this->source); })()), "firstName", [], "any", false, false, false, 231), 'label', ["label_attr" => ["class" => "form-label text-900"], "label" => "cart_order.app.complete_order.fields.first_name"]);
  461. yield "
  462. ";
  463. // line 232
  464. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["appUserConfirmCartOrderForm"]) || array_key_exists("appUserConfirmCartOrderForm", $context) ? $context["appUserConfirmCartOrderForm"] : (function () { throw new RuntimeError('Variable "appUserConfirmCartOrderForm" does not exist.', 232, $this->source); })()), "firstName", [], "any", false, false, false, 232), 'widget', ["attr" => ["class" => "form-control", "autocomplete" => "firstName"]]);
  465. yield "
  466. ";
  467. // line 233
  468. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["appUserConfirmCartOrderForm"]) || array_key_exists("appUserConfirmCartOrderForm", $context) ? $context["appUserConfirmCartOrderForm"] : (function () { throw new RuntimeError('Variable "appUserConfirmCartOrderForm" does not exist.', 233, $this->source); })()), "firstName", [], "any", false, false, false, 233), 'errors');
  469. yield "
  470. </div>
  471. </div>
  472. <div class=\"col-12\">
  473. <div class=\"mb-2 mb-sm-0\">
  474. ";
  475. // line 238
  476. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["appUserConfirmCartOrderForm"]) || array_key_exists("appUserConfirmCartOrderForm", $context) ? $context["appUserConfirmCartOrderForm"] : (function () { throw new RuntimeError('Variable "appUserConfirmCartOrderForm" does not exist.', 238, $this->source); })()), "lastName", [], "any", false, false, false, 238), 'label', ["label_attr" => ["class" => "form-label text-900"], "label" => "cart_order.app.complete_order.fields.last_name"]);
  477. yield "
  478. ";
  479. // line 239
  480. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["appUserConfirmCartOrderForm"]) || array_key_exists("appUserConfirmCartOrderForm", $context) ? $context["appUserConfirmCartOrderForm"] : (function () { throw new RuntimeError('Variable "appUserConfirmCartOrderForm" does not exist.', 239, $this->source); })()), "lastName", [], "any", false, false, false, 239), 'widget', ["attr" => ["class" => "form-control", "autocomplete" => "lastName"]]);
  481. yield "
  482. ";
  483. // line 240
  484. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["appUserConfirmCartOrderForm"]) || array_key_exists("appUserConfirmCartOrderForm", $context) ? $context["appUserConfirmCartOrderForm"] : (function () { throw new RuntimeError('Variable "appUserConfirmCartOrderForm" does not exist.', 240, $this->source); })()), "lastName", [], "any", false, false, false, 240), 'errors');
  485. yield "
  486. </div>
  487. </div>
  488. <div class=\"col-12\">
  489. <div class=\"mb-2 mb-sm-0\">
  490. ";
  491. // line 245
  492. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["appUserConfirmCartOrderForm"]) || array_key_exists("appUserConfirmCartOrderForm", $context) ? $context["appUserConfirmCartOrderForm"] : (function () { throw new RuntimeError('Variable "appUserConfirmCartOrderForm" does not exist.', 245, $this->source); })()), "email", [], "any", false, false, false, 245), 'label', ["label_attr" => ["class" => "form-label text-900"], "label" => "cart_order.app.complete_order.fields.email"]);
  493. yield "
  494. ";
  495. // line 246
  496. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["appUserConfirmCartOrderForm"]) || array_key_exists("appUserConfirmCartOrderForm", $context) ? $context["appUserConfirmCartOrderForm"] : (function () { throw new RuntimeError('Variable "appUserConfirmCartOrderForm" does not exist.', 246, $this->source); })()), "email", [], "any", false, false, false, 246), 'widget', ["attr" => ["class" => "form-control", "autocomplete" => "email"]]);
  497. yield "
  498. ";
  499. // line 247
  500. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["appUserConfirmCartOrderForm"]) || array_key_exists("appUserConfirmCartOrderForm", $context) ? $context["appUserConfirmCartOrderForm"] : (function () { throw new RuntimeError('Variable "appUserConfirmCartOrderForm" does not exist.', 247, $this->source); })()), "email", [], "any", false, false, false, 247), 'errors');
  501. yield "
  502. </div>
  503. </div>
  504. </div>
  505. </div>
  506. <div class=\"tab-pane\" role=\"tabpanel\" id=\"wizard-content-2\">
  507. <div class=\"row g-3 mb-3\">
  508. <div class=\"col-12\">
  509. <div class=\"mb-2 mb-sm-0\">
  510. ";
  511. // line 257
  512. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["appUserConfirmCartOrderForm"]) || array_key_exists("appUserConfirmCartOrderForm", $context) ? $context["appUserConfirmCartOrderForm"] : (function () { throw new RuntimeError('Variable "appUserConfirmCartOrderForm" does not exist.', 257, $this->source); })()), "shippingAddress", [], "any", false, false, false, 257), 'label', ["label_attr" => ["class" => "form-label text-900"], "label" => "cart_order.app.complete_order.fields.shipping_address"]);
  513. yield "
  514. ";
  515. // line 258
  516. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["appUserConfirmCartOrderForm"]) || array_key_exists("appUserConfirmCartOrderForm", $context) ? $context["appUserConfirmCartOrderForm"] : (function () { throw new RuntimeError('Variable "appUserConfirmCartOrderForm" does not exist.', 258, $this->source); })()), "shippingAddress", [], "any", false, false, false, 258), 'widget', ["attr" => ["class" => "form-control"]]);
  517. yield "
  518. ";
  519. // line 259
  520. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["appUserConfirmCartOrderForm"]) || array_key_exists("appUserConfirmCartOrderForm", $context) ? $context["appUserConfirmCartOrderForm"] : (function () { throw new RuntimeError('Variable "appUserConfirmCartOrderForm" does not exist.', 259, $this->source); })()), "shippingAddress", [], "any", false, false, false, 259), 'errors');
  521. yield "
  522. </div>
  523. </div>
  524. <div class=\"col-12\">
  525. <div class=\"mb-2 mb-sm-0\">
  526. ";
  527. // line 264
  528. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["appUserConfirmCartOrderForm"]) || array_key_exists("appUserConfirmCartOrderForm", $context) ? $context["appUserConfirmCartOrderForm"] : (function () { throw new RuntimeError('Variable "appUserConfirmCartOrderForm" does not exist.', 264, $this->source); })()), "shippingTown", [], "any", false, false, false, 264), 'label', ["label_attr" => ["class" => "form-label text-900"], "label" => "cart_order.app.complete_order.fields.shipping_town"]);
  529. yield "
  530. ";
  531. // line 265
  532. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["appUserConfirmCartOrderForm"]) || array_key_exists("appUserConfirmCartOrderForm", $context) ? $context["appUserConfirmCartOrderForm"] : (function () { throw new RuntimeError('Variable "appUserConfirmCartOrderForm" does not exist.', 265, $this->source); })()), "shippingTown", [], "any", false, false, false, 265), 'widget', ["attr" => ["class" => "form-control"]]);
  533. yield "
  534. ";
  535. // line 266
  536. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["appUserConfirmCartOrderForm"]) || array_key_exists("appUserConfirmCartOrderForm", $context) ? $context["appUserConfirmCartOrderForm"] : (function () { throw new RuntimeError('Variable "appUserConfirmCartOrderForm" does not exist.', 266, $this->source); })()), "shippingTown", [], "any", false, false, false, 266), 'errors');
  537. yield "
  538. </div>
  539. </div>
  540. <div class=\"col-12 col-md-6\">
  541. <div class=\"mb-2 mb-sm-0\">
  542. ";
  543. // line 271
  544. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["appUserConfirmCartOrderForm"]) || array_key_exists("appUserConfirmCartOrderForm", $context) ? $context["appUserConfirmCartOrderForm"] : (function () { throw new RuntimeError('Variable "appUserConfirmCartOrderForm" does not exist.', 271, $this->source); })()), "shippingPostalCode", [], "any", false, false, false, 271), 'label', ["label_attr" => ["class" => "form-label text-900"], "label" => "cart_order.app.complete_order.fields.shipping_postal_code"]);
  545. yield "
  546. ";
  547. // line 272
  548. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["appUserConfirmCartOrderForm"]) || array_key_exists("appUserConfirmCartOrderForm", $context) ? $context["appUserConfirmCartOrderForm"] : (function () { throw new RuntimeError('Variable "appUserConfirmCartOrderForm" does not exist.', 272, $this->source); })()), "shippingPostalCode", [], "any", false, false, false, 272), 'widget', ["attr" => ["class" => "form-control"]]);
  549. yield "
  550. ";
  551. // line 273
  552. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["appUserConfirmCartOrderForm"]) || array_key_exists("appUserConfirmCartOrderForm", $context) ? $context["appUserConfirmCartOrderForm"] : (function () { throw new RuntimeError('Variable "appUserConfirmCartOrderForm" does not exist.', 273, $this->source); })()), "shippingPostalCode", [], "any", false, false, false, 273), 'errors');
  553. yield "
  554. </div>
  555. </div>
  556. <div class=\"col-12 col-md-6\">
  557. <div class=\"mb-2 mb-sm-0\">
  558. ";
  559. // line 278
  560. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["appUserConfirmCartOrderForm"]) || array_key_exists("appUserConfirmCartOrderForm", $context) ? $context["appUserConfirmCartOrderForm"] : (function () { throw new RuntimeError('Variable "appUserConfirmCartOrderForm" does not exist.', 278, $this->source); })()), "shippingCountry", [], "any", false, false, false, 278), 'label', ["label_attr" => ["class" => "form-label text-900"], "label" => "cart_order.app.complete_order.fields.shipping_country"]);
  561. yield "
  562. ";
  563. // line 279
  564. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["appUserConfirmCartOrderForm"]) || array_key_exists("appUserConfirmCartOrderForm", $context) ? $context["appUserConfirmCartOrderForm"] : (function () { throw new RuntimeError('Variable "appUserConfirmCartOrderForm" does not exist.', 279, $this->source); })()), "shippingCountry", [], "any", false, false, false, 279), 'widget', ["attr" => ["class" => "form-control"]]);
  565. yield "
  566. ";
  567. // line 280
  568. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["appUserConfirmCartOrderForm"]) || array_key_exists("appUserConfirmCartOrderForm", $context) ? $context["appUserConfirmCartOrderForm"] : (function () { throw new RuntimeError('Variable "appUserConfirmCartOrderForm" does not exist.', 280, $this->source); })()), "shippingCountry", [], "any", false, false, false, 280), 'errors');
  569. yield "
  570. </div>
  571. </div>
  572. </div>
  573. </div>
  574. <div class=\"tab-pane\" role=\"tabpanel\" id=\"wizard-content-3\">
  575. ";
  576. // line 287
  577. if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 287, $this->source); })()), "totalEuros", [], "any", false, false, false, 287) > 0)) {
  578. // line 288
  579. yield " <div class=\"row g-3 mb-3 mt-3\" id=\"stripe-payment-element\" ng-init=\"initCartOrder('";
  580. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 288, $this->source); })()), "id", [], "any", false, false, false, 288), "html", null, true);
  581. yield "','";
  582. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 288, $this->source); })()), "totalEuros", [], "any", false, false, false, 288), "html", null, true);
  583. yield "','";
  584. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::urlencode(json_encode(CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 288, $this->source); })()), "shippingItems", [], "any", false, false, false, 288))), "html", null, true);
  585. yield "','";
  586. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["stripe_public_key"]) || array_key_exists("stripe_public_key", $context) ? $context["stripe_public_key"] : (function () { throw new RuntimeError('Variable "stripe_public_key" does not exist.', 288, $this->source); })()), "html", null, true);
  587. yield "','";
  588. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["stripeIntentClientSecret"]) || array_key_exists("stripeIntentClientSecret", $context) ? $context["stripeIntentClientSecret"] : (function () { throw new RuntimeError('Variable "stripeIntentClientSecret" does not exist.', 288, $this->source); })()), "html", null, true);
  589. yield "')\">
  590. <div class=\"col\">
  591. <div class=\"mb-2 mb-sm-0\">
  592. <label class=\"form-label text-900 required\" >Tarjeta de credito</label>
  593. <div id=\"card-element\" class=\"form-control\">
  594. </div>
  595. </div>
  596. </div>
  597. </div>
  598. ";
  599. } else {
  600. // line 298
  601. yield " <div ng-init=\"initCartOrder('";
  602. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 298, $this->source); })()), "id", [], "any", false, false, false, 298), "html", null, true);
  603. yield "')\"></div>
  604. ";
  605. }
  606. // line 300
  607. yield " ";
  608. if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 300, $this->source); })()), "totalWhatercoins", [], "any", false, false, false, 300) > 0)) {
  609. // line 301
  610. yield " <div class=\"row g-3 mb-3 mt-3\" id=\"stripe-payment-element\">
  611. <div class=\"col\">
  612. <div class=\"mb-2 mb-sm-0\">
  613. <label class=\"form-label text-900 required\" >Whatercoins</label>
  614. <div class=\"form-check\">
  615. <input type=\"checkbox\" checked class=\"form-check-input\" id=\"accept-whatercoinf-checkbox\"/>
  616. <label class=\"form-check-label text-900 required\" >El pago incluye ";
  617. // line 307
  618. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 307, $this->source); })()), "totalWhatercoins", [], "any", false, false, false, 307), "html", null, true);
  619. yield " wc de mi cuenta.</label>
  620. </div>
  621. </div>
  622. </div>
  623. </div>
  624. ";
  625. }
  626. // line 313
  627. yield " </div>
  628. <div class=\"tab-pane\" role=\"tabpanel\" id=\"wizard-content-4\">
  629. <div class=\"row flex-center pb-8 pt-4 gx-3 gy-4\">
  630. <div class=\"col-12 \">
  631. <div class=\"text-center text-sm-start\">
  632. <h3 class=\"mb-3 text-center\">Resumen</h3>
  633. <div class=\"row gx-4 gy-6 g-xl-7 justify-content-sm-center justify-content-xl-start mb-4 pt-3\">
  634. <div class=\"col-12 col-sm-6 \">
  635. <h4 class=\"mb-5\">Cuenta</h4>
  636. <div class=\"row g-4 flex-sm-column\">
  637. <div class=\"col-12\">
  638. <div class=\"d-flex align-items-center mb-1\">
  639. <span class=\"me-2\" data-feather=\"user\" style=\"stroke-width:2.5;\"></span>
  640. <h6 class=\"mb-0\">Nombre</h6>
  641. </div>
  642. <div class=\"fs--1 ms-4\" id=\"resume-order-fullname\">";
  643. // line 328
  644. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 328, $this->source); })()), "user", [], "any", false, false, false, 328), "fullName", [], "any", false, false, false, 328), "html", null, true);
  645. yield "</div>
  646. </div>
  647. <div class=\"col-12\">
  648. <div class=\"d-flex align-items-center mb-1\">
  649. <span class=\"me-2\" data-feather=\"mail\" style=\"stroke-width:2.5;\"></span>
  650. <h6 class=\"mb-0\">Email</h6>
  651. </div>
  652. <div class=\"fs--1 ms-4\" id=\"resume-order-email\">";
  653. // line 335
  654. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 335, $this->source); })()), "user", [], "any", false, false, false, 335), "email", [], "any", false, false, false, 335), "html", null, true);
  655. yield "</div>
  656. </div>
  657. </div>
  658. </div>
  659. <div class=\"col-12 col-sm-6 \">
  660. <h4 class=\"mb-5\">Pago</h4>
  661. <div class=\"row g-4 flex-sm-column\">
  662. <div class=\"col-12\">
  663. <div class=\"d-flex align-items-center mb-1\">
  664. <span class=\"me-2\" data-feather=\"credit-card\" style=\"stroke-width:2.5;\"></span>
  665. <h6 class=\"mb-0\">Tipo de pago</h6>
  666. </div>
  667. ";
  668. // line 348
  669. if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 348, $this->source); })()), "cartOrderType", [], "any", false, false, false, 348) == "ORDER_TYPE_LICENSE")) {
  670. // line 349
  671. yield " ";
  672. if (CoreExtension::inFilter("payment_plan", CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 349, $this->source); })()), "cartItem", [0], "method", false, false, false, 349), "meta", [], "any", false, false, false, 349))) {
  673. // line 350
  674. yield " Suscripción
  675. ";
  676. // line 351
  677. if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 351, $this->source); })()), "cartItem", [0], "method", false, false, false, 351), "meta", [], "any", false, false, false, 351), "payment_plan", [], "array", false, false, false, 351) == "LICENSE_PAYMENT_PLAN_ANNUAL")) {
  678. // line 352
  679. yield " anual renovable
  680. ";
  681. } else {
  682. // line 354
  683. yield " mensual renovable
  684. ";
  685. }
  686. // line 356
  687. yield " ";
  688. }
  689. // line 357
  690. yield " ";
  691. } elseif (((CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 357, $this->source); })()), "totalEuros", [], "any", false, false, false, 357) > 0) && (CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 357, $this->source); })()), "totalWhatercoins", [], "any", false, false, false, 357) == 0))) {
  692. // line 358
  693. yield " Tarjeta
  694. ";
  695. // line 359
  696. if ((($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED") && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 359, $this->source); })()), "user", [], "any", false, false, false, 359), "user", [], "any", false, false, false, 359), "hasRole", ["ROLE_ADMIN"], "method", false, false, false, 359)) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["cartOrder"] ?? null), "stripePaymentIntent", [], "any", false, true, false, 359), "id", [], "any", true, true, false, 359))) {
  697. // line 360
  698. yield " (<a href=\"https://dashboard.stripe.com/test/payments/";
  699. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 360, $this->source); })()), "stripePaymentIntent", [], "any", false, false, false, 360), "id", [], "any", false, false, false, 360), "html", null, true);
  700. yield "\" target=\"_blank\">Ver detalles en sStripe</a>)
  701. ";
  702. }
  703. // line 362
  704. yield " ";
  705. } elseif (((CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 362, $this->source); })()), "totalEuros", [], "any", false, false, false, 362) == 0) && (CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 362, $this->source); })()), "totalWhatercoins", [], "any", false, false, false, 362) > 0))) {
  706. // line 363
  707. yield " Whatercoins
  708. ";
  709. } elseif (((CoreExtension::getAttribute($this->env, $this->source, // line 364
  710. (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 364, $this->source); })()), "totalEuros", [], "any", false, false, false, 364) > 0) && (CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 364, $this->source); })()), "totalWhatercoins", [], "any", false, false, false, 364) > 0))) {
  711. // line 365
  712. yield " Tarjeta y Whatercoins
  713. ";
  714. }
  715. // line 367
  716. yield "
  717. </div>
  718. <div class=\"col-12\">
  719. <div class=\"d-flex align-items-center mb-1\">
  720. <span class=\"me-2\" data-feather=\"file\" style=\"stroke-width:2.5;\"></span>
  721. <h6 class=\"mb-0\">#Pedido</h6>
  722. </div>
  723. <div class=\"fs--1 ms-4\" id=\"resume-order-number\">Pendiente</div>
  724. </div>
  725. </div>
  726. </div>
  727. <div class=\"col-12\">
  728. <h4 class=\"mb-5\">Dirección de envío</h4>
  729. <div class=\"row g-4 flex-sm-column\">
  730. <div class=\"col-12\">
  731. <div class=\"d-flex align-items-center mb-1\">
  732. <span class=\"me-2\" data-feather=\"credit-card\" style=\"stroke-width:2.5;\"></span>
  733. <h6 class=\"mb-0\">Dirección</h6>
  734. </div>
  735. <div class=\"fs--1 ms-4\" id=\"resume-order-shipping-address\"></div>
  736. </div>
  737. <div class=\"col-12\">
  738. <div class=\"d-flex align-items-center mb-1\">
  739. <span class=\"me-2\" data-feather=\"file\" style=\"stroke-width:2.5;\"></span>
  740. <h6 class=\"mb-0\">Método de envío</h6>
  741. </div>
  742. <div class=\"fs--1 ms-4\" id=\"resume-order-shipping-method\"></div>
  743. </div>
  744. </div>
  745. </div>
  746. </div>
  747. <div class=\"col-12\">
  748. <div class=\"text-center\">
  749. <div class=\"alert alert-soft-warning\" role=\"alert\" id=\"payment-info-message\">
  750. Solo queda un paso, pulse el botón para confirmar el pedido.
  751. </div>
  752. <button class=\"btn btn-success px-6\" type=\"button\" id=\"payment-button\" ng-click=\"clickPayment()\">
  753. ";
  754. // line 406
  755. if (((CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 406, $this->source); })()), "totalWhatercoins", [], "any", false, false, false, 406) > 0) && (CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 406, $this->source); })()), "totalEuros", [], "any", false, false, false, 406) == 0))) {
  756. // line 407
  757. yield " Confirmar pedido por <span id=\"resume-order-price\">";
  758. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatNumber(CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 407, $this->source); })()), "totalWhatercoins", [], "any", false, false, false, 407), 2, ",", "."), "html", null, true);
  759. yield " whatercoins</span>
  760. ";
  761. } elseif (((CoreExtension::getAttribute($this->env, $this->source, // line 408
  762. (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 408, $this->source); })()), "totalWhatercoins", [], "any", false, false, false, 408) > 0) && (CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 408, $this->source); })()), "totalEuros", [], "any", false, false, false, 408) > 0))) {
  763. // line 409
  764. yield " Confirmar pedido por <span id=\"resume-order-price\">";
  765. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatNumber(CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 409, $this->source); })()), "totalEuros", [], "any", false, false, false, 409), 2, ",", "."), "html", null, true);
  766. yield "€ y ";
  767. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatNumber(CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 409, $this->source); })()), "totalWhatercoins", [], "any", false, false, false, 409), 2, ",", "."), "html", null, true);
  768. yield " whatercoins</span>
  769. ";
  770. } elseif ((CoreExtension::getAttribute($this->env, $this->source, // line 410
  771. (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 410, $this->source); })()), "totalEuros", [], "any", false, false, false, 410) > 0)) {
  772. // line 411
  773. yield " Confirmar pedido por <span id=\"resume-order-price\">";
  774. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatNumber(CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 411, $this->source); })()), "totalEuros", [], "any", false, false, false, 411), 2, ",", "."), "html", null, true);
  775. yield "€</span>
  776. ";
  777. }
  778. // line 413
  779. yield " </button>
  780. <a href=\"";
  781. // line 414
  782. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("web_public_cart_order_details", ["cartOrderId" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 414, $this->source); })()), "id", [], "any", false, false, false, 414)]), "html", null, true);
  783. yield "\" class=\"btn btn-primary px-6 d-none\" type=\"button\" id=\"go-details-button\" >
  784. Continuar
  785. </a>
  786. <div class=\"mt-3\">
  787. <span class=\"spinner-border spinner-border-sm d-none\" role=\"status\" aria-hidden=\"true\" id=\"payment-spinner\"></span>
  788. </div>
  789. <div class=\"alert alert-soft-danger d-none mt-3\" id=\"payment-error-message\" role=\"alert\"></div>
  790. </div>
  791. </div>
  792. </div>
  793. </div>
  794. </div>
  795. </div>
  796. </div>
  797. </div>
  798. <div class=\"card-footer border-top-0\" >
  799. <div class=\"d-flex pager wizard list-inline mb-0\">
  800. <button class=\"d-none btn btn-link ps-0\" type=\"button\" >
  801. <span class=\"fas fa-chevron-left me-1\" data-fa-transform=\"shrink-3\"></span>
  802. Previous
  803. </button>
  804. <div class=\"flex-1 text-end\">
  805. <button class=\"btn btn-primary px-6 px-sm-6\"
  806. type=\"button\" id=\"wizart-next-button\">
  807. Siguiente
  808. <span class=\"fas fa-chevron-right ms-1\" data-fa-transform=\"shrink-3\"> </span>
  809. </button>
  810. </div>
  811. </div>
  812. </div>
  813. </div>
  814. ";
  815. // line 447
  816. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["appUserConfirmCartOrderForm"]) || array_key_exists("appUserConfirmCartOrderForm", $context) ? $context["appUserConfirmCartOrderForm"] : (function () { throw new RuntimeError('Variable "appUserConfirmCartOrderForm" does not exist.', 447, $this->source); })()), 'rest');
  817. yield "
  818. ";
  819. // line 448
  820. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["appUserConfirmCartOrderForm"]) || array_key_exists("appUserConfirmCartOrderForm", $context) ? $context["appUserConfirmCartOrderForm"] : (function () { throw new RuntimeError('Variable "appUserConfirmCartOrderForm" does not exist.', 448, $this->source); })()), 'form_end');
  821. yield "
  822. ";
  823. } else {
  824. // line 451
  825. yield " <div class=\"card theme-wizard mb-5\" >
  826. <div class=\"card-header bg-100 pt-3 pb-2 border-bottom-0\">
  827. <ul class=\"nav justify-content-between nav-wizard\">
  828. <li class=\"nav-item\">
  829. <div class=\"nav-link active fw-semi-bold\" >
  830. <div class=\"text-center d-inline-block\">
  831. <span class=\"nav-item-circle-parent\">
  832. <span class=\"nav-item-circle\">
  833. <span class=\"fas fa-lock\"></span>
  834. </span>
  835. </span>
  836. <span class=\"d-none d-md-block mt-1 fs--1\">Cuenta</span>
  837. </div>
  838. </div>
  839. </li>
  840. <li class=\"nav-item\">
  841. <div class=\"nav-link fw-semi-bold\" >
  842. <div class=\"text-center d-inline-block\">
  843. <span class=\"nav-item-circle-parent\">
  844. <span class=\"nav-item-circle\">
  845. <span class=\"fas fa-file-alt\"></span>
  846. </span>
  847. </span>
  848. <span class=\"d-none d-md-block mt-1 fs--1\">Facturación</span>
  849. </div>
  850. </div>
  851. </li>
  852. <li class=\"nav-item\">
  853. <a class=\"nav-link fw-semi-bold\" >
  854. <div class=\"text-center d-inline-block\">
  855. <span class=\"nav-item-circle-parent\">
  856. <span class=\"nav-item-circle\">
  857. <span class=\"fas fa-wallet\"></span>
  858. </span>
  859. </span>
  860. <span class=\"d-none d-md-block mt-1 fs--1\">Pago</span>
  861. </div>
  862. </a>
  863. </li>
  864. <li class=\"nav-item\">
  865. <div class=\"nav-link fw-semi-bold\" >
  866. <div class=\"text-center d-inline-block\">
  867. <span class=\"nav-item-circle-parent\">
  868. <span class=\"nav-item-circle\">
  869. <span class=\"fas fa-check\"></span>
  870. </span>
  871. </span>
  872. <span class=\"d-none d-md-block mt-1 fs--1\">Finalizado</span>
  873. </div>
  874. </div>
  875. </li>
  876. </ul>
  877. </div>
  878. <div class=\"card-body pt-4 pb-0\">
  879. <div class=\"tab-content\">
  880. <div class=\"tab-pane active\" role=\"tabpanel\" >
  881. ";
  882. // line 507
  883. yield $macros["function"]->getTemplateForMacro("macro_showFlashes", $context, 507, $this->getSourceContext())->macro_showFlashes(...[]);
  884. yield "
  885. <div class=\"fw-bolder mb-3\">Identifícate en whater...</div>
  886. ";
  887. // line 509
  888. $this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme((isset($context["loginForm"]) || array_key_exists("loginForm", $context) ? $context["loginForm"] : (function () { throw new RuntimeError('Variable "loginForm" does not exist.', 509, $this->source); })()), ["Form/bootstrap_5_layout.html.twig"], true);
  889. // line 510
  890. yield " ";
  891. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["loginForm"]) || array_key_exists("loginForm", $context) ? $context["loginForm"] : (function () { throw new RuntimeError('Variable "loginForm" does not exist.', 510, $this->source); })()), 'form_start', ["attr" => ["class" => "needs-validation"]]);
  892. yield "
  893. ";
  894. // line 511
  895. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["loginForm"]) || array_key_exists("loginForm", $context) ? $context["loginForm"] : (function () { throw new RuntimeError('Variable "loginForm" does not exist.', 511, $this->source); })()), 'errors');
  896. yield "
  897. <div class=\"row g-3 mb-3\">
  898. <div class=\"col-sm-6\">
  899. <div class=\"mb-2 mb-sm-0\">
  900. ";
  901. // line 515
  902. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["loginForm"]) || array_key_exists("loginForm", $context) ? $context["loginForm"] : (function () { throw new RuntimeError('Variable "loginForm" does not exist.', 515, $this->source); })()), "username", [], "any", false, false, false, 515), 'label', ["label_attr" => ["class" => "form-label text-900"], "label" => "web.security.login.username"]);
  903. yield "
  904. ";
  905. // line 516
  906. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["loginForm"]) || array_key_exists("loginForm", $context) ? $context["loginForm"] : (function () { throw new RuntimeError('Variable "loginForm" does not exist.', 516, $this->source); })()), "username", [], "any", false, false, false, 516), 'widget', ["attr" => ["class" => "form-control", "autocomplete" => "username"]]);
  907. yield "
  908. </div>
  909. </div>
  910. <div class=\"col-sm-6\">
  911. <div class=\"mb-2\">
  912. ";
  913. // line 521
  914. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["loginForm"]) || array_key_exists("loginForm", $context) ? $context["loginForm"] : (function () { throw new RuntimeError('Variable "loginForm" does not exist.', 521, $this->source); })()), "password", [], "any", false, false, false, 521), 'label', ["label_attr" => ["class" => "form-label text-900"], "label" => "web.security.login.password"]);
  915. yield "
  916. ";
  917. // line 522
  918. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["loginForm"]) || array_key_exists("loginForm", $context) ? $context["loginForm"] : (function () { throw new RuntimeError('Variable "loginForm" does not exist.', 522, $this->source); })()), "password", [], "any", false, false, false, 522), 'widget', ["attr" => ["class" => "form-control", "autocomplete" => "current-password"]]);
  919. yield "
  920. </div>
  921. </div>
  922. <div class=\"row flex-between-center mb-2\">
  923. <div class=\"col-auto\">
  924. ";
  925. // line 527
  926. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["loginForm"]) || array_key_exists("loginForm", $context) ? $context["loginForm"] : (function () { throw new RuntimeError('Variable "loginForm" does not exist.', 527, $this->source); })()), "remember_me", [], "any", false, false, false, 527), 'widget', ["attr" => ["class" => "form-check-input"]]);
  927. yield "
  928. <label class=\"form-label fs--1 text-none\" for=\"login_remember_me\">";
  929. // line 528
  930. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("web.security.login.rememberme"), "html", null, true);
  931. yield "</label>
  932. </div>
  933. <div class=\"col-auto\">
  934. <a class=\"fs--1 fw-semi-bold\" href=\"";
  935. // line 531
  936. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("web_forgot_password");
  937. yield "\">
  938. ¿Olvidaste la contraseña?
  939. </a>
  940. </div>
  941. </div>
  942. </div>
  943. <div class=\"d-flex pager wizard list-inline mb-4\">
  944. <button class=\"d-none btn btn-link ps-0\" type=\"button\">
  945. <span class=\"fas fa-chevron-left me-1\" data-fa-transform=\"shrink-3\"></span>
  946. Previous
  947. </button>
  948. <div class=\"flex-1 text-end\">
  949. <button class=\"btn btn-primary px-6 px-sm-6\" type=\"submit\" >
  950. Entrar
  951. </button>
  952. </div>
  953. </div>
  954. ";
  955. // line 548
  956. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["loginForm"]) || array_key_exists("loginForm", $context) ? $context["loginForm"] : (function () { throw new RuntimeError('Variable "loginForm" does not exist.', 548, $this->source); })()), 'rest');
  957. yield "
  958. ";
  959. // line 549
  960. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["loginForm"]) || array_key_exists("loginForm", $context) ? $context["loginForm"] : (function () { throw new RuntimeError('Variable "loginForm" does not exist.', 549, $this->source); })()), 'form_end');
  961. yield "
  962. </div>
  963. <hr class=\"solid\"></hr>
  964. <div class=\"fw-bolder mb-3\">...ó crea una nueva cuenta.</div>
  965. ";
  966. // line 555
  967. $this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme((isset($context["signupForm"]) || array_key_exists("signupForm", $context) ? $context["signupForm"] : (function () { throw new RuntimeError('Variable "signupForm" does not exist.', 555, $this->source); })()), ["Form/bootstrap_5_layout.html.twig"], true);
  968. // line 556
  969. yield " ";
  970. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["signupForm"]) || array_key_exists("signupForm", $context) ? $context["signupForm"] : (function () { throw new RuntimeError('Variable "signupForm" does not exist.', 556, $this->source); })()), 'form_start', ["attr" => ["class" => "needs-validation"]]);
  971. yield "
  972. ";
  973. // line 557
  974. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["signupForm"]) || array_key_exists("signupForm", $context) ? $context["signupForm"] : (function () { throw new RuntimeError('Variable "signupForm" does not exist.', 557, $this->source); })()), 'errors');
  975. yield "
  976. <div class=\"row g-3 mb-3\">
  977. <div class=\"col-sm-6\">
  978. <div class=\"mb-2 mb-sm-0\">
  979. ";
  980. // line 561
  981. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["signupForm"]) || array_key_exists("signupForm", $context) ? $context["signupForm"] : (function () { throw new RuntimeError('Variable "signupForm" does not exist.', 561, $this->source); })()), "firstName", [], "any", false, false, false, 561), 'label', ["label_attr" => ["class" => "form-label text-900"], "label" => "web.security.signup.fields.first_name"]);
  982. yield "
  983. ";
  984. // line 562
  985. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["signupForm"]) || array_key_exists("signupForm", $context) ? $context["signupForm"] : (function () { throw new RuntimeError('Variable "signupForm" does not exist.', 562, $this->source); })()), "firstName", [], "any", false, false, false, 562), 'widget', ["attr" => ["class" => "form-control", "autocomplete" => "firstName"]]);
  986. yield "
  987. ";
  988. // line 563
  989. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["signupForm"]) || array_key_exists("signupForm", $context) ? $context["signupForm"] : (function () { throw new RuntimeError('Variable "signupForm" does not exist.', 563, $this->source); })()), "firstName", [], "any", false, false, false, 563), 'errors');
  990. yield "
  991. </div>
  992. </div>
  993. <div class=\"col-sm-6\">
  994. <div class=\"mb-2 mb-sm-0\">
  995. ";
  996. // line 568
  997. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["signupForm"]) || array_key_exists("signupForm", $context) ? $context["signupForm"] : (function () { throw new RuntimeError('Variable "signupForm" does not exist.', 568, $this->source); })()), "lastName", [], "any", false, false, false, 568), 'label', ["label_attr" => ["class" => "form-label text-900"], "label" => "web.security.signup.fields.last_name"]);
  998. yield "
  999. ";
  1000. // line 569
  1001. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["signupForm"]) || array_key_exists("signupForm", $context) ? $context["signupForm"] : (function () { throw new RuntimeError('Variable "signupForm" does not exist.', 569, $this->source); })()), "lastName", [], "any", false, false, false, 569), 'widget', ["attr" => ["class" => "form-control", "autocomplete" => "lastName"]]);
  1002. yield "
  1003. ";
  1004. // line 570
  1005. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["signupForm"]) || array_key_exists("signupForm", $context) ? $context["signupForm"] : (function () { throw new RuntimeError('Variable "signupForm" does not exist.', 570, $this->source); })()), "lastName", [], "any", false, false, false, 570), 'errors');
  1006. yield "
  1007. </div>
  1008. </div>
  1009. <div class=\"col-sm-6\">
  1010. <div class=\"mb-2 mb-sm-0\">
  1011. ";
  1012. // line 575
  1013. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["signupForm"]) || array_key_exists("signupForm", $context) ? $context["signupForm"] : (function () { throw new RuntimeError('Variable "signupForm" does not exist.', 575, $this->source); })()), "email", [], "any", false, false, false, 575), 'label', ["label_attr" => ["class" => "form-label text-900"], "label" => "web.security.signup.fields.email"]);
  1014. yield "
  1015. ";
  1016. // line 576
  1017. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["signupForm"]) || array_key_exists("signupForm", $context) ? $context["signupForm"] : (function () { throw new RuntimeError('Variable "signupForm" does not exist.', 576, $this->source); })()), "email", [], "any", false, false, false, 576), 'widget', ["attr" => ["class" => "form-control", "autocomplete" => "email"]]);
  1018. yield "
  1019. ";
  1020. // line 577
  1021. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["signupForm"]) || array_key_exists("signupForm", $context) ? $context["signupForm"] : (function () { throw new RuntimeError('Variable "signupForm" does not exist.', 577, $this->source); })()), "email", [], "any", false, false, false, 577), 'errors');
  1022. yield "
  1023. </div>
  1024. </div>
  1025. <div class=\"col-sm-6\">
  1026. <div class=\"mb-2 mb-sm-0\">
  1027. ";
  1028. // line 582
  1029. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["signupForm"]) || array_key_exists("signupForm", $context) ? $context["signupForm"] : (function () { throw new RuntimeError('Variable "signupForm" does not exist.', 582, $this->source); })()), "password", [], "any", false, false, false, 582), 'label', ["label_attr" => ["class" => "form-label text-900"], "label" => "web.security.signup.fields.password"]);
  1030. yield "
  1031. ";
  1032. // line 583
  1033. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["signupForm"]) || array_key_exists("signupForm", $context) ? $context["signupForm"] : (function () { throw new RuntimeError('Variable "signupForm" does not exist.', 583, $this->source); })()), "password", [], "any", false, false, false, 583), 'widget', ["attr" => ["class" => "form-control", "autocomplete" => "password"]]);
  1034. yield "
  1035. ";
  1036. // line 584
  1037. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["signupForm"]) || array_key_exists("signupForm", $context) ? $context["signupForm"] : (function () { throw new RuntimeError('Variable "signupForm" does not exist.', 584, $this->source); })()), "password", [], "any", false, false, false, 584), 'errors');
  1038. yield "
  1039. </div>
  1040. </div>
  1041. <div class=\"col-sm-6\" ng-init=\"initSelectCountry()\">
  1042. <label class=\"form-label text-900 required\">País</label>
  1043. <select class=\"form-select country-field\" aria-label=\"Tu país\"
  1044. id=\"select_country\"
  1045. data-country-search-url=\"";
  1046. // line 591
  1047. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("web_api_public_zones_country_list");
  1048. yield "\">
  1049. <option value=\"216abc6f-594d-49ea-8977-8976ca33e92c\" selected=\"selected\">España</option>
  1050. </select>
  1051. </div>
  1052. <div class=\"col-sm-6\" ng-init=\"initSelectTowns()\">
  1053. <div class=\"mb-2 mb-sm-0\" >
  1054. ";
  1055. // line 597
  1056. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["signupForm"]) || array_key_exists("signupForm", $context) ? $context["signupForm"] : (function () { throw new RuntimeError('Variable "signupForm" does not exist.', 597, $this->source); })()), "town", [], "any", false, false, false, 597), 'label', ["label_attr" => ["class" => "form-label text-900"], "label" => "web.security.signup.fields.town"]);
  1057. yield "
  1058. ";
  1059. // line 598
  1060. CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["signupForm"]) || array_key_exists("signupForm", $context) ? $context["signupForm"] : (function () { throw new RuntimeError('Variable "signupForm" does not exist.', 598, $this->source); })()), "town", [], "any", false, false, false, 598), "setRendered", [], "any", false, false, false, 598);
  1061. // line 599
  1062. yield " <select class=\"form-select clinics-field\" aria-label=\"Tu localidad\"
  1063. id=\"select_town\"
  1064. name=\"";
  1065. // line 601
  1066. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["signupForm"]) || array_key_exists("signupForm", $context) ? $context["signupForm"] : (function () { throw new RuntimeError('Variable "signupForm" does not exist.', 601, $this->source); })()), "town", [], "any", false, false, false, 601), "vars", [], "any", false, false, false, 601), "full_name", [], "any", false, false, false, 601), "html", null, true);
  1067. yield "\"
  1068. required=\"required\"
  1069. data-town-search-url=\"";
  1070. // line 603
  1071. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("web_api_public_zones_town_list");
  1072. yield "\">
  1073. </select>
  1074. ";
  1075. // line 605
  1076. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["signupForm"]) || array_key_exists("signupForm", $context) ? $context["signupForm"] : (function () { throw new RuntimeError('Variable "signupForm" does not exist.', 605, $this->source); })()), "town", [], "any", false, false, false, 605), 'errors');
  1077. yield "
  1078. </div>
  1079. </div>
  1080. ";
  1081. // line 608
  1082. CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["signupForm"]) || array_key_exists("signupForm", $context) ? $context["signupForm"] : (function () { throw new RuntimeError('Variable "signupForm" does not exist.', 608, $this->source); })()), "phone", [], "any", false, false, false, 608), "setRendered", [], "any", false, false, false, 608);
  1083. // line 609
  1084. yield " ";
  1085. CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["signupForm"]) || array_key_exists("signupForm", $context) ? $context["signupForm"] : (function () { throw new RuntimeError('Variable "signupForm" does not exist.', 609, $this->source); })()), "publicComments", [], "any", false, false, false, 609), "setRendered", [], "any", false, false, false, 609);
  1086. // line 610
  1087. yield " ";
  1088. CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["signupForm"]) || array_key_exists("signupForm", $context) ? $context["signupForm"] : (function () { throw new RuntimeError('Variable "signupForm" does not exist.', 610, $this->source); })()), "selectedTypes", [], "any", false, false, false, 610), "setRendered", [], "any", false, false, false, 610);
  1089. // line 611
  1090. yield " <div class=\"form-check mb-3 ms-3\">
  1091. ";
  1092. // line 612
  1093. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["signupForm"]) || array_key_exists("signupForm", $context) ? $context["signupForm"] : (function () { throw new RuntimeError('Variable "signupForm" does not exist.', 612, $this->source); })()), "terms", [], "any", false, false, false, 612), 'errors');
  1094. yield "
  1095. <input class=\"form-check-input\" id=\"termsService\" type=\"checkbox\"
  1096. required=\"required\"
  1097. name=\"";
  1098. // line 615
  1099. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\FormExtension']->getFieldName(CoreExtension::getAttribute($this->env, $this->source, (isset($context["signupForm"]) || array_key_exists("signupForm", $context) ? $context["signupForm"] : (function () { throw new RuntimeError('Variable "signupForm" does not exist.', 615, $this->source); })()), "terms", [], "any", false, false, false, 615)), "html", null, true);
  1100. yield "\">
  1101. <label class=\"form-label fs--1 text-none\" for=\"termsService\">Acepta nuestros <a href=\"";
  1102. // line 616
  1103. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("web_terms");
  1104. yield "\" target=\"_blank\">términos y condiciones</a>.</label>
  1105. </div>
  1106. <div class=\"g-3 mb-3\">
  1107. ";
  1108. // line 619
  1109. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["signupForm"]) || array_key_exists("signupForm", $context) ? $context["signupForm"] : (function () { throw new RuntimeError('Variable "signupForm" does not exist.', 619, $this->source); })()), "recaptcha", [], "any", false, false, false, 619), 'widget', ["attr" => ["class" => "my-3"]]);
  1110. yield "
  1111. </div>
  1112. </div>
  1113. <div class=\"d-flex pager wizard list-inline mb-4\">
  1114. <button class=\"d-none btn btn-link ps-0\" type=\"button\" >
  1115. <span class=\"fas fa-chevron-left me-1\" data-fa-transform=\"shrink-3\"></span>
  1116. Previous
  1117. </button>
  1118. <div class=\"flex-1 text-end\">
  1119. <button class=\"btn btn-primary px-6 px-sm-6\" type=\"submit\">
  1120. Registrarse
  1121. </button>
  1122. </div>
  1123. </div>
  1124. ";
  1125. // line 633
  1126. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["signupForm"]) || array_key_exists("signupForm", $context) ? $context["signupForm"] : (function () { throw new RuntimeError('Variable "signupForm" does not exist.', 633, $this->source); })()), 'rest');
  1127. yield "
  1128. ";
  1129. // line 634
  1130. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["signupForm"]) || array_key_exists("signupForm", $context) ? $context["signupForm"] : (function () { throw new RuntimeError('Variable "signupForm" does not exist.', 634, $this->source); })()), 'form_end');
  1131. yield "
  1132. </div>
  1133. </div>
  1134. </div>
  1135. ";
  1136. }
  1137. // line 641
  1138. yield " </div>
  1139. <div class=\"col-lg-5 col-xl-5\">
  1140. <div class=\"card mt-3 mt-lg-0\">
  1141. <div class=\"card-body\">
  1142. <div class=\"d-flex align-items-center justify-content-between\">
  1143. <h3 class=\"mb-0\">Pedido</h3>
  1144. </div>
  1145. <div class=\"border-dashed border-bottom mt-4\">
  1146. <div class=\"ms-n2\">
  1147. ";
  1148. // line 651
  1149. $context['_parent'] = $context;
  1150. $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 651, $this->source); })()), "cartOrderItems", [], "any", false, false, false, 651));
  1151. foreach ($context['_seq'] as $context["_key"] => $context["cartOrderItem"]) {
  1152. yield "
  1153. <div class=\"row align-items-center mb-2 g-3\">
  1154. <div class=\"col-8 col-md-7 col-lg-8\">
  1155. <div class=\"d-flex align-items-center\">
  1156. <img class=\"me-2 ms-1 img-thumbnail\" src=\"";
  1157. // line 655
  1158. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/images/logo_v3.png"), "whaterpoint_simple_logo_40"), "html", null, true);
  1159. yield "\" width=\"40\" alt=\"\">
  1160. <div class=\"\">
  1161. <div class=\"fs--1 lh-base\">
  1162. <span class=\"fw-semi-bold text-1000\">";
  1163. // line 658
  1164. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["cartOrderItem"], "itemDescription", [], "any", false, false, false, 658), "html", null, true);
  1165. yield "</span>
  1166. <br/>
  1167. <i>Proveedor: ";
  1168. // line 660
  1169. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["cartOrderItem"], "product", [], "any", false, false, false, 660), "whaterOrganization", [], "any", false, false, false, 660), "publicName", [], "any", false, false, false, 660), "html", null, true);
  1170. yield "</i>
  1171. </div>
  1172. ";
  1173. // line 662
  1174. if (((CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 662, $this->source); })()), "cartOrderType", [], "any", false, false, false, 662) == "ORDER_TYPE_LICENSE") && CoreExtension::inFilter("payment_plan", CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 662, $this->source); })()), "cartItem", [0], "method", false, false, false, 662), "meta", [], "any", false, false, false, 662)))) {
  1175. // line 663
  1176. yield " <div class=\"text-muted fs--1\">
  1177. Suscripción
  1178. ";
  1179. // line 665
  1180. if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 665, $this->source); })()), "cartItem", [0], "method", false, false, false, 665), "meta", [], "any", false, false, false, 665), "payment_plan", [], "array", false, false, false, 665) == "LICENSE_PAYMENT_PLAN_ANNUAL")) {
  1181. // line 666
  1182. yield " anual renovable desde el ";
  1183. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 666, $this->source); })()), "organizationLicense", [], "any", false, false, false, 666), "startDate", [], "any", false, false, false, 666), "d-m-Y"), "html", null, true);
  1184. yield "
  1185. ";
  1186. } else {
  1187. // line 668
  1188. yield " mensual renovable desde el ";
  1189. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 668, $this->source); })()), "organizationLicense", [], "any", false, false, false, 668), "startDate", [], "any", false, false, false, 668), "d-m-Y"), "html", null, true);
  1190. yield "
  1191. ";
  1192. }
  1193. // line 670
  1194. yield " </div>
  1195. ";
  1196. }
  1197. // line 672
  1198. yield " </div>
  1199. </div>
  1200. </div>
  1201. <div class=\"col-1\">
  1202. <h6 class=\"fs--2 mb-0\">
  1203. x";
  1204. // line 677
  1205. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["cartOrderItem"], "units", [], "any", false, false, false, 677), "html", null, true);
  1206. yield "
  1207. </h6>
  1208. </div>
  1209. <div class=\"col-3 ps-0\">
  1210. <h5 class=\"mb-0 fw-semi-bold text-end\">
  1211. ";
  1212. // line 682
  1213. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatNumber((CoreExtension::getAttribute($this->env, $this->source, $context["cartOrderItem"], "units", [], "any", false, false, false, 682) * CoreExtension::getAttribute($this->env, $this->source, $context["cartOrderItem"], "pricePerUnit", [], "any", false, false, false, 682)), 2, ",", "."), "html", null, true);
  1214. yield " €
  1215. </h5>
  1216. </div>
  1217. </div>
  1218. ";
  1219. }
  1220. $_parent = $context['_parent'];
  1221. unset($context['_seq'], $context['_key'], $context['cartOrderItem'], $context['_parent']);
  1222. $context = array_intersect_key($context, $_parent) + $_parent;
  1223. // line 686
  1224. yield "
  1225. </div>
  1226. </div>
  1227. <div class=\"border-dashed border-bottom mt-4\">
  1228. ";
  1229. // line 690
  1230. if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 690, $this->source); })()), "totalWhatercoins", [], "any", false, false, false, 690) > 0)) {
  1231. // line 691
  1232. yield " <div class=\"d-flex justify-content-between mb-2\">
  1233. <h5 class=\"text-900 fw-semi-bold text-success\">Whatercoins: </h5>
  1234. <h5 class=\"text-900 fw-semi-bold text-success\" id=\"summary-whatercoins\" data-summary-whatercoins=\"";
  1235. // line 693
  1236. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 693, $this->source); })()), "totalWhatercoins", [], "any", false, false, false, 693), "html", null, true);
  1237. yield "\">";
  1238. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatNumber(CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 693, $this->source); })()), "totalWhatercoins", [], "any", false, false, false, 693), 2, ",", "."), "html", null, true);
  1239. yield "</h5>
  1240. </div>
  1241. ";
  1242. }
  1243. // line 696
  1244. yield " <div class=\"d-flex justify-content-between mb-2\">
  1245. <h5 class=\"text-900 fw-semi-bold\">Gastos de envío: </h5>
  1246. <h5 class=\"text-900 fw-semi-bold\" id=\"summary-shipping-costs\" >-- €</h5>
  1247. </div>
  1248. </div>
  1249. ";
  1250. // line 701
  1251. $context["shippingCostTaxes"] = Twig\Extension\CoreExtension::round(((CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 701, $this->source); })()), "totalShippingCost", [], "any", false, false, false, 701) * (isset($context["shipping_taxes_percent"]) || array_key_exists("shipping_taxes_percent", $context) ? $context["shipping_taxes_percent"] : (function () { throw new RuntimeError('Variable "shipping_taxes_percent" does not exist.', 701, $this->source); })())) / 100), 2, "floor");
  1252. // line 702
  1253. yield " <div class=\"d-flex justify-content-between border-dashed-y pt-3\">
  1254. <h4 class=\"mb-0\">Total :</h4>
  1255. <h4 class=\"mb-0\" id=\"summary-total\" data-summary-total=\"";
  1256. // line 704
  1257. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 704, $this->source); })()), "totalEuros", [], "any", false, false, false, 704) + CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 704, $this->source); })()), "totalShippingCost", [], "any", false, false, false, 704)), "html", null, true);
  1258. yield "\">";
  1259. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatNumber((CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 704, $this->source); })()), "totalEuros", [], "any", false, false, false, 704) + CoreExtension::getAttribute($this->env, $this->source, (isset($context["cartOrder"]) || array_key_exists("cartOrder", $context) ? $context["cartOrder"] : (function () { throw new RuntimeError('Variable "cartOrder" does not exist.', 704, $this->source); })()), "totalShippingCost", [], "any", false, false, false, 704)), 2, ",", "."), "html", null, true);
  1260. yield " €</h4>
  1261. </div>
  1262. </div>
  1263. </div>
  1264. </div>
  1265. </div>
  1266. </div>
  1267. </div>
  1268. </div>
  1269. ";
  1270. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1271. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1272. yield from [];
  1273. }
  1274. /**
  1275. * @codeCoverageIgnore
  1276. */
  1277. public function getTemplateName(): string
  1278. {
  1279. return "Product/public_cart_order_checkout.html.twig";
  1280. }
  1281. /**
  1282. * @codeCoverageIgnore
  1283. */
  1284. public function isTraitable(): bool
  1285. {
  1286. return false;
  1287. }
  1288. /**
  1289. * @codeCoverageIgnore
  1290. */
  1291. public function getDebugInfo(): array
  1292. {
  1293. return array ( 1328 => 704, 1324 => 702, 1322 => 701, 1315 => 696, 1307 => 693, 1303 => 691, 1301 => 690, 1295 => 686, 1284 => 682, 1276 => 677, 1269 => 672, 1265 => 670, 1259 => 668, 1253 => 666, 1251 => 665, 1247 => 663, 1245 => 662, 1240 => 660, 1235 => 658, 1229 => 655, 1220 => 651, 1208 => 641, 1198 => 634, 1194 => 633, 1177 => 619, 1171 => 616, 1167 => 615, 1161 => 612, 1158 => 611, 1155 => 610, 1152 => 609, 1150 => 608, 1144 => 605, 1139 => 603, 1134 => 601, 1130 => 599, 1128 => 598, 1124 => 597, 1115 => 591, 1105 => 584, 1101 => 583, 1097 => 582, 1089 => 577, 1085 => 576, 1081 => 575, 1073 => 570, 1069 => 569, 1065 => 568, 1057 => 563, 1053 => 562, 1049 => 561, 1042 => 557, 1037 => 556, 1035 => 555, 1026 => 549, 1022 => 548, 1002 => 531, 996 => 528, 992 => 527, 984 => 522, 980 => 521, 972 => 516, 968 => 515, 961 => 511, 956 => 510, 954 => 509, 949 => 507, 891 => 451, 885 => 448, 881 => 447, 845 => 414, 842 => 413, 836 => 411, 834 => 410, 827 => 409, 825 => 408, 820 => 407, 818 => 406, 777 => 367, 773 => 365, 771 => 364, 768 => 363, 765 => 362, 759 => 360, 757 => 359, 754 => 358, 751 => 357, 748 => 356, 744 => 354, 740 => 352, 738 => 351, 735 => 350, 732 => 349, 730 => 348, 714 => 335, 704 => 328, 687 => 313, 678 => 307, 670 => 301, 667 => 300, 661 => 298, 639 => 288, 637 => 287, 627 => 280, 623 => 279, 619 => 278, 611 => 273, 607 => 272, 603 => 271, 595 => 266, 591 => 265, 587 => 264, 579 => 259, 575 => 258, 571 => 257, 558 => 247, 554 => 246, 550 => 245, 542 => 240, 538 => 239, 534 => 238, 526 => 233, 522 => 232, 518 => 231, 455 => 171, 450 => 170, 448 => 169, 443 => 168, 428 => 155, 424 => 153, 422 => 152, 419 => 151, 416 => 150, 410 => 148, 408 => 147, 405 => 146, 402 => 145, 399 => 144, 395 => 142, 391 => 140, 389 => 139, 386 => 138, 383 => 137, 381 => 136, 370 => 128, 355 => 116, 345 => 109, 331 => 98, 285 => 54, 283 => 53, 273 => 45, 267 => 43, 265 => 42, 261 => 41, 253 => 35, 248 => 33, 243 => 32, 241 => 31, 237 => 30, 232 => 27, 228 => 25, 226 => 24, 224 => 23, 221 => 22, 208 => 21, 195 => 18, 190 => 17, 177 => 16, 164 => 13, 160 => 12, 154 => 10, 141 => 9, 118 => 7, 94 => 5, 71 => 4, 60 => 1, 58 => 2, 45 => 1,);
  1294. }
  1295. public function getSourceContext(): Source
  1296. {
  1297. return new Source("{% extends 'Common/base.html.twig' %}
  1298. {% import 'Common/parts/functions.html.twig' as function %}
  1299. {% block title %}Formulario de compra{% endblock %}
  1300. {% block classBody %}product {{ parent() }}{% endblock %}
  1301. {% block ogTitle %}Formulario de compra{% endblock ogTitle %}
  1302. {% block javascripts %}
  1303. {{ parent() }}
  1304. <script src=\"https://js.stripe.com/v3/\"></script>
  1305. {{ encore_entry_script_tags('select2_js') }}
  1306. {{ encore_entry_script_tags('public_cart_order_checkout') }}
  1307. {% endblock javascripts %}
  1308. {% block stylesheets %}
  1309. {{ parent() }}
  1310. {{ encore_entry_link_tags('select2_styles') }}
  1311. {% endblock stylesheets %}
  1312. {% block contents %}
  1313. {% set stripeIntentClientSecret = '' %}
  1314. {% if cartOrder.stripePaymentIntent is defined and cartOrder.stripePaymentIntent is not none and cartOrder.stripePaymentIntent.client_secret is defined %}
  1315. {% set stripeIntentClientSecret = cartOrder.stripePaymentIntent.client_secret %}
  1316. {% endif %}
  1317. <div id=\"public_cart_order_checkout_page\" ng-controller=\"cartOrderCheckoutCtrl\"
  1318. data-cart-order-id=\"{{ cartOrder.id }}\"
  1319. {% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
  1320. data-grantuser-username=\"{{ app.user.user.firstName }}\"
  1321. data-grantuser-id=\"{{ app.user.user.id }}\"
  1322. {% endif %}
  1323. class=\"container pt-5 pb-9\">
  1324. <section class=\"py-0\">
  1325. <div class=\"container-small\">
  1326. <nav class=\"mb-3\" aria-label=\"breadcrumb\">
  1327. <ol class=\"breadcrumb mb-0\">
  1328. <li class=\"breadcrumb-item\"><a href=\"{{path('web_init')}}\">Inicio</a></li>
  1329. {% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
  1330. <li class=\"breadcrumb-item\"><a href=\"{{path('web_app_user_dashboard')}}\">Mi cuenta</a></li>
  1331. {% endif %}
  1332. <li class=\"breadcrumb-item active\" aria-current=\"page\">Formulario de compra</li>
  1333. </ol>
  1334. </nav>
  1335. <h2 class=\"mb-5\">Compra</h2>
  1336. <div class=\"row justify-content-between\">
  1337. <div class=\"col-lg-7 col-xl-7\">
  1338. {% if cartOrder.status == 'PAID' %}
  1339. <div class=\"card theme-wizard mb-5\" >
  1340. <div class=\"card-header bg-100 pt-3 pb-2 border-bottom-0\">
  1341. <ul class=\"nav justify-content-between nav-wizard\">
  1342. <li class=\"nav-item\">
  1343. <div class=\"nav-link fw-semi-bold\" >
  1344. <div class=\"text-center d-inline-block\">
  1345. <span class=\"nav-item-circle-parent\">
  1346. <span class=\"nav-item-circle\">
  1347. <span class=\"fas fa-lock\"></span>
  1348. </span>
  1349. </span>
  1350. <span class=\"d-none d-md-block mt-1 fs--1\">Cuenta</span>
  1351. </div>
  1352. </div>
  1353. </li>
  1354. <li class=\"nav-item\">
  1355. <a class=\"nav-link fw-semi-bold\" >
  1356. <div class=\"text-center d-inline-block\">
  1357. <span class=\"nav-item-circle-parent\">
  1358. <span class=\"nav-item-circle\">
  1359. <span class=\"fas fa-wallet\"></span>
  1360. </span>
  1361. </span>
  1362. <span class=\"d-none d-md-block mt-1 fs--1\">Pago</span>
  1363. </div>
  1364. </a>
  1365. </li>
  1366. <li class=\"nav-item\">
  1367. <div class=\"nav-link active fw-semi-bold\" >
  1368. <div class=\"text-center d-inline-block\">
  1369. <span class=\"nav-item-circle-parent\">
  1370. <span class=\"nav-item-circle\">
  1371. <span class=\"fas fa-check\"></span>
  1372. </span>
  1373. </span>
  1374. <span class=\"d-none d-md-block mt-1 fs--1\">Finalizado2</span>
  1375. </div>
  1376. </div>
  1377. </li>
  1378. </ul>
  1379. </div>
  1380. <div class=\"card-body pt-4 pb-0\">
  1381. <div class=\"tab-content\">
  1382. <div class=\"tab-pane active\" role=\"tabpanel\" >
  1383. {{ function.showFlashes() }}
  1384. <div class=\"alert alert-soft-success\" role=\"alert\">Compra finalizada!</div>
  1385. <div class=\"row gx-4 gy-6 g-xl-7 justify-content-sm-center justify-content-xl-start mb-4\">
  1386. <div class=\"col-12 col-sm-6 \">
  1387. <h4 class=\"mb-5\">Cuenta</h4>
  1388. <div class=\"row g-4 flex-sm-column\">
  1389. <div class=\"col-6 col-sm-12\">
  1390. <div class=\"d-flex align-items-center mb-1\">
  1391. <span class=\"me-2\" data-feather=\"user\" style=\"stroke-width:2.5;\"></span>
  1392. <h6 class=\"mb-0\">Nombre</h6>
  1393. </div>
  1394. <div class=\"fs--1 ms-4\">{{ cartOrder.user.fullName }}</div>
  1395. </div>
  1396. <div class=\"col-6 col-sm-12\">
  1397. <div class=\"d-flex align-items-center mb-1\">
  1398. <span class=\"me-2\" data-feather=\"mail\" style=\"stroke-width:2.5;\"></span>
  1399. <h6 class=\"mb-0\">Email</h6>
  1400. </div>
  1401. <div class=\"fs--1 ms-4\">{{ cartOrder.user.email }}</div>
  1402. </div>
  1403. </div>
  1404. </div>
  1405. <div class=\"col-12 col-sm-6 \">
  1406. <h4 class=\"mb-5\">Pago</h4>
  1407. <div class=\"row g-4 flex-sm-column\">
  1408. <div class=\"col-6 col-sm-12\">
  1409. <div class=\"d-flex align-items-center mb-1\">
  1410. <span class=\"me-2\" data-feather=\"file\" style=\"stroke-width:2.5;\"></span>
  1411. <h6 class=\"mb-0\">#Pedido</h6>
  1412. </div>
  1413. <div class=\"fs--1 ms-4\" >{{cartOrder.cartOrderNumber}}</div>
  1414. </div>
  1415. <div class=\"col-6 col-sm-12\">
  1416. <div class=\"d-flex align-items-center mb-1\">
  1417. <span class=\"me-2\" data-feather=\"credit-card\" style=\"stroke-width:2.5;\"></span>
  1418. <h6 class=\"mb-0\">Tipo de pago</h6>
  1419. </div>
  1420. <div class=\"fs--1 ms-4\" >
  1421. {% if cartOrder.cartOrderType == 'ORDER_TYPE_LICENSE' %}
  1422. {% if 'payment_plan' in cartOrder.cartItem(0).meta%}
  1423. Suscripción
  1424. {% if cartOrder.cartItem(0).meta['payment_plan'] == 'LICENSE_PAYMENT_PLAN_ANNUAL' %}
  1425. anual renovable
  1426. {% else %}
  1427. mensual renovable
  1428. {% endif %}
  1429. {% endif %}
  1430. {% elseif cartOrder.totalEuros > 0 and cartOrder.totalWhatercoins == 0 %}
  1431. Tarjeta
  1432. {% if is_granted('IS_AUTHENTICATED_REMEMBERED') and app.user.user.hasRole('ROLE_ADMIN') and cartOrder.stripePaymentIntent.id is defined %}
  1433. (<a href=\"https://dashboard.stripe.com/test/payments/{{cartOrder.stripePaymentIntent.id}}\" target=\"_blank\">Ver detalles en sStripe</a>)
  1434. {% endif %}
  1435. {% elseif cartOrder.totalEuros == 0 and cartOrder.totalWhatercoins > 0 %}
  1436. Whatercoins
  1437. {% elseif cartOrder.totalEuros > 0 and cartOrder.totalWhatercoins > 0 %}
  1438. Tarjeta y Whatercoins
  1439. {% endif %}
  1440. </div>
  1441. </div>
  1442. </div>
  1443. </div>
  1444. </div>
  1445. </div>
  1446. </div>
  1447. </div>
  1448. </div>
  1449. {% elseif is_granted('IS_AUTHENTICATED_REMEMBERED') %}
  1450. {{ function.showFlashes() }}
  1451. {% form_theme appUserConfirmCartOrderForm 'Form/bootstrap_5_layout.html.twig' %}
  1452. {{ form_start(appUserConfirmCartOrderForm, {'attr': {'class': 'needs-validation' , 'id':'complete-cart-order-form', 'method':'POST', 'action': path('web_public_cart_order_checkout', {'cartOrderId': cartOrder.id })}}) }}
  1453. {{ form_errors(appUserConfirmCartOrderForm) }}
  1454. <div class=\"card theme-wizard mb-5\" >
  1455. <div class=\"card-header bg-100 pt-3 pb-2 border-bottom-0\">
  1456. <ul class=\"nav justify-content-between nav-wizard\">
  1457. <li class=\"nav-item\">
  1458. <a class=\"nav-link active fw-semi-bold step-button\" href=\"#\" id=\"wizard-tab-1\" data-step-number=\"1\">
  1459. <div class=\"text-center d-inline-block\">
  1460. <span class=\"nav-item-circle-parent\">
  1461. <span class=\"nav-item-circle\">
  1462. <span class=\"fas fa-lock\"></span>
  1463. </span>
  1464. </span>
  1465. <span class=\"d-none d-md-block mt-1 fs--1\">Cuenta</span>
  1466. </div>
  1467. </a>
  1468. </li>
  1469. <li class=\"nav-item\">
  1470. <a class=\"nav-link fw-semi-bold step-button\" href=\"#\" id=\"wizard-tab-2\" data-step-number=\"2\">
  1471. <div class=\"text-center d-inline-block\">
  1472. <span class=\"nav-item-circle-parent\">
  1473. <span class=\"nav-item-circle\">
  1474. <span class=\"fas fa-file-alt\"></span>
  1475. </span>
  1476. </span>
  1477. <span class=\"d-none d-md-block mt-1 fs--1\">Envio</span>
  1478. </div>
  1479. </a>
  1480. </li>
  1481. <li class=\"nav-item\">
  1482. <a class=\"nav-link fw-semi-bold step-button\" href=\"#\" id=\"wizard-tab-3\" data-step-number=\"2\">
  1483. <div class=\"text-center d-inline-block\">
  1484. <span class=\"nav-item-circle-parent\">
  1485. <span class=\"nav-item-circle\">
  1486. <span class=\"fas fa-wallet\"></span>
  1487. </span>
  1488. </span>
  1489. <span class=\"d-none d-md-block mt-1 fs--1\">Pago</span>
  1490. </div>
  1491. </a>
  1492. </li>
  1493. <li class=\"nav-item\">
  1494. <a class=\"nav-link fw-semi-bold step-button pending-press-pay\" href=\"#\" id=\"wizard-tab-4\" data-step-number=\"3\">
  1495. <div class=\"text-center d-inline-block\">
  1496. <span class=\"nav-item-circle-parent\">
  1497. <span class=\"nav-item-circle\">
  1498. <span class=\"fas fa-check\"></span>
  1499. </span>
  1500. </span>
  1501. <span class=\"d-none d-md-block mt-1 fs--1\">Finalizado</span>
  1502. </div>
  1503. </a>
  1504. </li>
  1505. </ul>
  1506. </div>
  1507. <div class=\"card-body pt-4 pb-0\">
  1508. <div class=\"tab-content\">
  1509. <div class=\"tab-pane active\" role=\"tabpanel\" id=\"wizard-content-1\">
  1510. <div class=\"row g-3 mb-3\">
  1511. <div class=\"col-12\">
  1512. <div class=\"mb-2 mb-sm-0\">
  1513. {{ form_label(appUserConfirmCartOrderForm.firstName, 'cart_order.app.complete_order.fields.first_name', {'label_attr': { 'class': 'form-label text-900'}}) }}
  1514. {{ form_widget(appUserConfirmCartOrderForm.firstName, {'attr': {'class': 'form-control' , 'autocomplete': 'firstName'}}) }}
  1515. {{ form_errors(appUserConfirmCartOrderForm.firstName) }}
  1516. </div>
  1517. </div>
  1518. <div class=\"col-12\">
  1519. <div class=\"mb-2 mb-sm-0\">
  1520. {{ form_label(appUserConfirmCartOrderForm.lastName, 'cart_order.app.complete_order.fields.last_name', {'label_attr': { 'class': 'form-label text-900'}}) }}
  1521. {{ form_widget(appUserConfirmCartOrderForm.lastName, {'attr': {'class': 'form-control' , 'autocomplete': 'lastName'}}) }}
  1522. {{ form_errors(appUserConfirmCartOrderForm.lastName) }}
  1523. </div>
  1524. </div>
  1525. <div class=\"col-12\">
  1526. <div class=\"mb-2 mb-sm-0\">
  1527. {{ form_label(appUserConfirmCartOrderForm.email, 'cart_order.app.complete_order.fields.email', {'label_attr': { 'class': 'form-label text-900'}}) }}
  1528. {{ form_widget(appUserConfirmCartOrderForm.email, {'attr': {'class': 'form-control' , 'autocomplete': 'email'}}) }}
  1529. {{ form_errors(appUserConfirmCartOrderForm.email) }}
  1530. </div>
  1531. </div>
  1532. </div>
  1533. </div>
  1534. <div class=\"tab-pane\" role=\"tabpanel\" id=\"wizard-content-2\">
  1535. <div class=\"row g-3 mb-3\">
  1536. <div class=\"col-12\">
  1537. <div class=\"mb-2 mb-sm-0\">
  1538. {{ form_label(appUserConfirmCartOrderForm.shippingAddress, 'cart_order.app.complete_order.fields.shipping_address', {'label_attr': { 'class': 'form-label text-900'}}) }}
  1539. {{ form_widget(appUserConfirmCartOrderForm.shippingAddress, {'attr': {'class': 'form-control' }}) }}
  1540. {{ form_errors(appUserConfirmCartOrderForm.shippingAddress) }}
  1541. </div>
  1542. </div>
  1543. <div class=\"col-12\">
  1544. <div class=\"mb-2 mb-sm-0\">
  1545. {{ form_label(appUserConfirmCartOrderForm.shippingTown, 'cart_order.app.complete_order.fields.shipping_town', {'label_attr': { 'class': 'form-label text-900'}}) }}
  1546. {{ form_widget(appUserConfirmCartOrderForm.shippingTown, {'attr': {'class': 'form-control'}}) }}
  1547. {{ form_errors(appUserConfirmCartOrderForm.shippingTown) }}
  1548. </div>
  1549. </div>
  1550. <div class=\"col-12 col-md-6\">
  1551. <div class=\"mb-2 mb-sm-0\">
  1552. {{ form_label(appUserConfirmCartOrderForm.shippingPostalCode, 'cart_order.app.complete_order.fields.shipping_postal_code', {'label_attr': { 'class': 'form-label text-900'}}) }}
  1553. {{ form_widget(appUserConfirmCartOrderForm.shippingPostalCode, {'attr': {'class': 'form-control'}}) }}
  1554. {{ form_errors(appUserConfirmCartOrderForm.shippingPostalCode) }}
  1555. </div>
  1556. </div>
  1557. <div class=\"col-12 col-md-6\">
  1558. <div class=\"mb-2 mb-sm-0\">
  1559. {{ form_label(appUserConfirmCartOrderForm.shippingCountry, 'cart_order.app.complete_order.fields.shipping_country', {'label_attr': { 'class': 'form-label text-900'}}) }}
  1560. {{ form_widget(appUserConfirmCartOrderForm.shippingCountry, {'attr': {'class': 'form-control'}}) }}
  1561. {{ form_errors(appUserConfirmCartOrderForm.shippingCountry) }}
  1562. </div>
  1563. </div>
  1564. </div>
  1565. </div>
  1566. <div class=\"tab-pane\" role=\"tabpanel\" id=\"wizard-content-3\">
  1567. {% if cartOrder.totalEuros > 0 %}
  1568. <div class=\"row g-3 mb-3 mt-3\" id=\"stripe-payment-element\" ng-init=\"initCartOrder('{{cartOrder.id}}','{{cartOrder.totalEuros}}','{{cartOrder.shippingItems | json_encode() | url_encode }}','{{stripe_public_key}}','{{stripeIntentClientSecret}}')\">
  1569. <div class=\"col\">
  1570. <div class=\"mb-2 mb-sm-0\">
  1571. <label class=\"form-label text-900 required\" >Tarjeta de credito</label>
  1572. <div id=\"card-element\" class=\"form-control\">
  1573. </div>
  1574. </div>
  1575. </div>
  1576. </div>
  1577. {% else %}
  1578. <div ng-init=\"initCartOrder('{{cartOrder.id}}')\"></div>
  1579. {% endif %}
  1580. {% if cartOrder.totalWhatercoins > 0 %}
  1581. <div class=\"row g-3 mb-3 mt-3\" id=\"stripe-payment-element\">
  1582. <div class=\"col\">
  1583. <div class=\"mb-2 mb-sm-0\">
  1584. <label class=\"form-label text-900 required\" >Whatercoins</label>
  1585. <div class=\"form-check\">
  1586. <input type=\"checkbox\" checked class=\"form-check-input\" id=\"accept-whatercoinf-checkbox\"/>
  1587. <label class=\"form-check-label text-900 required\" >El pago incluye {{ cartOrder.totalWhatercoins }} wc de mi cuenta.</label>
  1588. </div>
  1589. </div>
  1590. </div>
  1591. </div>
  1592. {% endif %}
  1593. </div>
  1594. <div class=\"tab-pane\" role=\"tabpanel\" id=\"wizard-content-4\">
  1595. <div class=\"row flex-center pb-8 pt-4 gx-3 gy-4\">
  1596. <div class=\"col-12 \">
  1597. <div class=\"text-center text-sm-start\">
  1598. <h3 class=\"mb-3 text-center\">Resumen</h3>
  1599. <div class=\"row gx-4 gy-6 g-xl-7 justify-content-sm-center justify-content-xl-start mb-4 pt-3\">
  1600. <div class=\"col-12 col-sm-6 \">
  1601. <h4 class=\"mb-5\">Cuenta</h4>
  1602. <div class=\"row g-4 flex-sm-column\">
  1603. <div class=\"col-12\">
  1604. <div class=\"d-flex align-items-center mb-1\">
  1605. <span class=\"me-2\" data-feather=\"user\" style=\"stroke-width:2.5;\"></span>
  1606. <h6 class=\"mb-0\">Nombre</h6>
  1607. </div>
  1608. <div class=\"fs--1 ms-4\" id=\"resume-order-fullname\">{{ cartOrder.user.fullName }}</div>
  1609. </div>
  1610. <div class=\"col-12\">
  1611. <div class=\"d-flex align-items-center mb-1\">
  1612. <span class=\"me-2\" data-feather=\"mail\" style=\"stroke-width:2.5;\"></span>
  1613. <h6 class=\"mb-0\">Email</h6>
  1614. </div>
  1615. <div class=\"fs--1 ms-4\" id=\"resume-order-email\">{{ cartOrder.user.email }}</div>
  1616. </div>
  1617. </div>
  1618. </div>
  1619. <div class=\"col-12 col-sm-6 \">
  1620. <h4 class=\"mb-5\">Pago</h4>
  1621. <div class=\"row g-4 flex-sm-column\">
  1622. <div class=\"col-12\">
  1623. <div class=\"d-flex align-items-center mb-1\">
  1624. <span class=\"me-2\" data-feather=\"credit-card\" style=\"stroke-width:2.5;\"></span>
  1625. <h6 class=\"mb-0\">Tipo de pago</h6>
  1626. </div>
  1627. {% if cartOrder.cartOrderType == 'ORDER_TYPE_LICENSE' %}
  1628. {% if 'payment_plan' in cartOrder.cartItem(0).meta%}
  1629. Suscripción
  1630. {% if cartOrder.cartItem(0).meta['payment_plan'] == 'LICENSE_PAYMENT_PLAN_ANNUAL' %}
  1631. anual renovable
  1632. {% else %}
  1633. mensual renovable
  1634. {% endif %}
  1635. {% endif %}
  1636. {% elseif cartOrder.totalEuros > 0 and cartOrder.totalWhatercoins == 0 %}
  1637. Tarjeta
  1638. {% if is_granted('IS_AUTHENTICATED_REMEMBERED') and app.user.user.hasRole('ROLE_ADMIN') and cartOrder.stripePaymentIntent.id is defined %}
  1639. (<a href=\"https://dashboard.stripe.com/test/payments/{{cartOrder.stripePaymentIntent.id}}\" target=\"_blank\">Ver detalles en sStripe</a>)
  1640. {% endif %}
  1641. {% elseif cartOrder.totalEuros == 0 and cartOrder.totalWhatercoins > 0 %}
  1642. Whatercoins
  1643. {% elseif cartOrder.totalEuros > 0 and cartOrder.totalWhatercoins > 0 %}
  1644. Tarjeta y Whatercoins
  1645. {% endif %}
  1646. </div>
  1647. <div class=\"col-12\">
  1648. <div class=\"d-flex align-items-center mb-1\">
  1649. <span class=\"me-2\" data-feather=\"file\" style=\"stroke-width:2.5;\"></span>
  1650. <h6 class=\"mb-0\">#Pedido</h6>
  1651. </div>
  1652. <div class=\"fs--1 ms-4\" id=\"resume-order-number\">Pendiente</div>
  1653. </div>
  1654. </div>
  1655. </div>
  1656. <div class=\"col-12\">
  1657. <h4 class=\"mb-5\">Dirección de envío</h4>
  1658. <div class=\"row g-4 flex-sm-column\">
  1659. <div class=\"col-12\">
  1660. <div class=\"d-flex align-items-center mb-1\">
  1661. <span class=\"me-2\" data-feather=\"credit-card\" style=\"stroke-width:2.5;\"></span>
  1662. <h6 class=\"mb-0\">Dirección</h6>
  1663. </div>
  1664. <div class=\"fs--1 ms-4\" id=\"resume-order-shipping-address\"></div>
  1665. </div>
  1666. <div class=\"col-12\">
  1667. <div class=\"d-flex align-items-center mb-1\">
  1668. <span class=\"me-2\" data-feather=\"file\" style=\"stroke-width:2.5;\"></span>
  1669. <h6 class=\"mb-0\">Método de envío</h6>
  1670. </div>
  1671. <div class=\"fs--1 ms-4\" id=\"resume-order-shipping-method\"></div>
  1672. </div>
  1673. </div>
  1674. </div>
  1675. </div>
  1676. <div class=\"col-12\">
  1677. <div class=\"text-center\">
  1678. <div class=\"alert alert-soft-warning\" role=\"alert\" id=\"payment-info-message\">
  1679. Solo queda un paso, pulse el botón para confirmar el pedido.
  1680. </div>
  1681. <button class=\"btn btn-success px-6\" type=\"button\" id=\"payment-button\" ng-click=\"clickPayment()\">
  1682. {% if cartOrder.totalWhatercoins > 0 and cartOrder.totalEuros == 0 %}
  1683. Confirmar pedido por <span id=\"resume-order-price\">{{ cartOrder.totalWhatercoins | number_format(2, ',', '.') }} whatercoins</span>
  1684. {% elseif cartOrder.totalWhatercoins > 0 and cartOrder.totalEuros > 0 %}
  1685. Confirmar pedido por <span id=\"resume-order-price\">{{ cartOrder.totalEuros | number_format(2, ',', '.') }}€ y {{ cartOrder.totalWhatercoins | number_format(2, ',', '.') }} whatercoins</span>
  1686. {% elseif cartOrder.totalEuros > 0 %}
  1687. Confirmar pedido por <span id=\"resume-order-price\">{{ cartOrder.totalEuros | number_format(2, ',', '.') }}€</span>
  1688. {% endif %}
  1689. </button>
  1690. <a href=\"{{ url('web_public_cart_order_details',{'cartOrderId': cartOrder.id})}}\" class=\"btn btn-primary px-6 d-none\" type=\"button\" id=\"go-details-button\" >
  1691. Continuar
  1692. </a>
  1693. <div class=\"mt-3\">
  1694. <span class=\"spinner-border spinner-border-sm d-none\" role=\"status\" aria-hidden=\"true\" id=\"payment-spinner\"></span>
  1695. </div>
  1696. <div class=\"alert alert-soft-danger d-none mt-3\" id=\"payment-error-message\" role=\"alert\"></div>
  1697. </div>
  1698. </div>
  1699. </div>
  1700. </div>
  1701. </div>
  1702. </div>
  1703. </div>
  1704. </div>
  1705. <div class=\"card-footer border-top-0\" >
  1706. <div class=\"d-flex pager wizard list-inline mb-0\">
  1707. <button class=\"d-none btn btn-link ps-0\" type=\"button\" >
  1708. <span class=\"fas fa-chevron-left me-1\" data-fa-transform=\"shrink-3\"></span>
  1709. Previous
  1710. </button>
  1711. <div class=\"flex-1 text-end\">
  1712. <button class=\"btn btn-primary px-6 px-sm-6\"
  1713. type=\"button\" id=\"wizart-next-button\">
  1714. Siguiente
  1715. <span class=\"fas fa-chevron-right ms-1\" data-fa-transform=\"shrink-3\"> </span>
  1716. </button>
  1717. </div>
  1718. </div>
  1719. </div>
  1720. </div>
  1721. {{ form_rest(appUserConfirmCartOrderForm) }}
  1722. {{ form_end(appUserConfirmCartOrderForm) }}
  1723. {% else %}
  1724. <div class=\"card theme-wizard mb-5\" >
  1725. <div class=\"card-header bg-100 pt-3 pb-2 border-bottom-0\">
  1726. <ul class=\"nav justify-content-between nav-wizard\">
  1727. <li class=\"nav-item\">
  1728. <div class=\"nav-link active fw-semi-bold\" >
  1729. <div class=\"text-center d-inline-block\">
  1730. <span class=\"nav-item-circle-parent\">
  1731. <span class=\"nav-item-circle\">
  1732. <span class=\"fas fa-lock\"></span>
  1733. </span>
  1734. </span>
  1735. <span class=\"d-none d-md-block mt-1 fs--1\">Cuenta</span>
  1736. </div>
  1737. </div>
  1738. </li>
  1739. <li class=\"nav-item\">
  1740. <div class=\"nav-link fw-semi-bold\" >
  1741. <div class=\"text-center d-inline-block\">
  1742. <span class=\"nav-item-circle-parent\">
  1743. <span class=\"nav-item-circle\">
  1744. <span class=\"fas fa-file-alt\"></span>
  1745. </span>
  1746. </span>
  1747. <span class=\"d-none d-md-block mt-1 fs--1\">Facturación</span>
  1748. </div>
  1749. </div>
  1750. </li>
  1751. <li class=\"nav-item\">
  1752. <a class=\"nav-link fw-semi-bold\" >
  1753. <div class=\"text-center d-inline-block\">
  1754. <span class=\"nav-item-circle-parent\">
  1755. <span class=\"nav-item-circle\">
  1756. <span class=\"fas fa-wallet\"></span>
  1757. </span>
  1758. </span>
  1759. <span class=\"d-none d-md-block mt-1 fs--1\">Pago</span>
  1760. </div>
  1761. </a>
  1762. </li>
  1763. <li class=\"nav-item\">
  1764. <div class=\"nav-link fw-semi-bold\" >
  1765. <div class=\"text-center d-inline-block\">
  1766. <span class=\"nav-item-circle-parent\">
  1767. <span class=\"nav-item-circle\">
  1768. <span class=\"fas fa-check\"></span>
  1769. </span>
  1770. </span>
  1771. <span class=\"d-none d-md-block mt-1 fs--1\">Finalizado</span>
  1772. </div>
  1773. </div>
  1774. </li>
  1775. </ul>
  1776. </div>
  1777. <div class=\"card-body pt-4 pb-0\">
  1778. <div class=\"tab-content\">
  1779. <div class=\"tab-pane active\" role=\"tabpanel\" >
  1780. {{ function.showFlashes() }}
  1781. <div class=\"fw-bolder mb-3\">Identifícate en whater...</div>
  1782. {% form_theme loginForm 'Form/bootstrap_5_layout.html.twig' %}
  1783. {{ form_start(loginForm, {'attr': {'class': 'needs-validation' }}) }}
  1784. {{ form_errors(loginForm) }}
  1785. <div class=\"row g-3 mb-3\">
  1786. <div class=\"col-sm-6\">
  1787. <div class=\"mb-2 mb-sm-0\">
  1788. {{ form_label(loginForm.username, 'web.security.login.username', {'label_attr': { 'class': 'form-label text-900'}}) }}
  1789. {{ form_widget(loginForm.username, {'attr': {'class': 'form-control' , 'autocomplete': 'username'}}) }}
  1790. </div>
  1791. </div>
  1792. <div class=\"col-sm-6\">
  1793. <div class=\"mb-2\">
  1794. {{ form_label(loginForm.password, 'web.security.login.password', {'label_attr': { 'class': 'form-label text-900'}}) }}
  1795. {{ form_widget(loginForm.password, {'attr': {'class': 'form-control', 'autocomplete': 'current-password' }}) }}
  1796. </div>
  1797. </div>
  1798. <div class=\"row flex-between-center mb-2\">
  1799. <div class=\"col-auto\">
  1800. {{ form_widget(loginForm.remember_me, {'attr': {'class': 'form-check-input' }}) }}
  1801. <label class=\"form-label fs--1 text-none\" for=\"login_remember_me\">{{'web.security.login.rememberme'|trans}}</label>
  1802. </div>
  1803. <div class=\"col-auto\">
  1804. <a class=\"fs--1 fw-semi-bold\" href=\"{{ path('web_forgot_password')}}\">
  1805. ¿Olvidaste la contraseña?
  1806. </a>
  1807. </div>
  1808. </div>
  1809. </div>
  1810. <div class=\"d-flex pager wizard list-inline mb-4\">
  1811. <button class=\"d-none btn btn-link ps-0\" type=\"button\">
  1812. <span class=\"fas fa-chevron-left me-1\" data-fa-transform=\"shrink-3\"></span>
  1813. Previous
  1814. </button>
  1815. <div class=\"flex-1 text-end\">
  1816. <button class=\"btn btn-primary px-6 px-sm-6\" type=\"submit\" >
  1817. Entrar
  1818. </button>
  1819. </div>
  1820. </div>
  1821. {{ form_rest(loginForm) }}
  1822. {{ form_end(loginForm) }}
  1823. </div>
  1824. <hr class=\"solid\"></hr>
  1825. <div class=\"fw-bolder mb-3\">...ó crea una nueva cuenta.</div>
  1826. {% form_theme signupForm 'Form/bootstrap_5_layout.html.twig' %}
  1827. {{ form_start(signupForm, {'attr': {'class': 'needs-validation' }}) }}
  1828. {{ form_errors(signupForm) }}
  1829. <div class=\"row g-3 mb-3\">
  1830. <div class=\"col-sm-6\">
  1831. <div class=\"mb-2 mb-sm-0\">
  1832. {{ form_label(signupForm.firstName, 'web.security.signup.fields.first_name', {'label_attr': { 'class': 'form-label text-900'}}) }}
  1833. {{ form_widget(signupForm.firstName, {'attr': {'class': 'form-control' , 'autocomplete': 'firstName'}}) }}
  1834. {{ form_errors(signupForm.firstName)}}
  1835. </div>
  1836. </div>
  1837. <div class=\"col-sm-6\">
  1838. <div class=\"mb-2 mb-sm-0\">
  1839. {{ form_label(signupForm.lastName, 'web.security.signup.fields.last_name', {'label_attr': { 'class': 'form-label text-900'}}) }}
  1840. {{ form_widget(signupForm.lastName, {'attr': {'class': 'form-control' , 'autocomplete': 'lastName'}}) }}
  1841. {{ form_errors(signupForm.lastName)}}
  1842. </div>
  1843. </div>
  1844. <div class=\"col-sm-6\">
  1845. <div class=\"mb-2 mb-sm-0\">
  1846. {{ form_label(signupForm.email, 'web.security.signup.fields.email', {'label_attr': { 'class': 'form-label text-900'}}) }}
  1847. {{ form_widget(signupForm.email, {'attr': {'class': 'form-control' , 'autocomplete': 'email'}}) }}
  1848. {{ form_errors(signupForm.email)}}
  1849. </div>
  1850. </div>
  1851. <div class=\"col-sm-6\">
  1852. <div class=\"mb-2 mb-sm-0\">
  1853. {{ form_label(signupForm.password, 'web.security.signup.fields.password', {'label_attr': { 'class': 'form-label text-900'}}) }}
  1854. {{ form_widget(signupForm.password, {'attr': {'class': 'form-control' , 'autocomplete': 'password'}}) }}
  1855. {{ form_errors(signupForm.password)}}
  1856. </div>
  1857. </div>
  1858. <div class=\"col-sm-6\" ng-init=\"initSelectCountry()\">
  1859. <label class=\"form-label text-900 required\">País</label>
  1860. <select class=\"form-select country-field\" aria-label=\"Tu país\"
  1861. id=\"select_country\"
  1862. data-country-search-url=\"{{ url('web_api_public_zones_country_list') }}\">
  1863. <option value=\"216abc6f-594d-49ea-8977-8976ca33e92c\" selected=\"selected\">España</option>
  1864. </select>
  1865. </div>
  1866. <div class=\"col-sm-6\" ng-init=\"initSelectTowns()\">
  1867. <div class=\"mb-2 mb-sm-0\" >
  1868. {{ form_label(signupForm.town, 'web.security.signup.fields.town', {'label_attr': { 'class': 'form-label text-900'}}) }}
  1869. {% do signupForm.town.setRendered %}
  1870. <select class=\"form-select clinics-field\" aria-label=\"Tu localidad\"
  1871. id=\"select_town\"
  1872. name=\"{{ signupForm.town.vars.full_name }}\"
  1873. required=\"required\"
  1874. data-town-search-url=\"{{ url('web_api_public_zones_town_list') }}\">
  1875. </select>
  1876. {{ form_errors(signupForm.town) }}
  1877. </div>
  1878. </div>
  1879. {% do signupForm.phone.setRendered %}
  1880. {% do signupForm.publicComments.setRendered %}
  1881. {% do signupForm.selectedTypes.setRendered %}
  1882. <div class=\"form-check mb-3 ms-3\">
  1883. {{ form_errors(signupForm.terms) }}
  1884. <input class=\"form-check-input\" id=\"termsService\" type=\"checkbox\"
  1885. required=\"required\"
  1886. name=\"{{field_name(signupForm.terms)}}\">
  1887. <label class=\"form-label fs--1 text-none\" for=\"termsService\">Acepta nuestros <a href=\"{{path('web_terms')}}\" target=\"_blank\">términos y condiciones</a>.</label>
  1888. </div>
  1889. <div class=\"g-3 mb-3\">
  1890. {{ form_widget(signupForm.recaptcha, {'attr': {'class': 'my-3' }}) }}
  1891. </div>
  1892. </div>
  1893. <div class=\"d-flex pager wizard list-inline mb-4\">
  1894. <button class=\"d-none btn btn-link ps-0\" type=\"button\" >
  1895. <span class=\"fas fa-chevron-left me-1\" data-fa-transform=\"shrink-3\"></span>
  1896. Previous
  1897. </button>
  1898. <div class=\"flex-1 text-end\">
  1899. <button class=\"btn btn-primary px-6 px-sm-6\" type=\"submit\">
  1900. Registrarse
  1901. </button>
  1902. </div>
  1903. </div>
  1904. {{ form_rest(signupForm) }}
  1905. {{ form_end(signupForm) }}
  1906. </div>
  1907. </div>
  1908. </div>
  1909. {% endif %}
  1910. </div>
  1911. <div class=\"col-lg-5 col-xl-5\">
  1912. <div class=\"card mt-3 mt-lg-0\">
  1913. <div class=\"card-body\">
  1914. <div class=\"d-flex align-items-center justify-content-between\">
  1915. <h3 class=\"mb-0\">Pedido</h3>
  1916. </div>
  1917. <div class=\"border-dashed border-bottom mt-4\">
  1918. <div class=\"ms-n2\">
  1919. {% for cartOrderItem in cartOrder.cartOrderItems %}
  1920. <div class=\"row align-items-center mb-2 g-3\">
  1921. <div class=\"col-8 col-md-7 col-lg-8\">
  1922. <div class=\"d-flex align-items-center\">
  1923. <img class=\"me-2 ms-1 img-thumbnail\" src=\"{{ asset('/assets/images/logo_v3.png') | imagine_filter('whaterpoint_simple_logo_40') }}\" width=\"40\" alt=\"\">
  1924. <div class=\"\">
  1925. <div class=\"fs--1 lh-base\">
  1926. <span class=\"fw-semi-bold text-1000\">{{ cartOrderItem.itemDescription }}</span>
  1927. <br/>
  1928. <i>Proveedor: {{ cartOrderItem.product.whaterOrganization.publicName }}</i>
  1929. </div>
  1930. {% if cartOrder.cartOrderType == 'ORDER_TYPE_LICENSE' and 'payment_plan' in cartOrder.cartItem(0).meta %}
  1931. <div class=\"text-muted fs--1\">
  1932. Suscripción
  1933. {% if cartOrder.cartItem(0).meta['payment_plan'] == 'LICENSE_PAYMENT_PLAN_ANNUAL' %}
  1934. anual renovable desde el {{cartOrder.organizationLicense.startDate | date('d-m-Y') }}
  1935. {% else %}
  1936. mensual renovable desde el {{cartOrder.organizationLicense.startDate | date('d-m-Y') }}
  1937. {% endif %}
  1938. </div>
  1939. {% endif %}
  1940. </div>
  1941. </div>
  1942. </div>
  1943. <div class=\"col-1\">
  1944. <h6 class=\"fs--2 mb-0\">
  1945. x{{ cartOrderItem.units }}
  1946. </h6>
  1947. </div>
  1948. <div class=\"col-3 ps-0\">
  1949. <h5 class=\"mb-0 fw-semi-bold text-end\">
  1950. {{ ( cartOrderItem.units * cartOrderItem.pricePerUnit) | number_format(2, ',', '.') }} €
  1951. </h5>
  1952. </div>
  1953. </div>
  1954. {% endfor %}
  1955. </div>
  1956. </div>
  1957. <div class=\"border-dashed border-bottom mt-4\">
  1958. {% if cartOrder.totalWhatercoins > 0 %}
  1959. <div class=\"d-flex justify-content-between mb-2\">
  1960. <h5 class=\"text-900 fw-semi-bold text-success\">Whatercoins: </h5>
  1961. <h5 class=\"text-900 fw-semi-bold text-success\" id=\"summary-whatercoins\" data-summary-whatercoins=\"{{ cartOrder.totalWhatercoins }}\">{{ (cartOrder.totalWhatercoins) | number_format(2, ',', '.') }}</h5>
  1962. </div>
  1963. {% endif %}
  1964. <div class=\"d-flex justify-content-between mb-2\">
  1965. <h5 class=\"text-900 fw-semi-bold\">Gastos de envío: </h5>
  1966. <h5 class=\"text-900 fw-semi-bold\" id=\"summary-shipping-costs\" >-- €</h5>
  1967. </div>
  1968. </div>
  1969. {% set shippingCostTaxes = (cartOrder.totalShippingCost * shipping_taxes_percent / 100 ) |round(2, 'floor') %}
  1970. <div class=\"d-flex justify-content-between border-dashed-y pt-3\">
  1971. <h4 class=\"mb-0\">Total :</h4>
  1972. <h4 class=\"mb-0\" id=\"summary-total\" data-summary-total=\"{{ (cartOrder.totalEuros + cartOrder.totalShippingCost) }}\">{{ (cartOrder.totalEuros + cartOrder.totalShippingCost) | number_format(2, ',', '.') }} €</h4>
  1973. </div>
  1974. </div>
  1975. </div>
  1976. </div>
  1977. </div>
  1978. </div>
  1979. </div>
  1980. </div>
  1981. {% endblock contents %}", "Product/public_cart_order_checkout.html.twig", "/var/www/whater-server-pre/src/UI/WebBundle/Resources/views/Product/public_cart_order_checkout.html.twig");
  1982. }
  1983. }