mirror of
https://github.com/openMF/community-app.git
synced 2026-02-06 14:11:54 +00:00
MIFOSX-1918 : UI changes for Pre-closure interest calculation strategy
This commit is contained in:
parent
c482f04270
commit
b457e34d22
@ -1281,6 +1281,9 @@
|
||||
"label.input.createStandingInstruction": "Create standing instructions at disbursement",
|
||||
"label.input.installmentinmultiplesof":"Installment in multiples of",
|
||||
"label.input.candefineinstallmentamount":"Allow fixing of the installment amount",
|
||||
"label.input.preclose.interest.calculation.strategy":"Pre-closure interest calculation rule",
|
||||
"loanPreCloseInterestCalculationStrategy.tillPreClosureDate":"Calculate till pre closure date",
|
||||
"loanPreCloseInterestCalculationStrategy.tillRestFrequencyDate":"Calculate till rest frequency date",
|
||||
|
||||
"#Buttons": "..",
|
||||
"label.button.addloancharge": "Add Loan Charge",
|
||||
@ -1325,6 +1328,7 @@
|
||||
"label.tooltip.recalculateinterest":"Please check the box if you want to recalculate interest for each period based on outstanding for that month/week. Once you check it, it shows hidden fields to Recalculate Interest.",
|
||||
"label.tooltip.interestrecalculation":"If you select None, next period(month or week) interest will be calculated on principle only. If you select Fee, next period interest will be recalculated based on Principle + Fee. If you select Interest, next period interest will be recalculated based on Principle + Interest. If you select 'Fee and Interest' next period interest will be recalculated based on Principle + Interest+ Fee",
|
||||
"label.tooltip.advancepayments":"Whenever advanced payment for next installments is made by the client, then we can either reduce EMI amount or we can reduce number of installments. Otherwise we can reschedule next repayments.",
|
||||
"label.tooltip.precloseinterestcalculationstrategy":"strategy to be applied on interest calculation whenever there is a pre-close request",
|
||||
"label.tooltip.frequencytorecalculate":"Once the client makes advance repayments, his outstanding principle may be recalculated weekly, fortnightly, monthly, quarterly and so on, thereby reducing the weekly, fortnightly, monthly outstanding balance.",
|
||||
"label.tooltip.frequencyInterval":"This field is accompanied with previous field, that is, 'Frequency for recalculate outstanding principle' . If you enter 1 here and you select monthly, then outstanding balance (reduced) will be calculated for every month.",
|
||||
"label.tooltip.frequencydate":"Here you select the date on which reduced outstanding balance will be calculated.",
|
||||
|
||||
@ -54,6 +54,8 @@
|
||||
scope.formData.isInterestRecalculationEnabled = scope.product.isInterestRecalculationEnabled;
|
||||
scope.formData.interestRecalculationCompoundingMethod = scope.product.interestRecalculationData.interestRecalculationCompoundingType.id;
|
||||
scope.formData.rescheduleStrategyMethod = scope.product.interestRecalculationData.rescheduleStrategyType.id;
|
||||
scope.formData.preCloseInterestCalculationStrategy = scope.product.interestRecalculationData.preCloseInterestCalculationStrategy.id;
|
||||
scope.formData.recalculationRestFrequencyType = scope.product.interestRecalculationData.recalculationRestFrequencyType.id;
|
||||
});
|
||||
|
||||
scope.chargeSelected = function (chargeId) {
|
||||
|
||||
@ -94,6 +94,7 @@
|
||||
scope.formData.recalculationRestFrequencyType = scope.product.interestRecalculationData.recalculationRestFrequencyType.id;
|
||||
scope.formData.recalculationRestFrequencyInterval = scope.product.interestRecalculationData.recalculationRestFrequencyInterval;
|
||||
scope.formData.isArrearsBasedOnOriginalSchedule = scope.product.interestRecalculationData.isArrearsBasedOnOriginalSchedule;
|
||||
scope.formData.preCloseInterestCalculationStrategy = scope.product.interestRecalculationData.preCloseInterestCalculationStrategy.id;
|
||||
if (scope.product.interestRecalculationData.recalculationRestFrequencyDate) {
|
||||
scope.date.recalculationRestFrequencyDate = new Date(scope.product.interestRecalculationData.recalculationRestFrequencyDate);
|
||||
}
|
||||
|
||||
@ -466,7 +466,7 @@
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label col-sm-2">{{ 'label.input.candefineinstallmentamount' | translate }}</label>
|
||||
<label class="control-label col-sm-4">{{ 'label.input.candefineinstallmentamount' | translate }}</label>
|
||||
|
||||
<div class="col-sm-2">
|
||||
<label class="checkbox control-label">
|
||||
@ -475,7 +475,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label col-sm-4">{{ 'label.input.no.of.overdue.days.to.move.loan.into.arrears'
|
||||
| translate }}
|
||||
@ -551,6 +550,22 @@
|
||||
value="{{type.id}}"></select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group" data-ng-show="formData.isInterestRecalculationEnabled">
|
||||
<label class="control-label col-sm-2">{{'label.input.preclose.interest.calculation.strategy'
|
||||
| translate }}<span class="required">*</span>
|
||||
<i class="icon-question-sign" tooltip="{{'label.tooltip.precloseinterestcalculationstrategy' | translate}}" tooltip-append-to-body="true"></i>
|
||||
</label>
|
||||
|
||||
<div class="col-sm-2">
|
||||
<select id="preCloseInterestCalculationStrategy" class="form-control"
|
||||
ng-model="formData.preCloseInterestCalculationStrategy"
|
||||
ng-options="type.id as type.code | translate for type in product.preCloseInterestCalculationStrategyOptions"
|
||||
value="{{type.id}}"></select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-group" data-ng-show="formData.isInterestRecalculationEnabled">
|
||||
<label class="control-label col-sm-2">{{'label.input.frequency.for.recalculte.outstanding.principal'
|
||||
| translate }}<span class="required">*</span>
|
||||
|
||||
@ -528,7 +528,22 @@
|
||||
value="{{type.id}}"></select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group" data-ng-show="formData.isInterestRecalculationEnabled">
|
||||
|
||||
<div class="form-group" data-ng-show="formData.isInterestRecalculationEnabled">
|
||||
<label class="control-label col-sm-2">{{'label.input.preclose.interest.calculation.strategy'
|
||||
| translate }}<span class="required">*</span>
|
||||
</label>
|
||||
|
||||
<div class="col-sm-2">
|
||||
<select id="preCloseInterestCalculationStrategy" class="form-control"
|
||||
ng-model="formData.preCloseInterestCalculationStrategy"
|
||||
ng-options="type.id as type.code | translate for type in product.preCloseInterestCalculationStrategyOptions"
|
||||
value="{{type.id}}"></select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-group" data-ng-show="formData.isInterestRecalculationEnabled">
|
||||
<label class="control-label col-sm-2">{{'label.input.frequency.for.recalculte.outstanding.principal'
|
||||
| translate }}<span class="required">*</span></label>
|
||||
|
||||
|
||||
@ -240,6 +240,10 @@
|
||||
<td>{{'label.input.interest.recalculation.reschdule.strategy' | translate}}</td>
|
||||
<td colspan="3">{{loanproduct.interestRecalculationData.rescheduleStrategyType.value}}</td>
|
||||
</tr>
|
||||
<tr data-ng-show="loanproduct.isInterestRecalculationEnabled">
|
||||
<td>{{'label.input.preclose.interest.calculation.strategy' | translate}}</td>
|
||||
<td colspan="3">{{loanproduct.interestRecalculationData.preCloseInterestCalculationStrategy.code | translate}}</td>
|
||||
</tr>
|
||||
<tr data-ng-show="loanproduct.isInterestRecalculationEnabled">
|
||||
<td>{{'label.input.frequency.for.recalculte.outstanding.principal' | translate}}</td>
|
||||
<td colspan="3">{{loanproduct.interestRecalculationData.recalculationRestFrequencyType.value}}</td>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user