"complete date on staffsheet"
This commit is contained in:
parent
9bebf9c939
commit
914d5c89b3
@ -500,12 +500,12 @@ def turns_list():
|
|||||||
sunday_turns = Tetawebapp_turns.query.filter(Tetawebapp_turns.start_time > sunday, Tetawebapp_turns.start_time < monday)
|
sunday_turns = Tetawebapp_turns.query.filter(Tetawebapp_turns.start_time > sunday, Tetawebapp_turns.start_time < monday)
|
||||||
sunday_turns = sunday_turns.join(Tetawebapp_roles, Tetawebapp_turns.role_id==Tetawebapp_roles.id)
|
sunday_turns = sunday_turns.join(Tetawebapp_roles, Tetawebapp_turns.role_id==Tetawebapp_roles.id)
|
||||||
sunday_turns = sunday_turns.add_columns(Tetawebapp_roles.role).order_by(Tetawebapp_turns.role_id, Tetawebapp_turns.start_time).all()
|
sunday_turns = sunday_turns.add_columns(Tetawebapp_roles.role).order_by(Tetawebapp_turns.role_id, Tetawebapp_turns.start_time).all()
|
||||||
turns.append(('Mardi', tuesday_turns))
|
turns.append(('Mardi 08/05', tuesday_turns))
|
||||||
turns.append(('Mercredi', wenesday_turns))
|
turns.append(('Mercredi 09/05', wenesday_turns))
|
||||||
turns.append(('Jeudi', thirsday_turns))
|
turns.append(('Jeudi 10/05', thirsday_turns))
|
||||||
turns.append(('Vendredi', friday_turns))
|
turns.append(('Vendredi 11/05', friday_turns))
|
||||||
turns.append(('Samedi', saturday_turns))
|
turns.append(('Samedi 12/05', saturday_turns))
|
||||||
turns.append(('Dimanche', sunday_turns))
|
turns.append(('Dimanche 13/05', sunday_turns))
|
||||||
return turns
|
return turns
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user