Skip to content

Commit

Permalink
Return PI email in storage invoices
Browse files Browse the repository at this point in the history
This switches the PI field in invoices to use email instead.
  • Loading branch information
knikolla committed May 1, 2024
1 parent f2db32e commit db048fd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def process_invoice_row(allocation, attrs, su_name, rate):
InvoiceMonth=options['invoice_month'],
Project_Name=allocation.get_attribute(attributes.ALLOCATION_PROJECT_NAME),
Project_ID=allocation.get_attribute(attributes.ALLOCATION_PROJECT_ID),
PI=allocation.project.pi,
PI=allocation.project.pi.email,
Institution_Specific_Code=allocation.get_attribute(
attributes.ALLOCATION_INSTITUTION_SPECIFIC_CODE
) or "N/A",
Expand Down

0 comments on commit db048fd

Please sign in to comment.