fix:바로빌본사/바로빌 메뉴 그룹 분리
This commit is contained in:
@@ -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' => '전자세금계산서',
|
||||
|
||||
Reference in New Issue
Block a user