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 f3f63ae2f1..1b2575d7a8 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,10 +39,7 @@
@if (taxComponentData.debitAccountType) {
- {{
- 'labels.inputs.accounting.' + (taxComponentData.debitAccountType.value?.split('.')[1] || '').toUpperCase()
- | translate
- }}
+ {{ taxComponentData.debitAccountType.code | translateKey: 'inputs.accounting' }}
}
@@ -67,10 +64,7 @@
@if (taxComponentData.creditAccountType) {
- {{
- 'labels.inputs.accounting.' +
- (taxComponentData.creditAccountType.value?.split('.')[1] || '').toUpperCase() | translate
- }}
+ {{ taxComponentData.creditAccountType.code | translateKey: 'inputs.accounting' }}
}