mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-17 10:42:25 -05:00
Removed month and year and replaced it with start_date and end_date.
This will allow us to sort the data properly.
This commit is contained in:
@@ -158,6 +158,7 @@ class PopulateMonthlyBilling(Command):
|
||||
)
|
||||
|
||||
def run(self, service_id, month, year):
|
||||
print('Starting populating monthly billing')
|
||||
create_or_update_monthly_billing_sms(service_id, datetime(int(year), int(month), 1))
|
||||
results = get_monthly_billing_sms(service_id, datetime(int(year), int(month), 1))
|
||||
print("Finished populating data for {} for service id {}".format(month, service_id))
|
||||
|
||||
Reference in New Issue
Block a user