brta archive module

This commit is contained in:
2024-10-08 17:06:14 +03:00
parent 381c6c059e
commit 77933cdd9e
56 changed files with 1591 additions and 15 deletions

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();