tripstorekrabi-shared 1.25.4 → 1.25.6
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 +6 -5
- package/package.json +1 -1
package/booking.js
CHANGED
|
@@ -125,9 +125,12 @@ export function addBookingFromInvoice(
|
|
|
125
125
|
paypalTransactionId: '',
|
|
126
126
|
omiseChargeId: '',
|
|
127
127
|
invoiceNumber: '',
|
|
128
|
-
|
|
128
|
+
history: [
|
|
129
|
+
`${dayjs().tz('Asia/Bangkok').format('DD.MM.YYYY [at] HH:mm')}: The booking has been auto-added by system from invoice`
|
|
130
|
+
],
|
|
131
|
+
createdBy: 'System auto-generated',
|
|
129
132
|
lastModified: dayjs().toDate(),
|
|
130
|
-
lastModifiedBy: '
|
|
133
|
+
lastModifiedBy: 'System auto-generated',
|
|
131
134
|
};
|
|
132
135
|
|
|
133
136
|
if (item.startingPointId) data.startingPointId = item.startingPointId;
|
|
@@ -203,9 +206,7 @@ export function getOperatorSignature(agent, operatorName, contact) {
|
|
|
203
206
|
}
|
|
204
207
|
|
|
205
208
|
signature += `<br><a href="https://t.me/tripstorekrabi_bot">Chat in Telegram</a>`;
|
|
206
|
-
|
|
207
|
-
signature += `<br><a href="line://ti/p/@cjs7975w">Chat on LINE</a>`;
|
|
208
|
-
|
|
209
|
+
signature += `<br><a href="https://line.me/R/ti/p/@cjs7975w">Chat on LINE</a>`;
|
|
209
210
|
signature += `<br><a href="https://m.me/tripstorekrabi">Message on Facebook</a>`;
|
|
210
211
|
|
|
211
212
|
return signature;
|