RepoMarket Admin — Setup Consolidation Preview

Design Mock · Not Live App
3 → 1
Editing surfaces for one job
2
Pages removed
1
Page added (Company Profile)
100%
PDF fields editable in one place
Before — Today

Three places, none complete

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.

Site Settings Company tab

What edits the live PDFs today LIVE

site_nameRepoMarket
site_address123 Auction Lane
invoice_terms— no editor field —
invoice_footer— no editor field —
contract_intro— no editor field —
signature image— no upload —
Setup Invoice Layout

Yesterday's pages DEAD UI

Legal nameRepoMarket LLC
VAT numberGB123456789
Signer nameJ. Doe
Logo uploadlogo.png ✓
Signature uploadsignature.png ✓
Terms (HTML)<p>Payment due...</p>
⚠ Saved datanever reaches PDF
After — Proposed

One Setup menu, fully wired

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.

Setup Company Profile

Single source of truth LIVE → PDF

Legal nameRepoMarket LLC
Phone+1 555 0100
Address123 Auction Lane, Dallas TX
Registry #DE-2024-001
VAT / Tax IDGB123456789
Signer nameJ. Doe
Signer roleAuthorized Rep
Logologo.png ✓ uploaded
Signature imagesignature.png ✓ uploaded
Setup Invoice Layout

Per-document styling PRINTS

Document titleINVOICE
Number prefixINV-
Due days7
Tax label / rateVAT · 20%
TermsPayment due 7 days...
FooterThank you for your business
Setup Contract Layout

Per-document styling PRINTS

Document titleVEHICLE PURCHASE CONTRACT
Reference prefixCTR-
Intro paragraphThis agreement is made between...
Terms (HTML)<ol><li>Vehicle sold as-is...</li></ol>
FooterPage {n} of {total}
Seller signature labelAuthorized Representative
Buyer signature labelBuyer Signature