Web-Push mit VAPID und Erinnerungs-Endpoint

This commit is contained in:
OpenCode 2026-11-13 01:03:54 +01:00
parent 67a1614081
commit b50267e4f0
24 changed files with 1703 additions and 50 deletions

View file

@ -290,6 +290,7 @@ function booking_update(int $id, array $data, int $userId): void
if ((int) $existing['employee_id'] !== (int) $data['employee_id']) {
db()->prepare('DELETE FROM reminder_done WHERE booking_id = ?')->execute([$id]);
db()->prepare('DELETE FROM reminder_mail_log WHERE booking_id = ?')->execute([$id]);
db()->prepare('DELETE FROM reminder_push_log WHERE booking_id = ?')->execute([$id]);
}
// Abgehakte Erinnerungen gelten nur für ihr Fälligkeitsdatum. Bleibt das