From b111e5b4dfe5029b250419097c4c4f74db4f9d49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Gruszczy=C5=84ski?= Date: Mon, 11 Aug 2025 23:48:46 +0200 Subject: [PATCH] new fuctions --- app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app.py b/app.py index f36b6e8..01b2539 100644 --- a/app.py +++ b/app.py @@ -2131,6 +2131,8 @@ def crop_receipt_user(): @admin_required def admin_panel(): month_str = request.args.get("month") + if not month_str: + month_str = datetime.now(timezone.utc).strftime("%Y-%m") show_all = (month_str == "all") if not show_all: