remotes/origin/hotfix/LIL-691
gzbender 7 years ago
parent 5a068afe4e
commit d65aa7f91d
  1. 2
      apps/school/views.py

@ -198,7 +198,7 @@ class SchoolView(TemplateView):
'school_schedules': school_schedules,
'school_schedules_purchased': school_schedules_purchased,
'school_purchased_future': school_purchased_future,
'subscription_ends': subscription_ends if not school_purchased_future else None,
'subscription_ends': subscription_ends,
'prolong_date_start': subscription_ends + timedelta(days=1) if subscription_ends else None,
'allow_prolong': subscription_ends - date_now <= timedelta(days=7)
if not school_purchased_future and subscription_ends else False,

Loading…
Cancel
Save