brotherton-erpnext/hr/search_criteria/monthly_attendance_details/monthly_attendance_details.sql
2011-07-01 13:34:41 +05:30

1 line
255 B
SQL

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%%'