@php $statusRows = isset($incidentStatuses) && $incidentStatuses->count() ? $incidentStatuses : collect([new \App\Models\IncidentStatus()]); @endphp
(string) $p->id, 'name' => $p->name]; })->values())'>

Case Status

Record the current status. Status history can be updated progressively over time.

@foreach($statusRows as $i => $incidentStatus)
Status Update {{ $i + 1 }}
@if(in_array((string) $incidentStatus->incident_status, $pendingCaseStatusIds ?? ['1'], true)) @endif
@endforeach