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

Inventory dashboard

Stock value, reorder alerts and the latest goods movements across all stores.
Export stock Receive goods
@include('inventory._nav')

Recent stock movements

Goods in, issues and adjustments.
@forelse($recent as $move) @empty @endforelse
DateItemTypeQtyBalanceReference
{{ \Carbon\Carbon::parse($move->created_at)->format('d M Y H:i') }} {{ $move->item_name }} {{ ucfirst($move->type) }} {{ (float) $move->quantity }} {{ $move->unit }} {{ (float) $move->balance_after }} {{ $move->reference ?: '—' }}

Value by category

Stock on hand
@php($maxCategory = max(1, $byCategory ? max($byCategory) : 1)) @forelse($byCategory as $category => $value)
{{ $category ?: 'Uncategorised' }} {{ money($value) }}
@empty @endforelse

Reorder alerts

Items at or below their reorder level.
@forelse($lowStock as $item) @empty @endforelse
ItemWarehouseStockReorder levelUnit costValue
{{ $item->name }}
{{ $item->sku ?: $item->unit }}
{{ $item->warehouse ?: '—' }} {{ (float) $item->current_stock }} {{ $item->unit }} {{ (float) $item->reorder_level }} {{ money($item->unit_cost) }} {{ money((float) $item->current_stock * (float) $item->unit_cost) }}
@endsection