Commit Graph

138 Commits

Author SHA1 Message Date
f9291f2db8 Update mockDb.ts 2025-12-11 00:00:57 +01:00
34fda33785 Update server.js 2025-12-11 00:00:30 +01:00
c2d330b571 Update Tickets.tsx 2025-12-10 23:46:38 +01:00
6f3426804a Update Settings.tsx 2025-12-10 23:46:22 +01:00
4a4b66dd58 Update Reports.tsx 2025-12-10 23:46:05 +01:00
832206fbc0 Update Login.tsx 2025-12-10 23:45:49 +01:00
e470e7c276 Update ExtraordinaryUser.tsx 2025-12-10 23:45:33 +01:00
f6a5b5c5b3 Update ExtraordinaryAdmin.tsx 2025-12-10 23:45:12 +01:00
25eed5a214 Update FamilyDetail.tsx 2025-12-10 23:44:51 +01:00
766dbcddc2 Update Layout.tsx 2025-12-10 23:44:24 +01:00
a830836355 Update App.tsx 2025-12-10 23:44:04 +01:00
29196cfc9f Update mockDb.ts 2025-12-10 23:43:23 +01:00
f5897ec8ac Update api.ts 2025-12-10 23:34:56 +01:00
a8a4f5ed55 Update App.tsx 2025-12-10 23:31:18 +01:00
fc62e22b1c Update ExtraordinaryAdmin.tsx 2025-12-10 23:30:57 +01:00
24db29b709 Update Login.tsx 2025-12-10 23:30:35 +01:00
7479ffa1df Update Reports.tsx 2025-12-10 23:30:14 +01:00
bba7b9ea02 Update Settings.tsx 2025-12-10 23:29:49 +01:00
746333ff2b Update FamilyDetail.tsx 2025-12-10 23:29:14 +01:00
3d084bf8a2 Update FamilyList.tsx 2025-12-10 23:28:43 +01:00
5ec0f36579 Create api.ts 2025-12-10 23:27:57 +01:00
462858d293 Update Layout.tsx 2025-12-10 23:20:12 +01:00
074daa7110 Update ExtraordinaryUser.tsx 2025-12-10 23:19:18 +01:00
a34a27ea85 Update Tickets.tsx 2025-12-10 23:18:15 +01:00
5fbd9b9a59 Update server.js 2025-12-10 23:06:47 +01:00
88fe9c8cbb Update mockDb.ts 2025-12-10 23:06:12 +01:00
c2602a2da3 Update nginx.conf 2025-12-10 09:15:55 +01:00
75583aa1d4 Update Dockerfile 2025-12-10 09:15:37 +01:00
3573e99b03 Update .dockerignore 2025-12-10 09:15:18 +01:00
b79762acd1 Update Dockerfile 2025-12-10 09:14:50 +01:00
b860eb9fd8 feat: Refactor Docker configurations and server logic
Removes redundant Dockerfiles and configurations, consolidating them into a single set. Updates server logic for handling expense shares and notice targets to ensure correct parsing and deletion of associated records. Introduces a check for family association in the user's profile to prevent rendering payment options when a family is not assigned.
2025-12-09 23:41:17 +01:00
6f70631b78 Update ExtraordinaryUser.tsx 2025-12-09 23:39:48 +01:00
3fe4ce4266 Update server.js 2025-12-09 23:39:18 +01:00
2747cb03de Update nginx.conf 2025-12-09 23:26:36 +01:00
12a33f5fc5 Update Dockerfile 2025-12-09 23:26:19 +01:00
8413ccf3f5 Update .dockerignore 2025-12-09 23:25:52 +01:00
59286fb62e Update Dockerfile 2025-12-09 23:25:30 +01:00
8a43143ead feat(expenses): Add delete expense endpoint and functionality
Implements the ability to delete an expense, including its associated items and shares. Also refactors the expense update logic to correctly handle share updates and adds the corresponding API endpoint and mock DB function.
2025-12-09 23:25:06 +01:00
0d54da1cdf Update server.js 2025-12-09 23:19:45 +01:00
eabccd5774 Update nginx.conf 2025-12-09 23:14:18 +01:00
705ea0e168 Update Dockerfile 2025-12-09 23:13:57 +01:00
79f836dd34 Update .dockerignore 2025-12-09 23:13:36 +01:00
1289056633 Update Dockerfile 2025-12-09 23:13:13 +01:00
2a6da489aa feat: Refactor API services and UI components
This commit refactors the API service to use a consistent `fetch` wrapper for all requests, improving error handling and authorization logic. It also updates UI components to reflect changes in API endpoints and data structures, particularly around notifications and extraordinary expenses. Docker configurations are removed as they are no longer relevant for this stage of development.
2025-12-09 23:12:47 +01:00
38a3402deb Update nginx.conf 2025-12-09 23:02:00 +01:00
24fb89aefe Update Dockerfile 2025-12-09 23:01:29 +01:00
086f9ab8b5 Update .dockerignore 2025-12-09 23:01:09 +01:00
664092f4e8 Update Dockerfile 2025-12-09 23:00:42 +01:00
fa12a8de85 feat(extraordinary-expenses): Add module for extraordinary expenses
Introduces a new module to manage and track extraordinary expenses within condominiums. This includes defining expense items, sharing arrangements, and attaching relevant documents.

The module adds new types for `ExpenseItem`, `ExpenseShare`, and `ExtraordinaryExpense`. Mock database functions are updated to support fetching, creating, and managing these expenses. UI components in `Layout.tsx` and `Settings.tsx` are modified to include navigation and feature toggling for extraordinary expenses. Additionally, new routes are added in `App.tsx` for both administrative and user-facing views of these expenses.
2025-12-09 23:00:05 +01:00
048180db75 Update nginx.conf 2025-12-09 17:46:01 +01:00