From 61a1b836887ad42927c70e82517941e298420418 Mon Sep 17 00:00:00 2001 From: NguyenND Date: Thu, 7 May 2026 15:53:40 -0400 Subject: [PATCH] 05/07 Phase 3: fixed tenant's appoinment page error --- app/tenant/appointments/routes.py | 2 +- templates/tenant/appointments/index.html | 9 ++------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/app/tenant/appointments/routes.py b/app/tenant/appointments/routes.py index f53b61b..1396cba 100644 --- a/app/tenant/appointments/routes.py +++ b/app/tenant/appointments/routes.py @@ -228,4 +228,4 @@ def _user_db_id(): uid_str = current_user.get_id() return int(uid_str.split(":")[1]) if uid_str and ":" in uid_str else None except Exception: - return None \ No newline at end of file + return None diff --git a/templates/tenant/appointments/index.html b/templates/tenant/appointments/index.html index e7ae811..d98a586 100644 --- a/templates/tenant/appointments/index.html +++ b/templates/tenant/appointments/index.html @@ -4,12 +4,12 @@

Appointments

- - + New
@@ -48,9 +48,4 @@
-{% endblock %} -{% block scripts %} - {% endblock %} \ No newline at end of file