tripstorekrabi-shared 1.25.5 → 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 +5 -2
  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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tripstorekrabi-shared",
3
- "version": "1.25.5",
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": {