Loan transactions using external identifer

This commit is contained in:
Jose Alberto Hernandez
2022-12-07 10:07:12 -06:00
parent d7346e26e4
commit 35b9669605
17 changed files with 120 additions and 49 deletions
@@ -25,6 +25,11 @@
</mat-error>
</mat-form-field>
<mat-form-field>
<mat-label>External Id</mat-label>
<input matInput formControlName="externalId">
</mat-form-field>
<mat-form-field>
<mat-label>Payment Type</mat-label>
<mat-select formControlName="paymentTypeId">
@@ -70,6 +70,7 @@ export class EditTransactionComponent implements OnInit {
this.editTransactionForm.patchValue({
'transactionDate': this.transactionTemplateData.date && new Date(this.transactionTemplateData.date),
'transactionAmount': this.transactionTemplateData.amount,
'externalId': this.transactionTemplateData.externalId,
'paymentTypeId': this.transactionTemplateData.paymentTypeId
});
}
@@ -81,6 +82,7 @@ export class EditTransactionComponent implements OnInit {
this.editTransactionForm = this.formBuilder.group({
'transactionDate': ['', Validators.required],
'transactionAmount': ['', Validators.required],
'externalId': [''],
'paymentTypeId': [''],
});
}