tripstorekrabi-shared 1.13.66 → 1.13.67

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 +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tripstorekrabi-shared",
3
- "version": "1.13.66",
3
+ "version": "1.13.67",
4
4
  "description": "Shared library for Trip Store Krabi",
5
5
  "author": "Stefan Sommer <tonprince@gmail.com>",
6
6
  "repository": {
package/price.js CHANGED
@@ -403,7 +403,8 @@ export function calculatePhayunPrices(booking, product) {
403
403
  let productPrice;
404
404
  let cashOnTourAmount = 0;
405
405
  let activeExtraPayments = getActiveExtraPayments(Object.entries(booking.extraPayments));
406
-
406
+ let bookingType = getBookingType(booking.referenceNumber);
407
+
407
408
  if (
408
409
  product.operator.default.invoicing?.operator?.create &&
409
410
  product.operator.default.invoicing?.operator?.partners?.[