@extends('layouts.restaurant') @section('content')
Station Menu Catalog {{ $items->total() }} items

Products & Menu

All ({{ $items->total() }}) @foreach($categories as $cat) {{ $cat->name }} @endforeach
@if(request('category')) @endif
@if($search) Clear @endif
@if(session('success'))
{{ session('success') }}
@endif
@forelse($items as $item) @php $stockQty = $stockBalances[$item->id] ?? 0; $margin = $item->base_price > 0 ? round((($item->base_price - ($item->standard_cost ?? 0)) / $item->base_price) * 100) : 0; @endphp @empty @endforelse
Item & Description SKU Category Price (TZS) Unit Cost Stock Status Actions
{{ $item->name }}
{{ $item->description ?? 'No description' }}
{{ $item->sku }} {{ $item->category->name ?? 'Uncategorized' }} {{ number_format($item->base_price, 2) }} {{ number_format($item->standard_cost ?? 0, 2) }} {{ $margin }}% margin @if($stockQty > 15) {{ (int) $stockQty }} IN STOCK @elseif($stockQty > 0) {{ (int) $stockQty }} LOW @else 0 SOLD OUT @endif @if($item->status) Active @else Disabled @endif
@csrf
No menu items cataloged yet.
@if($items->hasPages())
{{ $items->links() }}
@endif

Receive Stock

@csrf

Current Stock:

Add / Configure Product

Searching...
Warning: Items with similar names already exist! Please select one from the list above if it's the same physical item to prevent duplicate stock records.
Configuring Existing Item
Current Stock:
@csrf
Creating a completely new item
Updating existing inventory item

Edit Menu Item

@csrf @method('PUT')
@endsection