WG- & Vermieter-Management-App (Backend + Dashboard)
Go to file
bernd 3e87ff3476 Allow re-admitting an archived tenant via a brand-new contract
Adds "Wieder aufnehmen" to each archived contract card: landlord picks
a vacant room, move-in date, rent and deposit, then POST
/contracts/reactivate creates a fresh Contract row for that user (new
id, new terms, no carried-over documents/signature) and re-assigns the
room. The old contract is never touched — it stays exactly as-is in
the archive as a historical record, per the requirement that the
original tenancy documentation must be preserved even after rejoining.

New GET /contracts/vacant-rooms lists rooms with no active contract,
used to populate the room picker and prefill sensible rent/deposit
defaults from the room's base rent.
2026-08-13 11:10:20 +00:00
backend Allow re-admitting an archived tenant via a brand-new contract 2026-08-13 11:10:20 +00:00
prisma Restructure generated contract as a full-format rental agreement 2026-08-13 10:37:57 +00:00
web-dashboard Allow re-admitting an archived tenant via a brand-new contract 2026-08-13 11:10:20 +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)