Remove service postage setting and choose_postage switch

This commit is contained in:
Pea Tyczynska
2019-02-04 14:55:16 +00:00
parent 20ae200de9
commit fe6b73b8dc
7 changed files with 0 additions and 195 deletions
-20
View File
@@ -240,21 +240,6 @@
)}}
{% endcall %}
{% if current_service.has_permission('letter') and not current_service.has_permission('choose_postage') %}
{% call settings_row() %}
{{ 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 %}
{% endcall %}
</div>
@@ -373,11 +358,6 @@
{{ 'Stop uploading documents' if 'upload_document' in current_service.permissions else 'Allow to upload documents' }}
</a>
</li>
<li class="bottom-gutter">
<a href="{{ url_for('.service_switch_can_choose_postage', service_id=current_service.id) }}" class="button">
{{ 'Stop choosing postage per template' if 'choose_postage' in current_service.permissions else 'Allow to choose postage per template' }}
</a>
</li>
{% if current_service.active %}
<li class="bottom-gutter">
<a href="{{ url_for('.archive_service', service_id=current_service.id) }}" class="button">