@php $status = $employee->job_status ?? 'Probation'; $colors = ['Probation' => 'warning', 'Permanent' => 'success', 'Resigned' => 'danger']; @endphp {{ $status }}