mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-19 21:19:19 +00:00
fix: merge conflict
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user