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)) {