Totaal tafels
{{ $statistics['total'] }}
Beschikbaar
{{ $statistics['available'] }}
Totale capaciteit
{{ $statistics['total_capacity'] }}
Bezet
{{ $statistics['occupied'] }}
@if($tables->isEmpty())
Nog geen tafels
Voeg je eerste tafel toe. Daarna kun je capaciteit, status, QR-toegang en toekomstige tafelsessies beheren.
@else
@foreach($tables as $table)
@php
$displayStatus = $table->active ? $table->status : 'inactive';
$statusLabel = match($displayStatus) {
'available' => 'Beschikbaar',
'occupied' => 'Bezet',
'reserved' => 'Gereserveerd',
'inactive' => 'Inactief',
default => ucfirst($displayStatus),
};
@endphp
Capaciteit
{{ $table->capacity }} personen
Volgorde
{{ $table->sort_order }}
QR-toegang
{{ Str::limit($table->qr_token, 18) }}
@endforeach
Geen tafels gevonden
Pas je zoekterm of statusfilter aan.
@endif
Nieuwe tafel
Tafel toevoegen
Stel de basisgegevens van de tafel in. Alles kan later nog aangepast worden.
Definitief verwijderen
Weet je zeker dat je deze tafel wilt verwijderen?
Deze actie kan niet ongedaan worden gemaakt.
Typ om te bevestigen.
@endsection
@push('scripts')
@endpush