{{-- Estado actual del DO (seguimiento-imp/{do}, seguimiento-exp/{do}). El componente da el estado y un nombre de color de Tailwind (orange, yellow…); aquí se traduce a hex para x-etiqueta, sin armar clases con variables. Kit ui-ctc. --}} @php $hex = ['orange' => '#f97316', 'yellow' => '#eab308', 'green' => '#22c55e', 'blue' => '#3b82f6', 'cyan' => '#06b6d4', 'purple' => '#a855f7', 'gray' => '#6b7280']; $color = $hex[$statusHoy['colorStatus']] ?? null; @endphp
Estado actual del proceso
@if ($statusHoy['status'] !== '')