brotherton-erpnext/hr/search_criteria/monthly_attendance_details/monthly_attendance_details.sql
2012-09-24 19:13:42 +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%%'