diff --git a/httpdocs/2-update-tenant-db.sh b/httpdocs/2-update-tenant-db.sh new file mode 100644 index 0000000..ed2af7b --- /dev/null +++ b/httpdocs/2-update-tenant-db.sh @@ -0,0 +1,13 @@ +#!/bin/bash +set -e + +echo "⏳ Tenant-Schemas aktualisieren (nur ADD, kein DROP)..." +ddev exec php bin/console app:update-tenant-schema + +echo "⏳ Cache leeren..." +ddev exec php bin/console cache:clear + +echo "⏳ Assets bauen..." +ddev exec npm run build + +echo "✅ Fertig!" diff --git a/httpdocs/assets/scripts/entries.js b/httpdocs/assets/scripts/entries.js index 9b2d13f..194b3d6 100644 --- a/httpdocs/assets/scripts/entries.js +++ b/httpdocs/assets/scripts/entries.js @@ -4,6 +4,8 @@ import { parseDuration, roundToQuarter, formatMinutes, initDurationBlurHandler, const LAST_PROJECT_KEY = 'tt_last_project_id'; const LAST_SERVICE_KEY = 'tt_last_service_id'; +const LOCK_SVG = ``; + function t(key) { return window.TT?.i18n?.[key] ?? key; } @@ -57,32 +59,20 @@ function buildServiceOptions(selectedId = null) { function buildEntryRowHTML(entry, animate = false) { const servicePart = entry.serviceName ? ` / ${entry.serviceName}` : ''; const notePart = entry.note ? `