Merge pull request #40105 from GursheenK/tax-amount-label

fix(minor): tax amount label according to party type
This commit is contained in:
Gursheen Kaur Anand 2024-02-26 10:33:32 +05:30 committed by GitHub
commit 3658c4754f
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,