feat(wa): tiket cukup Chat Pelanggan + Share Lokasi (hapus detail/pool)

This commit is contained in:
oxpoe committed 2026-10-09 09:03:15 +07:00
1 parent 086565d195
commit 02af750226
2 files changed
+2 -6

No files matched your search

+1 -3
View File
@@ -3504,9 +3504,7 @@ router.post('/tickets/create', requireAdminSession, express.urlencoded({ extende
const _base = (getSetting('public_base_url', '') || getSetting('app_url', '') || ('http://' + (req.get('host') || ''))).replace(/\/+$/, '');
const _links = `\n🔗 *Tautan Cepat:*\n` +
(_waDigits ? `• 💬 Chat Pelanggan: https://wa.me/${_waDigits}\n` : '') +
(_mapQ ? `• 📍 Lokasi: https://www.google.com/maps/search/?api=1&query=${encodeURIComponent(_mapQ)}\n` : '') +
`• 🧾 Detail Pelanggan: ${_base}/admin/customers?search=${encodeURIComponent(custPhone || custName)}\n` +
`• 🛠️ Pool Tiket Teknisi: ${_base}/tech/pool`;
(_mapQ ? `• 📍 Share Lokasi: https://www.google.com/maps/search/?api=1&query=${encodeURIComponent(_mapQ)}` : '');
const waMsg = `📌 *TUGAS TEKNISI BARU DARI ADMIN*\n\n` +
`🎫 *ID Tiket:* #${ticketId}\n` +
`👤 *Pelanggan/Objek:* ${custName}\n` +