Merge pull request #40109 from frappe/mergify/bp/version-15-hotfix/pr-40105

fix(minor): tax amount label according to party type (backport #40105)
This commit is contained in:
Gursheen Kaur Anand 2024-02-26 11:10:08 +05:30 committed by GitHub
commit e68d2d1c7a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -242,7 +242,7 @@ def get_columns(filters):
"width": 120,
},
{
"label": _("Tax Amount"),
"label": _("TDS Amount") if filters.get("party_type") == "Supplier" else _("TCS Amount"),
"fieldname": "tax_amount",
"fieldtype": "Float",
"width": 120,