Invoices Due

@if($o->query_invoice_summary()->having('balance','>',0)->count()) @foreach ($o->query_invoice_summary()->having('balance','>',0)->get() 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('//cdn.datatables.net/1.10.25/css/dataTables.bootstrap4.min.css','jq-dt-css') @js('//cdn.datatables.net/1.10.25/js/jquery.dataTables.min.js','jq-dt-js') @js('//cdn.datatables.net/1.10.25/js/dataTables.bootstrap4.min.js','jq-dt-bs5-js','jq-dt-js') @js('//cdn.datatables.net/rowgroup/1.1.3/js/dataTables.rowGroup.min.js','jq-dt-rowgroup-js','jq-dt-js') @css('//cdn.datatables.net/rowgroup/1.1.3/css/rowGroup.bootstrap4.min.css','jq-dt-rowgroup-css','jq-dt-jss') @append