{{ $product->name }}
SKU
{{ $product->sku }}
Current Stock
{{ $product->stock }}
Stock Value
KES {{ number_format($stats['stock_value'], 2) }}
Inventory Age
@php
$firstMovement = $stats['first_movement_date'];
$age = $firstMovement != 'No movements' ?
Carbon\Carbon::parse($firstMovement)->diffForHumans() :
'N/A';
@endphp
{{ $age }}
KES {{ number_format($product->sale_price, 2) }}
Current Price
{{ $stats['total_movements'] }}
Total Movements
{{ $stats['total_in'] }}
Total Stock In
{{ $stats['total_out'] }}
Total Stock Out
{{ $stats['net_movement'] >= 0 ? '+' : '' }}{{ $stats['net_movement'] }}
Net Movement
{{ $stats['active_days'] }}
Active Days
{{ $stats['daily_average'] }}
Avg Daily Movements
{{ $stats['batches_involved'] }}
Batches Involved
Stock Level Timeline (Last 90 Days)
Stock In
Stock Out
Cumulative Stock
Movement Type Distribution
Monthly Trends
| Month | In | Out | Net | Trend |
|---|---|---|---|---|
| {{ $month['month'] }} | {{ $month['in'] }} | {{ $month['out'] }} | {{ $month['net'] >= 0 ? '+' : '' }}{{ $month['net'] }} | @if($month['net'] > 0) Increasing @elseif($month['net'] < 0) Decreasing @else Stable @endif |
Inventory Turnover Analysis
{{ $trends['turnover_rate']['rate'] }}
Turnover Rate
Times per Year
{{ $trends['turnover_rate']['times_per_year'] }}x
Days Inventory
{{ $trends['turnover_rate']['days_inventory'] }} days
Average Stock
{{ $trends['turnover_rate']['avg_stock'] }}
Inventory Movement History
Showing {{ $movements->firstItem() }} to {{ $movements->lastItem() }} of {{ $movements->total() }} entries
No inventory history found
This product hasn't had any inventory movements yet.
@foreach($movements as $movement)
@endforeach
{{ strtoupper($movement->movement_type) }}
({{ $movement->movement_source }})
{{ strtolower($movement->movement_type) == 'in' ? '+' : '-' }}{{ $movement->quantity }}
@if($movement->quantity_before)
Stock: {{ $movement->quantity_before }} → {{ $movement->quantity_before + $movement->quantity }}
@endif
{{ $movement->reason }}
@if($movement->movement_source == 'batch' && $movement->batch)Batch: {{ $movement->batch->batch_number }}
@endif @if($movement->reference_number)Reference: {{ $movement->reference_number }}
@endif @if($movement->notes){{ $movement->notes }}
@endif{{ $movement->user->name ?? 'System' }}
{{ $movement->created_at->format('M d, Y') }}
{{ $movement->created_at->format('H:i') }}
{{ $movement->movement_source }}
Page {{ $movements->currentPage() }} of {{ $movements->lastPage() }}