michaelschal
1f29641644
Update task module to automatically display updated information
...
Fix an issue where the task module required a manual refresh to show the latest task data for director roles.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/yiEpJFx
2025-09-09 08:50:09 +00:00
michaelschal
025bca2e38
Improve task module loading for director and manager roles
...
Enhance Layout component to auto-select a store for director/manager roles and add a useEffect hook in Tasks page to invalidate the "/api/tasks" query when selectedStoreId changes for these roles.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/yiEpJFx
2025-09-09 08:49:02 +00:00
michaelschal
27305d5706
Improve task display for directors by fixing query enablement logic
...
Add conditional logic to the tasks query to ensure it is enabled for directors and managers, resolving issues with tasks not displaying without manual page reloads.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/yiEpJFx
2025-09-09 08:48:27 +00:00
michaelschal
eb9ae1987c
Fix issue where director role doesn't see updated tasks
...
Address a state synchronization problem in the task module, ensuring task updates are reflected without manual page reloads for users with the director role.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/yiEpJFx
2025-09-09 08:34:36 +00:00
michaelschal
aae9d8a712
Improve task visibility for director and manager roles
...
Update `Tasks.tsx` to enable data fetching for users with 'directeur' or 'manager' roles, provided a `selectedStoreId` is present, and for 'admin' roles without store selection restrictions.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/yiEpJFx
2025-09-09 08:33:25 +00:00
michaelschal
d96ae9c47d
Update task fetching to include user group information for accurate data display
...
Include user group data in the task fetching API call to resolve issues with director roles not seeing tasks, ensuring correct data rendering without manual page reloads.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/yiEpJFx
2025-09-09 08:32:31 +00:00
michaelschal
76d6988ae6
Improve task display for director role by enabling data fetching
...
Update Tasks.tsx to correctly enable data fetching for director role, ensuring tasks are displayed without manual page reloads. The `enabled` flag in the `useQuery` hook is now set to `!!user` for the tasks query, and the filter logic for `user.role` has been removed.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/yiEpJFx
2025-09-09 08:25:38 +00:00
michaelschal
2013b2cad8
Fix task display issue for directors on initial page load
...
Update task fetching logic to correctly enable data retrieval for 'directeur' role users, resolving an issue where tasks were not displayed until a page refresh.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/yiEpJFx
2025-09-09 07:53:29 +00:00
michaelschal
592edeb3d1
Prevent changing status for validated invoices and disable selection
...
Add validation to prevent users from changing the status of an invoice once it has been validated. The UI for validated invoices is also updated to be disabled and visually indicate its non-editable state.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/yiEpJFx
2025-09-09 06:10:41 +00:00
michaelschal
5a8b212f38
Prevent file uploads and edits after approval
...
Disable file upload and editing functionalities for tasks once they have been approved.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/OGBabTX
2025-09-09 05:47:53 +00:00
michaelschal
7e432483db
Prevent uploads and edits for validated documents
...
Disable file uploads and editing functionality for documents that have been validated or are marked as verified in the system.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/7eY9Hl8
2025-09-09 05:46:50 +00:00
michaelschal
45772a4fe0
Restrict manager webhook uploads and status updates, set default groups
...
Refactor webhook controller and role-based access control to prevent managers from uploading files and setting status to 'received'. Update modal logic to assign the default group based on user role (assigned group for managers, group 1 for admins).
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/7eY9Hl8
2025-09-08 20:59:58 +00:00
michaelschal
6631ece2ab
Set default group based on user role for task creation
...
Adjusted the default `groupId` in the Avoirs form. If the user is an 'admin', it defaults to `1`. Otherwise, it defaults to the first `groupId` associated with the user's `userGroups`, or `0` if none are assigned. This change is implemented in `client/src/pages/Avoirs.tsx`.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/7eY9Hl8
2025-09-08 20:59:38 +00:00
michaelschal
ee5c122664
Restrict managers from changing status and uploading files via webhooks
...
Prevent 'manager' role users from setting 'avoir' status to 'Reçu'. Modify SelectItem visibility in Avoirs.tsx to conditionally render the 'Reçu' option based on user role.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/7eY9Hl8
2025-09-08 20:58:58 +00:00
michaelschal
01b3e8288e
Restrict file uploads and status changes for managers
...
Prevent managers from uploading files for 'Reçu' status and sending files via webhook.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/7eY9Hl8
2025-09-08 20:58:20 +00:00
michaelschal
acbc36fda1
Improve display of commercial processing status for avoirs
...
Adjusted the display of the "Traité por commercial" status by wrapping the icon in a div to ensure consistent tooltip behavior across different browsers.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/7eY9Hl8
2025-09-08 20:50:41 +00:00
michaelschal
c2edd36ccc
Add a tabbed interface to organize and filter financial records
...
Integrates a tabbed navigation system into the Avoirs page, allowing users to easily switch between "pending" and "completed" financial records, with enhanced filtering and search capabilities.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/7eY9Hl8
2025-09-08 20:46:12 +00:00
michaelschal
ff9ec5c605
Add ability to view and manage comments on financial documents
...
Implement a modal for viewing and managing comments associated with financial documents, enhancing user interaction and information display.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/Ii96ETr
2025-09-08 20:37:17 +00:00
michaelschal
011be98ed0
Fix issue with empty amount fields not saving correctly
...
Ensure that undefined optional fields in the Avoir update payload are converted to null for proper PostgreSQL compatibility.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/Ii96ETr
2025-09-08 20:32:07 +00:00
michaelschal
734f8c26c7
Update invoice editing to correctly save financial amounts
...
Refactor client-side logic for editing invoice amounts to use local state, ensuring accurate data persistence and preventing conflicts with form handling.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/Ii96ETr
2025-09-08 20:25:36 +00:00
michaelschal
b787e46c7e
Fix issue preventing users from deleting numeric input values
...
Corrected the numeric input onChange handler in Avoirs.tsx to properly handle empty string input and non-numeric values, allowing users to clear the input field.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/Ii96ETr
2025-09-08 20:22:47 +00:00
michaelschal
1171556955
Fix error when setting monetary amount to zero or undefined
...
Update Avoirs page component to correctly handle monetary input values, allowing amounts to be set to zero or undefined by parsing input strings to floats.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/Ii96ETr
2025-09-08 20:12:19 +00:00
michaelschal
8038506168
Allow negative amounts to be processed in credit notes
...
Update the credit note schema to accept all numeric values (positive, negative, zero) and handle null amounts by converting them to undefined.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/Ii96ETr
2025-09-08 20:08:12 +00:00
michaelschal
91031b8c02
Allow zero and negative amounts for financial entries
...
Update validation schema for financial entries to permit zero and negative values for amounts, and allow empty values for invoice references.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/uMhb9Na
2025-09-08 20:01:01 +00:00
michaelschal
1470f221de
Update interface to show changes immediately after validation actions
...
Improve user experience by updating the local state immediately after validating or invalidating an "avoir," providing instant visual feedback without requiring a page reload. This change enhances the perceived responsiveness of the task management platform.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/uMhb9Na
2025-09-08 19:58:40 +00:00
michaelschal
2291dcdd7f
Improve how verification statuses are displayed for specific records
...
Refactor the Avoirs page to wrap the CheckCircle component in a div for better tooltip handling and to display verification status more clearly.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/uMhb9Na
2025-09-08 19:55:48 +00:00
michaelschal
a62e1783a2
Improve how verified documents are loaded from the server cache
...
Update the Avoirs page to fetch invoice verification status from a POST request to the server, utilizing the existing cache if available, and store the results in the component's state.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/uMhb9Na
2025-09-08 19:54:45 +00:00
michaelschal
c55044f89e
Improve debugging for task verification status and data caching
...
Add extensive console logging to the Avoirs page to aid in debugging the verification process and data caching logic, including checks for `nocodbVerified` and detailed cache loading steps.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/uMhb9Na
2025-09-08 19:51:15 +00:00
michaelschal
62ada8e9cc
Ensure verified status persists for invoices when reloading the page
...
Re-introduces the useEffect hook to load cached verification statuses for 'avoirs' upon component mount, ensuring that the verified state is correctly displayed after a page refresh.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/uMhb9Na
2025-09-08 19:47:38 +00:00
michaelschal
4c3b355659
Improve how verified task statuses are displayed and remembered
...
Update the task management page to load and display previously verified task states from cache, ensuring the verification status persists across page reloads and user interactions.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/uMhb9Na
2025-09-08 19:46:47 +00:00
michaelschal
9ad6434c55
Fix issue displaying financial transaction amounts with incorrect formatting
...
Correct a TypeError in the frontend component responsible for rendering financial transaction data, specifically addressing an issue where `amount.toFixed()` was called on a non-numeric value.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/uMhb9Na
2025-09-08 19:34:33 +00:00
michaelschal
91714ce9d2
Improve how user-submitted financial credits are displayed
...
Remove console logs related to fetching and rendering financial credits and remove the try-catch block around the rendering of individual credits in the Avoirs page.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/uMhb9Na
2025-09-08 19:34:15 +00:00
michaelschal
552ba6a221
Ensure credit amounts display correctly by converting to numbers
...
Fixes a TypeError in the Avoirs page where the 'amount' field was not treated as a number, preventing the toFixed method from being called. This change ensures that amounts are correctly formatted to two decimal places.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/uMhb9Na
2025-09-08 19:33:23 +00:00
michaelschal
a70c81d465
Improve production debugging logs to show authentication status
...
Add detailed logging for authentication and router states in the production environment, including user details upon successful login.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/uMhb9Na
2025-09-08 19:32:39 +00:00
michaelschal
922fdde82e
Add image asset for documentation purposes
...
This commit adds an image file to the attached_assets directory.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/uMhb9Na
2025-09-08 19:31:30 +00:00
michaelschal
877326fc2a
Improve error reporting and debugging capabilities for production
...
Enhance production error logging and debugging tools to address reported issues.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/uMhb9Na
2025-09-08 19:29:28 +00:00
michaelschal
ec06b89e90
Add detailed logging for debugging task display issues
...
Adds console logs within the Avoirs component to help diagnose rendering problems by logging individual avoir data and potential errors during the rendering process.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/H30E1Dv
2025-09-08 19:28:51 +00:00
michaelschal
3e70229245
Improve logging and debugging capabilities for better error tracking
...
Update logging middleware to include request details and implement a new debug mode for enhanced troubleshooting of workflow issues.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/H30E1Dv
2025-09-08 19:25:38 +00:00
michaelschal
4cac6ac891
Improve handling of missing data in the task list view
...
Update the Avoirs page to safely render data, handling cases where `avoir` or its properties like `id`, `createdAt`, or `creator` might be null or undefined. This includes adding checks for nullish values and providing default displays for missing information.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/H30E1Dv
2025-09-08 19:25:24 +00:00
michaelschal
b9a0bfa839
Improve error handling and debugging capabilities for production environments
...
Update error logging configurations and refine webhook processing to address recent bugs, ensuring greater system stability and reliability.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/H30E1Dv
2025-09-08 19:21:20 +00:00
michaelschal
db023f2247
Remove automatic invoice verification to prevent JavaScript crashes
...
Removed the `useEffect` hook from `Avoirs.tsx` that automatically loaded invoice verification results. This automatic loading was identified as the cause of JavaScript crashes. Invoice verifications will now only occur when explicitly triggered by user action.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/H30E1Dv
2025-09-08 19:20:58 +00:00
michaelschal
d3e4f1e83c
Improve task data handling and prevent errors during edits
...
Add null checks and default values to prevent runtime errors in the Avoirs component, improving data integrity and user experience.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/H30E1Dv
2025-09-08 19:13:36 +00:00
michaelschal
df42a3d53a
Improve system stability and error handling
...
Update logging configurations to capture more detailed error information and enhance debugging capabilities for production environments.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/H30E1Dv
2025-09-08 19:09:24 +00:00
michaelschal
ebbde4d150
Improve the task management system by enabling secure auto-filling of invoice data
...
Update the client-side Avoirs page to automatically populate invoice amounts when a verified invoice is found, enhancing user experience and data accuracy. Implement conditional rendering for verification status icons and enable the 'Validate' button only when an invoice is successfully verified.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/H30E1Dv
2025-09-08 19:09:05 +00:00
michaelschal
3f671cd6b3
Improve logging and error handling to better diagnose production server issues
...
Enhance production server diagnostics by improving error logging mechanisms and webhook configurations.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/H30E1Dv
2025-09-08 18:59:34 +00:00
michaelschal
e707fe8ec6
Temporarily disable auto-filling of invoice amounts for debugging purposes
...
Temporarily disable the auto-filling functionality for invoice amounts in the Avoirs page to aid in debugging production server issues. Added console logs to provide visibility into the verification process.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/H30E1Dv
2025-09-08 18:59:12 +00:00
michaelschal
cecd2e6031
Improve automatic data filling for credit notes with better error handling
...
Add null and undefined checks to 'Avoirs' page for invoice amount auto-filling and wrap mutation in try-catch block.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/H30E1Dv
2025-09-08 18:56:43 +00:00
michaelschal
559d26aa38
Improve handling of undefined or null amounts in financial documents
...
Adjusted client-side logic in `Avoirs.tsx` to correctly display financial amounts, preventing errors when amounts are not explicitly set.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/H30E1Dv
2025-09-08 18:53:27 +00:00
michaelschal
11d1b999fe
Update validation to allow zero amounts for financial transactions
...
Modify the schema to permit zero values for the amount field, addressing validation errors encountered during invoice processing.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/H30E1Dv
2025-09-08 18:49:58 +00:00
michaelschal
97848b6d31
Improve logging for webhook delivery failures
...
Add more detailed logging within `webhook_delivery.js` to capture and report specific error messages and status codes when webhook deliveries fail, aiding in debugging delivery issues.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/owR0788
2025-09-08 18:47:02 +00:00