@php $canManageAppointments = app(\App\Services\Care\CarePermissions::class)->can( auth()->user() ? app(\App\Services\Care\OrganizationResolver::class)->memberFor(auth()->user(), $organization) : null, 'appointments.manage' ); @endphp
@if ($canManageAppointments) Walk-in Book appointment @endif
@unless ($lockToPractitioner ?? false) @endunless @if (request()->hasAny(['date', 'status', 'practitioner_id'])) Clear @endif
@forelse ($appointments as $appointment) @empty @endforelse
Patient Scheduled Practitioner Type Status

{{ $appointment->patient->fullName() }}

{{ $appointment->patient->patient_number }}

{{ $appointment->scheduled_at?->format('d M Y H:i') ?? '—' }} {{ $appointment->practitioner?->name ?? '—' }} {{ str_replace('_', ' ', $appointment->type) }} {{ $statuses[$appointment->status] ?? $appointment->status }} View
No appointments found.
{{ $appointments->links() }}