Deploy Ladill Care / deploy (push) Successful in 36s
Specialty homes now use the shared Waiting/In care board with Call next, Start routes specialty tickets into specialty workspaces, and redundant Dentistry/Specialty module chrome is removed. Co-authored-by: Cursor <cursoragent@cursor.com>
37 lines
1.7 KiB
PHP
37 lines
1.7 KiB
PHP
<x-app-layout title="Queue">
|
|
<div class="space-y-6">
|
|
<x-care.page-hero
|
|
badge="Waiting room · Consultations · Walk-ins"
|
|
title="Patient queue"
|
|
description="See who is waiting, start consultations, and keep patient flow moving across your branch."
|
|
:stats="[
|
|
['value' => number_format($heroStats['waiting']), 'label' => 'Waiting'],
|
|
['value' => number_format($heroStats['in_consultation']), 'label' => 'In consultation'],
|
|
['value' => number_format($heroStats['today']), 'label' => 'Today'],
|
|
]">
|
|
@if ($canManageQueue)
|
|
<x-slot name="actions">
|
|
<a href="{{ route('care.appointments.walk-in.create') }}" class="btn-primary">Walk-in</a>
|
|
</x-slot>
|
|
@endif
|
|
</x-care.page-hero>
|
|
|
|
@include('care.partials.queue-board', [
|
|
'queue' => $queue,
|
|
'inConsultation' => $inConsultation,
|
|
'queueIntegration' => $queueIntegration ?? null,
|
|
'branchId' => $branchId,
|
|
'canConsult' => $canConsult,
|
|
'lockToPractitioner' => $lockToPractitioner ?? false,
|
|
'canSwitchBranch' => $canSwitchBranch ?? false,
|
|
'branches' => $branches ?? collect(),
|
|
'practitioners' => $practitioners ?? collect(),
|
|
'practitionerId' => $practitionerId ?? null,
|
|
'queueCallNextRoute' => 'care.queue.call-next',
|
|
'queueCallNextParams' => array_filter(['practitioner_id' => $practitionerId]),
|
|
'startRouteName' => 'care.queue.start',
|
|
'inCareLabel' => 'In consultation',
|
|
])
|
|
</div>
|
|
</x-app-layout>
|