@extends('layouts.app') @section('title', 'Department Incident Report') @section('content')

Report Period

{{ ucfirst($period) }} Report: {{ $startDate->format('F j, Y') }} to {{ $endDate->format('F j, Y') }}

Department Incident Statistics

@forelse($departmentStats as $dept) @empty @endforelse
Department Total Incidents Open Investigating Closed Critical Injury/Illness
{{ $dept['name'] }}
{{ $dept['total_incidents'] }}
{{ $dept['open'] }} {{ $dept['investigating'] }} {{ $dept['closed'] }} {{ $dept['critical'] }} {{ $dept['injury'] }}
No incidents found for the selected period.
@endsection