update loan product code

This commit is contained in:
Nitesh Yadav
2026-05-12 11:37:39 +05:30
parent 4d421e8066
commit a270f72ba3
5 changed files with 40 additions and 0 deletions
@@ -697,6 +697,20 @@
}}</span>
</div>
}
<div class="flex-fill layout-row">
<span class="flex-40">{{ 'labels.inputs.Allow accrual posting in arrears' | translate }}:</span>
<span class="flex-60">{{ loanProduct.allowAccrualPostingInArrears | yesNo }}</span>
</div>
<div class="flex-fill layout-row">
<span class="flex-40">{{ 'labels.inputs.Allow compounding on EOD' | translate }}:</span>
<span class="flex-60">{{ loanProduct.interestRecalculationData.allowCompoundingOnEod | yesNo }}</span>
</div>
<div class="flex-fill layout-row">
<span class="flex-40">{{ 'labels.inputs.Post compounding as transaction' | translate }}:</span>
<span class="flex-60">{{
loanProduct.interestRecalculationData.isCompoundingToBePostedAsTransaction | yesNo
}}</span>
</div>
</div>
}
<h3 class="mat-h3 flex-fill">{{ 'labels.heading.Guarantee Requirements' | translate }}</h3>
@@ -751,6 +751,24 @@
</mat-checkbox>
</div>
}
<div class="lps-checkbox-row lps-full-width">
<mat-checkbox labelPosition="before" formControlName="allowAccrualPostingInArrears">
{{ 'labels.inputs.Allow accrual posting in arrears' | translate }}
</mat-checkbox>
</div>
<div class="lps-checkbox-row lps-full-width">
<mat-checkbox labelPosition="before" formControlName="allowCompoundingOnEod">
{{ 'labels.inputs.Allow compounding on EOD' | translate }}
</mat-checkbox>
</div>
<div class="lps-checkbox-row lps-full-width">
<mat-checkbox labelPosition="before" formControlName="isCompoundingToBePostedAsTransaction">
{{ 'labels.inputs.Post compounding as transaction' | translate }}
</mat-checkbox>
</div>
}
</div>
</div>
@@ -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: [
'',
@@ -51,6 +51,7 @@ export interface LoanProduct {
annualInterestRate: number;
isLinkedToFloatingInterestRates: boolean;
isFloatingInterestRateCalculationAllowed: boolean;
allowAccrualPostingInArrears?: boolean;
allowVariableInstallments: boolean;
minimumGap: number;
maximumGap: number;
+3
View File
@@ -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.",