-
Notifications
You must be signed in to change notification settings - Fork 3
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
Implemented processing and exporting for BU Internal invoice #26
Conversation
45dd69d
to
d676c4a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@QuanMPhm could you update the commit message with a brief description of how this is supposed to work? For example, I don't remember if subsidies apply before credits or the other way around etc.
e2716be
to
74bc0f8
Compare
@knikolla I'll rebase once I know which PR is approved? |
74bc0f8
to
d8d3234
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine to me. @naved001 can you do a final pass?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just one suggestion for improving the tests, other than that it looks good to me.
d8d3234
to
479f87e
Compare
479f87e
to
1fbd44b
Compare
Closes #25 fully, I have implemented the function to export the BU Internal invoice, following @joachimweyl's specifications in the linked issue.
The BU subsidy will be applied to every BU PI after the New-PI credit is applied to eligible PIs in the combined invoice. With how this is currently implemented, the combined invoice may NOT show BU PIs' final balances, as the BU-only invoice is made and exported after the combined invoice is exported.
The current subsidy is set at $100, but I have made the amount configurable via a cli arguement.