@extends('layouts.master') @section('title', 'Stock Valuation Report') @section('content')
Back to Dashboard
Stock Valuation Report
@if(session('success'))
{{ session('success') }}
@endif @if($errors->any())
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf
@if(isset($stockData) && count($stockData) > 0)
@csrf
@foreach($stockData as $data) @endforeach @if(isset($grandTotalValue)) @endif
Item Code Item Description Warehouse Group Unit Cost Qty on Hand Total Value
{{ $data['item']->code }} {{ $data['item']->description1 }} {{ $data['warehouse']->description ?? 'N/A' }} {{ $data['category']->name ?? 'N/A' }} {{ number_format($data['unit_cost'], 2) }} {{ number_format($data['available_quantity'], 2) }} {{ number_format($data['total_value'], 2) }}
Grand Total: {{ number_format($grandTotalValue, 2) }}

Copyright © Melsoft (Private) Limited

@elseif(isset($stockData) && count($stockData) == 0)
No inventory transactions found for the selected criteria.
@endif
@endsection @section('styles') @endsection @section('scripts') @endsection