Deploy Ladill Care / deploy (push) Successful in 41s
Hospital admins no longer see specialty/queue floor nav; Call next is a full-width button; specialty encounters open module-specific clinical forms instead of the general consultation page. Co-authored-by: Cursor <cursoragent@cursor.com>
21 lines
772 B
PHP
21 lines
772 B
PHP
{{-- Inline Queue ops when Care Queue Engine is enabled. --}}
|
|
@php
|
|
$qi = $queueIntegration ?? null;
|
|
$callNextRoute = $queueCallNextRoute ?? null;
|
|
$callNextParams = $queueCallNextParams ?? [];
|
|
@endphp
|
|
@if (! empty($qi['enabled']) && $callNextRoute)
|
|
<form method="POST" action="{{ route($callNextRoute, $callNextParams) }}" class="w-full">
|
|
@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
|
|
<button type="submit" class="btn-primary flex w-full items-center justify-center text-sm">Call next</button>
|
|
</form>
|
|
@endif
|