@extends('layouts.app') @section('title', 'Inventory') @section('content')

Inventory

Current stock levels for all products

@if($lowStockCount > 0) Low Stock ({{ $lowStockCount }}) @endif Movements

Tip: Click the icon next to reorder points to adjust them. Set higher reorder points for fast-moving products and lower for slow-moving items.

@if($search) Clear @endif
@if($inventory->count() > 0)
@foreach($inventory as $item) @endforeach
SKU Product Name Qty Reorder Warehouse Location Status
{{ $item->sku }}
{{ $item->product_name }}
{{ $item->quantity }}
@if($item->warehouse_name)
{{ $item->warehouse_name }}
{{ $item->warehouse_code }}
@else - @endif
{{ $item->location ?? '-' }} @if($item->quantity < $item->reorder_point) Low @elseif($item->quantity == 0) Out @else OK @endif
{{ $inventory->appends(['search' => $search])->links() }}
@else

No inventory items

Inventory will be populated when you receive stock from purchase orders.

@endif
@endsection