@extends('layouts.admin-simple') @section('title', 'Inventory Valuation') @section('breadcrumb') @endsection @section('page-title')

Inventory Valuation

Comprehensive inventory valuation and cost analysis

@can('warehouse.inventory.view')
@endcan
@endsection @section('content')
attach_money

{{ number_format($statistics['total_stock_value'], 2) }}

Total Stock Value
Current inventory worth
inventory

{{ number_format($statistics['total_items']) }}

Total Items
Items with value
trending_up

{{ number_format($statistics['average_unit_value'], 2) }}

Average Unit Value
Per unit average
category

{{ number_format($statistics['categories_count']) }}

Categories
Item categories valued
filter_list Valuation Filters
pie_chart Valuation by Category
@foreach($categoryBreakdown->take(6) as $category)
{{ number_format($category['total_value'], 0) }}
{{ $category['category'] }}
{{ $category['item_count'] }} items
@endforeach
business Valuation by Division
@if(isset($divisionBreakdown) && $divisionBreakdown->count() > 0) @foreach($divisionBreakdown->take(6) as $division)
{{ number_format($division['total_value'], 0) }}
{{ $division['division'] }}
{{ $division['item_count'] }} items
@endforeach @else
business

No division data available

@endif
list Inventory Valuation List
entries
@foreach($valuationData as $item) @endforeach
Item Category Division Stock Quantity Unit Price Total Value Cost Method Last Updated Actions
{{ substr($item['item_name'], 0, 1) }}
{{ $item['item_name'] }}
{{ $item['item_code'] }}
category {{ $item['category'] }}
@if(!empty($item['division']))
business {{ $item['division'] }}
@else No Division @endif
{{ number_format($item['current_stock'], 2) }}
{{ $item['unit'] }}
{{ number_format($item['unit_price'], 2) }}
per {{ $item['unit'] }}
@php $value = $item['total_value']; $badgeClass = $value > 10000 ? 'badge-success' : ($value > 1000 ? 'badge-info' : 'badge-secondary'); @endphp {{ number_format($value, 2) }}
{{ $item['cost_method'] }}
{{ $item['last_updated']->format('M j, Y') }}
{{ $item['last_updated']->format('H:i') }}
Total Valuation: {{ number_format($statistics['total_stock_value'], 2) }}
@endsection @push('styles') @endpush @push('scripts') @endpush