diff --git a/src/app/products/loan-products/common/loan-product-summary/loan-product-summary.component.html b/src/app/products/loan-products/common/loan-product-summary/loan-product-summary.component.html index 5e383ad11..0356064df 100644 --- a/src/app/products/loan-products/common/loan-product-summary/loan-product-summary.component.html +++ b/src/app/products/loan-products/common/loan-product-summary/loan-product-summary.component.html @@ -697,6 +697,20 @@ }} } +
+ {{ 'labels.inputs.Allow accrual posting in arrears' | translate }}: + {{ loanProduct.allowAccrualPostingInArrears | yesNo }} +
+
+ {{ 'labels.inputs.Allow compounding on EOD' | translate }}: + {{ loanProduct.interestRecalculationData.allowCompoundingOnEod | yesNo }} +
+
+ {{ 'labels.inputs.Post compounding as transaction' | translate }}: + {{ + loanProduct.interestRecalculationData.isCompoundingToBePostedAsTransaction | yesNo + }} +
}

{{ 'labels.heading.Guarantee Requirements' | translate }}

diff --git a/src/app/products/loan-products/loan-product-stepper/loan-product-settings-step/loan-product-settings-step.component.html b/src/app/products/loan-products/loan-product-stepper/loan-product-settings-step/loan-product-settings-step.component.html index 78499926d..bd8a0d685 100644 --- a/src/app/products/loan-products/loan-product-stepper/loan-product-settings-step/loan-product-settings-step.component.html +++ b/src/app/products/loan-products/loan-product-stepper/loan-product-settings-step/loan-product-settings-step.component.html @@ -751,6 +751,24 @@ } + +
+ + {{ 'labels.inputs.Allow accrual posting in arrears' | translate }} + +
+ +
+ + {{ 'labels.inputs.Allow compounding on EOD' | translate }} + +
+ +
+ + {{ 'labels.inputs.Post compounding as transaction' | translate }} + +
} 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 57cca4cb6..f0a393e11 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 @@ -152,6 +152,8 @@ export class LoanProductSettingsStepComponent implements OnInit { allowFullTermForTranche: this.loanProductsTemplate.allowFullTermForTranche, enableDownPayment: this.loanProductsTemplate.enableDownPayment, enableInstallmentLevelDelinquency: this.loanProductsTemplate.enableInstallmentLevelDelinquency, + allowCompoundingOnEod: this.loanProductsTemplate.allowCompoundingOnEod, + isCompoundingToBePostedAsTransaction: this.loanProductsTemplate.isCompoundingToBePostedAsTransaction, loanScheduleType: this.loanProductsTemplate.loanScheduleType.code, useDueForRepaymentsConfigurations: this.loanProductsTemplate.useDueForRepaymentsConfigurations, allowAccrualPostingInArrears: this.loanProductsTemplate.allowAccrualPostingInArrears, @@ -355,6 +357,8 @@ export class LoanProductSettingsStepComponent implements OnInit { delinquencyBucketId: [''], enableDownPayment: [false], enableInstallmentLevelDelinquency: [false], + allowCompoundingOnEod: [false], + isCompoundingToBePostedAsTransaction: [false], useDueForRepaymentsConfigurations: [false], dueDaysForRepaymentEvent: [ '', diff --git a/src/app/products/loan-products/models/loan-product.model.ts b/src/app/products/loan-products/models/loan-product.model.ts index 066db03c3..e7dc5071d 100644 --- a/src/app/products/loan-products/models/loan-product.model.ts +++ b/src/app/products/loan-products/models/loan-product.model.ts @@ -51,6 +51,7 @@ export interface LoanProduct { annualInterestRate: number; isLinkedToFloatingInterestRates: boolean; isFloatingInterestRateCalculationAllowed: boolean; + allowAccrualPostingInArrears?: boolean; allowVariableInstallments: boolean; minimumGap: number; maximumGap: number; diff --git a/src/assets/translations/en-US.json b/src/assets/translations/en-US.json index be9aa8491..232ad2f18 100644 --- a/src/assets/translations/en-US.json +++ b/src/assets/translations/en-US.json @@ -80,6 +80,9 @@ "validation.msg.loan.principal.amount.is.not.within.min.max.range": "Principal amount {{params[0].value}} is invalid. Must be an amount between {{params[1].value}} and {{params[2].value}} inclusive.", "validation.msg.loan.principal.is.greater.than.max": "Principal amount {{params[0].value}} is invalid. Must be an amount less than or equal to Maximum principal amount {{params[1].value}}.", "validation.msg.loan.principal.is.less.than.min": "Principal amount {{params[0].value}} is invalid. Must be an amount greater than or equal to Minimum Principal amount {{params[1].value}}.", + "labels.inputs.Allow accrual posting in arrears": "Allow accrual posting in arrears", + "labels.inputs.Allow compounding on EOD": "Allow compounding on EOD", + "labels.inputs.Post compounding as transaction": "Post compounding as transaction", "validation.msg.loanproduct.accountingType.cannot.be.blank": "Accounting type is mandatory.", "labels.commons.Only up to 6 decimal places allowed": "Only up to 6 decimal places allowed.", "validation.msg.loanproduct.accountingType.is.not.within.expected.range": "Accounting type is invalid. Must be a number between {{params[1].value}} and {{params[2].value}} inclusive.",