@extends('layouts.adminlte') @section('content')
Patient access

Appointments

Book, confirm, and manage scheduled care visits.

{{ $appointments->count() }} scheduled
@if (session('success'))
{{ session('success') }}
@endif @if (session('appointment_notification'))
SMS notification queued for the patient. Add to Google Calendar
@endif

Book appointment

@csrf
@if ($errors->any())
{{ $errors->first() }}
@endif

Daily schedule

@forelse ($appointments as $appointment) @empty @endforelse
TimePatientServiceProviderStatusAction
{{ $appointment->starts_at->format('H:i') }}to {{ $appointment->ends_at->format('H:i') }} {{ $appointment->patient->first_name }} {{ $appointment->patient->last_name }}{{ $appointment->appointment_number }} {{ $appointment->service }} {{ $appointment->provider?->name ?: 'Any provider' }} {{ ucfirst(str_replace('_', ' ', $appointment->status)) }} @if (in_array($appointment->status, ['booked', 'confirmed'], true))
@csrf @method('PATCH')
Reschedule
@csrf @method('PATCH')
@else No action @endif
No appointments scheduled for this day.

Provider availability

@csrf
@endsection