@if ($canManageQueue) Walk-in @endif

Waiting ({{ $queue->count() }})

@forelse ($queue as $appointment)

@if ($appointment->queue_position) {{ $appointment->queue_position }} @endif {{ $appointment->patient->fullName() }}

{{ $appointment->patient->patient_number }} · {{ $appointment->reason ?? '—' }}

@if ($canConsult)
@csrf
@endif
@empty

No patients waiting.

@endforelse

In consultation ({{ $inConsultation->count() }})

@forelse ($inConsultation as $appointment)

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

{{ $appointment->practitioner?->name ?? 'Unassigned' }}

@if ($appointment->consultation) Open @endif
@empty

No active consultations.

@endforelse