@model PowderCoating.Application.DTOs.Accounting.ArAgingReportDto @{ ViewData["Title"] = "AR Aging"; ViewData["PageIcon"] = "bi-hourglass-split"; var today = DateTime.Today; }
As of @Model.AsOf.ToString("MMMM d, yyyy") · @Model.Customers.Sum(c => c.Invoices.Count) open invoices
As of @Model.AsOf.ToString("MMMM d, yyyy")
All invoices are paid!
No outstanding balances as of @Model.AsOf.ToString("MMMM d, yyyy").
| Customer | Current | 1–30 Days | 31–60 Days | 61–90 Days | Over 90 | Total |
|---|---|---|---|---|---|---|
| @cust.CustomerName @cust.Invoices.Count inv. | @(cust.TotalCurrent > 0 ? cust.TotalCurrent.ToString("C") : "—") | @(cust.Total1to30 > 0 ? cust.Total1to30.ToString("C") : "—") | @(cust.Total31to60 > 0 ? cust.Total31to60.ToString("C") : "—") | @(cust.Total61to90 > 0 ? cust.Total61to90.ToString("C") : "—") | @(cust.TotalOver90 > 0 ? cust.TotalOver90.ToString("C") : "—") | @cust.TotalBalance.ToString("C") |
| Total | @Model.TotalCurrent.ToString("C") | @Model.Total1to30.ToString("C") | @Model.Total31to60.ToString("C") | @Model.Total61to90.ToString("C") | @Model.TotalOver90.ToString("C") | @Model.TotalOutstanding.ToString("C") |
| Invoice | Date | Due Date | Balance Due | Age | Status |
|---|---|---|---|---|---|
| @cust.CustomerName | |||||
| @inv.InvoiceNumber | @inv.InvoiceDate.ToString("MM/dd/yyyy") | @(inv.DueDate?.ToString("MM/dd/yyyy") ?? "—") | @inv.BalanceDue.ToString("C") | @ageLabel | |
| @cust.CustomerName subtotal | @cust.TotalBalance.ToString("C") | ||||
Claude is analyzing payment behavior…
| Customer | Risk | Est. Days to Payment | Reasoning |
|---|