Launch first class postage feature

This commit makes it available to everyone. Available just means they
can select 1st class for all their letters, if they want it.
This commit is contained in:
Chris Hill-Scott
2018-11-26 15:53:14 +00:00
parent 6e56a4d517
commit 84a3c80eb4
3 changed files with 41 additions and 33 deletions

View File

@@ -234,20 +234,18 @@
)}}
{% endcall %}
{% if current_user.platform_admin %}
{% call settings_row(if_has_permission='letter') %}
{{ text_field('Postage') }}
{% set postage = {'first': 'First class only', 'second': 'Second class only'} %}
{{ text_field(postage[current_service.postage]) }}
{{ edit_field(
'Change',
url_for('.service_set_postage',
service_id=current_service.id),
permissions=['manage_service']
)
}}
{% endcall %}
{% endif %}
{% call settings_row(if_has_permission='letter') %}
{{ text_field('Postage') }}
{% set postage = {'first': 'First class only', 'second': 'Second class only'} %}
{{ text_field(postage[current_service.postage]) }}
{{ edit_field(
'Change',
url_for('.service_set_postage',
service_id=current_service.id),
permissions=['manage_service']
)
}}
{% endcall %}
{% endcall %}
</div>