Commit ae39186e by Damien Moulard

quickfix shift exchange

parent 1de6869e
Pipeline #1521 passed with stage
in 1 minute 32 seconds
......@@ -194,7 +194,7 @@ def change_shift(request):
"idPartner": int(request.POST['idPartner']),
"idShift": int(request.POST['idNewShift']),
"shift_type": request.POST['shift_type'],
"is_makeup": cs.shift_is_makeup(listRegister)
"is_makeup": cs.shift_is_makeup(listRegister[0])
}
should_block_service_exchange = getattr(settings, 'BLOCK_SERVICE_EXCHANGE_24H_BEFORE', False)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment