-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(core): Include with/without tax amounts on discounts
Relates to #749 BREAKING CHANGE: A minor breaking change has been made to the GraphQL API: The `Order.discounts` and `OrderLine.discounts` fields now return `amount` and `amountWithTax`. Previously they only had `amount`, which was actually the tax-inclusive value. So if you want to show discount amounts with tax, use `amountWithTax` and otherwise use `amount`.
- Loading branch information
1 parent
10899f3
commit 2de6bf5
Showing
15 changed files
with
4,940 additions
and
4,450 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.