The PDFs print fine, but only because they read from siteSettings key/value rows. Yesterday's Setup pages save to a different table. Templates page is a third orphan.
Problem 1 — Site Settings → Company tab
Writes to siteSettings key/value rows. This is the only one PDFs read. But it lacks fields for terms, footer, signer, signature image, contract intro.
Problem 2 — Setup → Invoice / Contract Layout
Yesterday's pages. Proper Prisma tables, logo + signature uploads, all the rich fields. But PDFs don't read from these tables — saved data is invisible.
Problem 3 — Documents → Templates
A third page that overlaps with both. Nobody knows which to use.
All billing-doc identity in one place. PDFs rewired to read the proper Prisma tables. Site Settings goes back to being about how the website looks.
Win 1 — Company Profile (new page)
Legal name, address, VAT, signer, logo, signature image. All the identity that prints on every invoice and contract — in one structured page that actually drives the PDFs.
Win 2 — Invoice & Contract Layouts kept
Yesterday's editors stay (terms, footer, intro, signature labels) — but now they actually print. The PDF routes are rewired to read from invoiceTemplate and contractTemplate.
Win 3 — Site Settings stays focused
Branding, Region, Social, Footer, Header, Maps. About how the website looks. Not about billing identity.