modules init/deactivate, modules migrations

This commit is contained in:
apuc committed 2024-09-23 12:50:50 +03:00
1 parent f20ba63277
commit 9e2f7cd9e3
20 files changed
+304 -32

No files matched your search

+4
View File
@@ -36,6 +36,10 @@ $table->addAction(function ($row, $url) use ($moduleService){
return $btn;
});
$table->addAction(function ($row, $url) use ($moduleService){
$slug = $row['slug'];
return "<a class='btn btn-primary' href='$url/view/?slug=$slug' style='margin: 3px; width: 150px;' >Просмотр</a>";
});
$table->create();
$table->render();