fix date
This commit is contained in:
parent
5874c85e32
commit
35308f77a8
|
|
@ -351,10 +351,10 @@ class LeaveController(http.Controller):
|
|||
'holiday_status_id': int(body['type_id']),
|
||||
'number_of_days_temp': days, 'delegate_acc': json.loads(body['delegated_permission']),
|
||||
}
|
||||
# if approvel and 'replacement_id' in body:
|
||||
# vals.update({
|
||||
# 'replace_by': False
|
||||
# })
|
||||
if approvel and 'replacement_id' in body:
|
||||
vals.update({
|
||||
'replace_by': int(body['replacement_id'])
|
||||
})
|
||||
if 'ticket' in body and body['ticket']:
|
||||
vals.update({'issuing_clearance_form': body['issuing_clearance_form'],
|
||||
'issuing_deliver_custdy': body[
|
||||
|
|
|
|||
Loading…
Reference in New Issue