@extends('layouts.app') @section('title', 'Inventory Valuation') @section('breadcrumb') @endsection @section('content')
{{ number_format($summary['total_items']) }}
Unique Items
{{ number_format($summary['total_qty']) }}
Total Units
৳{{ number_format($summary['total_cost_value'],0) }}
Cost Value
৳{{ number_format($summary['potential_profit'],0) }}
Potential Profit
By Category
@foreach($byCategory as $catName => $cat) @endforeach
CategoryItemsQtyCost Value
{{ $catName }} {{ $cat['count'] }} {{ number_format($cat['qty']) }} ৳{{ number_format($cat['cost_value'],0) }}
Total {{ $summary['total_items'] }} {{ number_format($summary['total_qty']) }} ৳{{ number_format($summary['total_cost_value'],0) }}
Low Stock
{{ $lowStock }}
View
Out of Stock
{{ $outOfStock }}
View
Stock Valuation Detail ({{ $variants->count() }} items)
@foreach($variants as $v) @endforeach
Product / VariantSKUCategoryStockCost PriceSell PriceCost ValueSell ValuePotential Profit
{{ $v->product->name }}
{{ $v->variant_name }}
{{ $v->sku }} {{ $v->product->category?->name }} {{ $v->current_stock }} ৳{{ number_format($v->cost_price,2) }} ৳{{ number_format($v->selling_price,2) }} ৳{{ number_format($v->current_stock * $v->cost_price,0) }} ৳{{ number_format($v->current_stock * $v->selling_price,0) }} ৳{{ number_format($v->current_stock * ($v->selling_price - $v->cost_price),0) }}
Totals: ৳{{ number_format($summary['total_cost_value'],0) }} ৳{{ number_format($summary['total_sell_value'],0) }} ৳{{ number_format($summary['potential_profit'],0) }}
@endsection