cards
This commit is contained in:
@ -50,6 +50,20 @@ class CardModule extends Module
|
||||
"slug" => "card_template",
|
||||
"parent_slug" => "card"
|
||||
]);
|
||||
|
||||
$this->menuService->createItem([
|
||||
"label" => "Программы",
|
||||
"url" => "/admin/card_program",
|
||||
"slug" => "card_program",
|
||||
"parent_slug" => "card"
|
||||
]);
|
||||
|
||||
$this->menuService->createItem([
|
||||
"label" => "Условия",
|
||||
"url" => "/admin/card_program_conditions",
|
||||
"slug" => "card_program_conditions",
|
||||
"parent_slug" => "card"
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -60,6 +74,8 @@ class CardModule extends Module
|
||||
$this->menuService->removeItemBySlug("card");
|
||||
$this->menuService->removeItemBySlug("card_list");
|
||||
$this->menuService->removeItemBySlug("card_template");
|
||||
$this->menuService->removeItemBySlug("card_program");
|
||||
$this->menuService->removeItemBySlug("card_program_conditions");
|
||||
$this->migrationService->rollbackAtPath("{KERNEL_APP_MODULES}/card/migrations");
|
||||
$this->consoleService->runComposerRemove("dragon-code/card-number");
|
||||
$this->consoleService->runComposerRemove("endroid/qr-code");
|
||||
|
Reference in New Issue
Block a user