@aptos-scp/scp-component-store-selling-features-domain-model 2.19.0 → 2.19.1
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.
|
@@ -1321,14 +1321,11 @@ class MerchandiseTransaction extends RetailTransaction_1.RetailTransaction {
|
|
|
1321
1321
|
});
|
|
1322
1322
|
}
|
|
1323
1323
|
taxIncludedInPrice() {
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
return true;
|
|
1330
|
-
}
|
|
1331
|
-
return false;
|
|
1324
|
+
var _a, _b;
|
|
1325
|
+
return (_b = (_a = this.transactionTaxes) === null || _a === void 0 ? void 0 : _a.some((tax) => {
|
|
1326
|
+
var _a;
|
|
1327
|
+
return (_a = tax.taxAuthorities) === null || _a === void 0 ? void 0 : _a.some((authority) => { var _a; return (_a = authority.taxByRule) === null || _a === void 0 ? void 0 : _a.some((rule) => rule.taxIncludedInPrice); });
|
|
1328
|
+
}), (_b !== null && _b !== void 0 ? _b : false));
|
|
1332
1329
|
}
|
|
1333
1330
|
convertAmountToAccountingCurrency(amount) {
|
|
1334
1331
|
if (amount === undefined || isNaN(+amount)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aptos-scp/scp-component-store-selling-features-domain-model",
|
|
3
|
-
"version": "2.19.
|
|
3
|
+
"version": "2.19.1",
|
|
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",
|