@php $cur = $location->currency; @endphp

Floor

Open a tab on a table, or start a takeaway order.

@csrf
@csrf
@if(session('error'))
{{ session('error') }}
@endif {{-- Open non-dine-in tickets --}} @php $loose = $openTickets->whereNull('table_id'); @endphp @if($loose->isNotEmpty())

Open orders

@endif {{-- Tables --}} @if($tables->isEmpty())

No tables yet.

Add tables in Settings
@else @foreach($tablesByArea as $area => $areaTables)

{{ $area }}

@foreach($areaTables as $table) @php $occupied = ! $table->isFree() && $table->currentSale; @endphp @if($occupied) {{ $table->label }} Occupied {{ $cur }} {{ number_format($table->currentSale->total_minor / 100, 2) }} @else
@csrf
@endif @endforeach
@endforeach @endif