Merge pull request #1941 from alphagov/rtgl-org-info

Add what we know of agreements to go live request
This commit is contained in:
Leo Hemsted
2018-03-09 12:20:57 +00:00
committed by GitHub
5 changed files with 66 additions and 0 deletions

View File

@@ -44,6 +44,7 @@ from app.main.forms import (
SMSPrefixForm,
)
from app.utils import (
GovernmentDomain,
email_safe,
get_cdn_domain,
user_has_permissions,
@@ -196,6 +197,7 @@ def submit_request_to_go_live(service_id):
'On behalf of {} ({})\n'
'\n---'
'\nOrganisation type: {}'
'\nAgreement signed: {}'
'\nMOU in place: {}'
'\nChannel: {}\nStart date: {}\nStart volume: {}'
'\nPeak volume: {}'
@@ -204,6 +206,7 @@ def submit_request_to_go_live(service_id):
current_service['name'],
url_for('main.service_dashboard', service_id=current_service['id'], _external=True),
current_service['organisation_type'],
GovernmentDomain.from_current_user().as_human_readable,
form.mou.data,
formatted_list(filter(None, (
'email' if form.channel_email.data else None,