@php $cls = ['planned' => 'bg-orange-100 text-orange-800', 'on_the_way' => 'bg-blue-100 text-blue-800', 'done' => 'bg-green-100 text-green-800', 'cancelled' => 'bg-gray-200 text-gray-600'][$status] ?? 'bg-gray-100 text-gray-700'; @endphp {{ \App\Models\DriverTask::STATUSES[$status] ?? $status }}