Invoices Due

@if($o->query_invoice_summary()->havingRaw('invoice_total-payments > 0')->count()) @foreach ($o->query_invoice_summary()->havingRaw('invoice_total-payments > 0')->get() 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