From 9f8b166d2ce7a74c65bf65e9be1f515e2c6ab4e7 Mon Sep 17 00:00:00 2001 From: Cheng Date: Fri, 2 Feb 2024 11:24:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E7=90=86=E5=83=B9=E5=AF=A9=E9=99=84?= =?UTF-8?q?=E4=BB=B6=E4=B8=8A=E5=82=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wms/contract/contract-new-apply.php | 6 ++-- wms/fun_global.php | 32 -------------------- wms/mkt/pricereview_repair-create.php | 13 ++++++++ wms/mkt/pricereview_repair-record-submit.php | 27 +++++++++++++++-- 4 files changed, 41 insertions(+), 37 deletions(-) diff --git a/wms/contract/contract-new-apply.php b/wms/contract/contract-new-apply.php index c6e8ee2c..2ac75ae2 100644 --- a/wms/contract/contract-new-apply.php +++ b/wms/contract/contract-new-apply.php @@ -708,9 +708,9 @@ $para = "function_name=pricereview&" . $token_link; "; + exit; + } + // 價審單-主文 pricereview_repair_main $db_query = "INSERT INTO pricereview_repair_main(repair_no, contractno, masada_addr, company, taxid, invoice, facilityno, "; - $db_query .= "address, sales_tax, service_charge, total_price, sign_date, memo, repairerid, pstatus, checker, creater, create_at) values ("; + $db_query .= "address, sales_tax, service_charge, total_price, sign_date, memo, repairerid, pstatus, checker, creater, create_at,file) values ("; $db_query .= "'$repair_no', '$contractno', '$masada_addr', '$company', '$taxid', '$invoice', '$facilityno', "; - $db_query .= "'$address', $sales_tax ,$service_charge ,$total_price, '$sign_date', '$memo', '$repairerid', 'A', '$next_users', '$user_id', '$create_at')"; + $db_query .= "'$address', $sales_tax ,$service_charge ,$total_price, '$sign_date', '$memo', '$repairerid', 'A', '$next_users', '$user_id', '$create_at','$target_file1')"; $result = mysqli_query($link, $db_query); $affected = mysqli_affected_rows($link); if ($rid = mysqli_insert_id($link)) {