mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 01:41:05 -05:00
Remove cancelled from requested statuses in service statistics
This commit is contained in:
@@ -84,7 +84,8 @@ def create_zeroed_stats_dicts():
|
||||
|
||||
|
||||
def _update_statuses_from_row(update_dict, row):
|
||||
update_dict['requested'] += row.count
|
||||
if row.status != 'cancelled':
|
||||
update_dict['requested'] += row.count
|
||||
if row.status in ('delivered', 'sent'):
|
||||
update_dict['delivered'] += row.count
|
||||
elif row.status in (
|
||||
|
||||
Reference in New Issue
Block a user