From a89297c9f5589491c78db47775e21534b60adceb Mon Sep 17 00:00:00 2001 From: Quan Pham Date: Mon, 2 Sep 2024 12:13:29 -0400 Subject: [PATCH] Added URI NERC Total Invoice --- process_report/invoices/NERC_total_invoice.py | 1 + process_report/process_report.py | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/process_report/invoices/NERC_total_invoice.py b/process_report/invoices/NERC_total_invoice.py index 983f175..9133333 100644 --- a/process_report/invoices/NERC_total_invoice.py +++ b/process_report/invoices/NERC_total_invoice.py @@ -9,6 +9,7 @@ class NERCTotalInvoice(invoice.Invoice): INCLUDED_INSTITUTIONS = [ "Harvard University", "Boston University", + "University of Rhode Island", ] @property diff --git a/process_report/process_report.py b/process_report/process_report.py index ea18139..8797b53 100644 --- a/process_report/process_report.py +++ b/process_report/process_report.py @@ -14,7 +14,7 @@ lenovo_invoice, nonbillable_invoice, billable_invoice, - hu_bu_invoice, + NERC_total_invoice, ) @@ -270,16 +270,16 @@ def main(): billable_inv.process() billable_inv.export() - hu_bu_inv = hu_bu_invoice.HUBUInvoice( + nerc_total_inv = NERC_total_invoice.NERCTotalInvoice( name=args.NERC_total_invoice_file, invoice_month=invoice_month, data=billable_inv.data, ) - hu_bu_inv.process() - hu_bu_inv.export() + nerc_total_inv.process() + nerc_total_inv.export() if args.upload_to_s3: - for invoice in [billable_inv, hu_bu_inv]: + for invoice in [billable_inv, nerc_total_inv]: bucket = get_invoice_bucket() invoice.export_s3(bucket)