@extends('layouts.app') @section('title', 'Visitation') @section('content')
| Prisoner | Date | Type | Visitor | Relationship | Overstay | Actions |
|---|---|---|---|---|---|---|
|
{{ optional($r->prisoner)->name ?? '—' }}
{{ optional($r->prisoner)->prisoner_number }} |
{{ optional($r->visit_date)->format('d M Y') }} | {{ $r->visit_type ?? '—' }} | {{ $r->visitor_name }} | {{ $r->visitor_relationship ?? '—' }} | @if($r->overstay) Yes @else No @endif | @if(in_array($r->status ?? '', ['Requested', 'Recorded', 'Active', 'Removed', 'At Facility'])) @endif |
| No records yet. | ||||||