Deploy Ladill Care / deploy (push) Successful in 1m40s
Provision one consultation point per doctor (room + identity) and role-based points for pharmacy, lab, billing, and triage. Fixed-doctor appointments and walk-ins issue only to the assigned point; Call next respects that assignment and flags unresolved patients rather than random routing. Co-authored-by: Cursor <cursoragent@cursor.com>
28 lines
1.2 KiB
PHP
28 lines
1.2 KiB
PHP
@php
|
|
$status = $ticketStatus ?? null;
|
|
$number = $ticketNumber ?? null;
|
|
$destination = $destination ?? null;
|
|
$staffDisplayName = $staffDisplayName ?? null;
|
|
@endphp
|
|
@if ($number)
|
|
<span class="mr-2 inline-flex flex-wrap items-center gap-1.5">
|
|
<span class="inline-flex h-7 min-w-[2.5rem] items-center justify-center rounded-md bg-sky-100 px-1.5 font-mono text-xs font-bold text-sky-800">{{ $number }}</span>
|
|
@if ($status)
|
|
<span @class([
|
|
'rounded-full px-2 py-0.5 text-[10px] font-semibold uppercase tracking-wide',
|
|
'bg-amber-100 text-amber-800' => $status === 'waiting',
|
|
'bg-indigo-100 text-indigo-800' => $status === 'called',
|
|
'bg-emerald-100 text-emerald-800' => $status === 'serving',
|
|
'bg-slate-100 text-slate-600' => ! in_array($status, ['waiting', 'called', 'serving'], true),
|
|
])>{{ $status }}</span>
|
|
@endif
|
|
@if ($destination || $staffDisplayName)
|
|
<span class="text-[11px] font-medium text-slate-500">
|
|
@if ($destination){{ $destination }}@endif
|
|
@if ($destination && $staffDisplayName) · @endif
|
|
@if ($staffDisplayName){{ $staffDisplayName }}@endif
|
|
</span>
|
|
@endif
|
|
</span>
|
|
@endif
|