Revert generalPartners, fix shareCapital: neither is a Pflichtangabe

Corrected after user feedback: Stammkapital/Grundkapital is only required on business correspondence if voluntarily disclosed in the first place (§35a Abs. 1 S. 2 GmbHG) — not an unconditional Pflichtangabe. shareCapital's Impressum rendering stays (shown only if an admin voluntarily filled it in), but it's dropped from the email/invoice footer.

generalPartners is removed entirely — the legal basis was genuinely unclear on research (§125a HGB's Geschäftsbriefe-naming duty only applies to the narrow case where no partner is a natural person; whether §5 DDG's Impressum-specific "vertretungsberechtigte Person" requirement independently mandates it for the general OHG/KG case wasn't resolved with confidence) — reverted rather than shipped on an uncertain legal basis.

Also fixes stale "§5 TMG" citations to "§5 DDG" (TMG was replaced 14 May 2024).
This commit is contained in:
Marco
2026-07-23 14:12:35 +00:00
parent a3912a47c4
commit b5ad13cf43
5 changed files with 41 additions and 42 deletions
+26 -26
View File
@@ -4,8 +4,8 @@ import type { CompanySettings } from "../../lib/payload";
import type { TOCSection } from "../../components/SectionTOC";
// Renders "Angaben zum Anbieter"/"Umsatzsteuer"/(conditionally)
// "Handelsregister"/"Geschäftsführung"/"Gesellschafter"/"Verantwortlich für
// den Inhalt" straight from company-settings, matching RichText.tsx's own heading/
// "Handelsregister"/"Geschäftsführung"/"Verantwortlich für den Inhalt"
// straight from company-settings, matching RichText.tsx's own heading/
// paragraph classes so it reads as one continuous page with the CMS
// content below it, not a bolted-on block. This used to be hand-typed
// prose baked into the Impressum's richText (seed-legal-pages.ts on the
@@ -17,21 +17,27 @@ import type { TOCSection } from "../../components/SectionTOC";
// already uses (see page.tsx's comment on that).
//
// Also closes a real compliance gap the old hand-typed text had: it never
// showed Handelsregister/Geschäftsführung/Gesellschafter/Stammkapital at
// all, even though company-settings models all of them (§37a HGB/§35a
// GmbHG/§80 AktG) — those fields just weren't wired into the Impressum. A
// sole proprietorship (this shop's current legalForm) needs none of them,
// so nothing extra shows today, but the moment legalForm changes in
// company-settings (e.g. incorporating as a GmbH), the Impressum picks up
// Handelsregister/Geschäftsführung/Stammkapital automatically — same for
// generalPartners/"Gesellschafter" on an OHG/KG — instead of needing a
// second manual edit here.
// showed Handelsregister/Geschäftsführung at all, even though
// company-settings already models both (§37a HGB/§35a GmbHG) — those
// fields just weren't wired into the Impressum. A sole proprietorship
// (this shop's current legalForm) has neither, so neither section shows
// today, but the moment that changes in company-settings, the Impressum
// picks it up automatically instead of needing a second manual edit.
//
// A "Gesellschafter"/Komplementäre section for OHG/KG was attempted
// 2026-07-23 but reverted the same day — the legal basis turned out
// genuinely unclear on research (§125a HGB's Geschäftsbriefe-naming duty
// only applies to the narrow case where *no* partner is a natural person,
// not the general OHG/KG case; whether §5 DDG's Impressum-specific
// "vertretungsberechtigte Person" requirement independently mandates it
// wasn't resolved with confidence). Deliberately not modeled until that's
// actually clarified — don't rebuild this without re-verifying the legal
// basis first, and don't assume the old attempt's reasoning was correct.
export function anbieterAngabenHeadings(seller: CompanySettings | null): TOCSection[] {
if (!seller) return [];
const sections = ["Angaben zum Anbieter", "Umsatzsteuer"];
if (seller.registerCourt && seller.registerNumber) sections.push("Handelsregister");
if (seller.managingDirector) sections.push("Geschäftsführung");
if (seller.generalPartners && seller.generalPartners.length > 0) sections.push("Gesellschafter");
sections.push("Verantwortlich für den Inhalt");
return sections.map((title) => ({ id: headingId(title), title }));
}
@@ -74,6 +80,9 @@ export function AnbieterAngaben({ seller }: { seller: CompanySettings }) {
<Heading>Handelsregister</Heading>
<P>{seller.registerCourt}</P>
<P>{seller.registerNumber}</P>
{/* Optional/voluntary, not a Pflichtangabe — see
CompanySettings.ts's own comment on shareCapital. Only shows
if an admin deliberately filled it in. */}
{seller.shareCapital ? <P>Stammkapital: {seller.shareCapital.toLocaleString("de-DE")} </P> : null}
</>
)}
@@ -85,22 +94,13 @@ export function AnbieterAngaben({ seller }: { seller: CompanySettings }) {
</>
)}
{seller.generalPartners && seller.generalPartners.length > 0 && (
<>
<Heading>Gesellschafter</Heading>
{seller.generalPartners.map((partner) => (
<P key={partner.name}>{partner.name}</P>
))}
</>
)}
<Heading>Verantwortlich für den Inhalt</Heading>
{/* §18 Abs. 2 MStV wants a natural person — managingDirector first
(Kapitalgesellschaften), falling back to the first named
Gesellschafter (OHG/KG, no separate managingDirector field),
then finally sellerName itself (sole proprietorship/e.K.,
already a natural person's own name). */}
<P>{seller.managingDirector || seller.generalPartners?.[0]?.name || seller.sellerName}</P>
(Kapitalgesellschaften), falling back to sellerName itself (sole
proprietorship/e.K., already a natural person's own name). No
OHG/KG general-partner fallback here — see this file's top
comment on why that field doesn't exist yet. */}
<P>{seller.managingDirector || seller.sellerName}</P>
<P>{seller.sellerStreet}</P>
<P>
{seller.sellerZip} {seller.sellerCity}