@extends('layouts.admin-simple') @section('title', 'Inventory Valuation') @section('breadcrumb')
Comprehensive inventory valuation and cost analysis
| Item | Category | 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'] }}
|
{{ 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) }} | ||||||