diff --git a/src/app/products/manage-tax-components/view-tax-component/view-tax-component.component.html b/src/app/products/manage-tax-components/view-tax-component/view-tax-component.component.html
index dd1ae88861..f3f63ae2f1 100644
--- a/src/app/products/manage-tax-components/view-tax-component/view-tax-component.component.html
+++ b/src/app/products/manage-tax-components/view-tax-component/view-tax-component.component.html
@@ -39,7 +39,10 @@
@if (taxComponentData.debitAccountType) {
- {{ taxComponentData.debitAccountType.value }}
+ {{
+ 'labels.inputs.accounting.' + (taxComponentData.debitAccountType.value?.split('.')[1] || '').toUpperCase()
+ | translate
+ }}
}
@@ -51,8 +54,8 @@
@if (taxComponentData.debitAccount) {
- ({{ 'labels.inputs.accounting.' + taxComponentData.debitAccount.glCode }})
- {{ taxComponentData.debitAccount.name | translate }}
+ ({{ taxComponentData.debitAccount.glCode }})
+ {{ taxComponentData.debitAccount.name }}
}
@@ -64,7 +67,10 @@
@if (taxComponentData.creditAccountType) {
- {{ taxComponentData.creditAccountType.value | translateKey: 'catalogs' }}
+ {{
+ 'labels.inputs.accounting.' +
+ (taxComponentData.creditAccountType.value?.split('.')[1] || '').toUpperCase() | translate
+ }}
}