@extends('layouts.app') @section('title', 'Probation Case Register - ICMIS') @section('content')

Probation Case Register

All work-streams in one place — filter to any case type.
{{-- Per-type overview chips (also act as quick filters) --}}
@foreach($map as $type => $meta) @endforeach
{{-- Filters --}}
Reset
{{-- Register table --}}
Cases {{ $cases->total() }} result(s)
@forelse($cases as $case) @php $rk = $map[$case->case_type][0] ?? 'social-inquiries'; @endphp @empty @endforelse
Serial Type Offender Officer Flags Status
{{ $case->serial_number ?? '#'.$case->id }} {{ $map[$case->case_type][1] ?? ucwords(str_replace('_',' ',$case->case_type)) }} {{ $case->prisoner->name ?? '—' }} {{ $case->officer->name ?? 'Unassigned' }} @if($case->is_child)C@endif @if($case->is_violent_extremist)VE@endif @if($case->is_suspected_violent_extremist)S@endif @if($case->is_child_sexual_offence)CSO@endif @if($case->is_special_needs)SN@endif {{ ucwords(str_replace('_',' ',$case->status)) }} Open
No cases match your filters.
@if($cases->hasPages()) @endif
@endsection