@extends('layouts.print') @section('title', 'Inventory Report') @section('subtitle', 'Ingredient Inventory Report') @section('content')
| Category | Ingredient | Purchased | Used | Available | Total Price | Status |
|---|---|---|---|---|---|---|
| {{ $i->category->name ?? '—' }} | {{ $i->name }} | {{ \App\Models\Ingredient::formatGrams($i->purchased_grams) }} | {{ \App\Models\Ingredient::formatGrams($i->used_grams) }} | {{ \App\Models\Ingredient::formatGrams($i->available_quantity_grams) }} | {{ number_format($i->purchased_value, 2) }} | {{ $i->isOutOfStock() ? 'Out' : ($i->isLowStock() ? 'Low' : 'OK') }} |
| No ingredients. | ||||||
| Supplier | Total Quantity | Total Value |
|---|---|---|
| {{ $s->supplier_name }} | {{ \App\Models\Ingredient::formatGrams($s->grams) }} | {{ number_format($s->value, 2) }} |
| No supplier entries. | ||