fix: show only active employees when starting job card

This commit is contained in:
Mihir Kandoi
2025-12-02 11:16:01 +05:30
parent 35379294c3
commit 21ec4ed911

View File

@@ -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);