@extends('layouts.sash') @section('title', 'Walk-In Queue') @section('content')
@forelse($walkIns as $wi) @empty @endforelse
Token Customer Branch Preferred Staff Status Actions
{{ $wi->token_no }} {{ $wi->customer?->display_name ?? $wi->customer_name ?? 'Walk-in' }} @if($wi->mobile) {{ $wi->mobile }} @endif {{ $wi->branch?->name ?? '—' }} {{ $wi->preferredStaff?->full_name ?? '—' }} @php $badgeClass = match($wi->status) { 'waiting' => 'badge-warning', 'assigned', 'in_service' => 'badge-info', 'completed', 'converted' => 'badge-success', 'cancelled' => 'badge-muted', default => 'badge-muted', }; @endphp {{ ucfirst(str_replace('_', ' ', $wi->status)) }}
@csrf @method('DELETE')
No walk-ins in the queue.
@if($walkIns->hasPages())
{{ $walkIns->withQueryString()->links() }}
@endif
@endsection