Improve specialty workspace actions and Call next handoff.
Deploy Ladill Care / deploy (push) Successful in 40s

Move timeline into a workspace tab, surface Complete consultation and Call again in Actions, and make Call next end the current encounter then open the next called patient.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-18 16:12:30 +00:00
co-authored by Cursor
parent 5bdc17777c
commit a00a8249ad
13 changed files with 587 additions and 149 deletions
@@ -5,6 +5,8 @@
$btnPrimary = $btn.' bg-indigo-600 text-white hover:bg-indigo-700';
$btnSecondary = $btn.' border border-slate-200 bg-white text-slate-800 hover:bg-slate-50';
$btnAccent = $btn.' border border-sky-200 bg-sky-50 text-sky-900 hover:bg-sky-100';
$appointment = $consultation->appointment;
$ticketCalled = $appointment && $appointment->queue_ticket_status === 'called';
@endphp
@include('care.partials.queue-ops', [
@@ -12,8 +14,16 @@
'queueCallNextRoute' => 'care.queue.call-next',
'queueCallNextParams' => [],
'branchId' => $queueBranchId ?? null,
'currentAppointmentId' => $appointment?->id,
])
@if ($ticketCalled && $appointment)
<form method="POST" action="{{ route('care.queue.recall', $appointment) }}" class="w-full" @click.stop>
@csrf
<button type="submit" class="{{ $btnAccent }}">Call again</button>
</form>
@endif
@if ($canManage && ! $isCompleted)
<button
type="button"