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" > - - 계약 추가 + + 상세계약 설정 )}