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
michaelschal
c0e1b26599
Replace UI components to fix critical production errors
...
Refactor `BLReconciliation.tsx` and multiple Shadcn/ui components by replacing them with custom, robust alternatives to resolve React #310 errors in production.
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/rmaxwaw
2025-08-12 11:05:49 +00:00
LogiFlow
aba9d9954d
Merge pull request #8 from R0m1k3/1.1
...
1.1
2025-08-12 12:58:45 +02:00
michaelschal
553c07a2cb
Fix React errors by directly importing hooks from React
...
Address React production errors (e.g., #310 ) by changing imports in shadcn/ui components from `import * as React` to direct imports of hooks like `forwardRef` to improve build optimization and prevent minification issues.
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/hpdisfs
2025-08-12 10:58:09 +00:00
michaelschal
2d55bd6ac4
Improve reconciliation module with permission checks and delivery filtering
...
Update the reconciliation page to include user permission checks, filter deliveries by status and supplier reconciliation mode, and prepare for manual reconciliation validation mutations.
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/o4pOd6E
2025-08-12 10:55:59 +00:00
LogiFlow
43996f2a9b
Merge pull request #7 from R0m1k3/1.1
...
Simplify reconciliation page by improving pagination and fixing React…
2025-08-12 12:51:42 +02:00
michaelschal
657dbc2b1f
Simplify reconciliation page by improving pagination and fixing React errors
...
Fixes React Error #310 in production by simplifying the pagination component and ensuring proper React hook imports 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/o4pOd6E
2025-08-12 10:50:56 +00:00
LogiFlow
a7faaa1cdb
Merge pull request #6 from R0m1k3/1.1
...
Fix reconciliation page errors by correcting React hook usage
2025-08-12 12:44:57 +02:00
michaelschal
dedcd295dd
Fix reconciliation page errors by correcting React hook usage
...
Resolve React Error #310 in the reconciliation page by ensuring proper imports and usage of React hooks like useState and useEffect.
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/7zljVXI
2025-08-12 10:44:10 +00:00
LogiFlow
c089da3c4b
Merge pull request #5 from R0m1k3/1.1
...
1.1
2025-08-12 12:39:24 +02:00
michaelschal
99ef70c4f9
Add pagination to reconciliation tables for better data display
...
Introduces pagination to the BL Reconciliation page, displaying 20 items per page with controls at the top and bottom of the tables.
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/BTW2G9M
2025-08-12 10:38:10 +00:00
michaelschal
e9551aeb63
Enhance reconciliation module with edit, validate, and delete functionalities
...
Implement edit, validate, and delete permissions for reconciliation, update validation logic, and address UI color inconsistencies for director and 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/7EbZYsH
2025-08-12 10:33:09 +00:00
LogiFlow
9d17748137
Merge pull request #4 from R0m1k3/1.1
...
1.1
2025-08-12 12:25:19 +02:00
michaelschal
831e1bb9b0
Add email column to suppliers for order and delivery operations
...
Fixes a production issue where the missing 'email' column in the 'suppliers' table caused 500 errors in the /api/orders and /api/deliveries endpoints, by adding the column and updating related frontend components and backend scripts.
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/4SPuFx6
2025-08-12 10:24:31 +00:00
michaelschal
c8a8b138e7
Add missing email column to suppliers to fix order and delivery errors
...
Adds the 'email' column to the 'suppliers' table via SQL script to resolve 500 errors on `/api/orders` and `/api/deliveries` caused by missing schema information required by Drizzle ORM.
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/FyjZ5oh
2025-08-12 10:22:08 +00:00
LogiFlow
dce2e6296b
Merge pull request #3 from R0m1k3/1.1
...
1.1
2025-08-12 12:18:26 +02:00
michaelschal
c79ac79a91
Enable automatic delivery validation for designated suppliers
...
Add automatic delivery validation logic to the reconciliation process, enabling auto-validation for deliveries from suppliers configured for automatic reconciliation when the delivery status is 'delivered' and a BL number is present. Includes a new method to retrieve supplier details and updates to documentation.
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/FyjZ5oh
2025-08-12 10:16:28 +00:00
michaelschal
f7891cda01
Enhance supplier management and reconciliation functionalities
...
Adds new fields to the supplier schema (email, address, automatic reconciliation) and updates the UI to display these. Refactors the BL reconciliation page to use tabs for manual and potentially future automatic reconciliation, and updates data fetching logic.
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/odrk4d7
2025-08-12 10:08:57 +00:00
LogiFlow
ab8da08cd3
Merge pull request #2 from R0m1k3/1.1
...
Improve reconciliation page with default 20 lines and dual pagination…
2025-08-12 11:45:44 +02:00
michaelschal
42d46ac0e2
Improve reconciliation page with default 20 lines and dual pagination controls
...
Modify the reconciliation page to display 20 items by default and add pagination controls both above and below the table for enhanced usability.
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/jsJ1WWO
2025-08-12 09:43:07 +00:00
LogiFlow
54a84d4ae2
Merge pull request #1 from R0m1k3/1.1
...
1.1
2025-08-12 11:37:54 +02:00
michaelschal
dd2fa66599
Enhance group configuration with NocoDB mapping and webhook integration
...
Update the group schema and UI to include NocoDB column mapping and webhook URL for advanced invoice management and notifications.
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/HPoOClM
2025-08-12 09:30:56 +00:00
michaelschal
8b6b0731ae
Update group schema with default color and Nocodb integration fields
...
Enhance the `groups` table schema in `shared/schema.ts` by adding a default color value and new fields for advanced Nocodb integration (BL, amount, supplier column names, and webhook URL).
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/vMSppUD
2025-08-12 09:16:07 +00:00
michaelschal
b9b85fba78
Fix task access and visibility for employee role users
...
Update client/src/pages/Tasks.tsx to restrict user fetching and action button visibility based on role ('admin', 'manager', 'directeur'). Also addresses 403 errors for employees in server routes.
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/vMSppUD
2025-08-12 09:05:02 +00:00
michaelschal
b986763b6c
Restrict employees from creating tasks and adjust other permissions
...
Update role permissions to prevent employees from creating tasks, while ensuring they can view tasks and suppliers. Adjustments also made to director and manager permissions for product validation.
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/69xEJ3P
2025-08-12 08:59:38 +00:00
michaelschal
d2fc6665e2
Expand employee and director permissions for order management operations
...
Adjusted permissions in `shared/permissions.ts` to grant 'create' tasks to employees. Modified routes in `server/routes.ts` to allow 'directeur' and 'employee' roles access to view/manage suppliers, and 'directeur' for creating/updating suppliers.
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/69xEJ3P
2025-08-12 08:58:00 +00:00
michaelschal
072ad60ec1
Grant employees access to system features and tasks
...
Adjust permissions for employee role to access tasks and supplier data, and allow directors to validate DLC products.
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/69xEJ3P
2025-08-12 08:56:22 +00:00
michaelschal
5ea3481dc0
Restrict employee access to orders and deliveries while fixing supplier visibility
...
Fixes bugs that prevented employees from viewing supplier lists and restricted their access to order and delivery creation functionalities.
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/9RgkyCi
2025-08-12 08:50:23 +00:00
michaelschal
5fe9763763
Allow users to download the database schema report
...
Add a new endpoint to download the database schema, and include a download button on the debug page.
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/i9LQiyj
2025-08-12 08:42:58 +00:00
michaelschal
0949386425
Provide database schema details in a text file and via an API
...
Export the production PostgreSQL database schema to a text file and create a new API endpoint for accessing this 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/kdCs97W
2025-08-12 08:32:42 +00:00
michaelschal
09a7bebc73
Enable all users to view supplier information across modules
...
Update query logic in delivery and order creation/editing modals, and the suppliers page, to allow all users to access supplier data, removing role-based 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/kdCs97W
2025-08-12 08:25:45 +00:00
michaelschal
d4878e6c8f
Fix database schema inspection on production servers
...
Update database connection logic in `routes.ts` to use the established `pool` for schema inspection queries, resolving issues with data retrieval on production environments.
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/kdCs97W
2025-08-12 08:20:19 +00:00
michaelschal
461290a4f8
Allow admin password to be changed and retained without resets
...
Modify production logic to prevent forced admin password resets on updates, allowing users to set and keep their own passwords unless explicitly overridden by an environment variable.
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/kdCs97W
2025-08-12 08:18:45 +00:00