Add email reply to address to go live ticket

It’s one of the things we check when someone makes a request to go live,
and putting it in the ticket means we don’t have to take the extra step
of clicking into the settings.

Also added some line breaks to chunk things up a bit more clearly.
This commit is contained in:
Chris Hill-Scott
2020-12-22 14:02:33 +00:00
parent 5a44cae266
commit d50eb11c7a
2 changed files with 10 additions and 0 deletions

View File

@@ -208,12 +208,15 @@ def submit_request_to_go_live(service_id):
'\n---'
'\nOrganisation type: {organisation_type}'
'\nAgreement signed: {agreement}'
'\n'
'\nEmails in next year: {volume_email_formatted}'
'\nText messages in next year: {volume_sms_formatted}'
'\nLetters in next year: {volume_letter_formatted}'
'\n'
'\nConsent to research: {research_consent}'
'\nOther live services: {existing_live}'
'\n'
'\nService reply-to address: {email_reply_to}'
'\n---'
'\nRequest sent by {email_address}'
'\n'
@@ -230,6 +233,7 @@ def submit_request_to_go_live(service_id):
research_consent='Yes' if current_service.consent_to_research else 'No',
existing_live='Yes' if current_user.live_services else 'No',
email_address=current_user.email_address,
email_reply_to=current_service.default_email_reply_to_address or 'not set',
),
ticket_type=zendesk_client.TYPE_QUESTION,
user_email=current_user.email_address,