From 822549a4533cd0cc2dcf7381b4a1a0648f81f6d6 Mon Sep 17 00:00:00 2001 From: "gary_chen\\gary_chen" Date: Thu, 9 Nov 2023 09:30:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E9=83=A8=E5=88=86=E5=A4=A7?= =?UTF-8?q?=E6=97=A5=E7=A8=8B=20=E7=94=B3=E8=AB=8B=E8=A8=88=E5=8A=83?= =?UTF-8?q?=E5=9C=96=E4=B8=8A=E5=82=B3=20=E7=9A=84=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wms/wipwhole-index-function.php | 2 ++ wms/wipwhole-rec-invoice-edit.php | 25 +++++++++++----------- wms/wipwhole-renovate-index-function.php | 2 ++ wms/wipwhole-renovate-rec-invoice-edit.php | 22 +++++++++---------- 4 files changed, 28 insertions(+), 23 deletions(-) diff --git a/wms/wipwhole-index-function.php b/wms/wipwhole-index-function.php index 6fe832da..3f8c6d67 100644 --- a/wms/wipwhole-index-function.php +++ b/wms/wipwhole-index-function.php @@ -1126,6 +1126,7 @@ function getAllCustomerPlanningVerify($link, $id) { $sql = " SELECT + custom AS custom_name, customer_planning_verify_file, create_at FROM wipwholestatus @@ -1134,6 +1135,7 @@ function getAllCustomerPlanningVerify($link, $id) AND customer_planning_verify_file IS NOT NULL UNION SELECT + custom_name, customer_planning_verify_file, create_at FROM wipwhole_change_planning_customer_details diff --git a/wms/wipwhole-rec-invoice-edit.php b/wms/wipwhole-rec-invoice-edit.php index 9809feae..c9f39638 100644 --- a/wms/wipwhole-rec-invoice-edit.php +++ b/wms/wipwhole-rec-invoice-edit.php @@ -364,21 +364,21 @@ include "wipwhole-rec-invoice-edit-submit.php"; 附件 - + // echo !empty($row['customer_planning_verify_file']) ? "下載附件" : ""; + ?> 下載附件_" . $row2['create_at'] . "
"; + href='" . $row2['customer_planning_verify_file'] . "' target='_blank'>下載附件_" . $row2['custom_name'] . "_" . $row2['create_at'] . "
"; endforeach; ?> @@ -1330,7 +1330,7 @@ include "wipwhole-rec-invoice-edit-submit.php"; + // echo !empty($row['customer_planning_verify_file']) ? "下載附件" : ""; + ?> 下載附件_" . $row2['create_at'] . ""; + href='" . $row2['customer_planning_verify_file'] . "' target='_blank'>下載附件_" . $row2['custom_name'] . "_" . $row2['create_at'] . "
"; endforeach; ?> @@ -766,7 +766,7 @@ include "wipwhole-renovate-rec-invoice-edit-submit.php"; 下載附件" : ""; - foreach ($customer_planning_verify_files as $row2) : + foreach ($customer_planning_verify_files as $row2) : echo "下載附件_" . $row2['create_at'] . ""; endforeach;