SteelERP
Manufacturing & Trading
Inventory Items List
Generated: {{ now()->format('d M Y, H:i') }}
Total Records: {{ $items->count() }}
@php $fg = $items->where('category', 'finished_good')->count(); $rm = $items->where('category', 'raw_material')->count(); $wip = $items->where('category', 'wip')->count(); $active = $items->where('is_active', true)->count(); $inactive= $items->where('is_active', false)->count(); $grouped = $items->groupBy('category'); $catLabels = ['finished_good' => 'Finished Goods', 'raw_material' => 'Raw Materials', 'wip' => 'Work In Progress']; @endphp
{{ $items->count() }}
Total Items
{{ $fg }}
Finished Goods
{{ $rm }}
Raw Materials
{{ $wip }}
WIP
{{ $inactive }}
Inactive
@foreach($grouped as $category => $catItems) @foreach($catItems as $i => $item) @endforeach @endforeach @if($items->isEmpty()) @endif
Code Item Name Category UOM Min Stock Cost Price Status
{{ $catLabels[$category] ?? ucfirst(str_replace('_', ' ', $category)) }}
{{ $item->item_code }} {{ $item->item_name }} @if($item->category === 'finished_good') Fin. Good @elseif($item->category === 'raw_material') Raw Mat. @else WIP @endif {{ $item->unit_of_measure }} {{ number_format($item->minimum_stock_level, 2) }} {{ number_format($item->cost_price, 4) }} @if($item->is_active) Active @else Inactive @endif
No items found.