mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-30 22:42:28 -05:00
Merge pull request #1853 from alphagov/pass-letter-date-to-template-preview
Pass date of letter to template preview
This commit is contained in:
@@ -247,6 +247,7 @@ def preview_letter_template_by_notification_id(service_id, notification_id, file
|
||||
'letter_contact_block': notification.reply_to_text,
|
||||
'template': template_for_letter_print,
|
||||
'values': notification.personalisation,
|
||||
'date': notification.created_at.isoformat(),
|
||||
'dvla_org_id': service.dvla_organisation_id,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user