@pisell/pisellos 2.1.79 → 2.1.80
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.
|
@@ -116,11 +116,10 @@ export var SummaryModule = /*#__PURE__*/function (_BaseModule) {
|
|
|
116
116
|
while (1) switch (_context3.prev = _context3.next) {
|
|
117
117
|
case 0:
|
|
118
118
|
shopInfo = ((_this$shopStore$get = this.shopStore.get('core')) === null || _this$shopStore$get === void 0 || (_this$shopStore$get = _this$shopStore$get.core) === null || _this$shopStore$get === void 0 ? void 0 : _this$shopStore$get.shop) || {};
|
|
119
|
-
this.core.getModule('appointmentBooking_schedule');
|
|
120
119
|
summary = calculatePriceDetails(shopInfo, cartItems, ScheduleModule.isInScheduleByDate, this.store.surchargeList);
|
|
121
120
|
this.store.summary = summary;
|
|
122
121
|
return _context3.abrupt("return", this.store.summary);
|
|
123
|
-
case
|
|
122
|
+
case 4:
|
|
124
123
|
case "end":
|
|
125
124
|
return _context3.stop();
|
|
126
125
|
}
|
|
@@ -76,7 +76,6 @@ var SummaryModule = class extends import_BaseModule.BaseModule {
|
|
|
76
76
|
async getSummary(cartItems) {
|
|
77
77
|
var _a, _b;
|
|
78
78
|
const shopInfo = ((_b = (_a = this.shopStore.get("core")) == null ? void 0 : _a.core) == null ? void 0 : _b.shop) || {};
|
|
79
|
-
this.core.getModule("appointmentBooking_schedule");
|
|
80
79
|
const summary = (0, import_utils.calculatePriceDetails)(
|
|
81
80
|
shopInfo,
|
|
82
81
|
cartItems,
|