tripstorekrabi-shared 1.7.7 → 1.7.8
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 -1
package/package.json
CHANGED
package/utils.js
CHANGED
|
@@ -297,7 +297,13 @@ export function getBookingSummary(booking, options = {}) {
|
|
|
297
297
|
|
|
298
298
|
if (booking.productDescription && booking.operator && booking.departureDate && booking.schedule && booking.leadTraveller) {
|
|
299
299
|
let departureDate = dayjs(booking.departureDate.toDate()).tz("Asia/Bangkok").format("DD.MM.YYYY");
|
|
300
|
-
summary += booking.productDescription + ", " + departureDate
|
|
300
|
+
summary += booking.productDescription + ", " + departureDate;
|
|
301
|
+
|
|
302
|
+
if (!options.hideOperator) {
|
|
303
|
+
summary += ", " + booking.operator;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
summary += ", " + booking.adults + ", " + booking.children + ", "
|
|
301
307
|
+ booking.infants + ", " + booking.leadTraveller;
|
|
302
308
|
|
|
303
309
|
if (booking.startingPointDescription) {
|