wg-verwaltung/backend
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
..
prisma Seed: skip if DB already has data instead of wiping it 2026-08-13 07:18:13 +00:00
scripts Add Homematic IP smart lock integration (Access Point + App setup) 2026-08-13 08:21:19 +00:00
src Allow re-admitting an archived tenant via a brand-new contract 2026-08-13 11:10:20 +00:00
Dockerfile add backend/Dockerfile 2026-08-12 16:26:09 +00:00
package-lock.json Add 1-click PDF export for tickets (craftsman handoff) 2026-08-13 07:27:01 +00:00
package.json Sync trash calendar from official Nackenheim/KAW waste collection API 2026-08-13 08:58:21 +00:00
tsconfig.json add backend/tsconfig.json 2026-08-12 16:26:09 +00:00