@extends('layouts.app') @section('title', 'Disposal Outcomes - Reports') @section('content')

Disposal Outcomes

Back
{{-- summary --}}
Finalized cases

{{ number_format($total) }}

Not yet finalized

{{ number_format($notFinalized) }}

Converted

{{ number_format($bySource['converted'] ?? 0) }}

from social inquiry
Fines total

KES {{ number_format($fines ?? 0, 0) }}

{{-- by disposal method --}}
By Disposal Method
@php $max = max(1, count($counts) ? max($counts) : 1); @endphp @forelse($labels as $slug => $label) @php $c = $counts[$slug] ?? 0; @endphp @empty @endforelse
Disposal methodCasesShare
{{ $label }} {{ $c }}
No disposals configured.
{{-- source split --}}
Source of Case
Converted from social inquiry{{ $bySource['converted'] ?? 0 }}
Directly captured{{ $bySource['direct'] ?? 0 }}

Shows how many supervision cases originated from a finalized social inquiry versus being registered directly.

@endsection