ajout des nouvelles dates de cotisations pour l'inscription
This commit is contained in:
parent
67cd42b6bf
commit
7f683c64e0
@ -76,9 +76,15 @@ class RegistrationController(AuthenticatedBaseController):
|
||||
|
||||
already_paid = 0
|
||||
for available_month in available_months:
|
||||
available_months_prices.append(
|
||||
(available_month, month_names[available_month - 1], CotisationComputes.price_to_pay(year_price, month_price, already_paid, index))
|
||||
)
|
||||
if available_month == 8:
|
||||
available_months_prices.append(
|
||||
(available_month, "fin de l'année ".decode("utf-8"), CotisationComputes.price_to_pay(year_price, month_price, already_paid, index))
|
||||
)
|
||||
else:
|
||||
available_months_prices.append(
|
||||
(available_month, str(now.day) + " " + month_names[available_month % 12], CotisationComputes.price_to_pay(year_price, month_price, already_paid, index))
|
||||
)
|
||||
#end if
|
||||
index += 1
|
||||
#end for
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user