- Urgencias a 0€ y revisión anual. Descubre los planes.
+
+
+
+
+
+
+
+
+
+
+ ** ¡NO ESPERES A UNA AVERÍA! ÚNETE AL PLAN TRANQUILIDAD HOY
+
+
+
+ Olvídate de facturas sorpresa. Cobertura de URGENCIAS y REVISIÓN ANUAL incluida.
-
-
-
+
+
-
+ ```
-
+Y ya lo tienes. Cuando el cliente pulse en cualquier parte de ese banner negro, le llevará mágicamente a `plan-tranquilidad.html` con su token de seguridad arrastrado automáticamente para que pueda firmar y pagar.
+
@@ -370,18 +379,9 @@
if (!data.ok) throw new Error("Token inválido");
const servicesList = data.services || [];
+
currentQuotes = data.quotes || [];
- // 🛑 LÓGICA DEL BANNER: Si NO tiene suscripción activa, se lo enseñamos
- const promoBanner = document.getElementById('promo-banner');
- if (promoBanner) {
- if (data.subscription) {
- promoBanner.classList.add('hidden'); // Ya tiene el plan, lo ocultamos
- } else {
- promoBanner.classList.remove('hidden'); // No tiene el plan, lo mostramos
- }
- }
-
renderPortal(data.client, data.company, servicesList);
renderQuotes();