diff --git a/wms/wipwhole-change-contractdate.php b/wms/wipwhole-change-contractdate.php
index 96a42fe0..ee6ff0f3 100644
--- a/wms/wipwhole-change-contractdate.php
+++ b/wms/wipwhole-change-contractdate.php
@@ -259,9 +259,10 @@ if (!empty(checkNowFormStatus($link)))
' />
-
|
+ 實際到貨日 (到觀音廠日) |
-
+
+ ' />
|
diff --git a/wms/wipwhole-rec-invoice-edit-submit.php b/wms/wipwhole-rec-invoice-edit-submit.php
index 4735d395..a9456aab 100644
--- a/wms/wipwhole-rec-invoice-edit-submit.php
+++ b/wms/wipwhole-rec-invoice-edit-submit.php
@@ -286,7 +286,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
}
}
-
+
$updatesql = "
UPDATE wipwholestatus
SET
@@ -484,7 +484,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
if (!empty($official_check_file))
$updatesql .= "official_check_file = '$official_check_file', ";
}
-
+
// 暫時可編輯及刪除權限
if (in_array($user_id, ['M0175', 'M0079', 'M0060'])) {
$updatesql .= "
@@ -509,7 +509,8 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
}
// 工務助理
- $updatesql .= "
+ if (in_array($user_id, ['M0164', 'M0165', 'M0127', 'M0193', 'M0170', 'M0188'])) {
+ $updatesql .= "
install_outsourcer = '$install_outsourcer',
install_outsourcer_owner = '$install_outsourcer_owner',
install_outsourcer_date = '$install_outsourcer_date',
@@ -528,11 +529,13 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
estimate_tryrun_end_date_owner = '$estimate_tryrun_end_date_owner',
warehouse_assistant_remark = '$warehouse_assistant_remark',
";
- if (!empty($plan_diagram_file)) {
- $updatesql .= "plan_diagram_file = '$plan_diagram_file', ";
- $updatesql .= "
+
+ if (!empty($plan_diagram_file)) {
+ $updatesql .= "plan_diagram_file = '$plan_diagram_file', ";
+ $updatesql .= "
all_remark = CONCAT('" . $user_id . accountidToName($user_id) . "_" . $datetime . "
上傳了安裝圖附件
',IF(all_remark IS NULL,'',all_remark)),
";
+ }
}
// 許協更新業務確認項目權限
@@ -560,6 +563,15 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
";
}
+ // 生管 小雯 預計到貨日(到觀音廠日)權限
+ if ($user_id == 'M0168') {
+ $updatesql .= "
+ estimated_shipping_schedule_date_verify = '$estimated_shipping_schedule_date_verify',
+ estimated_shipping_schedule_date = '$estimated_shipping_schedule_date',
+ estimated_shipping_schedule_date_owner = '$estimated_shipping_schedule_date_owner',
+ ";
+ }
+
$updatesql .= "
creater = '$creater',
create_at = '$create_at'
diff --git a/wms/wipwhole-rec-invoice-edit.php b/wms/wipwhole-rec-invoice-edit.php
index c9f39638..075ad168 100644
--- a/wms/wipwhole-rec-invoice-edit.php
+++ b/wms/wipwhole-rec-invoice-edit.php
@@ -203,7 +203,7 @@ include "wipwhole-rec-invoice-edit-submit.php";
樓停 |
- " >
+ " >
|
樓層 |
@@ -374,6 +374,7 @@ include "wipwhole-rec-invoice-edit-submit.php";
下載附件" : "";
?>
+
| 備註 |
-
+
|
@@ -1038,7 +1039,7 @@ include "wipwhole-rec-invoice-edit-submit.php";
預計到貨日 (到觀音廠日) |
- |
- >
+ >
-
+
|
@@ -1141,6 +1142,12 @@ include "wipwhole-rec-invoice-edit-submit.php";
+
+
@@ -1330,7 +1337,7 @@ include "wipwhole-rec-invoice-edit-submit.php";