@aptos-scp/scp-component-store-selling-features-domain-model 1.20.0 → 1.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -210,6 +210,12 @@ class ItemLine extends BaseTransactionLine_1.BaseTransactionLine {
210
210
  if (originalPriceOverride) {
211
211
  itemLine._originalPriceOverride = originalPriceOverride;
212
212
  }
213
+ const originalTaxOverride = collectedData.get(Constants_1.CollectedDataKey.OriginalTaxOverride);
214
+ if (originalTaxOverride) {
215
+ itemLine._originalTaxOverride = originalTaxOverride;
216
+ itemLine._taxOverride = originalTaxOverride.taxOverride;
217
+ itemLine._preTaxOverrideDetails = originalTaxOverride.preTaxOverrideDetails;
218
+ }
213
219
  }
214
220
  if (lineType === exports.ITEM_SALE_LINE_TYPE && uiBusinessEvent.type === UIBusinessEventTypes_1.ORDER_ITEM_PICKUP_EVENT) {
215
221
  const originalDiscountReason = collectedData.get(Constants_1.CollectedDataKey.OriginalDiscountReason);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aptos-scp/scp-component-store-selling-features-domain-model",
3
- "version": "1.20.0",
3
+ "version": "1.21.0",
4
4
  "description": "This component library provides the common components to handle the coordination of processing the business events from the UI.",
5
5
  "private": false,
6
6
  "license": "SEE LICENSE IN LICENSE.md",