Loan account creation and modification with Loan schedule type validation

This commit is contained in:
Jose Alberto Hernandez
2024-01-04 14:18:50 +01:00
committed by Adam Saghy
parent f6261be8d5
commit 80b821838c
21 changed files with 103 additions and 34 deletions
@@ -123,7 +123,6 @@ export class FixedDepositAccountSettingsStepComponent implements OnInit, OnChang
}
});
this.fixedDepositAccountSettingsForm.get('maturityInstructionId').valueChanges.subscribe((value: number) => {
console.log(value);
if (value > 100) {
this.fixedDepositAccountSettingsForm.addControl('transferToSavingsId', new UntypedFormControl('', Validators.required));
this.fixedDepositAccountSettingsForm.get('transferToSavingsId').patchValue(this.fixedDepositsAccountTemplate.transferToSavingsId && this.fixedDepositsAccountTemplate.transferToSavingsId.id);