tripstorekrabi-shared 1.19.2 → 1.19.3
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 +9 -8
- package/package.json +1 -1
package/booking.js
CHANGED
|
@@ -379,6 +379,7 @@ export function createTodos(booking, product) {
|
|
|
379
379
|
if (booking.startingPointDescription === NO_PICKUP_HOTEL_YET) {
|
|
380
380
|
todos.pickupHotel = "missing";
|
|
381
381
|
}
|
|
382
|
+
|
|
382
383
|
if (
|
|
383
384
|
booking.roomNumber !== NO_ROOM &&
|
|
384
385
|
booking.roomNumber !== IN_HOUSE &&
|
|
@@ -420,33 +421,33 @@ export function createTodos(booking, product) {
|
|
|
420
421
|
|
|
421
422
|
if (isAirportPickup(booking.startingPointDescription)) {
|
|
422
423
|
if (!booking.flight) {
|
|
423
|
-
todos.
|
|
424
|
+
todos.inboundFlightDetails = "missing";
|
|
424
425
|
} else if (!booking.flightConfirmed) {
|
|
425
|
-
todos.
|
|
426
|
+
todos.inboundFlightDetails = "sendToOperator";
|
|
426
427
|
}
|
|
427
428
|
}
|
|
428
429
|
|
|
429
430
|
if (isAirportDropOff(booking.productDescription)) {
|
|
430
431
|
if (!booking.flight) {
|
|
431
|
-
todos.
|
|
432
|
+
todos.outboundFlightDetails = "missing";
|
|
432
433
|
} else if (!booking.flightConfirmed) {
|
|
433
|
-
todos.
|
|
434
|
+
todos.outboundFlightDetails = "sendToOperator";
|
|
434
435
|
}
|
|
435
436
|
}
|
|
436
437
|
|
|
437
438
|
if (isTrainStation(booking.startingPointDescription)) {
|
|
438
439
|
if (!booking.train) {
|
|
439
|
-
todos.
|
|
440
|
+
todos.inboundTrainDetails = "missing";
|
|
440
441
|
} else if (!booking.trainConfirmed) {
|
|
441
|
-
todos.
|
|
442
|
+
todos.inboundTrainDetails = "sendToOperator";
|
|
442
443
|
}
|
|
443
444
|
}
|
|
444
445
|
|
|
445
446
|
if (isTrainStation(booking.productDescription)) {
|
|
446
447
|
if (!booking.train) {
|
|
447
|
-
todos.
|
|
448
|
+
todos.outboundTrainDetails = "missing";
|
|
448
449
|
} else if (!booking.trainConfirmed) {
|
|
449
|
-
todos.
|
|
450
|
+
todos.outboundTrainDetails = "sendToOperator";
|
|
450
451
|
}
|
|
451
452
|
}
|
|
452
453
|
}
|