Phase 2: iban/bic instead of bankDetails, matching the backend collection
CompanySettings type now mirrors the payload repo's split bankDetails -> iban/bic (see that repo's own commit for the reasoning). No behavior change here beyond the type/fallback update — the actual footer rendering lives in @einfach-produktiv/invoicing. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -22,7 +22,8 @@ const FALLBACK: CompanySettings = {
|
||||
sellerEmail: "",
|
||||
vatId: "",
|
||||
taxRatePercent: 19,
|
||||
bankDetails: null,
|
||||
iban: null,
|
||||
bic: null,
|
||||
};
|
||||
|
||||
// Entered exclusively via CompanySettings.ts's admin.livePreview.url (a
|
||||
|
||||
+2
-1
@@ -737,7 +737,8 @@ export type CompanySettings = {
|
||||
sellerEmail: string;
|
||||
vatId: string;
|
||||
taxRatePercent: number;
|
||||
bankDetails: string | null;
|
||||
iban: string | null;
|
||||
bic: string | null;
|
||||
};
|
||||
|
||||
// Server-only in practice (only ever called from app/lib/invoiceData.ts),
|
||||
|
||||
Reference in New Issue
Block a user