@extends('layouts.admin') @section('title', 'Menu Items - ' . $category->name) @section('content')

🍽️ {{ $category->name }} Items

Manage menu items for {{ $vendor->vendor_name }}

Back to Menu Manage Categories Add New Item
{{ $category->name }}
@if($category->description)

{{ $category->description }}

@endif
BizSpot Category @if($category->is_active) Active @else Inactive @endif
@if(isset($categoryStats))
Total Items:
{{ $categoryStats['total_items'] }}
Available:
{{ $categoryStats['available_items'] }}
Featured:
{{ $categoryStats['featured_items'] }}
@endif
@if(session('success')) @endif @if(session('error')) @endif
Menu Items in {{ $category->name }}
@if($items->count() > 0) @endif
@if($items->count() > 0)
@foreach($items as $item)
@if($item->main_image) @else
@endif
{{ $item->name }}
@if($item->is_featured) Featured @endif @if(!$item->is_available) Unavailable @endif
{{ $item->formatted_price }} @if($item->preparation_time_display) {{ $item->preparation_time_display }} @endif
@if($item->description)

{{ Str::limit($item->description, 80) }}

@endif @if($item->dietary_badges && is_array($item->dietary_badges) && count($item->dietary_badges) > 0)
@foreach($item->dietary_badges as $badge) {{ $badge['icon'] }} {{ $badge['text'] }} @endforeach
@endif @if($item->allergens)
Allergens: {{ $item->allergens }}
@endif @if($item->variants->count() > 0)
{{ $item->variants->count() }} variant{{ $item->variants->count() > 1 ? 's' : '' }}
@endif
@endforeach
@else
No Items in {{ $category->name }} Yet

Start building your menu by adding items to this category.

Add First Item
@endif
⚡ Quick Actions
@endsection