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

CET-510/fix: Fix magento calculations #57

Merged
merged 2 commits into from
Nov 18, 2024

Conversation

brtkwr
Copy link
Member

@brtkwr brtkwr commented Nov 15, 2024

At present, we derive the gross amount for line item. This is causing rounding error in some cases.
Instead we should use gross amount provided by magento

@brtkwr brtkwr requested a review from a team as a code owner November 15, 2024 10:02
@brtkwr brtkwr force-pushed the brtkwr-two/cet-510-fix-magento-calculations branch from 704e053 to 2a7bc5f Compare November 15, 2024 10:05
Copy link
Contributor

@SalmanTwo SalmanTwo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@brtkwr brtkwr force-pushed the brtkwr-two/cet-510-fix-magento-calculations branch 6 times, most recently from 3f9ecee to 05e4b56 Compare November 16, 2024 01:07
At present, we derive the gross amount for line item. This is causing rounding error in some cases.
Instead we should use gross amount provided by Magento.
@brtkwr brtkwr force-pushed the brtkwr-two/cet-510-fix-magento-calculations branch from 05e4b56 to c527cb4 Compare November 18, 2024 08:30
@brtkwr brtkwr merged commit 07ca9d5 into main Nov 18, 2024
13 checks passed
@brtkwr brtkwr deleted the brtkwr-two/cet-510-fix-magento-calculations branch November 18, 2024 09: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