fix: remove transaction section head
This commit is contained in:
parent
0a3ed374cd
commit
f8bf57c956
@ -275,7 +275,7 @@ frappe.ui.form.on("Expense Claim", {
|
||||
frappe.call({
|
||||
method: "calculate_taxes",
|
||||
doc: frm.doc,
|
||||
callback: (r) => {
|
||||
callback: () => {
|
||||
refresh_field("taxes");
|
||||
}
|
||||
});
|
||||
@ -386,7 +386,7 @@ frappe.ui.form.on("Expense Taxes and Charges", {
|
||||
(frm.doc.taxes || []).forEach(function(d) {
|
||||
frm.doc.total_taxes_and_charges += d.tax_amount;
|
||||
});
|
||||
frm.trigger("calculate_grand_total")
|
||||
frm.trigger("calculate_grand_total");
|
||||
},
|
||||
|
||||
rate: function(frm, cdt, cdn) {
|
||||
@ -398,7 +398,7 @@ frappe.ui.form.on("Expense Taxes and Charges", {
|
||||
},
|
||||
|
||||
tax_amount: function(frm, cdt, cdn) {
|
||||
frm.trigger("calculate_total_tax", cdt, cdn)
|
||||
frm.trigger("calculate_total_tax", cdt, cdn);
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -334,8 +334,7 @@
|
||||
},
|
||||
{
|
||||
"fieldname": "transactions_section",
|
||||
"fieldtype": "Section Break",
|
||||
"label": "Transactions"
|
||||
"fieldtype": "Section Break"
|
||||
},
|
||||
{
|
||||
"fieldname": "grand_total",
|
||||
@ -360,7 +359,7 @@
|
||||
"icon": "fa fa-money",
|
||||
"idx": 1,
|
||||
"is_submittable": 1,
|
||||
"modified": "2019-06-12 20:00:25.734108",
|
||||
"modified": "2019-06-13 18:05:52.530462",
|
||||
"modified_by": "Administrator",
|
||||
"module": "HR",
|
||||
"name": "Expense Claim",
|
||||
|
Loading…
Reference in New Issue
Block a user