@extends('admin.layouts.app') @section('content')

Appointment #{{ $appointment->appointment_no ?? $appointment->id }}

Review the linked patient, specialty, doctor, service, and schedule details.

@if (session('success'))
{{ session('success') }}
@endif
Patient
{{ $appointment->patient?->full_name ?? 'N/A' }}
Status
{{ is_object($appointment->status) ? $appointment->status->label() : ucfirst((string) $appointment->status) }}
Specialty
{{ $appointment->specialty?->name ?? $appointment->service?->category?->medicalSpecialty?->name ?? 'N/A' }}
Doctor
{{ $appointment->doctor?->display_name ?? 'N/A' }}
Service
{{ $appointment->service?->name_en ?: ($appointment->service?->name_ar ?? 'N/A') }}
Date
{{ optional($appointment->appointment_date)->format('Y-m-d') ?? 'N/A' }}
Time
{{ $appointment->appointment_time ?? 'N/A' }}
Notes
{{ $appointment->notes ?: 'No notes added.' }}

Booking flow

  1. Select specialty
  2. Select doctor
  3. Select service
  4. Select date/time
  5. Confirm booking
@endsection