From 052e5e7e86cbe25fe57889450685ee0be42e1347 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 13 Jul 2026 14:42:36 +0000 Subject: [PATCH] fix: calendar overlap + allow past dates for logistician MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. CalendarWidget: add relative to calendar container so absolute popup positions correctly (no more overlapping with other elements) 2. OrderDetailPanel: logistician/admin/manager can select past dates (3 months back) for retroactive delivery closing 3. canGoBack always true for logistician — can navigate to past months 4. Existing past delivery dates are preserved (not reset to tomorrow) --- src/components/orders/CalendarWidget.jsx | 2 +- src/components/orders/OrderDetailPanel.jsx | 22 ++++++++++++++++++---- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/src/components/orders/CalendarWidget.jsx b/src/components/orders/CalendarWidget.jsx index a56f0e4..ab4dcb5 100644 --- a/src/components/orders/CalendarWidget.jsx +++ b/src/components/orders/CalendarWidget.jsx @@ -58,7 +58,7 @@ const CalendarWidget = ({ }) => { return (
-
+