Incident Report

{{ $incident->reference_number }}

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

Basic Information
Reference Number: {{ $incident->reference_number }}
Title: {{ $incident->title ?? $incident->incident_type }}
Status: {{ ucfirst($incident->status) }}
Severity: {{ ucfirst($incident->severity) }}
Event Type: {{ ucfirst(str_replace('_', ' ', $incident->event_type ?? 'N/A')) }}
Incident Date: {{ $incident->incident_date ? $incident->incident_date->format('F j, Y g:i A') : 'N/A' }}
Location
Location: {{ $incident->location ?? 'N/A' }}
@if($incident->location_specific)
Specific Location: {{ $incident->location_specific }}
@endif
Description

{{ $incident->description ?? 'No description provided.' }}

People Involved
Reported By: {{ $incident->reporter?->name ?? $incident->reporter_name ?? 'N/A' }}
Assigned To: {{ $incident->assignedTo?->name ?? 'N/A' }}
Department: {{ $incident->department?->name ?? 'N/A' }}
Company: {{ $incident->company?->name ?? 'N/A' }}
@if($incident->actions_taken)
Actions Taken

{{ $incident->actions_taken }}

@endif @if($incident->resolution_notes)
Resolution Notes

{{ $incident->resolution_notes }}

@endif @if($incident->investigation)
Investigation
Investigation Status: {{ ucfirst($incident->investigation->status ?? 'N/A') }}
@endif

This report was generated by the HSE Management System

@php $qrData = \App\Services\QRCodeService::forIncident($incident->id, $incident->reference_number); @endphp