From b00da108ef49e7e50fe8cfb7760cece0255119b6 Mon Sep 17 00:00:00 2001 From: jrbin Date: Wed, 1 Nov 2023 09:19:44 +0800 Subject: [PATCH] =?UTF-8?q?=E9=96=8B=E6=94=BE=E6=96=B0=E6=A2=AF=E5=AE=A2?= =?UTF-8?q?=E6=88=B6=E7=80=8F=E8=A6=BD=E6=AC=8A=E9=99=90=EF=BC=9A=E6=9E=97?= =?UTF-8?q?=E6=85=A7=E7=8F=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wms/crm/crmm01-index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wms/crm/crmm01-index.php b/wms/crm/crmm01-index.php index 193f121a..06fd0f02 100644 --- a/wms/crm/crmm01-index.php +++ b/wms/crm/crmm01-index.php @@ -41,7 +41,8 @@ $salesman = empty($_GET['salesman']) ? "%" : $_GET['salesman']; $where .= " and salesman_name like '$salesman'"; $sql_cmd = sql_myself($user_id, "salesman"); -if (in_array($user_department_id, $depart_arr) || $user_id == "M0060" || $user_id == "M0107") $sql_cmd = ""; // M0060:Max +// max,許紓晴,林慧珊 +if (in_array($user_department_id, $depart_arr) || $user_id == "M0060" || $user_id == "M0107" || $user_id == "M0193") $sql_cmd = ""; if (!empty($sql_cmd)) $where .= " and ".str_replace("where", "", $sql_cmd); /* $checkAll = ['p0044', 'M0007'];