Skip to content

Commit 5366697

Browse files
committed
refactor: better label for entity type
1 parent c3e7f7f commit 5366697

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

erpnext/accounts/report/tax_withholding_details/tax_withholding_details.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def get_columns(filters):
115115
"width": 180,
116116
},
117117
{
118-
"label": _("Entity Type"),
118+
"label": _(f"{filters.get('party_type', 'Party')} Type"),
119119
"fieldname": "party_entity_type",
120120
"fieldtype": "Data",
121121
"width": 100,

erpnext/accounts/report/tds_computation_summary/tds_computation_summary.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def get_columns(filters):
9494
"width": 180,
9595
},
9696
{
97-
"label": _("Entity Type"),
97+
"label": _(f"{filters.get('party_type', 'Party')} Type"),
9898
"fieldname": "party_entity_type",
9999
"fieldtype": "Data",
100100
"width": 180,

0 commit comments

Comments
 (0)