mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 16:04:46 +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"),
|
label: __("Select Employees"),
|
||||||
options: "Job Card Time Log",
|
options: "Job Card Time Log",
|
||||||
fieldname: "employees",
|
fieldname: "employees",
|
||||||
|
filters: {
|
||||||
|
status: "Active",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
(d) => {
|
(d) => {
|
||||||
frm.events.start_timer(frm, from_time, d.employees);
|
frm.events.start_timer(frm, from_time, d.employees);
|
||||||
|
|||||||
Reference in New Issue
Block a user