@extends('layouts.app') @section('content')
Low Stock Report
Items whose current stock is below or equal to the product alert quantity.
Inventory
Reset
@forelse($products as $product) @php($shortage = max((float) $product->alert_quantity - (float) $product->stock_quantity, 0)) @php($buyingValue = (float) $product->stock_quantity * (float) $product->buying_price) @empty @endforelse
Barcode Product Category Branch Current Stock Alert Quantity Shortage Unit Buying Price Selling Price Stock Buying Value
{{ $product->barcode ?: '-' }} {{ $product->name }} {{ $product->category?->name ?: '-' }} {{ $product->branch?->name ?: 'Unassigned' }} {{ number_format($product->stock_quantity, 2) }} {{ number_format($product->alert_quantity, 2) }} {{ number_format($shortage, 2) }} {{ $product->unitOfMeasure?->name ?: '-' }} {{ \App\Models\SystemSetting::formatMoney($product->buying_price) }} {{ \App\Models\SystemSetting::formatMoney($product->retail_price) }} {{ \App\Models\SystemSetting::formatMoney($buyingValue) }}
No low stock products found.
Totals {{ number_format($summary->current_stock, 2) }} {{ number_format($summary->required_stock, 2) }} {{ number_format($summary->shortage, 2) }} {{ \App\Models\SystemSetting::formatMoney($summary->buying_value) }}
{{ $products->links('vendor.pagination.jevapos') }}
@endsection