models: Fix upgrade scheduled legacy org error on support page.

Add `SWITCH_PLAN_TIER_AT_PLAN_END`'s text so that it can render.

We still need to fix applying a discount to them.
This commit is contained in:
Aman Agrawal 2023-12-08 20:47:36 +00:00 committed by Tim Abbott
parent 01c3c4dd4b
commit 67d4e8456d
1 changed files with 1 additions and 0 deletions

View File

@ -315,6 +315,7 @@ class CustomerPlan(models.Model):
self.SWITCH_TO_ANNUAL_AT_END_OF_CYCLE: "Scheduled for switch to annual at end of cycle",
self.SWITCH_TO_MONTHLY_AT_END_OF_CYCLE: "Scheduled for switch to monthly at end of cycle",
self.DOWNGRADE_AT_END_OF_FREE_TRIAL: "Scheduled for downgrade at end of free trial",
self.SWITCH_PLAN_TIER_AT_PLAN_END: "Scheduled for switch to new plan at the end of plan",
self.ENDED: "Ended",
self.NEVER_STARTED: "Never started",
}[self.status]