fix: payroll entry employee detail issue (#25968)

* fix: payroll entry employee detail issue

* fix: review changes
This commit is contained in:
Anupam Kumar 2021-06-12 12:30:53 +05:30 committed by GitHub
parent d7d5c4c329
commit 400205cc8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -665,6 +665,8 @@ def get_employee_list(filters):
emp_list = remove_payrolled_employees(emp_list, filters.start_date, filters.end_date)
return emp_list
return []
@frappe.whitelist()
@frappe.validate_and_sanitize_search_inputs
def employee_query(doctype, txt, searchfield, start, page_len, filters):