diff --git a/app/main/views/jobs.py b/app/main/views/jobs.py index 36ba99da0..33c4d782e 100644 --- a/app/main/views/jobs.py +++ b/app/main/views/jobs.py @@ -390,7 +390,7 @@ def get_job_partials(job, template): if notifications['notifications']: postage = notifications['notifications'][0]['postage'] else: - postage = current_service.postage + postage = template['postage'] counts = render_template( 'partials/jobs/count-letters.html', diff --git a/app/notify_client/service_api_client.py b/app/notify_client/service_api_client.py index 4b4b87ea1..75e3bdb04 100644 --- a/app/notify_client/service_api_client.py +++ b/app/notify_client/service_api_client.py @@ -83,7 +83,6 @@ class ServiceAPIClient(NotifyAdminAPIClient): 'free_sms_fragment_limit', 'prefix_sms', 'contact_link', - 'postage', } if disallowed_attributes: raise TypeError('Not allowed to update service attributes: {}'.format( diff --git a/app/templates/views/templates/_template.html b/app/templates/views/templates/_template.html index 4e9198579..e99b1ec39 100644 --- a/app/templates/views/templates/_template.html +++ b/app/templates/views/templates/_template.html @@ -22,12 +22,10 @@ {% endif %} - {% if current_service.has_permission("choose_postage") %}