Align specialty queue board with hero waiting counts.
Deploy Ladill Care / deploy (push) Successful in 35s

Board lists used type-only departments while KPIs used provisioned department IDs, so Waiting could show N with an empty WAITING column.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-20 18:52:03 +00:00
co-authored by Cursor
parent 9443465c5c
commit 4dd683161a
3 changed files with 87 additions and 5 deletions
@@ -230,9 +230,9 @@
:title="$specialtyLabel.' queue'"
description="Move patients from waiting through called, in care, and done."
:stats="[
['value' => number_format($kpis['waiting'] ?? $queue->count()), 'label' => 'Waiting'],
['value' => number_format($kpis['in_progress'] ?? $inConsultation->count()), 'label' => 'In care'],
['value' => number_format($kpis['completed_today'] ?? 0), 'label' => 'Today'],
['value' => number_format($queue->count()), 'label' => 'Waiting'],
['value' => number_format($inConsultation->count()), 'label' => 'In care'],
['value' => number_format(($done ?? collect())->count()), 'label' => 'Today'],
]">
@if ($canManageQueue ?? false)
<x-slot name="actions">