tripstorekrabi-shared 1.7.9 → 1.8.0
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/package.json +1 -1
- package/utils.js +7 -3
package/package.json
CHANGED
package/utils.js
CHANGED
|
@@ -368,10 +368,14 @@ export function getItemSummary(item, product) {
|
|
|
368
368
|
if (item.startingPointId) {
|
|
369
369
|
let startingPointDescription = findStartingPoint(product, item.startingPointId).value;
|
|
370
370
|
if (isHotelPickup(startingPointDescription)) {
|
|
371
|
-
|
|
371
|
+
if (item.noHotelYet === true) {
|
|
372
|
+
summary += "Hotel pickup (hotel not known yet)";
|
|
373
|
+
} else {
|
|
374
|
+
summary += "Hotel pickup from " + item.pickupHotel;
|
|
372
375
|
|
|
373
|
-
|
|
374
|
-
|
|
376
|
+
if (item.roomNumber) {
|
|
377
|
+
summary += ` (${item.roomNumber})`;
|
|
378
|
+
}
|
|
375
379
|
}
|
|
376
380
|
} else {
|
|
377
381
|
summary += startingPointDescription;
|