user photo add

This commit is contained in:
2024-12-25 16:32:23 +03:00
parent 2790105a7d
commit b5b7befd34
18 changed files with 92 additions and 38 deletions

View File

@ -40,6 +40,9 @@ $table->columns([
'class' => \Itguild\Tables\Filter\InputTextFilter::class
]
],
'user_photo' => function ($data) {
return $data ? "<img src='$data' width='150px'>" : "";
},
'created_at' => function ($data) {
if (!$data){
return null;