@php $cash_banks = getCashBankForDD(); $cb_html = $cash_banks->map(function($cb) { return ''; }); $cb_html = implode(' ', $cb_html->toArray()); @endphp @foreach ($results as $i => $item) @if ($item->due_amount != $item->amount) @endif @endforeach
# {{__('obs.inv_no')}} {{__('obs.inv_date') }} {{__('obs.due_date') }} {{__('obs.due_amount') }} {{__('obs.amount') }} {{__('obs.notes') }} {{__('obs.action') }}
{{ ++$i }} {{ $item->invoice->invoice_no }} {{ date('d-m-Y h:i a', strtotime($item->invoice->date)) }} {{ date('d-m-Y', strtotime($item->date)) }} {{ $item->due_amount }} {{ $item->amount }} {{ $item->notes }}
@if($item->due_amount != $item->amount) @endif @if (count($item->vouchers)) @endif