@extends(session('staff_logged_in') ? 'Staff.layout' : 'Admin.layout') @section('content')
| Date | Title | Type | Doctor | Follow Up | Action |
|---|---|---|---|---|---|
| {{ $case->created_at->format('d M Y') }} | {{ $case->title }} | {{ $case->type == 'text' ? 'Text' : 'Handwritten' }} | {{ $case->doctor->doctor_name ?? '-' }} | @if($case->followUps->isNotEmpty()) {{ $case->followUps->first()->follow_up_date ?? '-' }} @else - @endif | |
|
No case notes added yet |
|||||
| Appt ID | Doctor | Department | Date | Time | Visit Type | Status |
|---|---|---|---|---|---|---|
| {{ $apt->appointment_id }} | {{ $apt->doctor->doctor_name ?? '-' }} | {{ $apt->department ?? '-' }} | {{ $apt->appointment_date }} | {{ $apt->appointment_time }} | {{ $apt->visit_type ?? '-' }} | @php $cls = match($apt->status) { 'Confirmed' => 'bg-label-success', 'Cancelled' => 'bg-label-danger', 'Closed' => 'bg-label-info', 'Completed' => 'bg-label-primary', default => 'bg-label-warning' }; @endphp {{ $apt->status }} |
|
No appointments found |
||||||