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
@@ -3,9 +3,10 @@
$qi = $queueIntegration ?? null;
$callNextRoute = $queueCallNextRoute ?? null;
$callNextParams = $queueCallNextParams ?? [];
$currentAppointmentId = $currentAppointmentId ?? null;
@endphp
@if (! empty($qi['enabled']) && $callNextRoute)
<form method="POST" action="{{ route($callNextRoute, $callNextParams) }}" class="w-full">
<form method="POST" action="{{ route($callNextRoute, $callNextParams) }}" class="w-full" @click.stop>
@csrf
@foreach ($callNextParams as $key => $value)
@if (is_scalar($value))
@@ -15,6 +16,9 @@
@if (! empty($branchId))
<input type="hidden" name="branch_id" value="{{ $branchId }}">
@endif
@if (! empty($currentAppointmentId))
<input type="hidden" name="appointment_id" value="{{ $currentAppointmentId }}">
@endif
<button type="submit" class="btn-primary flex w-full items-center justify-center text-sm">Call next</button>
</form>
@endif