@if($terms != null) @foreach($terms as $term_key => $term) @endforeach @endif @if($data == null) @else @foreach($data as $schedule) @php $g_total_receivable+=$schedule->total_receivable; $g_total_paid_amount+=$schedule->paid_amount; $g_total_balance+=$schedule->balance; $g_total_till_month_balance+=$schedule->till_month_balance; @endphp @foreach($terms as $term_wise_key => $term_wise_data) @if($schedule_data[$term_wise_data][$schedule->sell_id] != null) @else @endif @endforeach @endforeach @endif @if($terms != null) @foreach($terms as $term_wise_key => $term_wise_data) @endforeach @endif
S.No Registration No Customer Name Customer Contact Block Product Total Receivable Paid Amount {{$transaction->systemSettingCurrency()}} Balance Till Month balance{{$term}}
{{$loop->iteration}} {{$schedule->registration_no}} {{$schedule->customer}} {{$schedule->phone}} {{$schedule->block}} {{$schedule->product}} {{$transaction->convert_money_format($schedule->total_receivable)}} {{$transaction->convert_money_format($schedule->paid_amount)}} {{$transaction->convert_money_format($schedule->balance)}} {{$transaction->convert_money_format($schedule->till_month_balance)}}{{$schedule_data[$term_wise_data][$schedule->sell_id]}}0
Total: {{ $transaction->convert_money_format($g_total_receivable)}} {{ $transaction->convert_money_format($g_total_paid_amount)}} {{ $transaction->convert_money_format($g_total_balance)}} {{ $transaction->convert_money_format($g_total_till_month_balance)}}{{$total[$term_wise_data]}} ({{$count[$term_wise_data] ?? 0}})