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.
Files changed (2) hide show
  1. package/booking.js +6 -5
  2. 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
- createdBy: 'Trip Store Krabi Next',
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: 'Trip Store Krabi Next',
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tripstorekrabi-shared",
3
- "version": "1.25.4",
3
+ "version": "1.25.6",
4
4
  "description": "Shared library for Trip Store Krabi",
5
5
  "author": "Stefan Sommer <tonprince@gmail.com>",
6
6
  "repository": {