Skip to content

Commit 373c3ce

Browse files
authored
WEB-346:Withhold Tax Enhancements for Deposit accounts (#2709)
1 parent 8fd39c5 commit 373c3ce

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/app/products/manage-tax-components/create-tax-component/create-tax-component.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141

4242
<mifosx-gl-account-selector
4343
*ngIf="debitAccountData.length > 0"
44-
[inputFormControl]="taxComponentForm.controls.debitAcountId"
44+
[inputFormControl]="taxComponentForm.controls.debitAccountId"
4545
[glAccountList]="debitAccountData"
4646
[required]="false"
4747
[inputLabel]="'Debit Account'"
@@ -59,7 +59,7 @@
5959

6060
<mifosx-gl-account-selector
6161
*ngIf="creditAccountData.length > 0"
62-
[inputFormControl]="taxComponentForm.controls.creditAcountId"
62+
[inputFormControl]="taxComponentForm.controls.creditAccountId"
6363
[glAccountList]="creditAccountData"
6464
[required]="false"
6565
[inputLabel]="'Credit Account'"

src/app/products/manage-tax-components/create-tax-component/create-tax-component.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,11 @@ export class CreateTaxComponentComponent implements OnInit {
110110
setConditionalControls() {
111111
this.taxComponentForm.get('debitAccountType').valueChanges.subscribe((debitAccountTypeId) => {
112112
this.debitAccountData = this.getAccountsData(debitAccountTypeId);
113-
this.taxComponentForm.addControl('debitAcountId', new UntypedFormControl('', Validators.required));
113+
this.taxComponentForm.addControl('debitAccountId', new UntypedFormControl('', Validators.required));
114114
});
115115
this.taxComponentForm.get('creditAccountType').valueChanges.subscribe((creditAccountTypeId) => {
116116
this.creditAccountData = this.getAccountsData(creditAccountTypeId);
117-
this.taxComponentForm.addControl('creditAcountId', new UntypedFormControl('', Validators.required));
117+
this.taxComponentForm.addControl('creditAccountId', new UntypedFormControl('', Validators.required));
118118
});
119119
}
120120

0 commit comments

Comments
 (0)