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:
+1
-1
@@ -68,7 +68,7 @@
|
||||
<input matInput formControlName="externalId" />
|
||||
</mat-form-field>
|
||||
|
||||
<mat-form-field *ngIf="isCapitalizedIncome()">
|
||||
<mat-form-field *ngIf="isCapitalizedIncome() || isBuyDownFee()">
|
||||
<mat-label>{{ 'labels.inputs.Classification' | translate }}</mat-label>
|
||||
<mat-select formControlName="classificationId">
|
||||
<mat-option *ngFor="let classificationOption of classificationOptions" [value]="classificationOption.id">
|
||||
|
||||
+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