@if(($x=$o->get())->count())
# | Received | Total | {{--Balance | --}}Invoice(s) |
---|---|---|---|---|
{{ $oo->id }} | {{ $oo->date_payment->format('Y-m-d') }} | ${{ number_format($oo->total_amt,2) }} | {{--${{ number_format($oo->balance,2) }} | --}}{!! join(',',$oo->items ->filter(function($item) { return $item->invoice_id; }) ->transform(function($item) { return sprintf('%s',url('u/invoice',$item->invoice_id),$item->invoice_id); }) ->toArray()) !!} |