WEB-290: Introduce classification field on loan BuyDown Fee transaction (#2618)

Co-authored-by: Jose Alberto Hernandez <alberto@black-box.local>
Merging based on review from Adam and Rustam.
This commit is contained in:
Jose Alberto Hernandez
2025-09-03 16:23:36 +05:30
committed by GitHub
parent 2aa301f338
commit ae38f2f5ee
6 changed files with 12 additions and 4 deletions
@@ -104,7 +104,6 @@ export class MakeRepaymentComponent implements OnInit {
Validators.min(0.001),
Validators.max(this.dataObject.amount)])
);
this.repaymentLoanForm.addControl('classificationId', new UntypedFormControl(''));
} else {
this.repaymentLoanForm.addControl(
'transactionAmount',
@@ -113,6 +112,9 @@ export class MakeRepaymentComponent implements OnInit {
Validators.min(0.001)])
);
}
if (this.isCapitalizedIncome() || this.isBuyDownFee()) {
this.repaymentLoanForm.addControl('classificationId', new UntypedFormControl(''));
}
}
setRepaymentLoanDetails() {