fix: merge conflict
This commit is contained in:
commit
7f7b3608bb
@ -216,7 +216,7 @@ frappe.ui.form.on('Salary Slip Timesheet', {
|
|||||||
});
|
});
|
||||||
|
|
||||||
var set_totals = function(frm) {
|
var set_totals = function(frm) {
|
||||||
if (frm.doc.docstatus === 0) {
|
if (frm.doc.docstatus === 0 && frm.doc.doctype === "Salary Slip") {
|
||||||
if (frm.doc.earnings || frm.doc.deductions) {
|
if (frm.doc.earnings || frm.doc.deductions) {
|
||||||
frappe.call({
|
frappe.call({
|
||||||
method: "set_totals",
|
method: "set_totals",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user