This commit is contained in:
2026-08-27 23:55:52 +02:00
parent 58d1c3000f
commit 7e415edf3c
2 changed files with 8 additions and 5 deletions
+3 -2
View File
@@ -460,6 +460,7 @@ def send_accreditation_email(
domain: str,
username: str,
password: str,
user_id: str,
school_name: str = "[Name der Schule / des Auftraggebers]",
address: str = "[Straße, Hausnummer] [PLZ, Ort]",
price: str = "250,00",
@@ -646,7 +647,7 @@ def send_accreditation_email(
# Wir nutzen hier die übergebenen Funktionsparameter anstatt des undefinierten "prov"
col.insert_one(
{
"username": username,
"username": user_id,
"school_name": school_name,
"address": address,
"invoice_number": current_invoice_number,
@@ -663,7 +664,7 @@ def send_accreditation_email(
)
req_col.update_one(
{"username": username},
{"username": user_id},
{"$set": {
"provision_status": "invoice_created",
"updated_at": _utc_now_iso()