@extends('layouts.app') @section('title', 'Table Management - Tiqkets') @section('page-title', 'Table Management') @section('header-action')
@if (auth()->user()->role != 4) @endif
@endsection @section('content') @if (session('success')) @endif @if (session('error')) @endif
@forelse ($tables as $table) @empty @endforelse
Table ID Name Description Min Max
{{ $table->table_code }} {{ $table->table_name }} {{ $table->description ?? '-' }} {{ $table->min_capacity }} {{ $table->max_capacity }}
No Tables Found

Start by adding your first table to manage your restaurant layout.

{{-- ================== PAGINATION WRAPPER ================== --}} @if ($tables->total() > 0)
{{-- 🔹 SHOW ENTRIES (ALWAYS) --}}
Showing {{ $tables->firstItem() ?? 0 }} to {{ $tables->lastItem() ?? $tables->count() }} of {{ $tables->total() }} entries
{{-- 🔹 PAGINATION CONTROLS (ONLY IF MORE THAN ONE PAGE) --}} @if ($tables->hasPages()) @else {{-- layout balance --}} @endif {{-- 🔹 PER PAGE (ALWAYS) --}}
@endif
Advanced Seating Mode is Enabled

Your branch is currently operating in Advanced Mode with Table layout management. Please contact your Restaurant Administrator to switch to Simple Seating Mode for this branch.

@endsection @push('styles') @endpush @push('scripts') @endpush