Display postage on letter notification page

This commit is contained in:
Pea Tyczynska
2018-09-24 11:29:33 +01:00
parent e28ed2975b
commit 64f356d7b0
2 changed files with 4 additions and 0 deletions

View File

@@ -91,6 +91,7 @@ def view_notification(service_id, notification_id):
help=get_help_argument(),
estimated_letter_delivery_date=get_letter_timings(notification['created_at']).earliest_delivery,
notification_id=notification['id'],
postage=notification['postage'],
can_receive_inbound=(current_service.has_permission('inbound_sms')),
is_precompiled_letter=notification['template']['is_precompiled_letter']
)

View File

@@ -35,6 +35,9 @@
</p>
{% if template.template_type == 'letter' %}
<p>
Sent by {{ postage }} class
</p>
<p>
Estimated delivery date: {{ estimated_letter_delivery_date|string|format_date_short }}
</p>