@push('styles') @endpush

Manajemen Antrian - {{ $location->name ?? 'Unknown Location' }}

Kelola antrian {{ $type === 'attraction' ? 'wahana' : 'restoran' }} untuk tanggal yang dipilih

Urutan Prioritas: Fast Pass Called → Fast Pass Waiting → Regular → Served → Cancelled
Total Antrian
{{ count($queues) }}
Menunggu
{{ collect($queues)->where('status', 'waiting')->count() }}
Dipanggil
{{ collect($queues)->where('status', 'called')->count() }}
Selesai
{{ collect($queues)->where('status', 'served')->count() }}
Fast Pass
{{ collect($queues)->where('priority_level', 1)->count() }}

Daftar Antrian

@if(empty($queues))
Tidak ada antrian untuk tanggal ini

Belum ada pengunjung yang membuat antrian.

@else
@foreach($queues as $queue)
{{ $queue['queue_position'] ?? '0' }}
{{ $queue['user']['name'] ?? 'Unknown User' }}
@if(($queue['priority_level'] ?? 2) == 1) Fast Pass @else Regular @endif
Slot: {{ $queue['slot_number'] }} {{ $queue['reservation_time'] ?? 'Tidak ditentukan' }} {{ \Carbon\Carbon::parse($queue['reservation_date'])->format('d M Y') }} @if(($queue['priority_level'] ?? 2) == 1) Prioritas Tinggi @endif
{{ ucfirst($queue['status']) }}
@if($queue['status'] === 'waiting') @endif @if(in_array($queue['status'], ['waiting', 'called'])) @endif
@if(in_array($queue['status'], ['waiting', 'called'])) @endif @endforeach
@endif
@push('scripts') @endpush