@extends('layouts.app') @section('title', 'Accounts Receivable') @section('breadcrumbs') @endsection @section('content')
AR aging report and customer outstanding
| Customer | Current | 1-30 Days | 31-60 Days | 61-90 Days | 90+ Days | Total | Actions |
|---|---|---|---|---|---|---|---|
| {{ $ar->customer->name ?? 'N/A' }} | {{ number_format($ar->current ?? 0, 2) }} | {{ number_format($ar->d1_30 ?? 0, 2) }} | {{ number_format($ar->d31_60 ?? 0, 2) }} | {{ number_format($ar->d61_90 ?? 0, 2) }} | {{ number_format($ar->d90_plus ?? 0, 2) }} | {{ number_format($ar->total ?? 0, 2) }} | Details |
No outstanding receivables | |||||||
| Total | {{ number_format($receivables->sum('current') ?? 0, 2) }} | {{ number_format($receivables->sum('d1_30') ?? 0, 2) }} | {{ number_format($receivables->sum('d31_60') ?? 0, 2) }} | {{ number_format($receivables->sum('d61_90') ?? 0, 2) }} | {{ number_format($receivables->sum('d90_plus') ?? 0, 2) }} | {{ number_format($receivables->sum('total') ?? 0, 2) }} | |