brta archive module
This commit is contained in:
1 parent
381c6c059e
commit
77933cdd9e
56 files changed
+1591
-15
No files matched your search
@@ -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();
|
||||
Reference in new issue
Block a user