Show billing details row for admins on service settings page

This commit is contained in:
Pea Tyczynska
2021-01-22 16:50:32 +00:00
parent f5e639050b
commit 8219e5a2f9
2 changed files with 7 additions and 0 deletions

View File

@@ -335,6 +335,12 @@
{{ edit_field('Change', url_for('.service_switch_count_as_live', service_id=current_service.id), suffix='if service is counted in list of live services') }}
{% endcall %}
{% call row() %}
{{ text_field('Billing details')}}
{{ optional_text_field(None, default="No billing details yet", wrap=True) }}
{{ edit_field('Change', url_for('.service_settings', service_id=current_service.id), suffix='billing details for service') }}
{% endcall %}
{% call row() %}
{{ text_field('Notes')}}
{{ optional_text_field(current_service.notes, default="No notes yet", wrap=True) }}

View File

@@ -100,6 +100,7 @@ def mock_get_service_settings_page_common(
'Label Value Action',
'Live Off Change service status',
'Count in list of live services Yes Change if service is counted in list of live services',
'Billing details No billing details yet Change billing details for service',
'Notes No notes yet Change the notes for the service',
'Organisation Test organisation Central government Change organisation for service',
'Rate limit 3,000 per minute Change rate limit',