add formats

This commit is contained in:
2024-08-08 16:31:26 +03:00
parent 7dbff619f5
commit d0f136e484
5 changed files with 36 additions and 0 deletions

View File

@ -12,6 +12,9 @@ $table->columns([
"created_at" => [
"format" => "date:Y-m-d",
],
'description2' => [
"format" => "html:",
],
'status' => function ($cell) {
return getStatusLabel()[$cell];
},