commit | 9c8d103d8af85e52095071d43d8b8a03bdbf3255 | [log] [tgz] |
---|---|---|
author | Gursheen Anand <gursheen@frappe.io> | Sun Feb 25 21:32:24 2024 +0530 |
committer | Gursheen Anand <gursheen@frappe.io> | Sun Feb 25 21:32:24 2024 +0530 |
tree | 1b9446792a26ca19f6d5c2b973247282279e5cd6 | |
parent | 75f8464724382ac703a16ee3fd73de2c9bb56d13 [diff] |
fix: amount label according to party type
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 0e3acd7..b18570b 100644 --- a/erpnext/accounts/report/tax_withholding_details/tax_withholding_details.py +++ b/erpnext/accounts/report/tax_withholding_details/tax_withholding_details.py
@@ -242,7 +242,7 @@ "width": 120, }, { - "label": _("Tax Amount"), + "label": _("TDS Amount") if filters.get("party_type") == "Supplier" else _("TCS Amount"), "fieldname": "tax_amount", "fieldtype": "Float", "width": 120,