From cb73f3e8b444fcd2ecdf878f1873b63e1a081d33 Mon Sep 17 00:00:00 2001 From: Hyojin Ahn Date: Tue, 21 Apr 2026 10:28:22 -0400 Subject: [PATCH] =?UTF-8?q?v1.1.14=20-=20[ORDER]=20First=20Pickup=20Date?= =?UTF-8?q?=20=EB=A1=9C=EC=A7=81=20=EB=B2=84=EA=B7=B8=20=EC=88=98=EC=A0=95?= =?UTF-8?q?.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public_html/assets/api/daily.php | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/public_html/assets/api/daily.php b/public_html/assets/api/daily.php index f99225d..e3e3e7c 100644 --- a/public_html/assets/api/daily.php +++ b/public_html/assets/api/daily.php @@ -677,13 +677,12 @@ class DailyService extends CONF { // -------------------------------------------------- // 1) c_fpickup 처리 // -------------------------------------------------- - if (!empty($orderdate)) { - - $currentFpickup = $customer['c_fpickup'] ?? ''; - - if (empty($currentFpickup) || $currentFpickup < $orderdate) { - $updateFields[] = "c_fpickup = '{$orderdate}'"; - } + if ( + empty($customer['c_fpickup']) && + !empty($orderdate) && + $thisQuantity >= 10 + ) { + $updateFields[] = "c_fpickup = '{$orderdate}'"; } // --------------------------------------------------