LogiFlow
fc5ba48942
Merge pull request #313 from R0m1k3/1.1
...
Expand administrative access to include additional user roles
2025-09-02 09:41:20 +02: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
LogiFlow
73e92de611
Merge pull request #312 from R0m1k3/1.1
...
1.1
2025-09-02 09:36:15 +02: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
LogiFlow
886c4a6f59
Merge pull request #311 from R0m1k3/1.1
...
1.1
2025-09-01 22:55:14 +02: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
LogiFlow
3f210fff5d
Merge pull request #310 from R0m1k3/1.1
...
Update backup service to use native scheduling and fix production errors
2025-09-01 22:46:56 +02: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
LogiFlow
2dce2a4049
Merge pull request #309 from R0m1k3/1.1
...
Improve automatic backup scheduling reliability
2025-09-01 22:43:41 +02: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
LogiFlow
6db4a1ca00
Merge pull request #308 from R0m1k3/1.1
...
1.1
2025-09-01 22:36:19 +02: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
LogiFlow
20c1954d49
Merge pull request #307 from R0m1k3/1.1
...
Limit pending orders displayed and add scrolling functionality
2025-09-01 22:28:26 +02: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
LogiFlow
e4d05698c3
Merge pull request #306 from R0m1k3/1.1
...
1.1
2025-09-01 22:23:59 +02: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
LogiFlow
802d5740dc
Merge pull request #305 from R0m1k3/1.1
...
Update dashboard to show only pending orders older than 10 days
2025-09-01 22:04:20 +02: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
LogiFlow
decd81902b
Merge pull request #304 from R0m1k3/1.1
...
1.1
2025-09-01 15:54:40 +02: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
LogiFlow
c372d64622
Merge pull request #303 from R0m1k3/1.1
...
Add a waiting modal and timeout for webhook processing
2025-09-01 14:46:39 +02: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
LogiFlow
4f70e00ee3
Merge pull request #302 from R0m1k3/1.1
...
Show linkage badges on daily delivery and order items
2025-09-01 14:19:04 +02: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
LogiFlow
dafc31430d
Merge pull request #301 from R0m1k3/1.1
...
Add visual indicator for orders linked to deliveries
2025-09-01 14:14:32 +02: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
LogiFlow
3c4e8ff336
Merge pull request #300 from R0m1k3/1.1
...
Add visual indicator for deliveries linked to orders on the calendar
2025-09-01 14:07:30 +02: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
LogiFlow
be4c7a750c
Merge pull request #299 from R0m1k3/1.1
...
1.1
2025-09-01 13:58:23 +02: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
LogiFlow
e205be08c2
Merge pull request #298 from R0m1k3/1.1
...
1.1
2025-08-31 09:56:48 +02: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
LogiFlow
445ba11971
Merge pull request #297 from R0m1k3/1.1
...
Improve task management by optimizing cache updates for reconciled in…
2025-08-31 09:49:39 +02: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
LogiFlow
ec2f61cf6f
Merge pull request #296 from R0m1k3/1.1
...
1.1
2025-08-31 09:42:52 +02: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
LogiFlow
e8d92fbc11
Merge pull request #295 from R0m1k3/1.1
...
Streamline invoice sending by removing document type selection
2025-08-22 12:12:06 +02:00
michaelschal
e396cbd096
Streamline invoice sending by removing document type selection
...
Simplify the BL reconciliation process by removing the option to select between invoice or credit note and defaulting to 'Facture', improving user experience and reducing complexity.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 72798e04-65c2-4587-bc41-77a3d4984153
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/72798e04-65c2-4587-bc41-77a3d4984153/QaTgrBu
2025-08-22 10:04:10 +00:00