brotherton-erpnext/hr/search_criteria/monthly_attendance_details/monthly_attendance_details.sql

1 line
255 B
MySQL
Raw Normal View History

SELECT DISTINCT `tabAttendance`.employee, `tabAttendance`.employee_name FROM `tabAttendance` WHERE `tabAttendance`.fiscal_year like '%(fiscal_year)s%%' AND `tabAttendance`.`company` like '%(company)s%%' AND `tabAttendance`.`employee` like '%(employee)s%%'