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

close #2122 void last invoice if penalty #2123

Merged
merged 1 commit into from
Dec 6, 2024

Conversation

tykealy
Copy link
Collaborator

@tykealy tykealy commented Dec 6, 2024

Before:

  • each month when creating a new invoice, if the last isn't paid, we add the last invoice amount with current invoice amount with additional penalty.
  • but the last invoice remains in balance_due state which leads to incorrect monthly report .

New Changes:

  • if the last invoice isn't paid, once the new invoice is created, we void the last invoice.

@tykealy tykealy self-assigned this Dec 6, 2024
@tykealy tykealy requested a review from channainfo December 6, 2024 11:14
@tykealy tykealy added enhancement New feature or request backend billing labels Dec 6, 2024
@tykealy tykealy requested a review from AhKaRY December 6, 2024 11:16
@tykealy tykealy force-pushed the 2122-void-last-invoice-if-penalty branch from 92da172 to 11d8c3e Compare December 6, 2024 11:36
@channainfo channainfo merged commit e0a03ac into develop Dec 6, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend billing enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants