{{-- Inline Queue ops when Care↔Queue integration is enabled (not a bolted-on Service counter). --}} @php $qi = $queueIntegration ?? null; $callNextRoute = $queueCallNextRoute ?? null; $callNextParams = $queueCallNextParams ?? []; @endphp @if (! empty($qi['enabled']) && $callNextRoute)

Queue

@if (($qi['routing_mode'] ?? null) === 'shared_pool') Call next takes the next waiting patient in line for this queue (shared pool). @elseif (! empty($queueCallNextScansAllPoints)) Call next picks the next waiting patient across service desks for this specialty at this branch. @else Call next operates on your assigned service point only — tickets routed to other rooms or desks stay there. @endif

@csrf @foreach ($callNextParams as $key => $value) @if (is_scalar($value)) @endif @endforeach @if (! empty($branchId)) @endif
@endif