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

Draft: Fix for #640 #769

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

FrankHossfeld
Copy link

@FrankHossfeld FrankHossfeld commented Mar 8, 2025

Do Not Merge!!!

ATM this PR is nothing more than a draft. It should be used as a base for discussions about how to fix the issue #640. Also it needs more testing!

This PR improves the TransactionCalculator-class. The calculation inside the getVATPercentAmountMap-method is improved and stored as an instance variable to avoid the calculation of the values several times.

To run the changes, look for the ChargesOnDocumentLevelTest-class and run the main method.

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.

1 participant