@if(($categories ?? collect())->isEmpty())

No menu items to display

This can happen if the connection to the kitchen database is offline. Please try again in a moment.

@endif @foreach($categories as $category)

{{ $category->name }}

@if($category->dishes->count())
@foreach($category->dishes as $dish) @php $out = \Illuminate\Support\Facades\Schema::hasColumn('dishes','stock') && isset($dish->stock) ? ((int)$dish->stock <= 0) : false; @endphp
@php $public = $dish->public_image_url; $src = $public ?: asset('assets/placeholders/dish-placeholder.svg'); $base = $dish->image_base; $manifestEntry = $base ? App\Support\ImageManifest::find('dish', $base) : null; @endphp @if($base && $manifestEntry) @else {{ $dish->name }} @endif
@if($out)
Out of Stock
@endif

{{ $dish->name }}

@if($dish->description)

{{ $dish->description }}

@endif

₦{{ number_format((float)$dish->price, 2) }}

@csrf
@endforeach
@else

No dishes in this category yet.

@endif
@endforeach