@extends('layouts.app') @section('title', 'Period Incident Report') @section('content')
{{ ucfirst($period) }} Report: {{ $startDate->format('F j, Y') }} to {{ $endDate->format('F j, Y') }}
Total Incidents
{{ $stats['total_incidents'] }}
Open
{{ $stats['open'] }}
Investigating
{{ $stats['investigating'] }}
Closed
{{ $stats['closed'] }}
| 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' }}
|
| No incidents found for the selected period. | ||||||