From a13f8a7a1e44c8a7f9d85b67d814a19b76381abf Mon Sep 17 00:00:00 2001 From: michaelschal <35957947-michaelschal@users.noreply.replit.com> Date: Wed, 3 Sep 2025 09:12:58 +0000 Subject: [PATCH] Allow directors to view reconciliation data for their group Update BLReconciliation page to allow 'directeur' role to view reconciliation data, in addition to 'admin' role. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 28b81ac1-a55f-409c-b6a9-88ad420d8a9a Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/28b81ac1-a55f-409c-b6a9-88ad420d8a9a/hAUonZr --- client/src/pages/BLReconciliation.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/pages/BLReconciliation.tsx b/client/src/pages/BLReconciliation.tsx index 146fdc4..28dd665 100644 --- a/client/src/pages/BLReconciliation.tsx +++ b/client/src/pages/BLReconciliation.tsx @@ -213,7 +213,7 @@ export default function BLReconciliation() { queryKey: ['/api/deliveries/bl', selectedStoreId], queryFn: async () => { const params = new URLSearchParams({}); - if (selectedStoreId && user?.role === 'admin') { + if (selectedStoreId && (user?.role === 'admin' || user?.role === 'directeur')) { params.append('storeId', selectedStoreId.toString()); }