tripstorekrabi-shared 1.13.0 → 1.13.2
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.
- package/package.json +1 -1
- package/price.js +0 -3
package/package.json
CHANGED
package/price.js
CHANGED
|
@@ -112,9 +112,6 @@ export function countMaxPeople(pricing) {
|
|
|
112
112
|
|
|
113
113
|
export function calculateTotalPrice(data, product, mode = "retail") {
|
|
114
114
|
let total = calculateProductPrice(data, product.pricing, mode);
|
|
115
|
-
total += calculateStartEndPointPrice(data, findStartingPoint(product, data.startingPointId, false), mode === "retail" || mode === "partner");
|
|
116
|
-
total += calculateStartEndPointPrice(data, findEndPoint(product, data.endPointId, false), mode === "retail" || mode === "partner");
|
|
117
|
-
total += calculateNationalParkFee(data, product);
|
|
118
115
|
total += calculateExtraPayments(data, mode === "retail" || mode === "partner");
|
|
119
116
|
total += calculateAddOnsPrice(data, product, mode === "retail" || mode === "partner");
|
|
120
117
|
return total;
|