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.
- package/booking.js +4 -4
- 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
|
-
|
|
230
|
+
let item = 'As stated on the website, there is an entrance fee';
|
|
231
231
|
|
|
232
232
|
if (product?.nationalPark) {
|
|
233
|
-
|
|
233
|
+
item += ' to ' + product?.nationalPark.title;
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
if (product?.nationalPark?.pricing
|
|
237
237
|
) {
|
|
238
|
-
|
|
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(` • ${
|
|
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`);
|