diff --git a/src/app/loans/loans-account-stepper/loans-account-terms-step/loans-account-terms-step.component.ts b/src/app/loans/loans-account-stepper/loans-account-terms-step/loans-account-terms-step.component.ts index a894e5ecc..bb6bdf103 100644 --- a/src/app/loans/loans-account-stepper/loans-account-terms-step/loans-account-terms-step.component.ts +++ b/src/app/loans/loans-account-stepper/loans-account-terms-step/loans-account-terms-step.component.ts @@ -126,7 +126,8 @@ export class LoansAccountTermsStepComponent implements OnInit, OnChanges { 'graceOnInterestCharged': this.loansAccountTermsData.graceOnInterestCharged, 'fixedEmiAmount': this.loansAccountTermsData.fixedEmiAmount, 'maxOutstandingLoanBalance': this.loansAccountTermsData.maxOutstandingLoanBalance, - 'transactionProcessingStrategyCode': this.loansAccountTermsData.transactionProcessingStrategyCode + 'transactionProcessingStrategyCode': this.loansAccountTermsData.transactionProcessingStrategyCode, + 'interestRateDifferential':this.loansAccountTermsData.interestRateDifferential }); this.multiDisburseLoan = this.loansAccountTermsData.multiDisburseLoan; @@ -208,7 +209,8 @@ export class LoansAccountTermsStepComponent implements OnInit, OnChanges { 'graceOnInterestCharged': this.loansAccountTermsData.graceOnInterestCharged, 'fixedEmiAmount': this.loansAccountTermsData.fixedEmiAmount, 'maxOutstandingLoanBalance': this.loansAccountTermsData.maxOutstandingLoanBalance, - 'transactionProcessingStrategyCode': this.loansAccountTermsData.transactionProcessingStrategyCode + 'transactionProcessingStrategyCode': this.loansAccountTermsData.transactionProcessingStrategyCode, + 'interestRateDifferential':this.loansAccountTermsData.interestRateDifferential }); } this.createloansAccountTermsForm(); @@ -269,6 +271,7 @@ export class LoansAccountTermsStepComponent implements OnInit, OnChanges { 'fixedEmiAmount': [''], 'isTopup': [''], 'maxOutstandingLoanBalance': [''], + 'interestRateDifferential':[''], 'transactionProcessingStrategyCode': ['', Validators.required] }); } diff --git a/src/app/products/loan-products/loan-product-stepper/loan-product-settings-step/loan-product-settings-step.component.ts b/src/app/products/loan-products/loan-product-stepper/loan-product-settings-step/loan-product-settings-step.component.ts index 4dff2e4c6..a65656bcd 100644 --- a/src/app/products/loan-products/loan-product-stepper/loan-product-settings-step/loan-product-settings-step.component.ts +++ b/src/app/products/loan-products/loan-product-stepper/loan-product-settings-step/loan-product-settings-step.component.ts @@ -38,6 +38,7 @@ export class LoanProductSettingsStepComponent implements OnInit { .subscribe((isLinkedToFloatingInterestRates: any) => { if (isLinkedToFloatingInterestRates) { this.loanProductSettingsForm.get('isInterestRecalculationEnabled').setValue(true); + this.loanProductSettingsForm.get('allowPartialPeriodInterestCalcualtion').setValue(true); } }); diff --git a/src/app/products/loan-products/loan-product-stepper/loan-product-terms-step/loan-product-terms-step.component.html b/src/app/products/loan-products/loan-product-stepper/loan-product-terms-step/loan-product-terms-step.component.html index c7f629138..752fd97c8 100644 --- a/src/app/products/loan-products/loan-product-stepper/loan-product-terms-step/loan-product-terms-step.component.html +++ b/src/app/products/loan-products/loan-product-stepper/loan-product-terms-step/loan-product-terms-step.component.html @@ -6,7 +6,10 @@ Minimum - + + + Minimum Value must be greater equal to than 0 + @@ -19,7 +22,10 @@ Maximum - + + + Maximum Value must be greater equal to than 0 and must be greater than Minimum Principal + @@ -44,7 +50,10 @@ Minimum - + + + Minimum Value must be greater equal to than 0 + @@ -57,7 +66,10 @@ Maximum - + + + Maximum Value must be greater equal to than 0 and must be greater than Minimum Principal + @@ -74,7 +86,10 @@ Minimum - + + + Minimum Value must be greater than 0 + @@ -87,7 +102,10 @@ Maximum - + + + Maximum Value must be greater equal to than 0 and must be greater than Minimum Principal + @@ -134,7 +152,7 @@ Minimum - + Minimum interest rate is required