Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed projects duplicates when applying BU subsidy #39

Merged
merged 1 commit into from
May 16, 2024

Conversation

QuanMPhm
Copy link
Contributor

@QuanMPhm QuanMPhm commented May 2, 2024

Finally closes #25, I've added some lines to remove duplicate projects from the BU internal invoice along with the corresponding changes to the test cases.

The cost, credit, and balance fields are now summed up before applying the subsidy.
While writing this I had to be a bit careful with knowing whether certain indexing and assignment operations were returning copies or references. I'll address this in a PR soon?

@QuanMPhm QuanMPhm requested review from knikolla and naved001 May 2, 2024 19:28
@naved001 naved001 requested a review from larsks May 3, 2024 18:35
process_report/process_report.py Outdated Show resolved Hide resolved
process_report/tests/unit_tests.py Show resolved Hide resolved
@knikolla
Copy link
Contributor

@naved001 if you're satisfied with the responses to your comments please mark the conversations as resolved.

@naved001
Copy link
Collaborator

@knikolla done

@QuanMPhm QuanMPhm merged commit 322bb70 into CCI-MOC:main May 16, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create a new HU & BU only Invoice & Create a BU Internal Invoice CSV
3 participants