| {{ $sl++ }} |
{{ $savInterestRate }} {{ Form::hidden('int_rate[]', $savInterestRate) }} |
|
{{ number_format($interestPaid,$round) }} {{ Form::hidden('npk[]', round($interestPaid, $round)) }} |
@foreach($savingsProductSegments as $savingsType => $savingsProductSegment)
@php
$interestAmount = $provisions->where('savingsType', $savingsType)
->where('interestRate', $savInterestRate)
->whereIn('primaryProductIdFk', $pfksFundLoanProductIds)
->sum('interestAmount');
$remaing_provision = $provisionAdjusts->where('savingsType', $savingsType)
->where('interestRate', $savInterestRate)
->whereIn('primaryProductIdFk', $pfksFundLoanProductIds)
->sum('remaing_provision');
$interestPaid = $interestAmount - $remaing_provision;
$totalPaidRateWise += $interestPaid;
${'pksfFund_'.$savingsProductSegment['field'].'_interestPaid'} += $interestPaid;
$totalPksf_interestPaid += $interestPaid;
@endphp
{{ number_format($interestPaid,$round) }} {{ Form::hidden($savingsProductSegment['field'].'[]', round($interestPaid, $round)) }} |
@endforeach
{{ number_format($totalPaidRateWise, $round)}} {{ Form::hidden('total_pksf[]', round($totalPaidRateWise, $round)) }} |
@if($migration)
@php
$mig_othersFund_interestPaid += @$migSavingsInterest[$savInterestRate]->npk;
$mig_totalPksf_interestPaid += @$migSavingsInterest[$savInterestRate]->total_pksf;
@endphp
|
{{number_format(@$migSavingsInterest[$savInterestRate]->npk)}} |
@foreach($savingsProductSegments as $savingsType => $savingsProductSegment)
@php
${'mig_pksfFund_'.$savingsProductSegment['field'].'_interestPaid'} += @$migSavingsInterest[$savInterestRate]->{$savingsProductSegment['field']};
@endphp
{{number_format(@$migSavingsInterest[$savInterestRate]->{$savingsProductSegment['field']})}} |
@endforeach
{{number_format(@$migSavingsInterest[$savInterestRate]->total_pksf)}} |
@endif
@endforeach
| Grand Total |
{{ number_format($othersFund_interestPaid,$round)}} |
@foreach($savingsProductSegments as $savingsProductSegment)
{{ number_format(${'pksfFund_'.$savingsProductSegment['field'].'_interestPaid'}, $round)}} |
@endforeach
{{ number_format($totalPksf_interestPaid, $round)}} |
@if($migration)
|
{{ number_format($mig_othersFund_interestPaid,$round)}} |
@foreach($savingsProductSegments as $savingsProductSegment)
{{ number_format(${'mig_pksfFund_'.$savingsProductSegment['field'].'_interestPaid'}, $round)}} |
@endforeach
{{ number_format($mig_totalPksf_interestPaid, $round)}} |
@endif