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

fix (invoice-number): use organization timezone in per org numbering #1671

Merged
merged 2 commits into from
Feb 6, 2024

Conversation

lovrocolic
Copy link
Collaborator

Context

When generating invoice number in per_organization mode, we should use organization timezone.

Description

organization_sequential_id usually have following pattern: prefix-202402-001. Middle part and sequential id should be generated in the organization scope and based on existing month. However, month scope should take organization timezone into account.

@lovrocolic lovrocolic merged commit bd11985 into main Feb 6, 2024
6 checks passed
@lovrocolic lovrocolic deleted the adjust-org-numbering-timezone branch February 6, 2024 10:57
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.

3 participants