diff --git a/app/main/views/jobs.py b/app/main/views/jobs.py
index 48ef1875c..17e75f706 100644
--- a/app/main/views/jobs.py
+++ b/app/main/views/jobs.py
@@ -45,9 +45,7 @@ def view_job(service_id, job_id):
notifications=notifications['notifications'],
counts={
'queued': 0 if finished else job['notification_count'],
- 'sent': job['notification_count'] if finished else 0,
- 'failed': 0,
- 'cost': u'£0.00'
+ 'sent': job['notification_count'] if finished else 0
},
uploaded_at=job['created_at'],
finished_at=job['updated_at'] if finished else None,
@@ -74,9 +72,7 @@ def view_job_updates(service_id, job_id):
'partials/jobs/count.html',
counts={
'queued': 0 if finished else job['notification_count'],
- 'sent': job['notification_count'] if finished else 0,
- 'failed': 0,
- 'cost': u'£0.00'
+ 'sent': job['notification_count'] if finished else 0
}
),
'notifications': render_template(
diff --git a/app/templates/partials/jobs/count.html b/app/templates/partials/jobs/count.html
index f88e0aed0..6caf5f548 100644
--- a/app/templates/partials/jobs/count.html
+++ b/app/templates/partials/jobs/count.html
@@ -7,18 +7,7 @@
{{ big_number(
- counts.sent, 'sent'
- )}}
-
-
- {{ big_number(
- counts.failed,
- 'failed'
- )}}
-
-
- {{ big_number(
- counts.cost, 'total cost'
+ counts.sent, 'processed'
)}}
diff --git a/app/templates/views/dashboard/jobs.html b/app/templates/views/dashboard/jobs.html
index 941bb51cc..6240ed990 100644
--- a/app/templates/views/dashboard/jobs.html
+++ b/app/templates/views/dashboard/jobs.html
@@ -4,7 +4,7 @@
jobs,
caption="Recent batch jobs",
empty_message='You haven’t sent any text messages yet',
- field_headings=['File', 'Started', right_aligned_field_heading('Rows'), right_aligned_field_heading('Sent')]
+ field_headings=['File', 'Started', right_aligned_field_heading('Rows')]
) %}
{% call field() %}
{{ item.original_file_name }}
@@ -15,9 +15,6 @@
{% call field(align='right') %}
{{ item.notification_count }}
{% endcall %}
- {% call field(align='right') %}
- {{ item.notifications_sent }}
- {% endcall %}
{% endcall %}
{% if more_jobs_to_show %}
{% if current_user.has_permissions(['send_texts', 'send_emails', 'send_letters']) %}
diff --git a/tests/app/main/views/test_jobs.py b/tests/app/main/views/test_jobs.py
index dcea08bfd..47def675a 100644
--- a/tests/app/main/views/test_jobs.py
+++ b/tests/app/main/views/test_jobs.py
@@ -74,9 +74,8 @@ def test_should_show_updates_for_one_job_as_json(
assert response.status_code == 200
content = json.loads(response.get_data(as_text=True))
- assert 'sent' in content['counts']
+ assert 'processed' in content['counts']
assert 'queued' in content['counts']
- assert 'failed' in content['counts']
assert 'Recipient' in content['notifications']
assert 'Status' in content['notifications']
assert 'Started' in content['status']