Commit Graph

4 Commits

Author SHA1 Message Date
Marco Gallegos
0cbabc8da4 fix(auth): ensure data persistence and correct login
- Corrected the client table rendering function to prevent UI breaking.
- Fixed a critical issue where data was not persisting in the local environment by ensuring an absolute path for the database.
- Implemented a temporary password reset mechanism to regain access and then removed it.
- Ensured client data is re-fetched from the server after saving to maintain UI consistency.
2025-08-13 09:55:32 -06:00
Marco Gallegos
7594d96fa4 feat: add client history and subtypes
- Added subtypes for services (Service/Retouch).
- Implemented expandable client rows to show service history.
- Added a search bar to filter clients by name.
- Added 'Oncological' status column to the client list.
- Created a new API endpoint for client history.

fix(db): ensure database persistence in Docker
- The database path is now configurable via the DB_PATH environment variable.
- The Dockerfile has been updated to create a persistent volume for data.
- The README now contains the correct 'docker run' command for data persistence.
2025-08-13 09:31:31 -06:00
Marco Gallegos
164eaccac1 feat(users): improve user editing and ticket details
- Add user's full name to the database and UI.\n- Allow admins to edit user details (name, username, role).\n- Allow users to edit their own name and password.\n- Automatically set the 'staff' field on new tickets to the current user's name.\n- Bold the 'Te atendió:' label in the printed ticket.
2025-08-13 08:18:04 -06:00
Marco Gallegos
8b9f5afe96 feat: Implement persistence and initial project setup 2025-08-12 20:25:27 -06:00