Add billing details property

This property lets service settings know if there are any
billing details to preview.
This commit is contained in:
Pea Tyczynska
2021-01-25 12:54:23 +00:00
parent 8219e5a2f9
commit 4a7bfcc9c5
4 changed files with 43 additions and 8 deletions

View File

@@ -337,7 +337,7 @@
{% call row() %}
{{ text_field('Billing details')}}
{{ optional_text_field(None, default="No billing details yet", wrap=True) }}
{{ optional_text_field(current_service.billing_details, 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 %}