Vorbesetzung des Buchungs vormulars
This commit is contained in:
@@ -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 ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user