Commit Graph
550 Commits
Author SHA1 Message Date
michaelschal 2f71b06744 Fix issue where non-admin users could see all groups
Add console logging for debugging group data access by user role and fix group filtering logic to ensure correct data is returned for non-admin users.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 28b81ac1-a55f-409c-b6a9-88ad420d8a9a
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/28b81ac1-a55f-409c-b6a9-88ad420d8a9a/6PoDWd4
2025-09-03 08:45:56 +00:00
michaelschal 510a62915b Restrict director access to assigned groups only
Update route protection logic to ensure directors can only access deliveries within their assigned groups.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 28b81ac1-a55f-409c-b6a9-88ad420d8a9a
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/28b81ac1-a55f-409c-b6a9-88ad420d8a9a/6PoDWd4
2025-09-03 08:40:25 +00:00
michaelschal 1a0171c49e Allow directors to access delivery information
Update server routes to grant 'directeur' role access to delivery information, previously restricted to 'admin' roles.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 28b81ac1-a55f-409c-b6a9-88ad420d8a9a
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/28b81ac1-a55f-409c-b6a9-88ad420d8a9a/6PoDWd4
2025-09-03 08:25:49 +00:00
michaelschal 26fef5ba29 Improve access control for reconciliation validation and editing features
Update reconciliation page to use role-based permissions instead of hardcoded admin checks for validation and editing actions.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 28b81ac1-a55f-409c-b6a9-88ad420d8a9a
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-09-03 08:18:21 +00:00
michaelschal bc936c285b Saved your changes before starting work
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 28b81ac1-a55f-409c-b6a9-88ad420d8a9a
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-09-03 08:16:56 +00:00
michaelschal 1ccfc740b4 Ensure daily automatic backups are performed upon user login
Introduce a daily automatic backup check and execution triggered upon successful user login, ensuring data consistency and safety across the platform. This includes a new `checkAndPerformDailyBackup` method in `backupService.ts` and its integration into the login process in `localAuth.ts` and `localAuth.production.ts`.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 8e57b9d9-f2b2-427d-ba7a-757427e9b079
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/8e57b9d9-f2b2-427d-ba7a-757427e9b079/BLTvIk5
2025-09-02 17:54:11 +00:00
michaelschal a25b178ee2 Improve task retrieval by optimizing data fetching and logging
Add detailed logging for task retrieval API calls, including user role, task data, and associated groups, enhancing debugging capabilities.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: f2b9c241-9fdd-4abd-9041-720afc8b27d6
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-09-02 10:27:15 +00:00
michaelschal 9dc199d188 Improve date handling for task creation and retrieval
Update client-side and server-side logic to correctly process and store date values, ensuring compatibility with PostgreSQL timestamp types. This includes converting string dates to Date objects before insertion and ensuring string IDs are converted to numbers for API calls.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: f2b9c241-9fdd-4abd-9041-720afc8b27d6
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-09-02 10:19:37 +00:00
michaelschal 3ec315ddd2 Fix error when creating new tasks with invalid date formats
Address TypeError in Drizzle ORM's PgTimestamp mapping for task creation when dueDate is not a valid Date object.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: f2b9c241-9fdd-4abd-9041-720afc8b27d6
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-09-02 10:04:39 +00:00
michaelschal a3d14b03fb Improve task creation by fixing date handling issues and logging
Fix TypeError in task creation related to date conversion and improve logging for production environment.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: f2b9c241-9fdd-4abd-9041-720afc8b27d6
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-09-02 10:01:34 +00:00
michaelschal a9564c513a Adjust task date handling to correctly manage start and end dates
Modify the task creation logic in `TasksSimplified.tsx` to properly initialize `startDate` to null and ensure `dueDate` is set to null when not provided, resolving an issue with date range selection.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: f2b9c241-9fdd-4abd-9041-720afc8b27d6
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-09-02 09:52:25 +00:00
michaelschal a4a6f302ae Improve error handling for task creation
Address reported issues with task creation on private servers by refining error handling and logging mechanisms within the backend.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: f2b9c241-9fdd-4abd-9041-720afc8b27d6
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-09-02 09:36:05 +00:00
michaelschal db66792e8b Improve task creation logging and group assignment clarity
Add detailed logging for task creation, including selected group ID in TasksSimplified.tsx and Tasks.tsx, and ensure correct groupId is sent in the API request.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: f2b9c241-9fdd-4abd-9041-720afc8b27d6
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-09-02 09:32:38 +00:00
michaelschal 54aa499edd Fix task creation error by assigning default group
Correctly assigns a default `groupId` when creating tasks and improves group access validation logic.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: f2b9c241-9fdd-4abd-9041-720afc8b27d6
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-09-02 09:28:21 +00:00
michaelschal f2013cd616 Make task assignment optional and improve task creation flow
Update task forms to remove the required field for assignment, allowing tasks to be created without an assignee and setting a default "Non assigné" value. This addresses an issue where task creation was blocked due to a mandatory assignment field.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: f2b9c241-9fdd-4abd-9041-720afc8b27d6
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-09-02 09:18:48 +00:00
michaelschal e95723fd5c Update ticket tracking icon to improve clarity for users
Replaces the 'Eye' icon with 'ClipboardList' in the SAV module to better represent ticket tracking functionality and adds a 'title' attribute for improved accessibility.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: f2b9c241-9fdd-4abd-9041-720afc8b27d6
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-09-02 09:03:20 +00:00
michaelschal 814132fd17 Correctly calculate the number of days pending for orders
Update the dashboard to use `plannedDate` instead of `createdAt` for calculating days pending in order cards.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: f2b9c241-9fdd-4abd-9041-720afc8b27d6
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-09-02 08:52:24 +00:00
michaelschal 3b54c6fbdb Improve product expiry date filtering and supplier data retrieval
Refactor storage logic to correctly filter products by expiry date (expires_soon, expired, active) and update supplier DLC enablement check in routes.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: f2b9c241-9fdd-4abd-9041-720afc8b27d6
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-09-02 08:47:11 +00:00
michaelschal e0bcfcdb13 Improve product filtering by adding dynamic status options for expiry dates
Update the server-side storage logic in `server/storage.ts` to correctly filter DLC products based on various expiry date statuses ('expires_soon', 'expires', 'en_cours', 'valides'), addressing an issue where certain products were not being displayed in empty lists.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: f2b9c241-9fdd-4abd-9041-720afc8b27d6
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-09-02 08:38:52 +00:00
michaelschal ad7bd07670 Improve filtering for suppliers based on DLC status
Correctly filter suppliers to only show DLC-enabled ones when the DLC filter is applied in the API.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: f2b9c241-9fdd-4abd-9041-720afc8b27d6
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-09-02 08:31:06 +00:00
michaelschal 7cdbdfff68 Expand administrative access to include additional user roles
Update API endpoint to grant 'directeur' and 'manager' roles access to user data, alongside existing 'admin' role.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: f2b9c241-9fdd-4abd-9041-720afc8b27d6
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-09-02 07:40:27 +00:00
michaelschal 989b2c8c40 Grant task creation permissions to managers
Update shared/permissions.ts to add 'create' permission to manager role for tasks module. Also, add a permission check in server/routes.ts before creating a task.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: f2b9c241-9fdd-4abd-9041-720afc8b27d6
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-09-02 07:34:30 +00:00
michaelschal 6db69c8c94 Saved your changes before starting work
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: f2b9c241-9fdd-4abd-9041-720afc8b27d6
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-09-02 07:32:42 +00:00
michaelschal cc13f32b1b Ensure BL amount is always present in reconciliation but optional for delivery validation
Update ReconciliationModal to include and display the BL amount. Modify ValidateDeliveryModal to make the BL amount field optional in its schema and remove it from the payload sent to the API.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: db1bcb73-80c1-4bff-8236-4ced2c07f75f
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-09-01 20:54:48 +00:00
michaelschal 73a3d36ce8 Remove the bill of lading amount field from delivery reconciliation
Removes the `blAmount` field from the `ReconciliationModal` component and its associated state and mutation logic in `client/src/components/modals/ReconciliationModal.tsx`.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: db1bcb73-80c1-4bff-8236-4ced2c07f75f
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-09-01 20:53:21 +00:00
michaelschal f3785fb428 Update backup service to use native scheduling and fix production errors
Replaced node-cron with native setInterval for backup scheduling to resolve production issues related to dynamic requires.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: db1bcb73-80c1-4bff-8236-4ced2c07f75f
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-09-01 20:46:30 +00:00
michaelschal 68da9f1926 Improve automatic backup scheduling reliability
Replace native setTimeout with node-cron for daily automatic backups at 2:00 AM, improving scheduling robustness and adding timezone support.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: db1bcb73-80c1-4bff-8236-4ced2c07f75f
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-09-01 20:43:07 +00:00
michaelschal 38c48bd6f6 Remove pending order notification and improve order alert styling
Removes the top-level notification for pending orders and updates the styling for pending order alerts to use color-coded severity based on how long an order has been pending.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 98f01874-e00c-4bbe-9d71-b0b338001848
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/98f01874-e00c-4bbe-9d71-b0b338001848/XDIQsDu
2025-09-01 20:35:37 +00:00
michaelschal beed32daea Restore pending orders card and display count
Restores the pending orders card to the dashboard, displaying the count of pending orders and refactors the display of individual pending orders to remove overdue status and highlight them with an orange border.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 98f01874-e00c-4bbe-9d71-b0b338001848
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/98f01874-e00c-4bbe-9d71-b0b338001848/XDIQsDu
2025-09-01 20:33:47 +00:00
michaelschal 1888b700a4 Remove the display of pending orders from the dashboard view
Removes the UI component responsible for displaying the count of pending orders on the main dashboard page.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 98f01874-e00c-4bbe-9d71-b0b338001848
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/98f01874-e00c-4bbe-9d71-b0b338001848/XDIQsDu
2025-09-01 20:32:37 +00:00
michaelschal 68bab78909 Display all pending orders instead of limiting to the last four
Modify the Dashboard component to display all pending orders rather than a limited subset of the last four.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 98f01874-e00c-4bbe-9d71-b0b338001848
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/98f01874-e00c-4bbe-9d71-b0b338001848/XDIQsDu
2025-09-01 20:31:50 +00:00
michaelschal 6916a25822 Limit pending orders displayed and add scrolling functionality
Updates the dashboard to display only the last 4 pending orders and implements vertical scrolling for the pending orders section within `Dashboard.tsx`.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 98f01874-e00c-4bbe-9d71-b0b338001848
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/98f01874-e00c-4bbe-9d71-b0b338001848/XDIQsDu
2025-09-01 20:27:42 +00:00
michaelschal d9120a3e6b Update store badges to use configured colors from the administration module
Modify the Dashboard component to dynamically set the background and border colors of participating store badges based on the `group.color` property, enhancing visual consistency with store configurations. The `selectedStoreId` prop is used to apply a ring effect to the currently active store.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 98f01874-e00c-4bbe-9d71-b0b338001848
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/98f01874-e00c-4bbe-9d71-b0b338001848/XDIQsDu
2025-09-01 20:23:25 +00:00
michaelschal 5fbdc67153 Update dashboard to display total pending orders
Modify the Dashboard component to count all orders with 'pending' status instead of filtering for orders pending over 10 days. Also removes overflow from the pending orders card.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 98f01874-e00c-4bbe-9d71-b0b338001848
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/98f01874-e00c-4bbe-9d71-b0b338001848/XDIQsDu
2025-09-01 20:21:20 +00:00
michaelschal dbca763d4b Display all pending orders on the dashboard regardless of creation date
Updates the dashboard to filter and display all orders with a 'pending' status, including sorting by creation date and highlighting overdue orders.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 98f01874-e00c-4bbe-9d71-b0b338001848
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/98f01874-e00c-4bbe-9d71-b0b338001848/XDIQsDu
2025-09-01 20:19:27 +00:00
michaelschal 8fb739f944 Update dashboard to show only pending orders older than 10 days
Modify the dashboard logic to filter and display only 'pending' orders that were created more than 10 days ago, based on the order's `createdAt` timestamp.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 98f01874-e00c-4bbe-9d71-b0b338001848
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/98f01874-e00c-4bbe-9d71-b0b338001848/XDIQsDu
2025-09-01 20:01:45 +00:00
michaelschal 2549663637 Improve invoice verification process after webhook processing
Update BLReconciliation page to specifically verify the processed delivery after webhook. This involves invalidating cache for '/api/deliveries/bl' and calling `handleVerifyInvoice` with the selected delivery after a 1-second delay.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 98f01874-e00c-4bbe-9d71-b0b338001848
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/98f01874-e00c-4bbe-9d71-b0b338001848/XDIQsDu
2025-09-01 13:54:04 +00:00
michaelschal 8c12f4c18c Trigger invoice verification after webhook completion
After a webhook process finishes, automatically re-fetch delivery data and trigger an invoice verification process by invalidating related queries and calling handleVerifyAllInvoices.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 98f01874-e00c-4bbe-9d71-b0b338001848
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/98f01874-e00c-4bbe-9d71-b0b338001848/XDIQsDu
2025-09-01 13:52:04 +00:00
michaelschal 0e81fbaf41 Add a waiting modal and timeout for webhook processing
Introduce a waiting modal with a countdown timer for webhook processing, handle request timeouts with an AbortController, and improve error reporting for webhook failures.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 98f01874-e00c-4bbe-9d71-b0b338001848
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/98f01874-e00c-4bbe-9d71-b0b338001848/NGEmabJ
2025-09-01 12:44:41 +00:00
michaelschal a77a596880 Show linkage badges on daily delivery and order items
Add conditional rendering for linkage badges in `CalendarGrid.tsx` when an order has deliveries or a delivery is associated with an order.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 98f01874-e00c-4bbe-9d71-b0b338001848
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/98f01874-e00c-4bbe-9d71-b0b338001848/747GbQM
2025-09-01 12:18:16 +00:00
michaelschal c0d3714aac Add visual indicator for orders linked to deliveries
Adds a blue badge to `CalendarItem` component in `CalendarGrid.tsx` to visually indicate when an order is linked to deliveries, utilizing a `Link` icon and styling.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 98f01874-e00c-4bbe-9d71-b0b338001848
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/98f01874-e00c-4bbe-9d71-b0b338001848/HSHfb0Z
2025-09-01 12:13:56 +00:00
michaelschal a39b71ab39 Add visual indicator for deliveries linked to orders on the calendar
Imports the `Link` icon from `lucide-react` and adds a conditional badge displaying a link icon to `CalendarItem` components when `item.orderId` is present, indicating a delivery linked to an order.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 98f01874-e00c-4bbe-9d71-b0b338001848
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/98f01874-e00c-4bbe-9d71-b0b338001848/PAgei8r
2025-09-01 12:06:54 +00:00
michaelschal c09388c0aa Make delivery validation require a mandatory delivery note number
Enforce the requirement for a delivery note number (blNumber) during delivery validation on both the delivery and calendar modules. This change updates the frontend validation schema to make blNumber a required field with a minimum length, modifies the backend logic to reject validations without a blNumber, and integrates a new modal component for handling this validation process within the Deliveries page.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 98f01874-e00c-4bbe-9d71-b0b338001848
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/98f01874-e00c-4bbe-9d71-b0b338001848/yaZkPAT
2025-09-01 11:57:55 +00:00
michaelschal 6dca340c45 Saved your changes before starting work
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 98f01874-e00c-4bbe-9d71-b0b338001848
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-09-01 11:53:14 +00:00
michaelschal 8dec1c46ba Improve reconciliation process by skipping already validated deliveries
Update client-side logic in BLReconciliation to exclude deliveries with a 'reconciled' status from automatic verification. Modify server-side InvoiceVerificationService to implement permanent caching for reconciled invoices, preventing redundant checks.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: daf3525c-b971-454a-b0c0-7a9845e786cc
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-08-31 07:56:20 +00:00
michaelschal aef303b709 Improve reconciliation process by skipping already processed deliveries
Optimize the reconciliation page by pre-populating results for already reconciled deliveries and skipping them in the auto-verification loop. Also, add an API endpoint for administrators to diagnose cache status for reconciled deliveries.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: daf3525c-b971-454a-b0c0-7a9845e786cc
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-08-31 07:54:35 +00:00
michaelschal 9ed380a279 Improve task management by optimizing cache updates for reconciled invoices
Add new functionality to update invoice verification cache to permanent status after reconciliation. Introduce a new API endpoint for admins to trigger bulk updates of existing reconciled caches, addressing potential performance issues with repeated checks on verified items.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: daf3525c-b971-454a-b0c0-7a9845e786cc
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-08-31 07:49:05 +00:00
michaelschal 97b63b61e8 Improve invoice verification caching with permanent storage for reconciled items
Introduce adaptive caching durations for invoice verification: permanent caching for reconciled invoices, temporary caching for found invoices, and longer temporary caching for not-found invoices.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: daf3525c-b971-454a-b0c0-7a9845e786cc
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-08-31 07:39:11 +00:00
michaelschal 6c853052f1 Update development server configuration for better integration
Remove Javascript database integration from the .replit file to align with current project setup.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: daf3525c-b971-454a-b0c0-7a9845e786cc
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-08-31 07:18:17 +00:00
michaelschal 7826f44c40 Saved your changes before starting work
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: daf3525c-b971-454a-b0c0-7a9845e786cc
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-08-31 07:17:08 +00:00