{{-- --}}
| Credit Invoice Details | |
| {{ strtoupper($distributor->distributor_name) }} |
| Shop No | {{ $shop_id }} | @if($bill_no && $bill_no > 0 && collect($invoices)->count()>0)Bill No | {{ $bill_no }} | Order Booker | {{ collect($invoices)->first()->orderbooker_name }} | @endif
| No# | Trx Type | Status | Amount | Balance | Created AT | {{--Aging | --}}
|---|---|---|---|---|---|---|
| {{$key+1}} | {{ucfirst(str_replace('_',' ',$invoice->trx_type))}} | {{$invoice->status == 'in' ? 'Credit':'Debit'}} | {{number_format($invoice->amount,2)}} | {{number_format($invoice->balance,2)}} | {{date('Y-m-d h:i A',strtotime($invoice->created_at))}} | {{--{{$invoice->aging}} | --}}