tripstorekrabi-shared 1.13.8 → 1.13.9

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/price.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tripstorekrabi-shared",
3
- "version": "1.13.8",
3
+ "version": "1.13.9",
4
4
  "description": "Shared library for Trip Store Krabi",
5
5
  "author": "Stefan Sommer <tonprince@gmail.com>",
6
6
  "repository": {
package/price.js CHANGED
@@ -124,7 +124,7 @@ export function calculateTotalPrice(booking, product, mode = "retail") {
124
124
  total += calculateStartEndPointPrice(booking, findStartingPoint(product, booking.startingPointId, false), mode === "retail" || mode === "partner");
125
125
  total += calculateStartEndPointPrice(booking, findEndPoint(product, booking.endPointId, false), mode === "retail" || mode === "partner");
126
126
  total += calculateNationalParkFee(booking, product);
127
- total += calculateExtraPayments(data, mode === "retail" || mode === "partner", true);
127
+ total += calculateExtraPayments(booking, mode === "retail" || mode === "partner", true);
128
128
  total += calculateAddOnsPrice(booking, product, mode === "retail" || mode === "partner");
129
129
  return total;
130
130
  }