@extends('layouts.app') @section('title', 'Appointment Details') @section('content')

{{ $appointment->patient->full_name ?? '' }}

{{ $appointment->patient->mrn ?? '' }}

@php $sc = ['scheduled'=>'badge-info','checked_in'=>'badge-success','completed'=>'badge-success','no_show'=>'badge-danger','cancelled'=>'badge-gray']; @endphp {{ ucfirst(str_replace('_',' ',$appointment->status)) }}
Date{{ $appointment->appointment_date->format('l, d M Y') }}
Time{{ $appointment->appointment_time ?? 'Any time' }}
Type{{ str_replace('_',' ',$appointment->type) }}
Department{{ $appointment->department->name ?? '-' }}
Clinician{{ $appointment->clinician->name ?? 'Any available' }}
@if($appointment->reason)
Reason{{ $appointment->reason }}
@endif @if($appointment->notes)

Notes

{{ $appointment->notes }}

@endif
@if($appointment->status === 'scheduled')
@csrf
Edit
@csrf @method('DELETE')
@endif Back
@endsection