Switch order/verification email From to sellerEmail's domain, honor emailFromName/emailFromAddress override

Mirrors the backend's sellerInfo.ts buildFromHeader() change — SMTP
account moved to admin@einfach-produktiv.com, so From can finally point
at sellerEmail itself instead of the fixed admin@mk360.de placeholder.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Marco
2026-07-29 22:22:23 +00:00
parent fb1bedcacd
commit 22fef4fe49
4 changed files with 22 additions and 10 deletions
+6
View File
@@ -878,6 +878,12 @@ export type CompanySettings = {
sellerCity: string;
sellerCountry: string;
sellerEmail: string;
// Admin-editable override for outgoing mail's "Von"-Feld (company-settings
// "Adresse & Kontakt" tab, added 2026-07-29 alongside the SPF/SMTP-account
// switch to einfach-produktiv.com) — falls back to sellerName/sellerEmail
// when empty, see orderEmail.ts/alertAdmin.ts's own comments.
emailFromName: string | null;
emailFromAddress: string | null;
vatId: string;
taxRatePercent: number;
// Kleinunternehmerregelung (§19 UStG) — when true, checkout forces every