{{-- --}}
Credit Invoice Details
{{ strtoupper($distributor->distributor_name) }}
@if($bill_no && $bill_no > 0 && collect($invoices)->count()>0) @endif
Shop No {{ $shop_id }} Bill No {{ $bill_no }} Order Booker {{ collect($invoices)->first()->orderbooker_name }}
{{-- --}} @foreach($invoices as $key=>$invoice) {{-- --}} @endforeach
No# Trx Type Status Amount Balance Created ATAging
{{$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}}