@aptos-scp/scp-component-store-selling-features-domain-model 1.46.2 → 1.46.3
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.
|
@@ -206,7 +206,8 @@ function originalTenderNeeded(tenderLine, tenderAuthCategory, currentOriginalTen
|
|
|
206
206
|
var _a;
|
|
207
207
|
if (tenderAuthCategory === Constants_1.TenderAuthCategory.TapToPayOnPOS ||
|
|
208
208
|
tenderAuthCategory === Constants_1.TenderAuthCategory.PaymentDevice ||
|
|
209
|
-
tenderAuthCategory === Constants_1.TenderAuthCategory.Wallet
|
|
209
|
+
tenderAuthCategory === Constants_1.TenderAuthCategory.Wallet ||
|
|
210
|
+
tenderAuthCategory === Constants_1.TenderAuthCategory.PayByLink) {
|
|
210
211
|
return true;
|
|
211
212
|
}
|
|
212
213
|
else {
|
|
@@ -217,7 +218,8 @@ function getOriginalTenderFromLine(tenderLine, tenderAuthCategory, additionalLin
|
|
|
217
218
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
218
219
|
const showReference = (tenderAuthCategory === Constants_1.TenderAuthCategory.TapToPayOnPOS ||
|
|
219
220
|
tenderAuthCategory === Constants_1.TenderAuthCategory.PaymentDevice ||
|
|
220
|
-
tenderAuthCategory === Constants_1.TenderAuthCategory.Wallet
|
|
221
|
+
tenderAuthCategory === Constants_1.TenderAuthCategory.Wallet ||
|
|
222
|
+
tenderAuthCategory === Constants_1.TenderAuthCategory.PayByLink) &&
|
|
221
223
|
tenderLine.tenderDetails &&
|
|
222
224
|
tenderLine.tenderDetails.paymentProvider !== scp_types_commerce_devices_1.PaymentProvider.NonIntegrated;
|
|
223
225
|
const originalTenderAmount = tenderLine.tenderAmount && scp_component_business_core_1.Money.fromIMoney(tenderLine.tenderAmount);
|
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.46.
|
|
3
|
+
"version": "1.46.3",
|
|
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",
|