@extends('layouts.dashboard.superadminapp') @section('title', 'Accounts Payable - Aging Report') @section('styles') @endsection @section('content')
| Bill No | Date | Vendor | Days Old | Total | Paid | Balance | Action |
|---|---|---|---|---|---|---|---|
| {{ $payable->purchase_no }} | {{ \Carbon\Carbon::parse($payable->purchase_date)->format('d M Y') }} | {{ $payable->vendor->company_name ?? 'N/A' }} | {{ $daysOld }} days | ₹{{ number_format($payable->grand_total, 2) }} | ₹{{ number_format($payable->paid_amount ?? 0, 2) }} | ₹{{ number_format($payable->balance_amount ?? $payable->grand_total, 2) }} | Pay |