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

feat(event): Use generating invoice service for prepaid credit invoices #1552

Merged
merged 1 commit into from
Dec 19, 2023

Conversation

vincent-pochet
Copy link
Collaborator

Context

This PR follows #1546

Description

It makes use of the new Invoices::CreateGeneratingService service in the Invoices::PaidCreditService, to reduce the risk of database locking when generating the organization_sequential_id

A logic to prevent duplication of generating invoice was also added to the BillPaidCreditJob

@vincent-pochet vincent-pochet added Invoice Related to Invoices 🐞 Bug Something isn't working labels Dec 18, 2023
@vincent-pochet vincent-pochet self-assigned this Dec 18, 2023
@vincent-pochet vincent-pochet merged commit 90aae60 into main Dec 19, 2023
6 checks passed
@vincent-pochet vincent-pochet deleted the feat-credit-invoice branch December 19, 2023 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 Bug Something isn't working Invoice Related to Invoices
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants