@if($filServiceCharge == 1) @endif @foreach ($savingsProducts as $savingsProduct) @endforeach @php $samitySl = 1; @endphp @foreach ($samities as $samity) @php @endphp @foreach($samity->loanProducts as $k => $loanProduct) @if($k > 0) @endif @foreach($loanProduct['genders'] as $i => $gender) @if($i > 0) @endif @if($filServiceCharge == 1)@endif @foreach ($savingsProducts as $savingsProduct) @endforeach @if($i > 0) @endif @endforeach @if($k > 0) @endif @endforeach @if($filServiceCharge == 1)@endif @foreach ($savingsProducts as $savingsProduct) @endforeach @endforeach @if($filServiceCharge == 1)@endif @foreach ($savingsProducts as $savingsProduct) @endforeach
Sl No. Samity Loan Information Savings Information
Name Code Product Name Gender Loanee
Member
Disburse Amount Principal RecoveryService Charge RecoveryWrite Off Rebate Loan Balance Due{{$savingsProduct->shortName}}
{{$samitySl++}} {{$samity->name}} {{$samity->code}}
{{$loanProduct['name']}}
{{$gender['name']}} {{$gender['loaneeMember']}} {{number_format($gender['totalLoanAmount'],2)}} {{number_format($gender['prinRecovery'],2)}}{{number_format($gender['scRecovery'],2)}}{{number_format($gender['writeoff'],2)}} {{number_format($gender['rebate'],2)}} {{number_format($gender['outstanding'],2)}} {{number_format($gender['due'],2)}}{{ number_format($gender['savingsBalance'][$savingsProduct->id],2)}}
Sub-Total {{$samity->samityTotal['loaneeMember']}} {{number_format($samity->samityTotal['totalLoanAmount'],2)}} {{number_format($samity->samityTotal['prinRecovery'],2)}}{{number_format($samity->samityTotal['scRecovery'],2)}}{{number_format($samity->samityTotal['writeoff'],2)}} {{number_format($samity->samityTotal['rebate'],2)}} {{number_format($samity->samityTotal['outstanding'],2)}} {{number_format($samity->samityTotal['due'],2)}}{{ number_format($samity->samityTotal['savingsBalance'][$savingsProduct->id],2)}}
Total {{$samityWiseGrandTotal['loaneeMember']}} {{number_format($samityWiseGrandTotal['totalLoanAmount'],2)}} {{number_format($samityWiseGrandTotal['prinRecovery'],2)}}{{number_format($samityWiseGrandTotal['scRecovery'],2)}}{{number_format($samityWiseGrandTotal['writeoff'],2)}} {{number_format($samityWiseGrandTotal['rebate'],2)}} {{number_format($samityWiseGrandTotal['outstanding'],2)}} {{number_format($samityWiseGrandTotal['due'],2)}}{{ number_format($samityWiseGrandTotal['savingsBalance'][$savingsProduct->id],2)}}