From 3c78d4eef088eeda4a36750f91539fb9c40e24db Mon Sep 17 00:00:00 2001 From: David Date: Tue, 24 Sep 2024 16:07:40 +0200 Subject: [PATCH] feat: add net amount to taxes and charges (follow erpnext) --- .../expense_taxes_and_charges.json | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/hrms/hr/doctype/expense_taxes_and_charges/expense_taxes_and_charges.json b/hrms/hr/doctype/expense_taxes_and_charges/expense_taxes_and_charges.json index 3c9fe6ac9b..369927d5d4 100644 --- a/hrms/hr/doctype/expense_taxes_and_charges/expense_taxes_and_charges.json +++ b/hrms/hr/doctype/expense_taxes_and_charges/expense_taxes_and_charges.json @@ -11,6 +11,7 @@ "rate", "tax_amount", "col_break1", + "net_amount", "total", "description_sb", "description", @@ -106,6 +107,15 @@ { "fieldname": "description_sb", "fieldtype": "Section Break" + }, + { + "columns": 2, + "fieldname": "net_amount", + "fieldtype": "Currency", + "in_list_view": 1, + "label": "Net Amount", + "options": "currency", + "read_only": 1 } ], "istable": 1, @@ -121,4 +131,4 @@ "sort_order": "ASC", "states": [], "track_changes": 1 -} \ No newline at end of file +}