From da547137b76be8082b46dde35824f76bdcd7e12e Mon Sep 17 00:00:00 2001 From: marco370 <48531002-marco370@users.noreply.replit.com> Date: Tue, 21 Oct 2025 16:51:34 +0000 Subject: [PATCH] Improve guard selection by filtering based on availability and overtime Refactors the guard selection UI to dynamically filter available guards, showing regular hours first and providing an option to display those requiring overtime. Replit-Commit-Author: Agent Replit-Commit-Session-Id: e5565357-90e1-419f-b9a8-6ee8394636df Replit-Commit-Checkpoint-Type: intermediate_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/6d543d2c-20b9-4ea6-93fe-70fe9b1d9f80/e5565357-90e1-419f-b9a8-6ee8394636df/qoWuIE4 --- .replit | 4 + client/src/pages/general-planning.tsx | 190 ++++++++++++++------------ 2 files changed, 106 insertions(+), 88 deletions(-) diff --git a/.replit b/.replit index 90b1d94..c451b5c 100644 --- a/.replit +++ b/.replit @@ -39,6 +39,10 @@ externalPort = 5000 localPort = 43267 externalPort = 3003 +[[ports]] +localPort = 45469 +externalPort = 5173 + [env] PORT = "5000" diff --git a/client/src/pages/general-planning.tsx b/client/src/pages/general-planning.tsx index 97e8bc1..e1b3916 100644 --- a/client/src/pages/general-planning.tsx +++ b/client/src/pages/general-planning.tsx @@ -685,97 +685,111 @@ export default function GeneralPlanning() { {/* Select guardia disponibile */} -