@extends('tenant.pos.pos-tabs') @php $activeTab = 'tables-and-sections'; $subTab = 'tables'; @endphp @section('breadcrumb') @include('tenant.layouts.breadcrumb', [ 'items' => [ __('breadcrumb.pos') => '#', __('breadcrumb.tables') => '#', ], ]) @endsection @section('sidebar') @include('tenant.layouts.sidebar', ['activeItem' => 'pos.tables-and-sections']) @endsection @section('content-field')

@lang('pos/tables-and-sections.tables_and_sections')

@can('pos-tables-add') @include('tenant.pos.tables.create') @endcan
@lang('pos/tables/index.tables_list')
@forelse ($tables as $table) @empty @endforelse
# @lang('pos/tables/index.table_name') @lang('pos/tables/index.section') @lang('pos/tables/index.capacity') @lang('pos/tables/index.description') @lang('general.procedures')
{{ $loop->iteration }} {{ $table->name }} {{ $table->section->name }} {{ $table->capacity }} {{ $table->description ?? '---' }} @can('pos-tables-edit')
  • @endcan @can('pos-tables-delete')
  • @csrf @method('delete')
  • @endcan
    @lang('pos/tables/index.no_tables_yet')
    @foreach ($tables as $table) @include('tenant.pos.tables.edit', ['table' => $table, 'sections' => $sections]) @endforeach
    @endsection @push('script') @endpush