From 0a59899d4a173e60b78bbd49b9a478f0436e7bfd Mon Sep 17 00:00:00 2001 From: kimbokon Date: Sun, 4 Jan 2026 18:07:58 +0900 Subject: [PATCH] =?UTF-8?q?=EC=83=81=EC=84=B8=EA=B3=84=EC=95=BD=20?= =?UTF-8?q?=EC=84=A4=EC=A0=95=20=EB=B2=84=ED=8A=BC=20=EB=AA=85=EC=B9=AD=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD=20=EB=B0=8F=20=EB=B0=B0=EC=B9=98=20=EC=88=9C?= =?UTF-8?q?=EC=84=9C=20=EC=A1=B0=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- salesmanagement/index.php | 50 +++++++++++++++++++++++++-------------- 1 file changed, 32 insertions(+), 18 deletions(-) diff --git a/salesmanagement/index.php b/salesmanagement/index.php index d6c6517..eed3ac9 100644 --- a/salesmanagement/index.php +++ b/salesmanagement/index.php @@ -3384,23 +3384,37 @@ {t.created_at?.split(' ')[0]}
- {currentRole === '영업관리' && ( - + {(currentRole === '영업관리' || currentRole === '운영자') && ( + )} - {(currentRole === '매니저' || (currentRole === '영업관리' && t.sales_manager_id == currentUser.id)) && ( - + + {(currentRole === '영업관리' || currentRole === '운영자') && !(t.register_role === 'operator' && currentRole !== '운영자') && ( + + )} + + {(currentRole === '매니저' || currentRole === '운영자' || (currentRole === '영업관리' && t.sales_manager_id == currentUser.id)) && ( + )} {!(t.register_role === 'operator' && currentRole !== '운영자') && ( @@ -3592,8 +3606,8 @@ }} className="px-4 py-2 bg-indigo-50 text-indigo-600 rounded-lg font-bold hover:bg-indigo-100 transition-all border border-indigo-100 flex items-center gap-1" > - - 계약 추가 + + 상세계약 설정 )}