tripstorekrabi-shared 1.10.2 → 1.10.3
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 +12 -0
- package/package.json +1 -1
package/booking.js
CHANGED
|
@@ -148,4 +148,16 @@ export function getStartingPointMessage(booking) {
|
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
return text;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
export function getOperatorSignature(agent, operatorName) {
|
|
154
|
+
let signature =
|
|
155
|
+
'<br><br>Warm regards,<br><br>' + (agent ? agent + ' - ' : "") + operatorName;
|
|
156
|
+
signature +=
|
|
157
|
+
"<br>WhatsApp chat: <a href='https://wa.me/66840679979'>+66 (0) 840 679 979</a>";
|
|
158
|
+
signature +=
|
|
159
|
+
"<br>WhatsApp call: <a href='https://wa.me/66967215940'>+66 (0) 967 215 940</a>";
|
|
160
|
+
signature +=
|
|
161
|
+
"<br>Telegram chat: <a href='https://t.me/tripstorekrabi_bot'>@tripstorekrabi_bot</a>";
|
|
162
|
+
return signature;
|
|
151
163
|
}
|