Merge pull request #23166 from bhavesh95863/patch-8
fix: set company filter in condition
This commit is contained in:
commit
e950dcb32e
@ -132,6 +132,9 @@ def get_conditions(filters):
|
|||||||
if filters.get('employee'):
|
if filters.get('employee'):
|
||||||
conditions['name'] = filters.get('employee')
|
conditions['name'] = filters.get('employee')
|
||||||
|
|
||||||
|
if filters.get('company'):
|
||||||
|
conditions['company'] = filters.get('company')
|
||||||
|
|
||||||
return conditions
|
return conditions
|
||||||
|
|
||||||
def get_department_leave_approver_map(department=None):
|
def get_department_leave_approver_map(department=None):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user