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.
- package/booking.js +3 -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.
|
|
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.
|
|
289
|
+
}:\n${booking.googleMapsLocation}`;
|
|
289
290
|
}
|
|
290
291
|
|
|
291
292
|
if (product?.whatToBring?.length > 0) {
|