LogiFlow
d51d50af8d
Merge pull request #31 from R0m1k3/1.1
...
Fix issues for employee role in customer order management
2025-08-12 15:32:39 +02:00
michaelschal
e4556fb1e5
Fix issues for employee role in customer order management
...
Correct data fetching and mutation invalidation logic in CustomerOrders page and address permission issues for employee role.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: b163d4c0-de5e-4f4e-a9c0-aed4c7049718
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/b163d4c0-de5e-4f4e-a9c0-aed4c7049718/deqBkyU
2025-08-12 13:30:54 +00:00
LogiFlow
904d442c36
Merge pull request #30 from R0m1k3/1.1
...
Allow directors to delete orders and deliveries across modules
2025-08-12 15:30:32 +02:00
michaelschal
2aa9d82dbd
Allow directors to delete orders and deliveries across modules
...
Update permission checks to enable 'directeur' role for deleting orders and deliveries in Order, Delivery, and Calendar modules, aligning with user requirements.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: b163d4c0-de5e-4f4e-a9c0-aed4c7049718
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/b163d4c0-de5e-4f4e-a9c0-aed4c7049718/x9HQyBS
2025-08-12 13:28:54 +00:00
LogiFlow
04525fbf64
Merge pull request #29 from R0m1k3/1.1
...
Update reconciliation logic to correctly filter deliveries
2025-08-12 14:49:16 +02:00
michaelschal
2bfa0d2a12
Update reconciliation logic to correctly filter deliveries
...
Adjusted `isAutoReconciliation` to `automaticReconciliation` in BLReconciliation.tsx for accurate delivery filtering based on supplier reconciliation settings.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: b163d4c0-de5e-4f4e-a9c0-aed4c7049718
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/b163d4c0-de5e-4f4e-a9c0-aed4c7049718/hD9QaEy
2025-08-12 12:48:54 +00:00
LogiFlow
dded2da6fb
Merge pull request #28 from R0m1k3/1.1
...
Align amounts to the right and remove debugging logs from reconciliation
2025-08-12 14:46:48 +02:00
michaelschal
d73b48d678
Align amounts to the right and remove debugging logs from reconciliation
...
Remove development logs and adjust financial data display alignment.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: b163d4c0-de5e-4f4e-a9c0-aed4c7049718
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/b163d4c0-de5e-4f4e-a9c0-aed4c7049718/AafoTqs
2025-08-12 12:46:18 +00:00
LogiFlow
39e9af32d0
Merge pull request #27 from R0m1k3/1.1
...
1.1
2025-08-12 14:42:14 +02:00
michaelschal
d3ccc96bb9
Fix supplier display on manual reconciliation tab
...
Adjust the logic in BLReconciliation.tsx to correctly display suppliers in the manual reconciliation tab, resolving an issue where auto-reconciliation suppliers were incorrectly grouped.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: b163d4c0-de5e-4f4e-a9c0-aed4c7049718
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/b163d4c0-de5e-4f4e-a9c0-aed4c7049718/OknisSd
2025-08-12 12:37:20 +00:00
michaelschal
fd61487d53
Center the 'difference' column and align its numeric values to the left
...
Update the `BLReconciliation.tsx` component to center the header of the 'Écart' column and align the numeric values within that column to the left.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: b163d4c0-de5e-4f4e-a9c0-aed4c7049718
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/b163d4c0-de5e-4f4e-a9c0-aed4c7049718/zxtWIfz
2025-08-12 12:35:25 +00:00
LogiFlow
65ef2910b0
Merge pull request #26 from R0m1k3/1.1
...
Add a thin grey border around validation icons
2025-08-12 14:32:04 +02:00
michaelschal
09ff19cda0
Add a thin grey border around validation icons
...
Apply a border to various check and check circle icons across different modals and pages to visually distinguish them.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: b163d4c0-de5e-4f4e-a9c0-aed4c7049718
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/b163d4c0-de5e-4f4e-a9c0-aed4c7049718/93Mucz1
2025-08-12 12:31:42 +00:00
LogiFlow
38069fd38b
Merge pull request #25 from R0m1k3/1.1
...
Refine reconciliation view by removing manual title and aligning data
2025-08-12 14:30:16 +02:00
michaelschal
aa0a900732
Refine reconciliation view by removing manual title and aligning data
...
Remove "Rapprochements Manuels" title and icon from the reconciliation view, bold BL numbers for unvalidated lines, and right-align the discrepancy column.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: b163d4c0-de5e-4f4e-a9c0-aed4c7049718
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/b163d4c0-de5e-4f4e-a9c0-aed4c7049718/l9FV9ZH
2025-08-12 12:29:40 +00:00
LogiFlow
0559f1aab4
Merge pull request #24 from R0m1k3/1.1
...
Allow directors and managers to validate deliveries in the system
2025-08-12 14:24:58 +02:00
michaelschal
b3386eb6b9
Allow directors and managers to validate deliveries in the system
...
Update permissions in `shared/permissions.ts` and UI logic in `OrderDetailModal.tsx` and `Deliveries.tsx` to grant 'validate' permission to 'directeur' and 'manager' roles for deliveries.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: b163d4c0-de5e-4f4e-a9c0-aed4c7049718
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/b163d4c0-de5e-4f4e-a9c0-aed4c7049718/1jHchFx
2025-08-12 12:24:01 +00:00
LogiFlow
3256f9adee
Merge pull request #23 from R0m1k3/1.1
...
1.1
2025-08-12 14:22:49 +02:00
michaelschal
d32710ee3c
Add debugging logs for reconciliation data on the reconciliation page
...
Add console logs to BLReconciliation.tsx for debugging reconciliation data, including total deliveries, suppliers, selected store ID, user role, and detailed delivery/supplier information.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: b163d4c0-de5e-4f4e-a9c0-aed4c7049718
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/b163d4c0-de5e-4f4e-a9c0-aed4c7049718/dpkQu60
2025-08-12 12:20:54 +00:00
michaelschal
836152024a
Simplify reconciliation by filtering only suppliers with auto-reconciliation enabled.
...
Refactor BL reconciliation logic in `BLReconciliation.tsx` to only filter deliveries where `supplier.isAutoReconciliation` is explicitly true, simplifying the manual reconciliation filter.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: b163d4c0-de5e-4f4e-a9c0-aed4c7049718
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/b163d4c0-de5e-4f4e-a9c0-aed4c7049718/HZmju0j
2025-08-12 12:20:03 +00:00
michaelschal
b625077cae
Improve automatic reconciliation logic to include deliveries already reconciled
...
Fixes an issue where some deliveries were not appearing in automatic reconciliation due to an incorrect filter condition. The logic now correctly identifies automatically reconciled deliveries based on supplier settings or existing reconciled status, aligning with the user's report of auto-reconciliation showing zero when data exists.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: b163d4c0-de5e-4f4e-a9c0-aed4c7049718
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/b163d4c0-de5e-4f4e-a9c0-aed4c7049718/rzSRfN7
2025-08-12 12:19:15 +00:00
LogiFlow
8b8f66109f
Merge pull request #22 from R0m1k3/1.1
...
Improve display for unreconciled delivery items
2025-08-12 14:17:59 +02:00
michaelschal
66c7fd3e46
Improve display for unreconciled delivery items
...
Update the UI to show unreconciled delivery items in white with bold text for supplier name, BL amount, invoice reference, and invoice amount in `BLReconciliation.tsx`.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: b163d4c0-de5e-4f4e-a9c0-aed4c7049718
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/b163d4c0-de5e-4f4e-a9c0-aed4c7049718/5adUZHZ
2025-08-12 12:16:35 +00:00
LogiFlow
b8d6b44963
Merge pull request #21 from R0m1k3/1.1
...
Fix issue preventing users from editing reconciliation data
2025-08-12 14:15:49 +02:00
michaelschal
a1d6cab167
Fix issue preventing users from editing reconciliation data
...
Adjusted ReconciliationModal to correctly display and handle edit modal opening when the edit icon is clicked, resolving a bug where the modal would not appear.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: b163d4c0-de5e-4f4e-a9c0-aed4c7049718
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/b163d4c0-de5e-4f4e-a9c0-aed4c7049718/wlAjxK8
2025-08-12 12:14:39 +00:00
LogiFlow
6914b4998d
Merge pull request #20 from R0m1k3/1.1
...
Add pagination and card design to the reconciliation page
2025-08-12 14:11:24 +02:00
michaelschal
aee6f7cf5c
Add pagination and card design to the reconciliation page
...
Update the BLReconciliation page to include pagination controls at the top and bottom of the table, limit to 20 items per page, and refactor the UI to use a card-based layout.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: b163d4c0-de5e-4f4e-a9c0-aed4c7049718
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/b163d4c0-de5e-4f4e-a9c0-aed4c7049718/pf3Qeu9
2025-08-12 12:10:40 +00:00
LogiFlow
5605604279
Merge pull request #19 from R0m1k3/1.1
...
Allow employees to create customer orders and DLCs
2025-08-12 14:04:06 +02:00
michaelschal
0fa48697a1
Allow employees to create customer orders and DLCs
...
Refactor server routes to use the shared permission system for employee access to customer orders and DLC creation, resolving hardcoded restrictions.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: b163d4c0-de5e-4f4e-a9c0-aed4c7049718
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/b163d4c0-de5e-4f4e-a9c0-aed4c7049718/2NIL7kU
2025-08-12 12:03:19 +00:00
LogiFlow
e17811745f
Merge pull request #18 from R0m1k3/1.1
...
1.1
2025-08-12 14:00:16 +02:00
michaelschal
fe00ec0a37
Add a column showing the difference between invoice and delivery amounts
...
Implement the 'Écart' column in the BL reconciliation page, calculating and displaying the difference between the 'Montant BL' and 'Montant Fact.' with conditional coloring based on the deviation amount.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: b163d4c0-de5e-4f4e-a9c0-aed4c7049718
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/b163d4c0-de5e-4f4e-a9c0-aed4c7049718/Is38Tns
2025-08-12 11:59:24 +00:00
michaelschal
fd54c2a7a6
Restrict editing of reconciled entries and add delete option for admins
...
Implement edit restrictions on reconciled reconciliation entries and introduce a delete button for administrator roles in the BL reconciliation interface.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: b163d4c0-de5e-4f4e-a9c0-aed4c7049718
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/b163d4c0-de5e-4f4e-a9c0-aed4c7049718/9cpnZSe
2025-08-12 11:56:49 +00:00
LogiFlow
82e12becf3
Merge pull request #17 from R0m1k3/1.1
...
1.1
2025-08-12 13:53:41 +02:00
michaelschal
5bef39e835
Update reconciliation status display to grey out and dim reconciled deliveries
...
Modify the BLReconciliation component to visually indicate reconciled deliveries with a greyed-out and dimmed appearance, using conditional styling based on the `reconciled` status in client/src/pages/BLReconciliation.tsx.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: b163d4c0-de5e-4f4e-a9c0-aed4c7049718
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/b163d4c0-de5e-4f4e-a9c0-aed4c7049718/Ek7HQXt
2025-08-12 11:52:56 +00:00
michaelschal
e3f95e3aea
Ensure directors only see their assigned stores
...
Fixes a bug where directors could see all stores, ensuring they only have access to their designated locations. This involves updating API endpoints for groups, orders, and deliveries to correctly filter by user-assigned groups for non-admin roles.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: b163d4c0-de5e-4f4e-a9c0-aed4c7049718
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/b163d4c0-de5e-4f4e-a9c0-aed4c7049718/Kett7jr
2025-08-12 11:51:08 +00:00
LogiFlow
fa07c3d513
Merge pull request #16 from R0m1k3/1.1
...
Fix delivery reconciliation data type errors and improve server valid…
2025-08-12 13:45:20 +02:00
michaelschal
15b4f7c9bd
Fix delivery reconciliation data type errors and improve server validation
...
Address Zod validation errors by ensuring correct data types are sent from the frontend and transformed on the backend, specifically for amounts and dates, to resolve 500 server errors during delivery updates.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: b163d4c0-de5e-4f4e-a9c0-aed4c7049718
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/b163d4c0-de5e-4f4e-a9c0-aed4c7049718/kMVZi4q
2025-08-12 11:44:44 +00:00
LogiFlow
2c183659bb
Merge pull request #15 from R0m1k3/1.1
...
Update interface and fix delivery saving and reconciliation issues
2025-08-12 13:41:41 +02:00
michaelschal
7da24cfbe1
Update interface and fix delivery saving and reconciliation issues
...
Update the edit button icon from an eye to a gear, fix a duplicate API endpoint, improve type safety, and add backend and frontend debug logs for delivery updates and reconciliation processes.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: b163d4c0-de5e-4f4e-a9c0-aed4c7049718
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/b163d4c0-de5e-4f4e-a9c0-aed4c7049718/eBIc7ee
2025-08-12 11:41:03 +00:00
LogiFlow
ab2687e08c
Merge pull request #14 from R0m1k3/1.1
...
Improve reconciliation process by adding a modal for details
2025-08-12 13:36:32 +02:00
michaelschal
e6d261f1f7
Improve reconciliation process by adding a modal for details
...
Add a new modal to edit reconciliation details and validate shipments, along with checks for required information.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: b163d4c0-de5e-4f4e-a9c0-aed4c7049718
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/b163d4c0-de5e-4f4e-a9c0-aed4c7049718/qtt4Qmj
2025-08-12 11:35:05 +00:00
LogiFlow
d0a4688ca5
Merge pull request #13 from R0m1k3/1.1
...
Fix an error preventing users from accessing system features
2025-08-12 13:29:32 +02:00
michaelschal
f3fe6ef1d4
Fix an error preventing users from accessing system features
...
Initialize the usePermissions hook in the BLReconciliation component to resolve a ReferenceError, enabling correct role-based access control.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: b163d4c0-de5e-4f4e-a9c0-aed4c7049718
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/b163d4c0-de5e-4f4e-a9c0-aed4c7049718/wU3ydzZ
2025-08-12 11:28:59 +00:00
LogiFlow
bd21bc7821
Merge pull request #12 from R0m1k3/1.1
...
Add validation, deletion, and devalidation options for delivery recon…
2025-08-12 13:26:38 +02:00
michaelschal
9f09cec209
Add validation, deletion, and devalidation options for delivery reconciliation
...
Implement new API endpoints and frontend logic for delivery reconciliation, allowing admins and directors to validate and delete deliveries, and admins to devalidate them.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: b163d4c0-de5e-4f4e-a9c0-aed4c7049718
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/b163d4c0-de5e-4f4e-a9c0-aed4c7049718/EsLIknD
2025-08-12 11:22:41 +00:00
LogiFlow
0426d9efb3
Merge pull request #11 from R0m1k3/1.1
...
Restore stable version of reconciliation page and update notifications
2025-08-12 13:18:02 +02:00
michaelschal
2f1ed03fa1
Restore stable version of reconciliation page and update notifications
...
Rollback BLReconciliation component to a previous stable state and switch to standard shadcn/ui Toaster, resolving React error #310 .
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: b163d4c0-de5e-4f4e-a9c0-aed4c7049718
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/b163d4c0-de5e-4f4e-a9c0-aed4c7049718/J7uLHW5
2025-08-12 11:16:37 +00:00
LogiFlow
cd68e11dd0
Merge pull request #10 from R0m1k3/1.1
...
Replace toast notifications and reconciliation module for improved st…
2025-08-12 13:11:49 +02:00
michaelschal
69c3d6805a
Replace toast notifications and reconciliation module for improved stability
...
Replace the existing toast notification system and the BL Reconciliation module with robust, independent implementations to resolve React errors and improve performance.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: b163d4c0-de5e-4f4e-a9c0-aed4c7049718
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/b163d4c0-de5e-4f4e-a9c0-aed4c7049718/l61v0JT
2025-08-12 11:11:10 +00:00
LogiFlow
e9b85db4d0
Merge pull request #9 from R0m1k3/1.1
...
Replace UI components to fix critical production errors
2025-08-12 13:06:44 +02:00