kernel update

This commit is contained in:
2024-12-18 12:46:57 +03:00
parent 653e0bc983
commit 4ff9fa9ad3
56 changed files with 1023 additions and 84 deletions

View File

@ -24,8 +24,9 @@ $table->columns([
}
]);
$table->beforePrint(function () {
return PrimaryBtn::create("Создать", "/admin/module_shop/create")->fetch();
//return (new PrimaryBtn("Создать", "/admin/user/create"))->fetch();
$btn = PrimaryBtn::create("Добавить модуль", "/admin/module_shop/module/create")->fetch();
$btn .= PrimaryBtn::create("Добавить ядро", "/admin/module_shop/kernel/create")->fetch();
return $btn;
});
$table->addAction(ViewActionColumn::class);
$table->addAction(DeleteActionColumn::class);