{{-- Search and Reset Section --}}
Search
@lang('app.reset')
is_null($menuId), 'bg-white text-gray-700 hover:bg-gray-100 dark:bg-gray-800 dark:text-gray-200 dark:hover:bg-gray-700' => !is_null($menuId), ])> @lang('app.showAll')
@foreach ($menuList as $index => $item)
$menuId == $item->id, 'bg-white text-gray-700 hover:bg-gray-100 dark:bg-gray-800 dark:text-gray-200 dark:hover:bg-gray-700' => $menuId != $item->id, ])> {{ $item->getTranslation('menu_name', session('locale', app()->getLocale())) }}
@endforeach
{{-- Categories Section --}}
is_null($filterCategories), 'bg-white text-gray-700 hover:bg-gray-100 dark:bg-gray-800 dark:text-gray-200 dark:hover:bg-gray-700' => !is_null($filterCategories), ])> @lang('app.showAll')
@foreach ($categoryList as $value)
$filterCategories == $value->id, 'bg-white text-gray-700 hover:bg-gray-100 dark:bg-gray-800 dark:text-gray-200 dark:hover:bg-gray-700' => $filterCategories != $value->id, ])> {{ $value->category_name }}
@endforeach
{{-- Menu Items Grid --}}
@forelse ($menuItems as $item)
!$item->in_stock, "bg-white dark:bg-gray-900" => $item->in_stock, ]) tabindex="0" > {{-- Loading Overlay --}}
{{-- Image Section --}} @if (restaurant() && !restaurant()->hide_menu_item_image_on_pos)
@endif {{-- Content Section --}}
{{ $item->item_name }}
@if (!$item->in_stock)
Out of stock
@else
@if ($item->variations_count == 0)
{{ currency_format($item->price, restaurant()->currency_id) }}
@else
@lang('modules.menu.showVariations')
@endif
@endif
@empty
@lang('messages.noItemAdded')
@endforelse