|
@ -34,7 +34,7 @@ if(isset($_GET['id'])){ |
|
|
$main = $stmt->fetch(PDO::FETCH_ASSOC); |
|
|
$main = $stmt->fetch(PDO::FETCH_ASSOC); |
|
|
$vol_no = $main['contractno']; |
|
|
$vol_no = $main['contractno']; |
|
|
} |
|
|
} |
|
|
if($main && $main['status'] == 'YS'){ |
|
|
if((!($main['status'] == 'Y1' || $main['status'] == 'YY')) ){ |
|
|
echo "<script>alert('此單正在審核中!');window.history.go(-1);</script>"; |
|
|
echo "<script>alert('此單正在審核中!');window.history.go(-1);</script>"; |
|
|
exit; |
|
|
exit; |
|
|
} |
|
|
} |
|
@ -274,7 +274,7 @@ if($main){ |
|
|
$stmt->bindParam(':form_id', $id); |
|
|
$stmt->bindParam(':form_id', $id); |
|
|
$stmt->execute(); |
|
|
$stmt->execute(); |
|
|
$flow = $stmt->fetch(PDO::FETCH_ASSOC); |
|
|
$flow = $stmt->fetch(PDO::FETCH_ASSOC); |
|
|
$form_key = $flow['form_key']; |
|
|
$form_key = $flow['form_key'] ?? null; |
|
|
}else{ |
|
|
}else{ |
|
|
//獲取有望客戶電梯規格 |
|
|
//獲取有望客戶電梯規格 |
|
|
$sql_str = "SELECT |
|
|
$sql_str = "SELECT |
|
|