Incidents Export Report

Generated on: {{ now()->format('F j, Y g:i A') }}

@foreach($incidents as $incident) @endforeach
Reference Title Event Type Severity Status Department Reported By Assigned To Incident Date Location
{{ $incident->reference_number }} {{ $incident->title ?? $incident->incident_type }} {{ ucfirst(str_replace('_', ' ', $incident->event_type ?? 'N/A')) }} {{ ucfirst($incident->severity ?? 'N/A') }} {{ ucfirst($incident->status ?? 'N/A') }} {{ $incident->department?->name ?? 'N/A' }} {{ $incident->reporter?->name ?? $incident->reporter_name ?? 'N/A' }} {{ $incident->assignedTo?->name ?? 'N/A' }} {{ $incident->incident_date ? $incident->incident_date->format('Y-m-d') : 'N/A' }} {{ $incident->location ?? 'N/A' }}
@php $qrData = \App\Services\QRCodeService::forReport('incidents', $filters ?? []); @endphp