From 613f65928a0037f71ba4a9aafb2f7a68b2fef1d3 Mon Sep 17 00:00:00 2001 From: pro Date: Thu, 22 Jan 2026 16:01:47 +0900 Subject: [PATCH] =?UTF-8?q?fix:=EB=B0=94=EB=A1=9C=EB=B9=8C=EB=B3=B8?= =?UTF-8?q?=EC=82=AC/=EB=B0=94=EB=A1=9C=EB=B9=8C=20=EB=A9=94=EB=89=B4=20?= =?UTF-8?q?=EA=B7=B8=EB=A3=B9=20=EB=B6=84=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- database/seeders/MngMenuSeeder.php | 42 +++++++++++++++++++++++------- 1 file changed, 33 insertions(+), 9 deletions(-) diff --git a/database/seeders/MngMenuSeeder.php b/database/seeders/MngMenuSeeder.php index 99b29766..928d4914 100644 --- a/database/seeders/MngMenuSeeder.php +++ b/database/seeders/MngMenuSeeder.php @@ -520,7 +520,39 @@ protected function seedMainMenus(): void ]); // ======================================== - // 바로빌 그룹 + // 바로빌본사 그룹 (본사 관리용) + // ======================================== + $barobillHqGroup = $this->createMenu([ + 'name' => '바로빌본사', + 'url' => '#', + 'icon' => 'office-building', + 'sort_order' => $sortOrder++, + 'options' => [ + 'section' => 'main', + 'meta' => ['group_id' => 'barobill-hq-group'], + ], + ]); + + $barobillHqSubOrder = 0; + $this->createMenu([ + 'parent_id' => $barobillHqGroup->id, + 'name' => '바로빌설정', + 'url' => '/barobill/config', + 'icon' => 'cog', + 'sort_order' => $barobillHqSubOrder++, + 'options' => ['route_name' => 'barobill.config.index', 'section' => 'main'], + ]); + $this->createMenu([ + 'parent_id' => $barobillHqGroup->id, + 'name' => '회원사관리', + 'url' => '/barobill/members', + 'icon' => 'building', + 'sort_order' => $barobillHqSubOrder++, + 'options' => ['route_name' => 'barobill.members.index', 'section' => 'main'], + ]); + + // ======================================== + // 바로빌 그룹 (회원사용) // ======================================== $barobillGroup = $this->createMenu([ 'name' => '바로빌', @@ -542,14 +574,6 @@ protected function seedMainMenus(): void 'sort_order' => $barobillSubOrder++, 'options' => ['route_name' => 'barobill.settings.index', 'section' => 'main'], ]); - $this->createMenu([ - 'parent_id' => $barobillGroup->id, - 'name' => '회원사관리', - 'url' => '/barobill/members', - 'icon' => 'building', - 'sort_order' => $barobillSubOrder++, - 'options' => ['route_name' => 'barobill.members.index', 'section' => 'main'], - ]); $this->createMenu([ 'parent_id' => $barobillGroup->id, 'name' => '전자세금계산서',