Improve specialty workspace actions and Call next handoff.
Deploy Ladill Care / deploy (push) Successful in 40s
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user