@extends('layouts.app') @section('title', 'Prisoner Death') @section('content')
| Prisoner | Date of death | Cause | Certified by | Postmortem | Actions |
|---|---|---|---|---|---|
| {{ optional($r->prisoner)->name ?? '—' }} {{ optional($r->prisoner)->prisoner_number }} |
{{ optional($r->date_of_death)->format('d M Y') }} | {{ $r->cause_of_death ?? '—' }} | {{ $r->certified_by ?? '—' }} | @if($r->postmortem_required)Yes@elseNo@endif | @if(in_array($r->status ?? '', ['Requested','Recorded','Active','Removed','At Facility'])) @endif |
| No records yet. | |||||