WG- & Vermieter-Management-App (Backend + Dashboard)
Go to file
bernd 72008ac59b Auto-create a contract when a room-assigned invitation is accepted
Accepting an invitation with a roomId previously only set User.roomId
— no Contract row was created. Since every tenant-facing feature
(Miet-Ampel, Vertragsdokumente, Kündigungsfristen, ...) is driven by
Contract, not User.roomId, the tenant would silently show up nowhere
despite "having" a room. Now the accept transaction also creates an
active Contract (rent/deposit defaulted from the room's baseRent/
utilityPauschal, same defaults already used by the "Wieder aufnehmen"
flow) and marks the room OCCUPIED, unless the room already has an
active contract (guards against a stale/duplicate invite race).
2026-08-13 12:02:03 +00:00
backend Auto-create a contract when a room-assigned invitation is accepted 2026-08-13 12:02:03 +00:00
prisma Require phone, current address and ID copy for new tenants 2026-08-13 11:25:57 +00:00
web-dashboard Compress ID/Schufa photos client-side before upload, raise server limit further 2026-08-13 11:52:12 +00:00
.gitignore Fix seed.ts module resolution: move to backend/prisma/ 2026-08-13 07:16:11 +00:00
README.md Initial commit 2026-08-12 16:24:25 +00:00

wg-verwaltung

WG- & Vermieter-Management-App (Backend + Dashboard)