| # | Patient Name | Doctor Name | Clinic Name | Appointment Type | Created at | Status | Action | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ ++$key }} | {{ $booked_appointment->patient->name ?? '' }} | {{ $booked_appointment->doctor->name ?? '' }} | {{ $booked_appointment->clinic->name ?? 'N/A' }} | {{ $booked_appointment->appointment_type->display_name ?? '' }} | {{ date_format($booked_appointment->created_at, 'd-m-Y') }} | @if($booked_appointment->appointment_status_code == 1)Pending | @elseif($booked_appointment->appointment_status_code == 2)Accepted | @elseif($booked_appointment->appointment_status_code == 3)Rejected | @elseif($booked_appointment->appointment_status_code == 4)Cancel | @elseif($booked_appointment->appointment_status_code == 5)Completed | @else'' | @endif
@if (!$booked_appointment->trashed())
@else
{{-- restore --}}
{{-- delete permanently --}}
{{-- --}}
@endif
|