mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-14 17:22:17 -05:00
Add letter type when getting billing data for financial year
This commit is contained in:
@@ -214,7 +214,6 @@ def populate_monthly_billing(year):
|
||||
print('Email: {}'.format(email_res.monthly_totals))
|
||||
print('Letter: {}'.format(letter_res.monthly_totals))
|
||||
|
||||
|
||||
service_ids = get_service_ids_that_need_billing_populated(
|
||||
start_date=datetime(2016, 5, 1), end_date=datetime(2017, 8, 16)
|
||||
)
|
||||
@@ -223,13 +222,12 @@ def populate_monthly_billing(year):
|
||||
if year == 2016:
|
||||
start = 4
|
||||
|
||||
# for service_id in service_ids:
|
||||
# print('Starting to populate data for service {}'.format(str(service_id)))
|
||||
# print('Starting populating monthly billing for {}'.format(year))
|
||||
# for i in range(start, end):
|
||||
# print('Population for {}-{}'.format(i, year))
|
||||
# populate(service_id, year, i)
|
||||
populate('56fa9fd8-61de-4688-8bc7-2908a77367df', year, 10)
|
||||
for service_id in service_ids:
|
||||
print('Starting to populate data for service {}'.format(str(service_id)))
|
||||
print('Starting populating monthly billing for {}'.format(year))
|
||||
for i in range(start, end):
|
||||
print('Population for {}-{}'.format(i, year))
|
||||
populate(service_id, year, i)
|
||||
|
||||
|
||||
@notify_command()
|
||||
|
||||
Reference in New Issue
Block a user