Do not allow to send a letter template longer than 10 pages

This commit is contained in:
Pea Tyczynska
2019-09-27 16:52:09 +01:00
parent 94f0084b94
commit 579ae72abb
3 changed files with 26 additions and 1 deletions

View File

@@ -74,6 +74,7 @@ def view_template(service_id, template_id):
),
template_postage=template["postage"],
user_has_template_permission=user_has_template_permission,
page_count=get_page_count_for_letter(template),
)