@extends('adminlte::page') @section('title', 'Case Statistics') @section('content_header')

Case Statistics Dashboard

@stop @section('content')

{{ $totalCases }}

Total Cases

View All Cases

{{ $openCases }}

Open Cases

View Open Cases

{{ $closedCases }}

Closed Cases

View Closed Cases

{{ $criticalPriorityCases }}

Critical Priority Cases

View Critical Cases

Cases by Status

Cases by Priority

Cases Trend (Last 12 Months)

Case Status Breakdown

@php $statusLabels = [ 'open' => 'Open', 'under_investigation' => 'Under Investigation', 'pending_review' => 'Pending Review', 'closed' => 'Closed', 'reopened' => 'Reopened', 'archived' => 'Archived', ]; @endphp @foreach($casesByStatus as $status => $count) @endforeach
Status Count Percentage
{{ $statusLabels[$status] ?? ucfirst($status) }} {{ $count }} {{ number_format(($count / $totalCases) * 100, 1) }}%
@stop @section('css') @stop @section('js') @stop