Merge branch 'populate-monthly-letter-usages' of github.com:alphagov/notifications-api into populate-monthly-letter-usages

This commit is contained in:
Rebecca Law
2017-12-15 10:34:20 +00:00
5 changed files with 34 additions and 13 deletions

View File

@@ -52,6 +52,11 @@ def get_billing_data_for_month(service_id, start_date, end_date, notification_ty
elif notification_type == LETTER_TYPE:
results.extend(billing_letter_data_per_month_query(service_id, start_date, end_date))
if notification_type == LETTER_TYPE:
results.extend(billing_letter_data_per_month_query(
service_id=service_id, start_date=start_date, end_date=end_date)
)
return results