From 6ca3fa8a6b1ccce7b75727d071a1ee5dfd38f476 Mon Sep 17 00:00:00 2001 From: sky121113 Date: Thu, 11 Jun 2026 14:28:03 +0800 Subject: [PATCH] =?UTF-8?q?[FIX]=20=E4=BF=AE=E6=AD=A3=E5=8F=96=E8=B2=A8?= =?UTF-8?q?=E7=A2=BC=E6=9C=89=E6=95=88=E6=9C=9F=E9=99=90=E5=9B=BA=E5=AE=9A?= =?UTF-8?q?=E7=82=BA=2024=20=E5=B0=8F=E6=99=82=E7=9A=84=E5=95=8F=E9=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 建立取貨碼時,隱藏的「自訂日期」欄位會被預填為明天並隨表單送出,導致後端 expires_at 永遠為 filled,固定套用約 24 小時。 2. 時數模式時 disabled 掉 expires_at 欄位,自訂日期模式時 disabled 掉 expires_hours 欄位,使停用欄位不被提交。 3. 修正後時數滑桿與自訂日期可各自正確生效,取貨碼有效期限依使用者設定產生。 Co-Authored-By: Claude Opus 4.8 (1M context) --- resources/views/admin/sales/pickup-codes/index.blade.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/views/admin/sales/pickup-codes/index.blade.php b/resources/views/admin/sales/pickup-codes/index.blade.php index 35b1026..2ddd259 100644 --- a/resources/views/admin/sales/pickup-codes/index.blade.php +++ b/resources/views/admin/sales/pickup-codes/index.blade.php @@ -330,6 +330,7 @@ transition-all duration-300",
@@ -351,7 +352,8 @@ transition-all duration-300",