@extends('layouts.app') @section('title', 'Stock Valuation Report') @section('page_title', 'Inventory Stock Valuation Report') @section('content')
Total Stock Units

{{ number_format($totalStockUnits, 0) }}

Across {{ $products->count() }} active products
Total Cost Valuation (Asset)

₹{{ number_format($totalCostValuation, 2) }}

Based on purchase cost price
Retail Valuation

₹{{ number_format($totalRetailValuation, 2) }}

Based on current selling price
Estimated Gross Margin

₹{{ number_format($potentialProfit, 2) }}

Potential inventory markup
Product-wise Stock Valuation Breakdown
@foreach($products as $p) @php $costVal = $p->current_stock * $p->purchase_price; $retailVal = $p->current_stock * $p->selling_price; $margin = $retailVal - $costVal; @endphp @endforeach
Product Name / SKU HSN Code Current Stock Cost Price Total Asset Value Selling Price Total Retail Value Potential Margin
{{ $p->name }}
SKU: {{ $p->sku }}
{{ $p->hsn_code }} {{ number_format($p->current_stock, 0) }} {{ $p->unit ? $p->unit->short_code : '' }} ₹{{ number_format($p->purchase_price, 2) }} ₹{{ number_format($costVal, 2) }} ₹{{ number_format($p->selling_price, 2) }} ₹{{ number_format($retailVal, 2) }} ₹{{ number_format($margin, 2) }}
Total Valuation: {{ number_format($totalStockUnits, 0) }} Units ₹{{ number_format($totalCostValuation, 2) }} ₹{{ number_format($totalRetailValuation, 2) }} ₹{{ number_format($potentialProfit, 2) }}
@endsection