fix: payroll-entry minor fix
This commit is contained in:
parent
c0817838d9
commit
f0b62f70d5
@ -686,7 +686,7 @@ def employee_query(doctype, txt, searchfield, start, page_len, filters):
|
||||
|
||||
if filters.start_date and filters.end_date:
|
||||
employee_list = get_employee_list(filters)
|
||||
emp = filters.get('employees')
|
||||
emp = filters.get('employees') or []
|
||||
include_employees = [employee.employee for employee in employee_list if employee.employee not in emp]
|
||||
filters.pop('start_date')
|
||||
filters.pop('end_date')
|
||||
|
Loading…
x
Reference in New Issue
Block a user