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

bug(ProgressiveBilling) - manually created credit notes interfere with progressive billing credits. #2915

Merged
merged 2 commits into from
Dec 5, 2024

Conversation

nudded
Copy link
Contributor

@nudded nudded commented Dec 5, 2024

Description

When calculating the progressive billing invoice credit to apply, we don't take into account that a) this invoice might already be credited and there could also be credit notes created for this invoice.

This PR address both. As a bonus it also fixes a credit note item validator

@nudded nudded changed the title Add resilience against credit notes being created manually for progre… bug(ProgressiveBilling) - manually created credit notes interfere with progressive billing credits. Dec 5, 2024
@nudded nudded force-pushed the bug-progressive-billing-with-existing-invoices branch from f562e6b to 3f37697 Compare December 5, 2024 12:49
@nudded nudded force-pushed the bug-progressive-billing-with-existing-invoices branch from 3f37697 to 6995e87 Compare December 5, 2024 13:08
@nudded nudded marked this pull request as ready for review December 5, 2024 14:06
@nudded nudded force-pushed the bug-progressive-billing-with-existing-invoices branch from d1a0410 to 01b2968 Compare December 5, 2024 15:01
@nudded nudded merged commit 41a86be into main Dec 5, 2024
6 checks passed
@nudded nudded deleted the bug-progressive-billing-with-existing-invoices branch December 5, 2024 15:20
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