mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-09 14:29:49 -04:00
Display postage on letter notification page
This commit is contained in:
@@ -91,6 +91,7 @@ def view_notification(service_id, notification_id):
|
|||||||
help=get_help_argument(),
|
help=get_help_argument(),
|
||||||
estimated_letter_delivery_date=get_letter_timings(notification['created_at']).earliest_delivery,
|
estimated_letter_delivery_date=get_letter_timings(notification['created_at']).earliest_delivery,
|
||||||
notification_id=notification['id'],
|
notification_id=notification['id'],
|
||||||
|
postage=notification['postage'],
|
||||||
can_receive_inbound=(current_service.has_permission('inbound_sms')),
|
can_receive_inbound=(current_service.has_permission('inbound_sms')),
|
||||||
is_precompiled_letter=notification['template']['is_precompiled_letter']
|
is_precompiled_letter=notification['template']['is_precompiled_letter']
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -35,6 +35,9 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
{% if template.template_type == 'letter' %}
|
{% if template.template_type == 'letter' %}
|
||||||
|
<p>
|
||||||
|
Sent by {{ postage }} class
|
||||||
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Estimated delivery date: {{ estimated_letter_delivery_date|string|format_date_short }}
|
Estimated delivery date: {{ estimated_letter_delivery_date|string|format_date_short }}
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user