From e1da90289a016dfadd800cb20d734ec67bdc37e5 Mon Sep 17 00:00:00 2001 From: Adam Saghy Date: Fri, 20 Dec 2024 11:44:04 +0100 Subject: [PATCH] Advanced accounting - Charge-off reason mapping fix --- .../loan-product-accounting-step.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/products/loan-products/loan-product-stepper/loan-product-accounting-step/loan-product-accounting-step.component.ts b/src/app/products/loan-products/loan-product-stepper/loan-product-accounting-step/loan-product-accounting-step.component.ts index b11b83896..feee03d1b 100644 --- a/src/app/products/loan-products/loan-product-stepper/loan-product-accounting-step/loan-product-accounting-step.component.ts +++ b/src/app/products/loan-products/loan-product-stepper/loan-product-accounting-step/loan-product-accounting-step.component.ts @@ -134,7 +134,7 @@ export class LoanProductAccountingStepComponent implements OnInit { this.loanProductAccountingForm.addControl('overpaymentLiabilityAccountId', new UntypedFormControl('', Validators.required)); this.loanProductAccountingForm.addControl('advancedAccountingRules', new UntypedFormControl(false)); this.loanProductAccountingForm.addControl('chargeOffFraudExpenseAccountId', new UntypedFormControl('', Validators.required)); - this.loanProductAccountingForm.addControl('expenseAccountId', new UntypedFormControl('', Validators.required)); + this.loanProductAccountingForm.addControl('chargeOffExpenseAccountId', new UntypedFormControl('', Validators.required)); this.loanProductAccountingForm.addControl('incomeFromChargeOffPenaltyAccountId', new UntypedFormControl('', Validators.required)); this.loanProductAccountingForm.addControl('incomeFromChargeOffFeesAccountId', new UntypedFormControl('', Validators.required)); this.loanProductAccountingForm.addControl('incomeFromChargeOffInterestAccountId', new UntypedFormControl('', Validators.required)); @@ -168,7 +168,7 @@ export class LoanProductAccountingStepComponent implements OnInit { this.loanProductAccountingForm.removeControl('goodwillCreditAccountId'); this.loanProductAccountingForm.removeControl('overpaymentLiabilityAccountId'); this.loanProductAccountingForm.removeControl('advancedAccountingRules'); - this.loanProductAccountingForm.removeControl('expenseAccountId'); + this.loanProductAccountingForm.removeControl('chargeOffExpenseAccountId'); this.loanProductAccountingForm.removeControl('chargeOffFraudExpenseAccountId'); this.loanProductAccountingForm.removeControl('incomeFromChargeOffPenaltyAccountId'); this.loanProductAccountingForm.removeControl('incomeFromChargeOffFeesAccountId');