fix: Loan Product charge-off advanced accounting mappings
This commit is contained in:
committed by
Jose Alberto Hernandez
parent
fb692d47da
commit
29cda98b62
+1
-3
@@ -107,7 +107,7 @@ export class LoanProductAccountingStepComponent implements OnInit {
|
||||
this.formBuilder.array((this.loanProductsTemplate.penaltyToIncomeAccountMappings || []).map((penaltyIncome: any) =>
|
||||
({ chargeId: penaltyIncome.charge.id, incomeAccountId: penaltyIncome.incomeAccount.id }))));
|
||||
this.loanProductAccountingForm.setControl('chargeOffReasonsToExpenseMappings',
|
||||
this.formBuilder.array((this.loanProductsTemplate.chargeOffReasonsToExpenseMappings || []).map((m: ChargeOffReasonsToGLAccountMapping) =>
|
||||
this.formBuilder.array((this.loanProductsTemplate.chargeOffReasonToGLAccountMappings || []).map((m: ChargeOffReasonsToGLAccountMapping) =>
|
||||
({ chargeOffReasonCodeValueId: m.chargeOffReasonsCodeValue.id, expenseGLAccountId: m.chargeOffExpenseAccount.id }))));
|
||||
}
|
||||
}
|
||||
@@ -324,7 +324,6 @@ export class LoanProductAccountingStepComponent implements OnInit {
|
||||
}
|
||||
|
||||
getChargeOffReasonExpenseFormfields(values?: any) {
|
||||
if (values != null) {
|
||||
const formfields: FormfieldBase[] = [
|
||||
new SelectBase({
|
||||
controlName: 'chargeOffReasonCodeValueId',
|
||||
@@ -345,7 +344,6 @@ export class LoanProductAccountingStepComponent implements OnInit {
|
||||
];
|
||||
return formfields;
|
||||
}
|
||||
}
|
||||
|
||||
get isAccountingAccrualBased() {
|
||||
const accountingRule = this.loanProductAccountingForm.value.accountingRule;
|
||||
|
||||
+1
-1
@@ -45,7 +45,7 @@
|
||||
</div>
|
||||
|
||||
<div fxFlex="50%">
|
||||
{{ transactionData.transactionType.value }}
|
||||
{{ transactionData.transactionType.value | translateKey:'catalogs' }}
|
||||
</div>
|
||||
|
||||
<div fxFlex="50%" class="mat-body-strong">
|
||||
|
||||
Reference in New Issue
Block a user