fix: rename invoice terminology to request and quotation confirmation across pdf and mail services

This commit is contained in:
DanielS
2026-07-09 22:58:29 +02:00
parent 20f7d5a05a
commit 21c4aa859e
3 changed files with 13 additions and 7 deletions

View File

@@ -142,9 +142,9 @@ export async function POST(request: Request) {
try {
await sendMail({
to: user.email,
subject: `Bestellbestätigung ${order.order_number}`,
text: `Vielen Dank für Ihre Bestellung ${order.order_number}. Typ: ${type}.`,
html: `<p>Vielen Dank für Ihre Bestellung <strong>${order.order_number}</strong>.</p><p>Typ: ${type}</p>`
subject: `Bestätigung Ihrer CASPOS-Anfrage ${order.order_number}`,
text: `Vielen Dank für Ihre Anfrage ${order.order_number}.`,
html: `<p>Vielen Dank für Ihre Anfrage <strong>${order.order_number}</strong>.</p>`
});
} catch (mailErr) {
console.error('Mail error for order ' + order.id, mailErr);