@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; if($schedule->total_receivable == 0) { $total_collection_percentage = 0; } else { $total_collection_percentage = $schedule->paid_amount / $schedule->total_receivable * 100 ; } @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 Property Type Product Total Receivable Paid Amount {{$transaction->systemSettingCurrency()}} Balance Total collection percentage Till Month balance{{$term}}
{{$loop->iteration}} {{$schedule->registration_no}} {{$schedule->customer}} {{$schedule->phone}} {{$schedule->block}} {{$schedule->type}} {{$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($total_collection_percentage)}} % {{$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}})