Admin html Ergänzungen Überschriften

This commit is contained in:
Erik Thiele
2026-05-09 10:06:31 +02:00
parent 0a39ac69de
commit 296e59e709
6 changed files with 19 additions and 17 deletions

6
app.py
View File

@@ -7,7 +7,7 @@ import generate_welcome_page
from datetime import datetime
from flask import (
Flask, render_template,
Flask, jsonify, render_template,
send_from_directory, redirect,
request, abort
)
@@ -26,7 +26,7 @@ BASE_DIR = os.path.dirname(os.path.abspath(__file__))
MEDIA_DIR = os.path.join(BASE_DIR, "media")
CONFIG_FILE = os.path.join(BASE_DIR, "config.json")
APP_VERSION = "4.0.2"
APP_VERSION = "4.0.4"
UPLOAD_EXTENSIONS = {".jpg", ".jpeg", ".png", ".mp4"}
app = Flask(__name__)
@@ -117,7 +117,7 @@ def add_customer():
if request.method == "POST":
customer_name = request.form.get("customer_name", "").strip()
print(f"🔍 APP.PY - Suche nach Kunde: '{customer_name}'")
if not customer_name:
error = "Kundenname erforderlich"
else: