fix del
This commit is contained in:
parent
c7a7d0dab5
commit
73737b2ed9
|
|
@ -234,7 +234,7 @@ class LeaveController(http.Controller):
|
|||
"date_to": body["end_date"],
|
||||
"name": body["description"] if body.get("description") else "",
|
||||
"holiday_status_id": int(body["type_id"]),
|
||||
"delegate_acc": body["delegated_permission"],
|
||||
"delegate_acc": False if body["delegated_permission"] in ("false","False",'') else True ,
|
||||
# 'replace_by': int(body['replacement_id']) if body['replacement_id'] else False
|
||||
}
|
||||
if 'ticket' in body and body['ticket']:
|
||||
|
|
|
|||
Loading…
Reference in New Issue