@lang('menu.itemCategories')
@lang('modules.menu.sortMenuItems')
@if(user_can('Create Item Category'))
@lang('modules.menu.addItemCategory')
@endif
|
@lang('modules.menu.itemCategory')
|
@lang('modules.menu.allMenuItems')
|
@lang('app.action')
|
@forelse ($categories as $item)
|
{{ $item->category_name }}
|
{{ $item->items_count }} @lang('modules.menu.item')
|
@if(user_can('Update Item Category'))
@lang('app.update')
@endif
@if(user_can('Delete Item Category'))
@endif
|
@empty
|
@lang('messages.noItemCategoryAdded')
|
@endforelse
{{ $categories->links() }}
{{ __("modules.menu.itemCategory") }}
@if ($itemCategory)
@livewire('forms.editItemCategory', ['itemCategory' => $itemCategory], key(str()->random(50)))
@endif
{{ __('app.close') }}
{{-- Add Item Category: JS-only modal (no Livewire round-trip on open/close) --}}
@lang('modules.menu.deleteItemCategory')?
@lang('modules.menu.deleteCategoryMessage')
{{ __('app.cancel') }}
@if ($itemCategory)
{{ __('app.delete') }}
@endif