@extends('layouts.doctor')
@section('title', 'My Appointments')
@section('content')
@empty
{{ $a->code }}
{{ $a->appointment_date->format('d M Y') }}
{{ $a->patient->full_name }}
{{ $a->diagnosis?->name ?? $a->reason ?? '—' }}
@if($a->consultation)
Open
@elseif(! in_array($a->status, ['cancelled', 'completed']))
@else — @endif
@endforelse
No appointments.