📚 Improved backend structure & logs for better tracking and management

This commit is contained in:
2025-06-11 09:39:30 +02:00
parent 6fe5882e7d
commit 66e2162f7a
17 changed files with 721 additions and 5 deletions

View File

@ -135,7 +135,8 @@ def admin_plug_schedules():
# Alle Drucker für Filter-Dropdown
with get_cached_session() as db_session:
printers = db_session.query(Printer).filter(Printer.active == True).all()
# Alle Drucker für Auswahlfelder anzeigen (unabhängig von active-Status)
printers = db_session.query(Printer).all()
return render_template('admin_plug_schedules.html',
stats=stats_24h,