{{-- resources/views/stock_aging/index.blade.php --}} @extends('layouts.app') @section('title', 'Stock Aging Analysis') @section('content')

Stock Aging Analysis

Filters

Reset Export
@foreach($orderedCategories as $category) @php $data = $reportData['summary'][$category] ?? null; @endphp @if($data) @php $colors = [ '0-30' => '#2A3073', '31-60' => '#2A3073', '61-90' => '#2A3073', '91-120' => '#2A3073', '121-160' => '#2A3073', '160+' => '#2A3073', ]; $borderColor = $colors[$category] ?? '#6c757d'; @endphp

KSh {{ number_format($data['stock_value'], 0) }}

{{ $data['label'] }}

{{ $data['product_count'] }} products | {{ $data['percentage'] }}% of total
View Products
@endif @endforeach

Aging Distribution by Value

Aging Distribution by Quantity

Detailed Aging Report

Product Location Aging Category Days Qty Unit Cost Stock Value Last Sale Avg Monthly Sales Turnover Recommended Action
@stop @section('javascript') @stop