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

Clean out wire and unused code #1707

Merged
merged 3 commits into from
Aug 27, 2024
Merged

Clean out wire and unused code #1707

merged 3 commits into from
Aug 27, 2024

Conversation

seeker25
Copy link
Collaborator

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the sbc-pay license (Apache 2.0).

@@ -492,7 +492,16 @@ def add_nsf_adjustment(cls, cfs_account: CfsAccountModel, inv_number: str, amoun

@classmethod
def adjust_invoice(cls, cfs_account: CfsAccountModel, inv_number: str, amount=0.0, adjustment_lines=None):
"""Add adjustment to the invoice."""
"""Add adjustment to the invoice.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this comment.

Copy link
Collaborator Author

@seeker25 seeker25 Aug 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We might need to use adjust invoice.. because we can adjust it for a reversal and adjust it back if we need to use the invoice again. Reverse invoice, doesn't seem to be able to go backwards unless we can edit credit memos

Copy link
Collaborator

@ochiu ochiu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice clean up, thanks!

@seeker25 seeker25 merged commit bba30ee into bcgov:main Aug 27, 2024
12 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.

2 participants