Make cashier billing invoices actionable for walk-up payment.
Deploy Ladill Care / deploy (push) Successful in 1m1s

Clarify booth Call next vs unpaid invoice list, and expose Pay/View row actions so cashiers can open bills when the booth queue is empty.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-18 23:16:49 +00:00
co-authored by Cursor
parent ff316f15c6
commit b84c7e31ba
4 changed files with 75 additions and 18 deletions
@@ -3,6 +3,7 @@
$qi = $queueIntegration ?? null;
$callNextRoute = $queueCallNextRoute ?? null;
$callNextParams = $queueCallNextParams ?? [];
$callNextDescription = $queueCallNextDescription ?? 'Bring the next waiting patient to your desk';
$currentAppointmentId = $currentAppointmentId ?? null;
$variant = $variant ?? 'bar'; // bar | button
@endphp
@@ -24,7 +25,7 @@
<button type="submit" class="group flex w-full items-center justify-between gap-3 rounded-xl bg-indigo-600 px-4 py-3 text-left shadow-sm transition hover:bg-indigo-700">
<span class="min-w-0">
<span class="block text-sm font-semibold text-white">Call next</span>
<span class="mt-0.5 block truncate text-xs text-indigo-100">Bring the next waiting patient to your desk</span>
<span class="mt-0.5 block text-xs text-indigo-100">{{ $callNextDescription }}</span>
</span>
<span class="flex h-9 w-9 shrink-0 items-center justify-center rounded-lg bg-white/15 text-white transition group-hover:bg-white/25">
<svg class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" aria-hidden="true">