Actualizar servicios.html
This commit is contained in:
@@ -785,6 +785,8 @@
|
|||||||
if(stateInfo.name.toLowerCase().includes('camino')) iconEstado = 'car';
|
if(stateInfo.name.toLowerCase().includes('camino')) iconEstado = 'car';
|
||||||
if(stateInfo.name.toLowerCase().includes('reparaci') || stateInfo.name.toLowerCase().includes('trabaja')) iconEstado = 'wrench';
|
if(stateInfo.name.toLowerCase().includes('reparaci') || stateInfo.name.toLowerCase().includes('trabaja')) iconEstado = 'wrench';
|
||||||
if(stateInfo.name.toLowerCase().includes('incidencia') || stateInfo.name.toLowerCase().includes('pausa')) iconEstado = 'alert-triangle';
|
if(stateInfo.name.toLowerCase().includes('incidencia') || stateInfo.name.toLowerCase().includes('pausa')) iconEstado = 'alert-triangle';
|
||||||
|
// 🛑 NUEVA REGLA: Icono de "Edificio" para el estado de Compañía/Perito
|
||||||
|
if(stateInfo.name.toLowerCase().includes('compañía') || stateInfo.name.toLowerCase().includes('perito')) iconEstado = 'building';
|
||||||
|
|
||||||
const inProgressBadge = s.automation_status === 'in_progress' ? `<span class="absolute -top-3 -right-3 bg-amber-400 text-white px-3 py-1 rounded-full text-[10px] font-black uppercase shadow-lg border-2 border-white flex items-center gap-1 animate-pulse z-20"><i data-lucide="bot" class="w-3 h-3"></i> En Bolsa</span>` : '';
|
const inProgressBadge = s.automation_status === 'in_progress' ? `<span class="absolute -top-3 -right-3 bg-amber-400 text-white px-3 py-1 rounded-full text-[10px] font-black uppercase shadow-lg border-2 border-white flex items-center gap-1 animate-pulse z-20"><i data-lucide="bot" class="w-3 h-3"></i> En Bolsa</span>` : '';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user