Period: {{ ucfirst($period) }}
Date Range: {{ $startDate->format('F j, Y') }} to {{ $endDate->format('F j, Y') }}
Generated on: {{ now()->format('F j, Y g:i A') }}
Total Incidents: {{ $stats['total_incidents'] }}
Open: {{ $stats['open'] }}
Investigating: {{ $stats['investigating'] }}
Closed: {{ $stats['closed'] }}
Critical: {{ $stats['critical'] }}
| Reference | Title | Date | Status | Severity | Event Type | Department |
|---|---|---|---|---|---|---|
| {{ $incident->reference_number }} | {{ $incident->title ?? $incident->incident_type }} | {{ $incident->incident_date->format('Y-m-d') }} | {{ ucfirst($incident->status) }} | {{ ucfirst($incident->severity) }} | {{ ucfirst(str_replace('_', ' ', $incident->event_type ?? 'N/A')) }} | {{ $incident->department?->name ?? 'N/A' }} |