@extends('layouts.app') @section('title', 'Appointment Details') @section('page-title', 'Appointment Details') @section('content')
{{ $appointment->status }}

Serial #{{ $appointment->serial_number }}

@if ($appointment->status === 'pending')
@csrf
@endif
Patient
{{ $appointment->patient->name }}
Doctor
Dr. {{ $appointment->doctor->user->name }}
Department
{{ $appointment->doctor->department->name }}
Date & Time
{{ $appointment->appointment_date->format('d M Y, h:i A') }}
Payment Status
{{ $appointment->payment_status }}
@if ($appointment->notes)
Notes
{{ $appointment->notes }}
@endif
@if ($appointment->status !== 'cancelled' && $appointment->status !== 'completed')
@csrf @method('DELETE')
@endif
@endsection