All Appointments
@forelse($appointments as $appointment)
{{ substr($appointment->pat->name ?? 'N/A', 0, 1) }}
{{ $appointment->pat->name ?? 'N/A' }}
Patient Phone: {{ $appointment->pat->phone ?? 'N/A' }}
{{ datetime_fmt($appointment->date_time) }}
Doctor
{{ $appointment->usr?->name ?? '-' }}
Date & Time
{{ datetime_fmt($appointment->date_time) }}
{!! appointment_status($appointment->status) !!}
@if(!empty($appointment->diagnosis))
{{ $appointment->diagnosis }}
@endif @if(!empty($appointment->treatment))
{{ $appointment->treatment }}
@endif
Medical Report
@if($appointment->medicalReport) Completed @else Click to create @endif
@empty
No appointments scheduled
@endforelse