mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-18 05:29:38 -04:00
remove unused support forms/pages & unused go-live form
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user