We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a6f1e3 commit ffa5182Copy full SHA for ffa5182
1 file changed
src/app/products/manage-tax-components/view-tax-component/view-tax-component.component.html
@@ -39,10 +39,7 @@
39
40
@if (taxComponentData.debitAccountType) {
41
<div class="flex-50">
42
- {{
43
- 'labels.inputs.accounting.' + (taxComponentData.debitAccountType.value?.split('.')[1] || '').toUpperCase()
44
- | translate
45
- }}
+ {{ taxComponentData.debitAccountType.code | translateKey: 'inputs.accounting' }}
46
</div>
47
}
48
@@ -67,10 +64,7 @@
67
64
68
65
@if (taxComponentData.creditAccountType) {
69
66
70
71
- 'labels.inputs.accounting.' +
72
- (taxComponentData.creditAccountType.value?.split('.')[1] || '').toUpperCase() | translate
73
+ {{ taxComponentData.creditAccountType.code | translateKey: 'inputs.accounting' }}
74
75
76
0 commit comments