Added a new endpoint for yearly usage totals using ft_billing.

This commit is contained in:
Rebecca Law
2018-05-11 16:25:16 +01:00
parent 99d1357c37
commit d98581cfe6
6 changed files with 193 additions and 43 deletions

View File

@@ -27,4 +27,4 @@ def create_nightly_billing(day_start=None):
update_fact_billing(data, process_day)
current_app.logger.info(
"create-nightly-billing task complete. {} rows updated for day: {}".format(len(transit_data, process_day)))
"create-nightly-billing task complete. {} rows updated for day: {}".format(len(transit_data), process_day))