Update send_to_providers and create_dvla_file_contents_for_notifications to use notification.reply_to_text.

The next thing to do is to stop updating the notification to sender mapping tables.
This commit is contained in:
Rebecca Law
2017-11-27 15:24:16 +00:00
parent 4ecf168590
commit 03c3ebbbe7
5 changed files with 36 additions and 34 deletions

View File

@@ -402,7 +402,7 @@ def create_dvla_file_contents_for_notifications(notifications):
notification.template.__dict__,
notification.personalisation,
notification_reference=notification.reference,
contact_block=notification.service.get_default_letter_contact(),
contact_block=notification.reply_to_text,
org_id=notification.service.dvla_organisation.id,
))
for notification in notifications