[FIX] PAYROLL: Fixed allowance range issue
This commit is contained in:
@@ -116,6 +116,11 @@ from payroll.models.models import (
|
||||
from pms.models import Feedback
|
||||
from recruitment.models import Candidate, InterviewSchedule, Recruitment, Stage
|
||||
|
||||
|
||||
def return_none(a, b):
|
||||
return None
|
||||
|
||||
|
||||
operator_mapping = {
|
||||
"equal": operator.eq,
|
||||
"notequal": operator.ne,
|
||||
@@ -124,6 +129,7 @@ operator_mapping = {
|
||||
"le": operator.le,
|
||||
"ge": operator.ge,
|
||||
"icontains": operator.contains,
|
||||
"range": return_none,
|
||||
}
|
||||
filter_mapping = {
|
||||
"work_type_id": {
|
||||
|
||||
Reference in New Issue
Block a user