Employee attendance tool by "designation"

Hello beautiful people at Frappe!

ERPNext has this beautiful feature for HR Users, to mark attendance by department, branch etc but it should also feature mark attendance by “designation”. I’ve made some changes to the corresponding DocType as well the employee_attendance_tool .js and .py, but to no avail.

Here’s what I did:
Added:

employee_attendance_tool.js

#20 designation: function(frm) {
	erpnext.employee_attendance_tool.load_employees(frm);
},


#42 designation: frm.doc.designation, 

And of course added a link to the Designation in the DocType.

It does pull designations but the employees’ list does not refresh. Any help? :smiley:

Edit: got it. Had to include designation in line 22 of .py

Hi

Have you got solution. Same requirement for me. if you got solution kindly share to me.

The solution is up there :slight_smile:

Hi @iMoshi,
Are you sending PR for ths solution?
Thanks