-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[Admin][Core] Fix calculation issues on order show #5169
[Admin][Core] Fix calculation issues on order show #5169
Conversation
- introduced ORDER_SHIPPING_PROMOTION_ADJUSTMENT to separate shipping promotions from order promotions - apply shipping tax based on shipping total AND shipping promotions
Not including neutral tax adjustments in the tax total is not entirely correct. Even if the taxes are included in price, we need to display the total tax amount correctly - including that tax. |
@@ -25,3 +28,12 @@ Feature: Seeing taxes of order items | |||
Then the order's shipping total should be "€0.00" | |||
And the order's tax total should be "€32.20" | |||
And the order's total should be "€252.20" | |||
|
|||
@ui | |||
Scenario: Seeing included in price taxes of order items are not counted in taxes total |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please extract this to a separate feature file.
- We should not mix included and excluded tax rates within one channel
- The background becomes too big
We also should have scenarios for aggregating order promotion and tax adjustments. |
@michalmarcinkowski Totally agreed 👍 However, maybe we could introduce them in separate PR, as it's similar but still different problem and we don't want to delay this PR? |
Thanks Mateusz! 👍 |
…on-order-show [Admin][Core] Fix calculation issues on order show
…on-order-show [Admin][Core] Fix calculation issues on order show
This PR some issues on new admin order show page and introduce new logic of shipping promotions:
order shipping promotion
adjustment, that replacesorder promotion
usage inshipping discount
action