diff --git a/flask_app/app.py b/flask_app/app.py index 1c460ae..458724f 100644 --- a/flask_app/app.py +++ b/flask_app/app.py @@ -770,6 +770,8 @@ def download_excel(): if download_type == "active": filename = f"active_calls_{current_datetime}.xlsx" + elif download_type == "device": + filename = f"device_list_{current_datetime}.xlsx" else: filename = f"call_history_{current_datetime}.xlsx" diff --git a/flask_app/templates/index.html b/flask_app/templates/index.html index 47e44e0..94c27c5 100644 --- a/flask_app/templates/index.html +++ b/flask_app/templates/index.html @@ -7,6 +7,15 @@