mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-12 14:58:24 +00:00
fixes time log hours calculation
This commit is contained in:
@@ -7,7 +7,7 @@ frappe.ui.form.on("Time Log", "onload", function(frm) {
|
||||
if (frm.doc.for_manufacturing) {
|
||||
frappe.ui.form.trigger("Time Log", "production_order");
|
||||
}
|
||||
if (frm.doc.to_time && frm.doc.to_time) {
|
||||
if (frm.doc.from_time && frm.doc.to_time) {
|
||||
frappe.ui.form.trigger("Time Log", "to_time");
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user