{{-- Inline Queue ops when Care Queue Engine is enabled. --}} @php $qi = $queueIntegration ?? null; $callNextRoute = $queueCallNextRoute ?? null; $callNextParams = $queueCallNextParams ?? []; $callNextDescription = $queueCallNextDescription ?? 'Bring the next waiting patient to your desk'; $currentAppointmentId = $currentAppointmentId ?? null; $variant = $variant ?? 'bar'; // bar | button @endphp @if (! empty($qi['enabled']) && $callNextRoute)
@csrf @foreach ($callNextParams as $key => $value) @if (is_scalar($value)) @endif @endforeach @if (! empty($branchId)) @endif @if (! empty($currentAppointmentId)) @endif @if ($variant === 'bar') @elseif ($variant === 'muted') @else @endif
@endif