Align specialty queue board with hero waiting counts.
Deploy Ladill Care / deploy (push) Successful in 35s
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:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user