@extends($tablet ? 'layouts.table-staff' : 'layouts.dashboard')
@section('title','Tafelsessie - '.$table->name)
@section('page-title',$table->name.' · Sessiebeheer')
@push('styles')@endpush
@section('content')
Tafelbeheer{{ $table->name }}
{{ $restaurant->name }} · Sessies en gastformules
@include('restaurants.settings.messages')
@if($session)
{{ $session->hasExpired() ? 'Verlopen sessie' : 'Actieve sessie' }}
@include('restaurants.tables.session-details',['detail'=>$session])
@if($canClose)@endif
@elseif($canStart)
@endif
@if(!$tablet)
Eerdere sessies
@foreach($history as $detail)
{{ $detail->started_at?->timezone($restaurant->timezone)->format('d/m/Y H:i') }} · {{ $detail->guest_count }} gasten · {{ $detail->status }}
@include('restaurants.tables.session-details')@endforeach {{ $history->links() }}@endif
@endsection