mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 02:42:26 -05:00
remove unused support forms/pages & unused go-live form
This commit is contained in:
@@ -113,9 +113,6 @@ class ServiceEvent(Event):
|
||||
def format_service_callback_api(self):
|
||||
return "Updated the callback for delivery receipts"
|
||||
|
||||
def format_go_live_user(self):
|
||||
return "Requested for this service to go live"
|
||||
|
||||
|
||||
class APIKeyEvent(Event):
|
||||
relevant = True
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
QUESTION_TICKET_TYPE = "ask-question-give-feedback"
|
||||
PROBLEM_TICKET_TYPE = "report-problem"
|
||||
GENERAL_TICKET_TYPE = "general"
|
||||
@@ -25,7 +25,6 @@ class Organization(JSONModel, SortByNameMixin):
|
||||
"active",
|
||||
"organization_type",
|
||||
"domains",
|
||||
"request_to_go_live_notes",
|
||||
"count_of_live_services",
|
||||
"billing_contact_email_addresses",
|
||||
"billing_contact_names",
|
||||
@@ -71,7 +70,6 @@ class Organization(JSONModel, SortByNameMixin):
|
||||
self.name = None
|
||||
self.domains = []
|
||||
self.organization_type = None
|
||||
self.request_to_go_live_notes = None
|
||||
|
||||
@property
|
||||
def organization_type_label(self):
|
||||
|
||||
@@ -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