mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 14:29:51 -04:00
remove components related to MOU and agreement (#476)
Co-authored-by: Kenneth Kehl <@kkehl@flexion.us>
This commit is contained in:
@@ -516,16 +516,6 @@ class Service(JSONModel, SortByNameMixin):
|
||||
def get_api_key(self, id):
|
||||
return self._get_by_id(self.api_keys, id)
|
||||
|
||||
@property
|
||||
def able_to_accept_agreement(self):
|
||||
return (
|
||||
self.organisation.agreement_signed is not None
|
||||
or self.organisation_type in {
|
||||
Organisation.TYPE_NHS_GP,
|
||||
Organisation.TYPE_NHS_LOCAL,
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
class Services(SerialisedModelCollection):
|
||||
model = Service
|
||||
|
||||
Reference in New Issue
Block a user