LogiFlow
0091ac7666
Merge pull request #182 from R0m1k3/1.1
...
1.1
2025-08-16 14:48:50 +02:00
michaelschal
5b6be55904
Remove the 'selected store' notification from the dashboard
...
Remove the badge component that displayed "Magasin sélectionné" when a store was selected by an admin user on the Dashboard page.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce/aVFsaJG
2025-08-16 12:36:14 +00:00
michaelschal
c72e8b920c
Present announcements in a card format similar to task cards
...
Update AnnouncementCard component to display announcements in a card layout, add loading state and conditional fetching.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce/aVFsaJG
2025-08-16 12:35:41 +00:00
michaelschal
ff5908a731
Remove the direct test button from the announcement card
...
Removes the 'Test Direct' button and its associated functionality from the AnnouncementCard component in the client.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce/aVFsaJG
2025-08-16 12:33:20 +00:00
LogiFlow
f72b629d2f
Merge pull request #181 from R0m1k3/1.1
...
Add direct test button to create announcements with simplified valida…
2025-08-16 14:28:47 +02:00
michaelschal
6be4e2a0e4
Add direct test button to create announcements with simplified validation
...
Introduce a direct test button in the AnnouncementCard component for easier debugging and validation testing.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce/aVFsaJG
2025-08-16 12:27:13 +00:00
LogiFlow
325ad58d69
Merge pull request #180 from R0m1k3/1.1
...
Add detailed logging to announcement creation for debugging
2025-08-16 14:24:06 +02:00
michaelschal
3134732cb2
Add detailed logging to announcement creation for debugging
...
Add extensive console logging on both client and server to aid in debugging announcement creation issues, including validation checks and user role verification.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce/aVFsaJG
2025-08-16 12:22:50 +00:00
LogiFlow
9b77d79d97
Merge pull request #179 from R0m1k3/1.1
...
Add feedback and error handling for creating new announcements
2025-08-16 14:18:06 +02:00
michaelschal
d7aed9dc25
Add feedback and error handling for creating new announcements
...
Implement toast notifications for successful announcement creation and display detailed error messages from the API response if creation fails.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce/aVFsaJG
2025-08-16 12:17:41 +00:00
LogiFlow
4c7a235815
Merge pull request #178 from R0m1k3/1.1
...
Refactor announcement system to use in-memory storage
2025-08-16 14:12:24 +02:00
michaelschal
f2d056ee5d
Refactor announcement system to use in-memory storage
...
Move announcement data management from SQL to an in-memory solution with a limit of 5 entries.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce/aVFsaJG
2025-08-16 12:11:56 +00:00
LogiFlow
e39d25c315
Merge pull request #177 from R0m1k3/1.1
...
Fix error when accessing announcements and update production scripts
2025-08-16 14:06:01 +02:00
michaelschal
48b784d0f1
Fix error when accessing announcements and update production scripts
...
Updates SQL scripts and a bash script to correctly create the `announcements` table in production, resolving a "relation does not exist" error.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce/biGr9ER
2025-08-16 12:05:12 +00:00
LogiFlow
4bccea202c
Merge pull request #176 from R0m1k3/1.1
...
Update Dockerfile to fix entrypoint error and improve startup
2025-08-16 14:02:58 +02:00
michaelschal
34e303c6e4
Update Dockerfile to fix entrypoint error and improve startup
...
Remove the custom entrypoint script from the Dockerfile, disabling its execution on container startup and allowing the application to start directly.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce/biGr9ER
2025-08-16 12:02:07 +00:00
LogiFlow
2bacf463f9
Merge pull request #175 from R0m1k3/1.1
...
1.1
2025-08-16 13:53:36 +02:00
michaelschal
d45d3562ba
Created a checkpoint
...
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce/biGr9ER
2025-08-16 11:40:57 +00:00
michaelschal
0dc7ef49c0
Add a dedicated script for creating missing announcement tables
...
Introduce a new script `fix-announcements-only.sh` to specifically create the `announcements` table if it does not exist, streamlining the migration process for this critical component.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce/biGr9ER
2025-08-16 11:28:32 +00:00
michaelschal
74e7eb8118
Automate database table creation during Docker updates
...
Add scripts and Dockerfile modifications to ensure database tables are automatically created or updated when the Docker image is rebuilt and deployed.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce/biGr9ER
2025-08-16 11:25:04 +00:00
michaelschal
e8007d52b1
Provide instructions to create missing database table for announcements
...
Add a new SQL script and documentation to guide users in creating the `announcements` table in their production environment to resolve the "relation does not exist" error.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce/biGr9ER
2025-08-16 11:22:40 +00:00
LogiFlow
0b6d2461f9
Merge pull request #174 from R0m1k3/1.1
...
Create announcement table to fix production database errors
2025-08-16 13:13:23 +02:00
michaelschal
506b7681d0
Create announcement table to fix production database errors
...
Create the 'announcements' table in the production PostgreSQL database using a SQL script to resolve "relation 'announcements' does not exist" errors.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce/biGr9ER
2025-08-16 11:12:46 +00:00
LogiFlow
8b63c4d9aa
Merge pull request #173 from R0m1k3/1.1
...
Provide instructions to fix missing announcement table in production
2025-08-16 12:52:42 +02:00
michaelschal
9a5060baa5
Provide instructions to fix missing announcement table in production
...
Add a new file `INSTRUCTIONS_PRODUCTION.md` detailing steps to resolve the "relation "announcements" does not exist" error in the production environment, along with a SQL script `fix_production_announcements.sql` to create the missing table.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce/biGr9ER
2025-08-16 10:50:24 +00:00
LogiFlow
60ef9e1328
Merge pull request #172 from R0m1k3/1.1
...
Add announcement table to database for storing important information
2025-08-16 12:47:26 +02:00
michaelschal
b80af1d2d8
Add announcement table to database for storing important information
...
Implement database migration scripts and SQL to create the 'announcements' table with relevant columns, constraints, and indexes. Also, adjust frontend component logic for handling 'all' store selection.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce/biGr9ER
2025-08-16 10:42:31 +00:00
LogiFlow
d717f02577
Merge pull request #171 from R0m1k3/1.1
...
1.1
2025-08-16 12:38:10 +02:00
michaelschal
aefc519045
Add initial database structure for new installations
...
Create the complete `init.sql` file to set up all necessary database tables for a fresh application deployment.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce/biGr9ER
2025-08-16 10:10:34 +00:00
michaelschal
30cfc4b3de
Introduce an information system for important announcements
...
Implement a new announcement system with priority levels, role-based access, and store-specific filtering, replacing the customer order statistics card on the dashboard.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce/biGr9ER
2025-08-16 09:54:34 +00:00
LogiFlow
64106407b0
Merge pull request #170 from R0m1k3/1.1
...
Ensure tasks display correctly for selected stores by admins
2025-08-16 10:30:03 +02:00
michaelschal
5688450117
Ensure tasks display correctly for selected stores by admins
...
Fixes an issue where admin users had to refresh the page to see tasks filtered by their selected store. This change ensures the store selection is properly initialized and validated before fetching tasks, preventing stale data and improving the user experience. The backend task fetching logic is also updated to correctly handle store filtering.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce/OvGzl7P
2025-08-16 07:48:04 +00:00
LogiFlow
d8ff876ce3
Merge pull request #169 from R0m1k3/1.1
...
Fix issue where multiple page reloads are needed to see selected stor…
2025-08-16 09:42:20 +02:00
michaelschal
9d9344f52e
Fix issue where multiple page reloads are needed to see selected store's tasks
...
Update React Query cache invalidation to include `/api/tasks` and ensure automatic cache invalidation when the selected store changes.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-08-16 07:41:56 +00:00
LogiFlow
67a2236942
Merge pull request #168 from R0m1k3/1.1
...
1.1
2025-08-16 09:37:55 +02:00
michaelschal
15cf7f32a1
Restored to 'c6c9369fcb5c7d3e28183ea74a5639cbc7677de6'
...
Replit-Restored-To: c6c9369fcb
2025-08-16 07:37:28 +00:00
michaelschal
911090fc7d
Saved your changes before rolling back
...
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: e437ffed-c31b-44eb-9fd5-b6f9faa8e7ce
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-08-16 07:37:25 +00:00
LogiFlow
7f80219d33
Merge pull request #167 from R0m1k3/1.1
...
1.1
2025-08-16 09:35:30 +02:00
michaelschal
7613b257cc
Add debugging tools to help diagnose order display issues
...
Introduce new API endpoints and enhanced logging in `routes.ts` and `storage.ts` to allow for granular inspection of customer order data and filtering logic, aiding in the diagnosis of production discrepancies.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: a3de0820-9397-41b2-b000-7931ee9c29de
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/a3de0820-9397-41b2-b000-7931ee9c29de/mKF47ul
2025-08-16 07:34:56 +00:00
michaelschal
f21d807968
Improve store data handling and user authentication for multiple stores
...
Update storage and authentication logic to support multiple stores, including specific configurations for "Magasin 1" and "Magasin 2", and add new development user credentials.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: a3de0820-9397-41b2-b000-7931ee9c29de
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/a3de0820-9397-41b2-b000-7931ee9c29de/mKF47ul
2025-08-16 07:27:13 +00:00
LogiFlow
3655c71f49
Merge pull request #166 from R0m1k3/1.1
...
Allow invoice verification using delivery's bill of lading number
2025-08-16 09:01:12 +02:00
michaelschal
c6c9369fcb
Allow invoice verification using delivery's bill of lading number
...
Update the invoice verification process to accept either a direct invoice reference or a bill of lading number. This change enables the system to correctly identify and process invoices when only the bill of lading information is available, ensuring that all relevant deliveries are reconciled. The backend service has been enhanced to search for invoices using the bill of lading and supplier name, with improved caching and error handling for missing configurations.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: a3de0820-9397-41b2-b000-7931ee9c29de
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/a3de0820-9397-41b2-b000-7931ee9c29de/AO4neXk
2025-08-16 07:00:46 +00:00
LogiFlow
d081d20f03
Merge pull request #165 from R0m1k3/1.1
...
1.1
2025-08-16 08:49:52 +02:00
michaelschal
54bdac580c
Update delivery reconciliation to make the bill of lading number optional
...
Modify BL reconciliation logic to remove the mandatory bill of lading number requirement and streamline the API request for updating delivery details.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: a3de0820-9397-41b2-b000-7931ee9c29de
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/a3de0820-9397-41b2-b000-7931ee9c29de/KlZPL3P
2025-08-15 22:24:15 +00:00
michaelschal
b946e28818
Make delivery reconciliation and validation optional for BL numbers
...
Remove the mandatory requirement for the delivery note (BL) number in both the reconciliation and delivery validation forms, allowing these fields to be optional.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: a3de0820-9397-41b2-b000-7931ee9c29de
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/a3de0820-9397-41b2-b000-7931ee9c29de/vqNg9rh
2025-08-15 22:21:57 +00:00
LogiFlow
f23b83c556
Merge pull request #164 from R0m1k3/1.1
...
Update product expiry date handling and display logic
2025-08-15 23:17:25 +02:00
michaelschal
6b2c5af4f1
Update product expiry date handling and display logic
...
Refactor client/src/pages/DlcPage.tsx to rename `dlcDate` to `expiryDate` in the `InsertDlcProduct` type and update its usage throughout the component for consistency and clarity.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: a3de0820-9397-41b2-b000-7931ee9c29de
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/a3de0820-9397-41b2-b000-7931ee9c29de/vqNg9rh
2025-08-15 21:13:36 +00:00
LogiFlow
00000d78d3
Merge pull request #163 from R0m1k3/1.1
...
Allow directors to validate DLCs and fix validation button visibility
2025-08-15 23:10:04 +02:00
michaelschal
ff414a16c7
Allow directors to validate DLCs and fix validation button visibility
...
Correct the product status check for validation and grant 'directeur' role the ability to see the validate button in DlcPage.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: a3de0820-9397-41b2-b000-7931ee9c29de
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/a3de0820-9397-41b2-b000-7931ee9c29de/emyZ6I3
2025-08-15 21:02:28 +00:00
LogiFlow
2241f3e27d
Merge pull request #162 from R0m1k3/1.1
...
Enable specific user roles to validate products in the DLC module
2025-08-15 22:59:00 +02:00