mirror of
https://github.com/frappe/erpnext.git
synced 2025-12-03 18:35:36 +00:00
fix: show only active employees when starting job card
This commit is contained in:
@@ -221,6 +221,9 @@ frappe.ui.form.on("Job Card", {
|
||||
label: __("Select Employees"),
|
||||
options: "Job Card Time Log",
|
||||
fieldname: "employees",
|
||||
filters: {
|
||||
status: "Active",
|
||||
},
|
||||
},
|
||||
(d) => {
|
||||
frm.events.start_timer(frm, from_time, d.employees);
|
||||
|
||||
Reference in New Issue
Block a user