diff --git a/src/app/products/manage-tax-components/create-tax-component/create-tax-component.component.html b/src/app/products/manage-tax-components/create-tax-component/create-tax-component.component.html index 90945eaf8..98c83aad3 100644 --- a/src/app/products/manage-tax-components/create-tax-component/create-tax-component.component.html +++ b/src/app/products/manage-tax-components/create-tax-component/create-tax-component.component.html @@ -41,7 +41,7 @@ { this.debitAccountData = this.getAccountsData(debitAccountTypeId); - this.taxComponentForm.addControl('debitAcountId', new UntypedFormControl('', Validators.required)); + this.taxComponentForm.addControl('debitAccountId', new UntypedFormControl('', Validators.required)); }); this.taxComponentForm.get('creditAccountType').valueChanges.subscribe((creditAccountTypeId) => { this.creditAccountData = this.getAccountsData(creditAccountTypeId); - this.taxComponentForm.addControl('creditAcountId', new UntypedFormControl('', Validators.required)); + this.taxComponentForm.addControl('creditAccountId', new UntypedFormControl('', Validators.required)); }); }