-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(product): introduce multiple loyalty prices (#554)
* feat(product): introduce multiple loyalty prices * feat(product): lint fixes * feat(product): add changelog * feat(product): review fixes * feat(product): remove redundant fields to preserve model * feat(product): adapt generateLoyaltyChargeSplit to use single loyalty * feat(product): adapt GetLoyaltyPriceByType to use single loyalty * feat(product): regenerate everything * feat(product): fix tests * feat(product): fix linter issues * feat(product): fix changelog * feat(cart): sneak delivery code in context * feat(product): fix fake products * feat(product): return GetLoyaltyPriceByType * feat(product): brush up * feat(product): add active price to GetLoyaltyPriceByType * feat(product): make activeLoyaltyPrice a pointer Co-authored-by: Carsten Dietrich <3203968+carstendietrich@users.noreply.github.com> * fix(product): loyalty rate calculations now follow common rounding rules to be more exact * chore: fix loyalty value * feat(product): move getValidLoyaltyCharge out of generateLoyaltyChargeSplit * feat(product): fix comment --------- Co-authored-by: Carsten Dietrich <3203968+carstendietrich@users.noreply.github.com> Co-authored-by: Thorsten Essig <thorsten.essig@omnevo.net>
- Loading branch information
1 parent
42bcf09
commit 86c633f
Showing
18 changed files
with
601 additions
and
153 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
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
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
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.