columns update

This commit is contained in:
2024-08-08 13:26:45 +03:00
parent 9e7c83b680
commit a2284e3bf2
3 changed files with 27 additions and 12 deletions

View File

@ -9,6 +9,10 @@ $table = new ListJsonTable($json);
//$table->columns([
$table->columns([
[
'field' => 'created_at',
'format' => 'date:d-m-Y',
],
'status' => function ($cell) {
return getStatusLabel()[$cell];
},