@php $counter = $state['counter'] ?? []; $current = $state['current_ticket'] ?? null; $queues = $state['queues'] ?? []; $waiting = $state['waiting_by_queue'] ?? []; $transferQueues = $state['transfer_queues'] ?? []; @endphp
← Service queues

{{ $counter['name'] ?? 'Counter' }}

{{ $counter['branch'] ?? '' }} · Ladill Queue console

@csrf
@csrf
@if ($current)

Current customer

{{ $current['ticket_number'] }}

{{ $current['queue']['name'] ?? '' }}

{{ $current['customer_name'] ?? 'Walk-in customer' }}

@foreach ([ 'recall' => 'Recall', 'start' => 'Start serving', 'hold' => 'Hold', 'skip' => 'Skip', 'complete' => 'Complete', 'no_show' => 'No show', ] as $action => $label)
@csrf
@endforeach
@if (count($transferQueues) > 1)
@csrf
@endif
@else
No active customer — call the next ticket from a queue below.
@endif
@foreach ($queues as $queue)

{{ $queue['name'] }}

@csrf
    @forelse ($waiting[$queue['uuid']] ?? [] as $ticket)
  • {{ $ticket['ticket_number'] }} {{ $ticket['customer_name'] ?? 'Walk-in' }}
  • @empty
  • Queue is empty
  • @endforelse
@endforeach