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. |
||
|---|---|---|
| .. | ||
| prisma | ||
| scripts | ||
| src | ||
| Dockerfile | ||
| package-lock.json | ||
| package.json | ||
| tsconfig.json | ||