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>
25 lines
979 B
PHP
25 lines
979 B
PHP
{{-- Inline Queue ops when Care Queue Engine is enabled. --}}
|
|
@php
|
|
$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" @click.stop>
|
|
@csrf
|
|
@foreach ($callNextParams as $key => $value)
|
|
@if (is_scalar($value))
|
|
<input type="hidden" name="{{ $key }}" value="{{ $value }}">
|
|
@endif
|
|
@endforeach
|
|
@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
|