fix: set company filter in condition

This commit is contained in:
bhavesh95863
2020-08-26 12:44:20 +05:30
committed by GitHub
parent 7a927cefbd
commit d888a59bd1

View File

@@ -132,6 +132,9 @@ def get_conditions(filters):
if filters.get('employee'):
conditions['name'] = filters.get('employee')
if filters.get('company'):
conditions['company'] = filters.get('company')
return conditions
def get_department_leave_approver_map(department=None):