{{-- Header --}}
M.D.S
ادائیگی ادھاری     Aging Payables
مورخہ: {{ $fromDate ? \Carbon\Carbon::parse($fromDate)->format('d/m/Y') : '—' }} تا {{ $toDate ? \Carbon\Carbon::parse($toDate)->format('d/m/Y') : '—' }}
@php $fmt = fn($v, $z = '-') => $v == 0 ? $z : ($v < 0 ? '(' . number_format(abs($v), 0) . ')' : number_format($v, 0)); @endphp @if(empty($reportData['supplierRows']) && empty($reportData['purchaserRows']))

کوئی اندراج نہیں ملا۔

@else {{-- ===== SUPPLIERS SECTION ===== --}} @if(count($reportData['supplierRows']) > 0) @foreach($reportData['supplierRows'] as $row) @endforeach {{-- Supplier Subtotal --}} @endif {{-- ===== PURCHASERS SECTION ===== --}} @if(count($reportData['purchaserRows']) > 0) @foreach($reportData['purchaserRows'] as $row) @endforeach {{-- Purchaser Subtotal --}} @endif {{-- ===== GRAND TOTAL ===== --}}
پارٹی سابقہ بیلنس خرید وغیرہ ادائیگی حالیہ بیلنس
▬ سپلائرز (Suppliers) ▬
{{ $row['supplier_name'] }} {{ $fmt($row['sabiqah']) }} {{ $row['kharid'] == 0 ? '-' : number_format($row['kharid'], 0) }} {{ $row['adaegi'] == 0 ? '0' : number_format($row['adaegi'], 0) }} {{ $fmt($row['haliah'], '0') }}
سپلائرز کا مجموعہ {{ $fmt($reportData['supplierSubtotals']['sabiqah'], '0') }} {{ number_format($reportData['supplierSubtotals']['kharid'], 0) }} {{ number_format($reportData['supplierSubtotals']['adaegi'], 0) }} {{ $fmt($reportData['supplierSubtotals']['haliah'], '0') }}
▬ خریدار (Purchasers) ▬
{{ $row['supplier_name'] }} {{ $fmt($row['sabiqah']) }} {{ $row['kharid'] == 0 ? '-' : number_format($row['kharid'], 0) }} {{ $row['adaegi'] == 0 ? '0' : number_format($row['adaegi'], 0) }} {{ $fmt($row['haliah'], '0') }}
خریداروں کا مجموعہ {{ $fmt($reportData['purchaserSubtotals']['sabiqah'], '0') }} {{ number_format($reportData['purchaserSubtotals']['kharid'], 0) }} {{ number_format($reportData['purchaserSubtotals']['adaegi'], 0) }} {{ $fmt($reportData['purchaserSubtotals']['haliah'], '0') }}
کُل مجموعہ (Grand Total) {{ $fmt($reportData['grandSabiqah'], '0') }} {{ number_format($reportData['grandKharid'], 0) }} {{ number_format($reportData['grandAdaegi'], 0) }} {{ $fmt($reportData['grandHaliah'], '0') }}
@endif