Commit Graph
537 Commits
Author SHA1 Message Date
LogiFlow c943698e29 Merge pull request #539 from R0m1k3/1.1
feat: add mobile calendar page to display orders and deliveries as ev…
2025-12-10 14:26:08 +01:00
Michael 6378fa5a7c feat: add mobile calendar page to display orders and deliveries as events. 2025-12-10 14:24:18 +01:00
LogiFlow 149371bf6c Merge pull request #538 from R0m1k3/1.1
feat: add mobile pages for delivery and order listing with search and…
2025-12-10 14:18:02 +01:00
Michael 7043884e68 feat: add mobile pages for delivery and order listing with search and filter capabilities. 2025-12-10 14:17:32 +01:00
LogiFlow 36ee75ea75 Merge pull request #537 from R0m1k3/1.1
feat: add base mobile layout component with header, bottom navigation…
2025-12-10 14:07:33 +01:00
Michael 29520c4264 feat: add base mobile layout component with header, bottom navigation, and side menu. 2025-12-10 14:06:45 +01:00
LogiFlow 8239506864 Merge pull request #536 from R0m1k3/1.1
feat: add `MobileApp` wrapper with `StoreProvider` and integrate mobi…
2025-12-10 14:03:09 +01:00
Michael 7c7a4478c3 feat: add MobileApp wrapper with StoreProvider and integrate mobile-specific routing for mobile pages. 2025-12-10 14:02:37 +01:00
LogiFlow 60086e6a3c Merge pull request #535 from R0m1k3/1.1
feat: implement dedicated mobile layout with bottom navigation and st…
2025-12-10 13:57:28 +01:00
Michael 7f4c172eeb feat: implement dedicated mobile layout with bottom navigation and store selection. 2025-12-10 13:56:42 +01:00
LogiFlow ee423ef2c2 Merge pull request #534 from R0m1k3/1.1
feat: introduce `RouterProduction` component for authenticated and re…
2025-12-10 13:50:29 +01:00
Michael 583a2469c9 feat: introduce RouterProduction component for authenticated and responsive application routing. 2025-12-10 13:50:01 +01:00
LogiFlow 4149202c6a Merge pull request #533 from R0m1k3/1.1
feat: add mobile layout and bottom navigation components
2025-12-10 13:42:30 +01:00
Michael 946b5f30bd feat: add mobile layout and bottom navigation components 2025-12-10 13:42:05 +01:00
LogiFlow 25b6372e7c Merge pull request #532 from R0m1k3/1.1
feat: add mobile tasks page with creation/edit form and new layout co…
2025-12-10 13:25:52 +01:00
Michael 69773e3d2f feat: add mobile tasks page with creation/edit form and new layout component 2025-12-10 13:25:24 +01:00
LogiFlow a3b6820ee0 Merge pull request #531 from R0m1k3/1.1
feat: implement mobile task management page for mobile devices, inclu…
2025-12-10 13:17:14 +01:00
Michael dd682024fd feat: implement mobile task management page for mobile devices, including task creation, editing, and listing. 2025-12-10 13:16:45 +01:00
LogiFlow 6083e07a7e Merge pull request #530 from R0m1k3/1.1
feat: Add mobile tasks page with task creation, editing, and listing …
2025-12-10 13:12:59 +01:00
Michael 3a8183f6a5 feat: Add mobile tasks page with task creation, editing, and listing functionalities. 2025-12-10 13:09:24 +01:00
LogiFlow bad2665fc6 Merge pull request #529 from R0m1k3/1.1
feat: implement mobile task management page with create and edit task…
2025-12-10 13:04:07 +01:00
Michael 5894b486b7 feat: implement mobile task management page with create and edit task form 2025-12-10 13:03:30 +01:00
LogiFlow e912de9c9c Merge pull request #528 from R0m1k3/1.1
feat: introduce responsive task management with a dedicated mobile ta…
2025-12-10 12:52:59 +01:00
Michael b51687f301 feat: introduce responsive task management with a dedicated mobile tasks page and form 2025-12-10 12:51:58 +01:00
LogiFlow 1d0b371e40 Merge pull request #527 from R0m1k3/1.1
feat: Add publicities management page with year/month filtering, list…
2025-12-10 12:06:36 +01:00
Michael 1df477927a feat: Add publicities management page with year/month filtering, list/calendar views, and CRUD functionality. 2025-12-10 12:06:14 +01:00
Michael 6b719fb111 feat: implement Sidebar component including navigation, user details, logout, and BAP document upload with webhook integration. 2025-12-08 09:12:45 +01:00
michaelschal ca576dc289 Improve invoice sending by proxying requests through the backend
Introduces a new backend API endpoint to proxy invoice sending requests, resolving CORS issues and enhancing error handling.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: df58cf24-9a7e-4197-bdbe-786d56d0c35e
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/qOJ89TE
2025-11-04 15:26:40 +00:00
michaelschal e3785d4457 Update invoice sending to directly use webhook URL and add timeout
Replaced the backend proxy route for sending invoices with a direct fetch to the webhook URL, incorporating a 60-second timeout using AbortController. Also added 'busboy' and '@types/busboy' to package.json.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: ca0ae43e-5b56-4b02-8cb5-0e76adf608ba
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/qOJ89TE
2025-11-04 15:21:16 +00:00
michaelschal 89211e4f28 Improve invoice sending by proxying through backend
Replaces direct webhook calls for invoice sending with a backend API endpoint, utilizing multer for file uploads and form-data for robust data transmission. Includes improved error handling and logging.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: e89da884-7d51-4b3d-8af5-22493ce6f2c1
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/qOJ89TE
2025-11-04 15:17:17 +00:00
michaelschal 4dffada355 Update invoice sending to use direct webhook requests with timeouts
Refactors BLReconciliation.tsx to replace the backend proxy call with a direct fetch to the webhook URL, implementing FormData for file uploads and adding a 60-second timeout using AbortController.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 4d220e6b-5c4b-4c79-badc-e764c86cbe43
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/qOJ89TE
2025-11-04 15:12:48 +00:00
michaelschal cbcef39aa2 Enable admins and directors to send invoices via webhook
Introduce a new backend route `/api/reconciliation/send-invoice-webhook` to proxy invoice data to external webhooks, converting files to base64 and handling CORS issues.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 6f3c3694-5a67-4b47-b27c-af49da7ad447
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/LXHtbOp
2025-11-04 14:49:08 +00:00
michaelschal 42a7c494f2 Display processed products first and visually indicate their status
Adjusted product display logic to prioritize and style products that have been processed or validated, ensuring they appear at the beginning of the list with a distinct visual treatment.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 7b704198-c867-4dc2-bcfa-f3fd0e9ea029
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/LXHtbOp
2025-11-04 14:24:37 +00:00
michaelschal f257234f64 Improve delivery deletion by updating the local cache and refetching data
Implement optimistic UI updates for delivery deletion by using `setQueryData` to remove the item from the cache locally and then using `refetchQueries` to ensure data consistency with the server. Includes error handling to refetch on failure.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 3527f812-5444-4cba-9693-7eb9aae7ec50
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/lCj0xbO
2025-11-04 14:11:04 +00:00
michaelschal 351b22186e Adjust invoice validation and tab navigation
Remove success toast for verified invoices and update tab switching logic after validation/invalidation.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 711f132b-0305-4599-b521-607de6b4a3da
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/lCj0xbO
2025-11-04 14:01:19 +00:00
michaelschal 76d113f538 Improve reconciliation validation feedback and cache updates
Update BLReconciliation.tsx to remove toast for non-found invoices, implement optimistic cache updates using queryClient.setQueryData for immediate UI feedback, and add error handling with queryClient.refetchQueries to revert optimistic updates.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 3bd41b38-9ebe-4ea0-9772-0a0dd5178be1
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/lCj0xbO
2025-11-04 13:56:55 +00:00
michaelschal 3a8a2cb0b3 Improve reconciliation to only check for unchecked invoices
Refine BLReconciliation page logic to only perform initial verification for deliveries that have not yet been found (i.e., have no invoice amount) and have not already been processed or are currently being verified.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 1e02676a-c064-41b5-8cc9-18cc13f26b5d
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/lCj0xbO
2025-11-04 13:51:54 +00:00
michaelschal 55c010c2f6 Fix issue preventing delivery reconciliation status from displaying
Update BLReconciliation page logic to correctly trigger invoice verification for displaying reconciliation status.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 7bb63bc1-fa5b-4888-baf3-17f792c47530
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/lCj0xbO
2025-11-04 13:47:14 +00:00
michaelschal feb433c645 Improve automatic invoice verification for reconciled deliveries
Update the BLReconciliation page to automatically trigger invoice verification for reconciled deliveries that have empty cells but a BL number, ensuring they are processed into the delivery validation tab.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: b1dacc5f-56c0-4a8e-b9a0-655bdd2bb3fe
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/lCj0xbO
2025-11-04 13:38:04 +00:00
michaelschal 6e4f0289f3 Reduce vertical spacing within the sidebar navigation elements
Adjust padding and margin values in Sidebar.tsx to decrease vertical space between navigation items and sections.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 4b811e9d-0853-4094-95a1-246dfe207fec
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/oKSi9br
2025-11-04 13:23:36 +00:00
michaelschal b1c1e2989e Organize navigation menu into logical sections for better user experience
Refactor the Sidebar component in client/src/components/Sidebar.tsx to group navigation links into sections like "GESTION PRINCIPALE", "LOGISTIQUE", and "ANALYSES" for improved UI organization.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Event-Id: 1ca378ce-ae32-4181-ba52-5042a0f06d7a
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/oKSi9br
2025-11-04 13:15:05 +00:00
michaelschal 618edbfc25 Rearrange sidebar navigation to place payment schedule below reconciliation
Update Sidebar component in client/src/components/Sidebar.tsx to reorder navigation items.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 80accc69-9d97-4d0c-bcc0-18a3824d526a
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/WZFf6za
2025-11-04 12:54:08 +00:00
michaelschal 5a2f382e51 Correct delivery reconciliation display for validated shipments
Fix UI rendering issue in BLReconciliation page where table headers and data were misaligned, specifically adding a column for the delivery due date with proper formatting.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 8bea6418-f1c6-493c-b4e6-c310f7882420
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/WZFf6za
2025-11-04 12:48:44 +00:00
michaelschal e056b29d81 Change payment schedule export from Excel to CSV format
Update payment schedule export functionality to generate CSV files instead of Excel files, adjusting file naming, UI text, and test IDs accordingly.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Event-Id: e5fc49c8-e9ff-4ebb-9c02-46589fce8f61
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/WZFf6za
2025-11-04 12:29:32 +00:00
michaelschal 01dde7b7c1 Add functionality to export payment schedules to Excel
Introduces an API endpoint and frontend components for exporting payment schedule data to an Excel file, with filtering options for payment methods and tax inclusion.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Event-Id: 09286923-d43e-46ea-831c-611649677d67
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/vfXE6SO
2025-11-04 11:50:48 +00:00
michaelschal 8e13dcb94c Add TTC amount configuration and display for financial tracking
Introduces `nocodbInvoiceAmountTTCColumnName` to `Groups.tsx` and `amountTTC` to `PaymentSchedule` interface in `PaymentSchedulePage.tsx` to support TTC calculations and display. Updates backend routes in `routes.ts` to include `amountTTC` and modifies `PaymentSchedulePage.tsx` to show both HT and TTC totals.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 01a3488a-852e-4c10-8349-442dbf9fc720
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/vfXE6SO
2025-11-04 10:34:39 +00:00
michaelschal c4eca6e60f Add ability to manually set due dates for tasks within the platform
Update ReconciliationModal to include a date input for due dates, allowing manual entry and proper formatting.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: baf07a83-19d3-42bf-89b1-71e1469a5b03
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/y5yWvCQ
2025-11-04 06:25:41 +00:00
michaelschal c669c4eba9 Update invoice reconciliation to fix display issues
Introduce detailed logging and data type conversions in invoice verification service and client-side reconciliation page to address discrepancies in displayed invoice amounts and due dates.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 41ed310d-8033-46c7-bb26-e56560b56490
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/gTQvEeF
2025-11-04 05:30:12 +00:00
michaelschal d046de3b8b Improve delivery reconciliation and auto-verification logic
Update BLReconciliation component to auto-verify reconciled deliveries with missing invoice data, and refine cache invalidation strategy upon PUT requests.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Event-Id: 02b89611-da6e-4dd2-b729-940165c5611f
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/5dRMxDE
2025-11-03 20:14:52 +00:00
michaelschal d6fc647231 Improve data refreshing after delivery updates
Update BL reconciliation page to immediately refetch delivery data after a PUT request to the API.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Event-Id: c698f48f-d972-476b-a961-38a4847bf6d1
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/5dRMxDE
2025-11-03 20:11:20 +00:00