From f8ad733b9124f0b9c07a0cf46310b53540edeb59 Mon Sep 17 00:00:00 2001 From: Son NK Date: Thu, 5 Mar 2020 08:11:35 +0100 Subject: [PATCH] display next_bill_date on billing page for canceled subscription --- app/dashboard/templates/dashboard/billing.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/dashboard/templates/dashboard/billing.html b/app/dashboard/templates/dashboard/billing.html index 1e9a25ad..66e42fe8 100644 --- a/app/dashboard/templates/dashboard/billing.html +++ b/app/dashboard/templates/dashboard/billing.html @@ -12,13 +12,15 @@

Billing

- You are on the {{ current_user.get_subscription().plan_name() }} plan. Thank you very much for supporting + You are on the {{ sub.plan_name() }} plan. Thank you very much for supporting SimpleLogin. 🙌

{% if sub.cancelled %}

- Sad to see you go 😢. Your subscription ends {{ current_user.get_subscription().next_bill_date | dt }}. + Sad to see you go 😢. Your subscription ends on + {{ sub.next_bill_date.year }}-{{ sub.next_bill_date.month}}-{{ sub.next_bill_date.day }} + ({{ sub.next_bill_date | dt }}).

{% else %}