add formats
This commit is contained in:
@ -6,6 +6,7 @@
|
||||
"email": "Email",
|
||||
"created_at": "Дата создания",
|
||||
"description": "Описание 1",
|
||||
"description2": "Описание 2",
|
||||
"status": "Статус"
|
||||
},
|
||||
"actions": ["view"],
|
||||
|
@ -12,6 +12,9 @@ $table->columns([
|
||||
"created_at" => [
|
||||
"format" => "date:Y-m-d",
|
||||
],
|
||||
'description2' => [
|
||||
"format" => "html:",
|
||||
],
|
||||
'status' => function ($cell) {
|
||||
return getStatusLabel()[$cell];
|
||||
},
|
||||
|
Reference in New Issue
Block a user