do not put price in plan_name to take into account discount

This commit is contained in:
Son 2021-12-26 22:04:45 +01:00
parent f0e582c1a6
commit a6569d47dd
1 changed files with 2 additions and 2 deletions

View File

@ -1708,9 +1708,9 @@ class Subscription(Base, ModelMixin):
def plan_name(self):
if self.plan == PlanEnum.monthly:
return "Monthly ($4/month)"
return "Monthly"
else:
return "Yearly ($30/year)"
return "Yearly"
def __repr__(self):
return f"<Subscription {self.plan} {self.next_bill_date}>"