@extends('layouts.app') @section('title', 'Completions & Certificates - Reports') @section('content') @php $modes = config('probation.completion_modes'); $types = config('probation.case_types'); @endphp
| Completed | Case | Name | Module | Officer | Nature of Completion | Certificate No. | |
|---|---|---|---|---|---|---|---|
| {{ optional($c->completed_on)->format('d M Y') ?? '—' }} | {{ $cc->serial_number ?? '#'.$c->case_id }} | @if($url){{ $cc->prisoner->name ?? '—' }}@else — @endif | {{ $cc ? ($types[$cc->case_type] ?? $cc->case_type) : '—' }} | {{ $cc->officer->name ?? '—' }} | {{ $modes[$c->norm_mode] ?? ucfirst($c->mode ?? '—') }} | {{ $c->certificate_no ?? '—' }} | @if($c->certificate_no) Certificate @endif |
| No completed cases{{ ($mode ?? null) ? ' in this category' : '' }} yet. | |||||||