/** * Default invoice email templates per language. Used when the user hasn't * customised them in settings. Variables ({{invoiceNumber}}, etc.) are * substituted by `renderTemplate` at send time. * * The shop logo is rendered as an inline attachment with content-id * `invoice-logo`; the email sender attaches the logo bytes automatically * when the template (or any custom template) references that cid. */ const DE_HTML = `\

{{companyName}}

Danke für deinen Einkauf!

Die Rechnung befindet sich im Anhang.

Bei Überweisung bitte die Rechnungs-Nummer als Referenz verwenden: {{invoiceNumber}}
Besten Dank!

{{companyName}}

Kontakt
🌐 {{shopWebsite}}

`; const EN_HTML = `\

{{companyName}}

Thank you for your purchase!

Please find the invoice attached.

When paying by bank transfer, please use the invoice number as the reference: {{invoiceNumber}}
Thanks a lot!

{{companyName}}

Contact
🌐 {{shopWebsite}}

`; export const DEFAULT_EMAIL_SUBJECT_DE = "Rechnung {{invoiceNumber}} – {{companyName}}"; export const DEFAULT_EMAIL_SUBJECT_EN = "Invoice {{invoiceNumber}} – {{companyName}}"; export const DEFAULT_EMAIL_BODY_DE = DE_HTML; export const DEFAULT_EMAIL_BODY_EN = EN_HTML;