@extends('layouts.admin') @section('title', 'Tables') @section('content')

Add Restaurant Table

@if ($staff->isEmpty())
Add an active user with the Staff role before creating a table.
@endif
@csrf
@forelse ($tables as $table) @empty @endforelse
TableCapacityAssigned StaffMobileActiveActions
{{ $table->name }} {{ $table->capacity }} {{ $table->assignedStaff->name }} {{ $table->assignedStaff->phone }} {{ $table->is_active ? 'Yes' : 'No' }}
@csrf @method('DELETE')
No tables added yet.
@endsection