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:
+3
-1
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user