Fixed Employee Birthday Report
This commit is contained in:
parent
adfada707d
commit
df7f1c17ac
@ -33,6 +33,6 @@ def get_conditions(filters):
|
|||||||
conditions += " and month(date_of_birth) = '%s'" % month
|
conditions += " and month(date_of_birth) = '%s'" % month
|
||||||
|
|
||||||
if filters.get("company"): conditions += " and company = '%s'" % \
|
if filters.get("company"): conditions += " and company = '%s'" % \
|
||||||
filters["company"].repalce("'", "\'")
|
filters["company"].replace("'", "\\'")
|
||||||
|
|
||||||
return conditions
|
return conditions
|
||||||
Loading…
x
Reference in New Issue
Block a user