From 139113d1cfda54f0be8815abd306e325b8698106 Mon Sep 17 00:00:00 2001 From: Hyojin Ahn Date: Thu, 9 Jul 2026 08:07:20 -0400 Subject: [PATCH] =?UTF-8?q?v1.4.2=20-=20[CUSTOMER]=20access=20time=20?= =?UTF-8?q?=EC=A0=95=EB=B3=B4=20=EC=9E=85=EB=A0=A5=20=EB=B0=A9=EC=8B=9D=20?= =?UTF-8?q?=EC=88=98=EC=A0=95.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lib/customer_access_time_popup.php | 501 +++++++++++------- 1 file changed, 298 insertions(+), 203 deletions(-) diff --git a/public_html/lib/customer_access_time_popup.php b/public_html/lib/customer_access_time_popup.php index 764006f..d31cae7 100644 --- a/public_html/lib/customer_access_time_popup.php +++ b/public_html/lib/customer_access_time_popup.php @@ -5,8 +5,10 @@ * - Opened as a modal (iframe) from customer_detail.php; reusable on other screens * - On successful save, notifies parent via window.parent.closeCustomerPopup(true) * - Save = "full replace": delete the customer's active rows, re-insert current input - * - Time is chosen via hour/minute selects (minute step = 5) so granularity is - * guaranteed regardless of the browser's native time picker + * - Top editor = dual sliders (06:00~18:00 / 10-min step, end optional & off by + * default). Selecting day chip(s) / clicking a time pill binds that window to + * the sliders; moving the sliders edits every selected window live. Each day + * has its own "+ Add another"; days show their windows as compact time pills. * ===================================================================== */ include getenv("DOCUMENT_ROOT")."/include/session_include.php"; @@ -113,47 +115,60 @@ $existingJson = json_encode($existing, JSON_UNESCAPED_UNICODE); Access Time @@ -161,188 +176,269 @@ $existingJson = json_encode($existing, JSON_UNESCAPED_UNICODE);

Access Time

- -
-
- - ~ - - + +
+
+ Start + + 09:00
-
-
+
+ + + None +
+ +
+
+
+
- +
+
Pick day(s) or click a time to select it — the sliders jump to it and edit every selected time live.
Use each day's + Add to add another time to that day.
- \ No newline at end of file +