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 reference number generation algorithm #1071

Merged
merged 1 commit into from
Feb 18, 2019

Conversation

artur-intech
Copy link
Contributor

@artur-intech artur-intech commented Jan 17, 2019

Some generated reference nubers came out invalid - it seems that in some cases our currect algorithm resulted with control value of 10 and inserted that in the end of randomly generated prefix while the correct value is 0

The specification does not mention this fact
https://www.pangaliit.ee/settlements-and-standards/reference
-number-of-the-invoice
@artur-intech artur-intech changed the title Return number if it already ends with zero Fix reference number generation algorithm Jan 17, 2019
@vohmar vohmar merged commit 0b38367 into master Feb 18, 2019
@vohmar vohmar deleted the fix-reference-number-generation branch March 26, 2019 13:54
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