tripstorekrabi-shared 1.13.59 → 1.13.60

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/booking.js +4 -4
  2. package/package.json +1 -1
package/booking.js CHANGED
@@ -227,15 +227,15 @@ export function getStartingPointMessage(booking, product) {
227
227
 
228
228
  let payOnTour = [];
229
229
  if (booking.nationalParkFee == PAY_ON_TOUR) {
230
- text += 'As stated on the website, there is an entrance fee';
230
+ let item = 'As stated on the website, there is an entrance fee';
231
231
 
232
232
  if (product?.nationalPark) {
233
- text += ' to ' + product?.nationalPark.title;
233
+ item += ' to ' + product?.nationalPark.title;
234
234
  }
235
235
 
236
236
  if (product?.nationalPark?.pricing
237
237
  ) {
238
- text +=
238
+ item +=
239
239
  ' of ' +
240
240
  product.nationalPark.pricing.adult +
241
241
  ' THB per adult and ' +
@@ -243,7 +243,7 @@ export function getStartingPointMessage(booking, product) {
243
243
  ' THB per child';
244
244
  }
245
245
 
246
- payOnTour.push(` • ${text}`);
246
+ payOnTour.push(` • ${item}`);
247
247
  }
248
248
 
249
249
  let extraPayments = Object.values(booking.extraPayments).filter((item) => !item.disabled && item.paymentMethod === PAY_ON_TOUR).map((item) => ` • ${item.description}: ${item.price} THB`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tripstorekrabi-shared",
3
- "version": "1.13.59",
3
+ "version": "1.13.60",
4
4
  "description": "Shared library for Trip Store Krabi",
5
5
  "author": "Stefan Sommer <tonprince@gmail.com>",
6
6
  "repository": {