Handle pre-Spaceport yearly PayPal subs

This commit is contained in:
Tanner Collin 2023-05-15 17:19:59 +00:00
parent 62d122d414
commit b325e648f4

View File

@ -156,6 +156,9 @@ def create_member_dues_tx(data, member, num_months, deal):
elif deal == 3 and num_months == 2: elif deal == 3 and num_months == 2:
num_months = 3 num_months = 3
deal_str = '3 for 2, ' deal_str = '3 for 2, '
elif num_months == 11: # handle pre-Spaceport yearly subs
num_months = 12
deal_str = '12 for 11 (legacy), '
else: else:
deal_str = '' deal_str = ''