fix: rename invoice terminology to request and quotation confirmation across pdf and mail services
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user