@extends('layouts.app') @section('title', 'Ingredients') @section('content')

Ingredients

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.

Add ingredient
@forelse ($ingredients as $ingredient) @empty @endforelse
IngredientSectionUnitExpiryCost / unitStock 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
@csrf @method('DELETE')
No ingredients yet.
{{ $ingredients->links() }}
@endsection