Invoices Due

@if(($x=$o->invoices()->with(['items.taxes','paymentitems.payment','account'])->get()->where('due','>',0))->count()) @foreach ($x as $oo) due_date->isPast()) class="table-danger" @endif> @endforeach
Account # Issued Due Total Payments Outstanding
{{ $oo->account->name }} {{ $oo->sid }} {{ $oo->date_orig->format('Y-m-d') }} {{ $oo->due_date->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