tripstorekrabi-shared 1.16.9 → 1.17.1

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 +3 -2
  2. package/package.json +1 -1
package/booking.js CHANGED
@@ -96,6 +96,7 @@ export function addBookingFromInvoice(
96
96
  startingPointDescription: item.startingPointDescription ?? "",
97
97
  pickupHotel: item.pickupHotel ?? null,
98
98
  roomNumber: item.roomNumber ?? '',
99
+ googleMapsLocation: item.googleMapsLocation ?? '',
99
100
  dietary: item.dietary ?? "",
100
101
  flight: item.flight ?? null,
101
102
  train: item.train ?? null,
@@ -281,11 +282,11 @@ export function getStartingPointMessage(booking, product) {
281
282
 
282
283
  text += 'Please watch out for the staff of ' + booking.operator + '.';
283
284
 
284
- if (booking.googleMapLocation?.length > 0) {
285
+ if (booking.googleMapsLocation?.length > 0) {
285
286
  text += `\n\n${isHotelPickup(booking.startingPointDescription)
286
287
  ? 'PICKUP COORDINATES ON GOOGLE MAP'
287
288
  : 'MEETING COORDINATES ON GOOGLE MAP'
288
- }:\n${booking.googleMapLocation}`;
289
+ }:\n${booking.googleMapsLocation}`;
289
290
  }
290
291
 
291
292
  if (product?.whatToBring?.length > 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tripstorekrabi-shared",
3
- "version": "1.16.9",
3
+ "version": "1.17.1",
4
4
  "description": "Shared library for Trip Store Krabi",
5
5
  "author": "Stefan Sommer <tonprince@gmail.com>",
6
6
  "repository": {