mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 22:40:31 -04:00
Merge pull request #3019 from alphagov/sign-online
Allow online acceptance of the contract/memorandum of understanding
This commit is contained in:
@@ -19,6 +19,8 @@ class Organisation(JSONModel):
|
||||
'agreement_signed_at',
|
||||
'agreement_signed_by_id',
|
||||
'agreement_signed_version',
|
||||
'agreement_signed_on_behalf_of_name',
|
||||
'agreement_signed_on_behalf_of_email_address',
|
||||
'domains',
|
||||
'request_to_go_live_notes',
|
||||
'count_of_live_services',
|
||||
@@ -156,6 +158,10 @@ class Organisation(JSONModel):
|
||||
key=lambda user: user.email_address.lower(),
|
||||
)
|
||||
|
||||
def update(self, **kwargs):
|
||||
response = organisations_client.update_organisation(self.id, **kwargs)
|
||||
self.__init__(response)
|
||||
|
||||
|
||||
class Organisations(ModelList):
|
||||
client = organisations_client.get_organisations
|
||||
|
||||
Reference in New Issue
Block a user