brta archive module

This commit is contained in:
stasbilay02 committed 2024-10-08 17:06:14 +03:00
1 parent 381c6c059e
commit 77933cdd9e
56 files changed
+1591 -15

No files matched your search

+6
View File
@@ -19,5 +19,11 @@ $table->beforePrint(function () use ($option) {
$btn .= DangerBtn::create("Удалить", "/admin/option/delete/" . $option->id)->fetch();
return $btn;
});
$table->rows([
'status' => (function ($data) {
return \kernel\modules\option\models\Option::getStatus()[$data];
})
]);
$table->create();
$table->render();