{{ $stats['total_batches'] ?? 0 }}
Total Batches
{{ number_format($stats['available_quantity'] ?? 0) }}
Available Qty
KES {{ number_format($stats['total_value'] ?? 0, 2) }}
Total Value
{{ $stats['low_stock'] ?? 0 }}
Low Stock Items
Finished Goods Inventory
Manage finished products stock| Product | Batch # | Available | Reserved | Unit Cost | Total Value | Manufacturing | Expiry | Status | Actions | |
|---|---|---|---|---|---|---|---|---|---|---|
|
{{ $item->product->name ?? 'N/A' }}
{{ $item->product->product_code ?? 'N/A' }} |
{{ $item->batch_number }} | {{ number_format($item->quantity_available, 2) }} | {{ number_format($item->quantity_reserved, 2) }} | KES {{ number_format($item->unit_cost, 2) }} | KES {{ number_format($item->quantity_available * $item->unit_cost, 2) }} | {{ $item->manufacturing_date ? $item->manufacturing_date->format('d M Y') : 'N/A' }} | @if($item->expiry_date) @if($item->expiry_date < now()) {{ $item->expiry_date->format('d M Y') }} @elseif($item->expiry_date <= now()->addDays(30)) {{ $item->expiry_date->format('d M Y') }} @else {{ $item->expiry_date->format('d M Y') }} @endif @else N/A @endif | @php $statusClasses = [ 'available' => 'badge-available', 'reserved' => 'badge-reserved', 'damaged' => 'badge-damaged', 'expired' => 'badge-expired' ]; $class = $statusClasses[$item->status] ?? 'badge-available'; @endphp {{ ucfirst($item->status) }} | ||
|
No finished goods inventory found Add First Stock |
||||||||||