@extends('admin.layouts.app') @section('content')
@if(session('success'))
{{ session('success') }}
@endif
@forelse($inventories as $inventory) @empty @endforelse
# Product SKU Total Stock Reserved Available Reorder Level Status
{{ $inventories->firstItem() + $loop->index }} {{ $inventory->product->name }} {{ $inventory->product->sku }} {{ $inventory->quantity }} {{ $inventory->reserved_quantity }} {{ $inventory->available_quantity }} {{ $inventory->product->reorder_level }} @if($inventory->quantity == 0) Out of Stock @elseif( $inventory->quantity <= $inventory->product->reorder_level ) Low Stock @else Available @endif
No inventory found.
@endsection