Revert "Revert "add DVLA organisations to API""

This commit is contained in:
Imdad Ahad
2017-04-21 12:39:42 +01:00
committed by Chris Hill-Scott
parent 4c764dcc80
commit c4fac1d937
13 changed files with 139 additions and 79 deletions

View File

@@ -321,7 +321,8 @@ def create_dvla_file_contents(job_id):
notification.template.__dict__,
notification.personalisation,
notification_reference=notification.reference,
contact_block=notification.service.letter_contact_block
contact_block=notification.service.letter_contact_block,
org_id=notification.service.dvla_organisation.id,
))
for notification in dao_get_all_notifications_for_job(job_id)
)