card page

This commit is contained in:
2025-01-05 17:23:49 +03:00
parent 3ca3d48ffe
commit 40369fb515
13 changed files with 145 additions and 36 deletions

View File

@ -31,7 +31,7 @@ $table->beforePrint(function () {
$table->columns([
"status" => [
"value" => function ($cell) {
return \app\modules\tgbot\models\Tgbot::getStatus()[$cell];
return \app\modules\tgbot\models\Tgbot::getStatus()[$cell] ?? 0;
}
],
"username" => [