Remove template link from preview for precompiled letters

This commit is contained in:
Ken Tsang
2018-03-02 17:06:51 +00:00
parent 5c26d7a061
commit bcf86239c6
5 changed files with 49 additions and 4 deletions

View File

@@ -80,6 +80,7 @@ def view_notification(service_id, notification_id):
estimated_letter_delivery_date=get_letter_timings(notification['created_at']).earliest_delivery,
notification_id=notification['id'],
can_receive_inbound=('inbound_sms' in current_service['permissions']),
is_precompiled_letter=notification['template']['is_precompiled_letter']
)