Skip to content

Commit

Permalink
Added URI NERC Total Invoice
Browse files Browse the repository at this point in the history
  • Loading branch information
QuanMPhm committed Sep 3, 2024
1 parent 1b23b85 commit a89297c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions process_report/invoices/NERC_total_invoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ class NERCTotalInvoice(invoice.Invoice):
INCLUDED_INSTITUTIONS = [
"Harvard University",
"Boston University",
"University of Rhode Island",
]

@property
Expand Down
10 changes: 5 additions & 5 deletions process_report/process_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
lenovo_invoice,
nonbillable_invoice,
billable_invoice,
hu_bu_invoice,
NERC_total_invoice,
)


Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit a89297c

Please sign in to comment.