Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
models: Add status text for some plan status states.
Aman Agrawald43a60eb9d6d
diff --git a/corporate/models.py b/corporate/models.pyindex 1b582f5b423..59588f6233f 100644--- a/corporate/models.py+++ b/corporate/models.py@@ -290,6 +290,8 @@ class CustomerPlan(models.Model):self.ACTIVE: "Active",self.DOWNGRADE_AT_END_OF_CYCLE: "Scheduled for downgrade at end of cycle",self.FREE_TRIAL: "Free trial",+ 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.ENDED: "Ended",self.NEVER_STARTED: "Never started",}[self.status]