Commit 84ada4ce by Yvon

minor function name change

parent caebaffb
Pipeline #2980 failed with stage
in 1 minute 7 seconds
......@@ -627,7 +627,7 @@ def shift_subscription(request):
res["unsubscribe_member"] = m.unsubscribe_member(changing_shift = True)
# https://redmine.coopdev.fr/issues/4715
lower_makeup_count_to_zero_if_moving_from_std_to_non_std(api, partner_id, shift_type, res)
lower_makeup_count_to_zero_if_moving_from_std_to_ftop(api, partner_id, shift_type, res)
reg_id = m.create_coop_shift_subscription(shift_template_id, shift_type)
# Return necessary data
......@@ -649,7 +649,7 @@ def shift_subscription(request):
return response
def lower_makeup_count_to_zero_if_moving_from_std_to_non_std(api, partner_id, shift_type, res):
def lower_makeup_count_to_zero_if_moving_from_std_to_ftop(api, partner_id, shift_type, res):
if shift_type == 2:
c = [['id', '=', partner_id]]
f = ['shift_type']
......
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