@extends('layouts.app') @section('title', 'Low Stock Alert') @section('content')

Low Stock Alert

Items below reorder point - action required

@if($inventory->count() > 0)

{{ $inventory->total() }} items are below their reorder point. Consider creating purchase orders to replenish stock.

@foreach($inventory as $item) @endforeach
SKU Product Name Current Stock Reorder Point Shortage Location Actions
{{ $item->sku }}
{{ $item->product_name }}
{{ $item->quantity }} {{ $item->reorder_point }} -{{ $item->reorder_point - $item->quantity }} {{ $item->location ?? '-' }} Create PO
{{ $inventory->links() }}
@else

All stock levels are healthy!

No items are currently below their reorder point.

@endif
@endsection