@extends('printlayout') @section('content')

{{ __('sitelabel.ProductLedgerReport') }}

@foreach ($table3Data as $data) @endforeach
Date: {{ $data['Date'] ? \Carbon\Carbon::parse($data['Date'])->format('d-F-Y') : 'N/A' }} Opening Balance: {{ number_format($data['Opening Balance'], 2) }}
Item Code: {{ $products[0]->ItemCode }} Item Name: {{ $products[0]->ItemName }}
Product Bar Code: {{ $data['ItemBarCode'] }} Item Sale Price: {{ number_format($products[0]->ItemSalePrice, 2) }}
Purchase Price: {{ number_format($products[0]->PurchasePrice, 2) }} Tax Value: {{ number_format($data['TaxValue'], 2) }}
Item Category: {{ $products[0]->ItemCategory }} Item Brand: {{ $products[0]->ItemBrand }}
@foreach ($table1Data as $row) @endforeach
Sr# Store Code Store Name Rack No Location
{{ $row['Sr#'] }} {{ $row['Store Code'] }} {{ $row['Store Name'] }} {{ $row['Rack No'] }} {{ $row['Location'] }}
@foreach ($table2Data as $row) @endforeach
Sr# GRN Qty Adjustment Qty Issue Qty Sale Qty Return Sale Qty Balance
{{ $row['Sr#'] }} {{ number_format($row['GRN Qty'], 2) }} {{ number_format($row['Adjustment Qty'], 2) }} {{ number_format($row['Issue Qty'], 2) }} {{ number_format($row['Sale Qty'], 2) }} {{ number_format($row['Return Sale Qty'], 2) }} {{ number_format($row['Balance'], 2) }}
Total Balance {{ number_format($gTotalBalance, 2) }}
@foreach ($table3Data as $row) @endforeach
Closing Balance {{ number_format($row['Closing Balance'], 2) }}
Purchase Price {{ number_format($row['Purchase Price'], 2) }}
Stock Value {{ number_format($row['Stock Value'], 2) }}
@include('sign-subview.signandbuttons') @endsection