Vorbesetzung des Buchungs vormulars

This commit is contained in:
2026-10-02 18:39:25 +02:00
parent a40b081c14
commit fc9deb6e4d
+3
View File
@@ -2800,6 +2800,9 @@ def booking_payment():
"agreements_accepted": (request.values.get("agreements_accepted") or "").strip().lower() in {"1", "on", "true", "yes"},
}
if not form_data["tenant_slug"] and trial_instance:
form_data["tenant_slug"] = trial_instance.get("subdomain") or ""
if request.method == "GET" and not form_data["contact_person"]:
form_data["contact_person"] = session.get("display_name") or session.get("username") or ""