@extends('layouts.app') @section('title', 'Incident Trend Analysis') @section('content')
Total Incidents
{{ $stats['total_incidents'] }}
Injury/Illness
{{ $stats['injury_illness'] }}
Property Damage
{{ $stats['property_damage'] }}
Near Miss
{{ $stats['near_miss'] }}
| Rank | Root Cause | Occurrences | Percentage |
|---|---|---|---|
| #{{ $index + 1 }} |
{{ Str::limit($rootCause->root_cause, 100) }}
|
{{ $rootCause->count }}
|
|
{{ $stats['open'] }}
Requiring attention
{{ $stats['investigating'] }}
Active investigations
{{ $stats['closed'] }}
Resolved incidents