From fd73cac8ee36cc9db7bb6fb9d78cec4ee131668d Mon Sep 17 00:00:00 2001 From: pro Date: Fri, 30 Jan 2026 15:58:40 +0900 Subject: [PATCH] =?UTF-8?q?docs:=EB=8C=80=EC=8B=9C=EB=B3=B4=EB=93=9C=20?= =?UTF-8?q?=EB=A9=94=EB=89=B4=20=EC=A0=95=EB=A0=AC=20=EC=88=9C=EC=84=9C=20?= =?UTF-8?q?=EC=88=98=EC=A0=95=20=EC=9E=91=EC=97=85=20=EA=B8=B0=EB=A1=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.5 --- 서버작업이력.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/서버작업이력.md b/서버작업이력.md index 20d80eb5..275e1b19 100644 --- a/서버작업이력.md +++ b/서버작업이력.md @@ -423,3 +423,34 @@ ## 참고: Docker vs 서버 경로 차이 | 공유 스토리지 | `/var/www/shared-storage/` | `/home/webservice/shared-storage/` | 서버에 새로운 설정을 추가할 때는 경로 차이를 반드시 확인해야 합니다. + +--- + +### 14. 영업관리 - 대시보드 메뉴 정렬 순서 수정 + +**문제**: 대시보드 메뉴가 "영업담당자 관리" 아래에 표시됨 (가장 위에 있어야 함) + +**작업 내용** (tinker 사용): +```bash +cd /home/webservice/mng +php artisan tinker --execute=' +use App\Models\Commons\Menu; + +// 대시보드를 sort_order -1로 설정 (가장 위) +Menu::where("tenant_id", 1)->where("parent_id", 15385)->where("url", "/sales/salesmanagement/dashboard")->update(["sort_order" => -1]); + +// 결과 확인 +$children = Menu::where("tenant_id", 1)->where("parent_id", 15385)->orderBy("sort_order")->get(); +foreach ($children as $c) { + echo $c->name . " | sort:" . $c->sort_order . PHP_EOL; +} +' +``` + +**결과**: +``` +대시보드 | sort:-1 +영업담당자 관리 | sort:0 +가망고객 관리 | sort:1 +영업실적 관리 | sort:2 +```