@extends('layouts.app') @section('title',ucfirst($side).' Aging') @section('page_title',ucfirst($side).' Aging') @section('content')
Outstanding posted documents grouped by days past due.
| {{ ucfirst($side) }} | Current / 0-30 | 31-60 | 61-90 | Over 90 | Total |
|---|---|---|---|---|---|
| {{ $g->party?->legal_name }} | {{ number_format($g->current,2) }} | {{ number_format($g->{'31_60'},2) }} | {{ number_format($g->{'61_90'},2) }} | {{ number_format($g->over_90,2) }} | {{ number_format($g->total,2) }} |
| No outstanding balances. | |||||
| Total | {{ number_format($groups->sum('current'),2) }} | {{ number_format($groups->sum('31_60'),2) }} | {{ number_format($groups->sum('61_90'),2) }} | {{ number_format($groups->sum('over_90'),2) }} | {{ number_format($groups->sum('total'),2) }} |