Tauschanfragen gegen offene Plätze erlauben und Lücken nachbesetzen

Ein Wunschtag ohne Tauschpartner bedeutet jetzt: die Person übernimmt
dort einen offenen Platz; ihr alter Platz wird beim Ausführen sofort
fair nachbesetzt, ohne sie selbst. Rollen werden bei allen Tauschformen
geprüft. Bearbeiter können Person und Wunschtag einer Anfrage nachtragen,
etwa aus der Notiz. Der Anfragedialog zeigt, was am Wunschtag los ist.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
ferdi2goandClaude Fable 5.1 committed 2026-10-15 11:55:53 +00:00
1 parent e8ab95159e
commit 42d495c54e
7 files changed
+196 -30

No files matched your search

+3 -2
View File
@@ -288,8 +288,9 @@
<p id="request-info" class="hint"></p>
<label>Ich bin <select name="personId" required></select></label>
<label>Tag, an dem ich nicht kann <input type="date" name="date" required></label>
<label>Ich würde gern tauschen mit (optional) <select name="partnerId"><option value="">– noch offen –</option></select></label>
<label>Wunschtag für den Tausch (optional) <input type="date" name="partnerDate"></label>
<label>Ich würde gern tauschen mit (optional) <select name="partnerId"><option value="">– niemand Bestimmtes –</option></select></label>
<label>Wunschtag (optional) <input type="date" name="partnerDate"></label>
<p class="hint" id="request-wish-info">Mit Person: ihr tauscht die Tage. Ohne Person: du übernimmst am Wunschtag einen noch offenen Platz, deiner wird neu besetzt.</p>
<label>Notiz (optional) <input name="note" maxlength="300" placeholder="z. B. Arzttermin, bin erst ab 10 Uhr da"></label>
<p id="request-result" class="result" hidden></p>
<div class="form-actions">