tripstorekrabi-shared 1.7.3 → 1.7.4
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 +2 -2
- package/utils.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tripstorekrabi-shared",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.4",
|
|
4
4
|
"description": "Shared library for Trip Store Krabi",
|
|
5
5
|
"author": "Stefan Sommer <tonprince@gmail.com>",
|
|
6
6
|
"repository": {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"./availability": "./availability.js"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"dayjs": "^1.11.
|
|
16
|
+
"dayjs": "^1.11.4"
|
|
17
17
|
},
|
|
18
18
|
"scripts": {
|
|
19
19
|
"deploy": "npm publish"
|
package/utils.js
CHANGED
|
@@ -479,7 +479,7 @@ export function createVoucherRequest(booking, product) {
|
|
|
479
479
|
let request = {
|
|
480
480
|
booking: {
|
|
481
481
|
referenceNumber: booking.referenceNumber,
|
|
482
|
-
specialRequirements: booking.specialRequirements,
|
|
482
|
+
specialRequirements: booking.specialRequirements ? booking.specialRequirements.toUpperCase() : "",
|
|
483
483
|
nationalParkFee:
|
|
484
484
|
product && product.nationalPark
|
|
485
485
|
? "NATIONAL PARK ENTRANCE FEE: " +
|