| Patient | Doctor | Date & Time | Duration | Type | Status | Actions |
|---|---|---|---|---|---|---|
|
{{ $appointment->patient_name }}
@if($appointment->isGuest())
Guest
@if($appointment->guest_phone)
{{ $appointment->guest_phone }}
@endif
@elseif($appointment->patient)
{{ $appointment->patient->patient_id }}
@endif
|
{{ ucwords(strtolower($appointment->doctor->name)) }} |
{{ $appointment->appointment_date->format('M d, Y') }}
{{ \Carbon\Carbon::parse($appointment->appointment_time)->format('h:i A') }}
|
{{ $appointment->duration }} min | {{ ucfirst(str_replace('_', ' ', $appointment->type)) }} | {{ ucfirst(str_replace('_', ' ', $appointment->status)) }} |
@if(auth()->user()->isFrontDesk() && $appointment->status === 'scheduled' && !$appointment->checked_in_at)
@endif
|
| No appointments found | ||||||