@pisell/pisellos 0.0.297 → 0.0.298
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.
|
@@ -484,9 +484,6 @@ export var CheckoutImpl = /*#__PURE__*/function (_BaseModule) {
|
|
|
484
484
|
};
|
|
485
485
|
bookings === null || bookings === void 0 || bookings.forEach(function (item) {
|
|
486
486
|
var total = item.product.calculated_selling_price;
|
|
487
|
-
item.product.discount_list.forEach(function (discount) {
|
|
488
|
-
summaryDeposit.total = new Decimal(summaryDeposit.total).minus(discount.amount || 0).toNumber();
|
|
489
|
-
});
|
|
490
487
|
var deposit = getProductDeposit({
|
|
491
488
|
cartItem: {
|
|
492
489
|
total: total
|
|
@@ -281,9 +281,6 @@ var CheckoutImpl = class extends import_BaseModule.BaseModule {
|
|
|
281
281
|
};
|
|
282
282
|
bookings == null ? void 0 : bookings.forEach((item) => {
|
|
283
283
|
const total = item.product.calculated_selling_price;
|
|
284
|
-
item.product.discount_list.forEach((discount) => {
|
|
285
|
-
summaryDeposit.total = new import_decimal.default(summaryDeposit.total).minus(discount.amount || 0).toNumber();
|
|
286
|
-
});
|
|
287
284
|
const deposit = (0, import_utils2.getProductDeposit)({
|
|
288
285
|
cartItem: {
|
|
289
286
|
total
|