Inventory Report

Generated on: {{ now()->format('M d, Y h:i A') }}

Total Value

{{ number_format($totalValue ?? 0, 2) }}

@forelse($products as $index => $product) @php $totalValue = $product->stock * $product->purchase_price; $status = 'in_stock'; $statusLabel = 'In Stock'; if ($product->stock == 0) { $status = 'out_of_stock'; $statusLabel = 'Out of Stock'; } elseif ($product->stock <= ($product->alert_quantity ?? 0)) { $status = 'low_stock'; $statusLabel = 'Low Stock'; } @endphp @empty @endforelse @if($products->count() > 0) @endif
# Product Category Stock Unit Price Total Value Status
{{ $index + 1 }} {{ $product->name }} {{ $product->category->name ?? 'N/A' }} {{ $product->stock }} {{ number_format($product->purchase_price, 2) }} {{ number_format($totalValue, 2) }} {{ $statusLabel }}
No inventory data available
Total Value: {{ number_format($totalValue ?? 0, 2) }}