@extends('layouts.admin') @section('title', 'Appointment Details') @section('content')
Scheduled: {{ $appointment->scheduled_at?->format('Y-m-d H:i') }}
Status: {{ $appointment->status }}
Doctor: {{ $appointment->doctor?->name }} ({{ $appointment->doctor?->email }})
Patient: {{ $appointment->patient?->name }} ({{ $appointment->patient?->email }})
Reason: {{ $appointment->reason ?? '-' }}
Doctor Notes: {{ $appointment->doctor_notes ?? '-' }}
@if (!in_array($appointment->status, ['cancelled','completed'], true)) @endif