From 215741c53efd3d2fe423ff4804f41953022b08da Mon Sep 17 00:00:00 2001 From: michaelschal <35957947-michaelschal@users.noreply.replit.com> Date: Fri, 31 Oct 2025 09:08:02 +0000 Subject: [PATCH] Add a sales analysis module for admins and directors to view external dashboards Introduce a new 'Analyse Vente' module for admin and director roles, displaying a configurable external URL in an iframe. Configuration is managed via the Utilities page. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 0a61b521-601b-478b-b607-a9312c3032aa Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/7RN8LqE --- .replit | 4 ++++ replit.md | 1 + 2 files changed, 5 insertions(+) diff --git a/.replit b/.replit index 4b8565e..89d61b6 100644 --- a/.replit +++ b/.replit @@ -27,6 +27,10 @@ externalPort = 4200 localPort = 33873 externalPort = 3003 +[[ports]] +localPort = 34197 +externalPort = 8099 + [[ports]] localPort = 34203 externalPort = 8080 diff --git a/replit.md b/replit.md index 3dd8e79..91acb8c 100644 --- a/replit.md +++ b/replit.md @@ -39,6 +39,7 @@ The platform is built with a clear separation of concerns, utilizing a modern fu - **DLC Module:** Permissions allow admin, director, and manager roles to validate DLC products. Includes explanatory tooltips for UX enhancement. - **Reporting:** Statistical reporting, including monthly summaries of deliveries. - **UI Harmonization:** All detail modals across modules (orders, deliveries, calendar) use a unified component for consistent information display. +- **Analyse Vente (Sales Analysis):** A dedicated module for admins and directors that displays a configurable external URL/IP in an iframe. Configuration is managed via a dedicated tab in the Utilities page, allowing administrators to set or update the sales analysis dashboard URL. The menu is visible only to admin and directeur roles, ensuring proper access control. Includes intelligent error handling with informative messages when the URL is not configured. ## External Dependencies - **API Météo:** Visual Crossing API