fix:바로빌본사/바로빌 메뉴 그룹 분리

This commit is contained in:
pro
2026-01-22 16:01:47 +09:00
parent f55d30e867
commit 613f65928a

View File

@@ -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' => '전자세금계산서',