From 6437cf7e71cde08d2624040153f9e23f3e7c4142 Mon Sep 17 00:00:00 2001 From: marsalva Date: Sun, 22 Mar 2026 14:21:08 +0000 Subject: [PATCH] Actualizar proveedores.html --- proveedores.html | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/proveedores.html b/proveedores.html index c76eca8..5feda8e 100644 --- a/proveedores.html +++ b/proveedores.html @@ -120,6 +120,7 @@
REF: -- -- +
@@ -721,18 +722,22 @@ document.getElementById('modalCompanyLogo').innerHTML = ``; document.getElementById('displayRef').innerText = `REF: ${svc.service_ref}`; - // šŸ›‘ AQUƍ INYECTAMOS EL ESTADO EN EL MODAL Y LOS ICONOS DE ALERTA + // šŸ›‘ AQUƍ INYECTAMOS EL ESTADO EN EL MODAL Y LOS ICONOS DE ALERTA SEPARADOS const hasLock = raw.has_lock === true || String(raw.has_lock) === 'true'; const hasEyes = raw.has_eyes === true || String(raw.has_eyes) === 'true'; let modalAlerts = ''; - if (hasLock) modalAlerts += ``; - if (hasEyes) modalAlerts += ``; + if (hasLock) modalAlerts += ``; + if (hasEyes) modalAlerts += ``; const estadoCia = raw['ACTUALMENTE EN'] || raw['Estado'] || raw['ESTADO'] || ""; if (estadoCia) { - document.getElementById('displayCompany').innerHTML = `${companyName} ${estadoCia}${modalAlerts}`; + document.getElementById('displayCompany').innerHTML = `${companyName} ${estadoCia}`; } else { - document.getElementById('displayCompany').innerHTML = `${companyName}${modalAlerts}`; + document.getElementById('displayCompany').innerHTML = companyName; + } + + if (document.getElementById('modalAlertsContainer')) { + document.getElementById('modalAlertsContainer').innerHTML = modalAlerts; } if (isArchived) {