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

Patient portal

Appointments

Book Appointment
@foreach($appointments as $a)

{{ $a->appointment_date->format('j M Y') }} — {{ $a->time_range }}

Dr. {{ $a->doctor->user->name ?? '' }} · {{ $a->status->label() }}

@if($a->isCancellableByPatient())
@csrf @method('PATCH')
@endif
@endforeach
{{ $appointments->links() }}
@endsection