Commit 2bef274f by Etienne Freiss

ajouter du tag is_makeup a true pour rattrapages

parent 4983a101
......@@ -144,6 +144,7 @@ class CagetteShift(models.Model):
"shift_ticket_id": self.get_shift_ticket(data['idShift'], data['in_ftop_team']),
"shift_type": shift_type,
"origin": 'memberspace',
"is_makeup": data['is_makeup'],
"state": 'open'}
st_r_id = self.o_api.create('shift.registration', fieldsDatas)
......
......@@ -228,7 +228,8 @@ def add_shift(request):
data = {
"idPartner": int(request.POST['idPartner']),
"idShift":int(request.POST['idNewShift']),
"in_ftop_team":request.POST['in_ftop_team']
"in_ftop_team":request.POST['in_ftop_team'],
"is_makeup":True
}
#Insertion du nouveau shift
......
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