@extends('layouts.app') @section('title', 'Ingredients') @section('content')
Raw ingredients used in recipes — not sold directly. Manage units, cost and stock here; assemble them into recipes from a menu item's Products page.
| Ingredient | Section | Unit | Expiry | Cost / unit | Stock on hand | |
|---|---|---|---|---|---|---|
| {{ $ingredient->name }} | {{ $ingredient->section->name ?? '—' }} | {{ $ingredient->unit->abbreviation ?? '—' }} | {{ number_format($ingredient->cost_price, 2) }} | {{ optional($ingredient->stocks->first()?->expiry_date)->format('d M Y') ?? '—' }} |
@forelse ($ingredient->stocks as $stock)
{{ $stock->store->name }}: {{ number_format($stock->quantity_on_hand, 2) }}
@empty
No stock yet
@endforelse
|
Edit |
| No ingredients yet. | ||||||