Modifica Tavolo
Torna alla lista

Modifica: {{ $table->name }}

@csrf @method('PUT')
{{-- Main Form --}}

Informazioni Tavolo

@error('name')

{{ $message }}

@enderror
@error('min_seats')

{{ $message }}

@enderror
@error('max_seats')

{{ $message }}

@enderror
@error('location')

{{ $message }}

@enderror
@error('sort_order')

{{ $message }}

@enderror
@error('notes')

{{ $message }}

@enderror
{{-- Sub-tables info (read-only) --}} @if($table->children->isNotEmpty())

Sub-Tavoli

Questo tavolo è divisibile nei seguenti sub-tavoli:

@foreach($table->children as $child)
{{ $child->name }} {{ $child->seats_label }}
Modifica
@endforeach
@endif
{{-- Sidebar --}}

Opzioni

{{-- Parent Table --}}
@error('parent_id')

{{ $message }}

@enderror
{{-- Combinable --}}
{{-- Info --}}

Info

Stato: {{ $table->is_active ? 'Attivo' : 'Inattivo' }}
Prenotazioni totali: {{ $table->reservations()->count() }}
Creato il: {{ $table->created_at?->format('d/m/Y') ?? 'N/A' }}
{{-- Actions --}}
Annulla