From a1d46960053b529620002c7e029e6f150de447fe Mon Sep 17 00:00:00 2001 From: Christian Date: Sat, 10 Jan 2026 01:37:08 +0100 Subject: [PATCH] feat: Add new time tracking wizard and registrations view - Implemented a new simplified time tracking wizard (wizard2) for approval processes. - Added a registrations view to list all time tracking entries. - Enhanced the existing wizard.html to include a billable checkbox for entries. - Updated JavaScript logic to handle billable state and travel status for time entries. - Introduced a cleanup step in the deployment script to remove old images. - Created a new HTML template for registrations with filtering and pagination capabilities. --- app/shared/frontend/base.html | 1 + app/timetracking/backend/economic_export.py | 35 + app/timetracking/backend/order_service.py | 31 +- app/timetracking/backend/router.py | 218 +++++- app/timetracking/frontend/customers.html | 265 +++++++ app/timetracking/frontend/registrations.html | 273 +++++++ app/timetracking/frontend/views.py | 12 + app/timetracking/frontend/wizard.html | 11 + app/timetracking/frontend/wizard2.html | 784 +++++++++++++++++++ deploy_to_prod.sh | 4 + 10 files changed, 1622 insertions(+), 12 deletions(-) create mode 100644 app/timetracking/frontend/registrations.html create mode 100644 app/timetracking/frontend/wizard2.html diff --git a/app/shared/frontend/base.html b/app/shared/frontend/base.html index 6bf69b2..8aa55f8 100644 --- a/app/shared/frontend/base.html +++ b/app/shared/frontend/base.html @@ -270,6 +270,7 @@