From 769ac971e3ecc0c53a485c83c8493cc6fb6489ce Mon Sep 17 00:00:00 2001 From: marsalva Date: Sun, 29 Mar 2026 09:12:57 +0000 Subject: [PATCH] Actualizar index2.html --- index2.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/index2.html b/index2.html index 246c40b..6c306e0 100644 --- a/index2.html +++ b/index2.html @@ -197,12 +197,11 @@ const servicesList = data.services || []; - currentQuotes = data.quotes || [ - { id: 101, ref: 'PRE-2026-089', title: 'Cambio de tuberĂ­a principal y alicatado', amount: '345.50', date: '28/03/2026' } - ]; + // 🛑 FIX: Usamos Ășnica y exclusivamente los presupuestos reales de tu BBDD + currentQuotes = data.quotes || []; renderPortal(data.client, data.company, servicesList); - renderQuotes(); + // (renderQuotes ya se llama dentro de renderPortal, lo borramos de aquĂ­ para no duplicar) // Si viene un service en la URL, podrĂ­amos hacer scroll hacia Ă©l aquĂ­ if (serviceParam) {