Files
ladill-care/resources/views/care/partials/queue-ops.blade.php
T
isaaccladandCursor 612e021e85
Deploy Ladill Care / deploy (push) Successful in 41s
Reserve floor queues for clinical staff and deepen specialty forms.
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>
2026-07-18 12:04:05 +00:00

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