Invoices Due

@if(($x=$o->invoices()->with(['items.taxes','paymentitems.payment','account'])->get()->where('due','>',0))->count()) @foreach ($x as $oo) due_at->isPast()) class="table-danger" @endif> @endforeach
Account # Issued Due Total Payments Outstanding
{{ $oo->account->name }} {{ $oo->sid }} {{ $oo->created_at->format('Y-m-d') }} {{ $oo->due_at->format('Y-m-d') }} ${{ number_format($oo->total,2) }} ${{ number_format($oo->paid,2) }} ${{ number_format($oo->due,2) }}
@else

No invoice due

@endif
@section('page-scripts') @css(datatables,bootstrap4|rowgroup) @js(datatables,bootstrap4|rowgroup) @append