"Automatische Warnungen bei Auslauf/Kündigungsfristen" was only a passive dashboard view (GET /contracts/notice-deadlines, isUrgent flag) — nobody gets notified unless the landlord happens to open the cockpit. Adds a daily job (same pattern as dailyDunningJob.ts) that pushes landlords/admins when a contract's notice deadline falls within 30 days. Dedup is via the Notification history (payload. contractId within a 14-day cooldown) rather than a new Contract column, consistent with contracts.ts's existing "no extra model needed" approach. |
||
|---|---|---|
| .. | ||
| prisma | ||
| scripts | ||
| src | ||
| Dockerfile | ||
| package-lock.json | ||
| package.json | ||
| tsconfig.json | ||