@extends('layouts.app') @section('title', 'Breach & Warrant Report - Reports') @section('content')

Breach & Warrant Report

Back
Reported Breaches of Order {{ $breaches->count() }} total
@forelse($breaches as $b) @php $bc = $b->case; @endphp @empty @endforelse
Reported Name of Probationer Case File No. PO / CSO Serial No. Officer Description Action Triggered Date Warrant Applied Warrant of Arrest
{{ optional($b->reported_on)->format('d M Y') ?? '—' }} @if($bc){{ $bc->prisoner->name ?? '—' }}@else — @endif {{ optional($bc)->crc_number ?? optional($bc)->court_case_number ?? '—' }} {{ $bc->serial_number ?? '#'.$b->case_id }}
{{ $bc ? \App\Models\ProbationCase::labelForType($bc->case_type) : '' }}
{{ $bc->officer->name ?? 'Unassigned' }} {{ \Illuminate\Support\Str::limit($b->description, 80) }} @php $a = strtolower($b->action ?? ''); @endphp @if(str_contains($a,'warrant')) Warrant of Arrest @elseif(str_contains($a,'discharge')) Discharge of Order @else {{ $b->action ? ucwords(str_replace('_',' ',$b->action)) : 'Under review' }} @endif {{ optional($b->warrant_applied_on)->format('d M Y') ?? '—' }} @if($b->warrant_file_path) Scanned copy@else — @endif
No breaches recorded. Good compliance.
@endsection