@extends('layouts.app') @section('title', 'Supplier Aging Report') @section('breadcrumb')
Outstanding dues by age — as of {{ now()->format('d M Y') }}
| Supplier | Phone | Oldest Invoice | Days | Due Amount | Action |
|---|---|---|---|---|---|
| {{ $row['supplier']->name }} | {{ $row['supplier']->phone ?? '—' }} | {{ $row['oldest_due'] ? \Carbon\Carbon::parse($row['oldest_due'])->format('d M Y') : '—' }} | {{ $row['days_overdue'] }}d | ৳{{ number_format($row['current_due'], 2) }} | Pay |