refactor: Remove unused booking function and streamline consultation flow handling
This commit is contained in:
@@ -1,4 +0,0 @@
|
|||||||
# Buchungsrelatet processing
|
|
||||||
|
|
||||||
def buchen(name: str, Straße: str, plz:str, ort:str, ansprech:str, email:str, notes:str, agreements_accepted:str):
|
|
||||||
print("Gebucht")
|
|
||||||
+1
-10
@@ -1991,16 +1991,7 @@ def booking_payment():
|
|||||||
|
|
||||||
client = None
|
client = None
|
||||||
try:
|
try:
|
||||||
if booking_flow == "payment":
|
if booking_flow == "consultation":
|
||||||
buchen(
|
|
||||||
name=selected_package,
|
|
||||||
Straße=form_data["billing_street"],
|
|
||||||
plz=form_data["billing_zip"],
|
|
||||||
ort=form_data["billing_city"],
|
|
||||||
ansprech=form_data["contact_person"],
|
|
||||||
email=form_data["contact_email"],
|
|
||||||
)
|
|
||||||
|
|
||||||
client, col = _get_collection("chat_messages")
|
client, col = _get_collection("chat_messages")
|
||||||
col.insert_one(
|
col.insert_one(
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user