remove unused support forms/pages & unused go-live form

This commit is contained in:
stvnrlly
2023-12-20 10:44:38 -05:00
parent 7a7cacbf20
commit 378717571b
34 changed files with 17 additions and 3074 deletions

View File

@@ -27,8 +27,6 @@ class Service(JSONModel, SortByNameMixin):
"contact_link",
"count_as_live",
"email_from",
"go_live_at",
"go_live_user",
"id",
"inbound_api",
"message_limit",
@@ -370,22 +368,6 @@ class Service(JSONModel, SortByNameMixin):
)
)
@property
def go_live_checklist_completed(self):
return all(
(
bool(self.volumes),
self.has_team_members,
self.has_templates,
not self.needs_to_add_email_reply_to_address,
not self.needs_to_change_sms_sender,
)
)
@property
def go_live_checklist_completed_as_yes_no(self):
return "Yes" if self.go_live_checklist_completed else "No"
@cached_property
def free_sms_fragment_limit(self):
return billing_api_client.get_free_sms_fragment_limit_for_year(self.id) or 0