@lang('modules.table.allAreas')

@if(user_can('Create Area'))
@lang('modules.table.addArea')
@endif
@forelse ($areas as $item) @empty @endforelse
@lang('modules.table.areaName') @lang('modules.table.noOfTables') @lang('app.action')
{{ $item->area_name }} {{ $item->tables_count }} @if(user_can('Update Area')) @lang('app.update') @endif @if(user_can('Delete Area')) @endif
@lang('messages.noAreaAdded')
{{ __("modules.table.addArea") }} @livewire('forms.addArea') {{ __('Close') }} @if ($activeArea) {{ __("modules.table.editArea") }} @livewire('forms.editArea', ['activeArea' => $activeArea], key(str()->random(50))) {{ __('Close') }} @lang('modules.table.deleteArea')? @lang('modules.table.deleteAreaMessage') {{ __('Cancel') }} {{ __('Delete') }} @endif