Team-Mails: Links ins Ticketsystem statt Admin-Bereich
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
7c00633db0
commit
95e2807dc7
20 files changed
+132
-28
No files matched your search
@@ -62,7 +62,12 @@ export async function sendChatNotification(customer, text) {
|
||||
|
||||
const mail = render({
|
||||
template: 'T01',
|
||||
values: { kunde_name: customer.name || customer.email || 'Kunde', nachricht: text },
|
||||
values: {
|
||||
kunde_name: customer.name || customer.email || 'Kunde',
|
||||
nachricht: text,
|
||||
// Knopf "Im Ticketsystem antworten": Messenger mit dem Gespraech dieses Kunden
|
||||
team_link: `${config.womsBaseUrl}/customers/chat?kunde=${encodeURIComponent(customer.$id)}`,
|
||||
},
|
||||
})
|
||||
await mailer.sendMail({
|
||||
from: `"${TEAM_SENDER}" <${config.smtp.from}>`,
|
||||
|
||||
Reference in new issue
Block a user