From 709bf86e1e870c5d1da14cf54dcbf1eba7a6839c Mon Sep 17 00:00:00 2001 From: marsalva Date: Wed, 25 Feb 2026 22:17:45 +0000 Subject: [PATCH] =?UTF-8?q?Actualizar=20index.html=C3=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html => index.htmlç | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-) rename index.html => index.htmlç (98%) diff --git a/index.html b/index.htmlç similarity index 98% rename from index.html rename to index.htmlç index cb92175..c0a72e8 100644 --- a/index.html +++ b/index.htmlç @@ -163,11 +163,9 @@ `; } else if (srv.status_name === 'Técnico de Camino') { - // Preparamos la dirección para calcular la ETA const fullAddr = `${raw["Dirección"] || ""}, ${raw["Código Postal"] || ""} ${raw["Población"] || ""}`; etasToInit.push({ id: srv.id, address: fullAddr }); - // ESTRUCTURA BASE DE LA BARRA DE PROGRESO (SE LLENA CON JS) statusHtml = `
@@ -194,6 +192,19 @@
`; } + else if (srv.status_name === 'En Incidencia' || (srv.status_name || '').toLowerCase().includes('incidencia')) { + // AQUÍ ESTÁ EL BLOQUE DE INCIDENCIA AÑADIDO + statusHtml = ` +
+
+ +
+
+

En Incidencia

+

Ha surgido un contratiempo técnico. Estamos gestionándolo para solucionarlo lo antes posible.

+
+
`; + } else if (srv.status_name === 'Visita Agendada' || (srv.scheduled_date && srv.scheduled_time)) { const endT = addOneHour(srv.scheduled_time); statusHtml = ` @@ -206,20 +217,6 @@ `; } - - else if (srv.status_name === 'En Incidencia' || srv.status_name.toLowerCase().includes('incidencia')) { - statusHtml = ` -
-
- -
-
-

En Incidencia

-

Ha surgido un contratiempo técnico. Estamos gestionándolo para solucionarlo lo antes posible.

-
-
`; - } - else { statusHtml = `