mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-29 18:04:46 +00:00
fix: emp disappear (#24525)
* fix: emp disappear * fix: renamed set_totals_call to set_totals Co-authored-by: Nabin Hait <nabinhait@gmail.com>
This commit is contained in:
@@ -342,3 +342,11 @@ let render_employee_attendance = function (frm, data) {
|
|||||||
})
|
})
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
frappe.ui.form.on('Payroll Employee Detail', {
|
||||||
|
employee: function(frm) {
|
||||||
|
if (!frm.doc.payroll_frequency) {
|
||||||
|
frappe.throw(__("Please set a Payroll Frequency"));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user