Invoices Due

@if ($user->invoices_due->count()) @foreach ($user->invoices_due as $o) @php $co = $o->currency(); @endphp @endforeach {{-- @todo Number format should configured by currency --}}
Invoice Total Due Date
{{ $o->invoice_number }} {{ number_format($o->total,$co->rounding) }} {{ number_format($o->due,$co->rounding) }} {{ $o->date_due }}
Count {{ $user->invoices_due->count() }}{{ number_format($user->invoices_due->sum('total'),2) }} {{ number_format($user->invoices_due->sum('due'),2) }}  
@else

No invoices due

@endif