diff --git a/erpnext/accounts/report/tax_withholding_details/tax_withholding_details.py b/erpnext/accounts/report/tax_withholding_details/tax_withholding_details.py index e3ef0dd3938..4d385575d57 100644 --- a/erpnext/accounts/report/tax_withholding_details/tax_withholding_details.py +++ b/erpnext/accounts/report/tax_withholding_details/tax_withholding_details.py @@ -115,7 +115,7 @@ def get_columns(filters): "width": 180, }, { - "label": _("Entity Type"), + "label": _(f"{filters.get('party_type', 'Party')} Type"), "fieldname": "party_entity_type", "fieldtype": "Data", "width": 100, diff --git a/erpnext/accounts/report/tds_computation_summary/tds_computation_summary.py b/erpnext/accounts/report/tds_computation_summary/tds_computation_summary.py index d0819650470..f09dfe7258b 100644 --- a/erpnext/accounts/report/tds_computation_summary/tds_computation_summary.py +++ b/erpnext/accounts/report/tds_computation_summary/tds_computation_summary.py @@ -94,7 +94,7 @@ def get_columns(filters): "width": 180, }, { - "label": _("Entity Type"), + "label": _(f"{filters.get('party_type', 'Party')} Type"), "fieldname": "party_entity_type", "fieldtype": "Data", "width": 180,