menu
This commit is contained in:
@ -17,9 +17,14 @@ $table = new ListEloquentTable(new EloquentDataProvider(User::class, [
|
||||
'perPage' => 3,
|
||||
'params' => ["class" => "table table-bordered", "border" => "2"],
|
||||
'baseUrl' => "/admin/user",
|
||||
'filters' => ['username', 'email'],
|
||||
'filters' => ['email'],
|
||||
]));
|
||||
$table->columns([
|
||||
'username' => [
|
||||
"filter" => [
|
||||
'class' => \Itguild\Tables\Filter\InputTextFilter::class
|
||||
]
|
||||
],
|
||||
'created_at' => function ($data) {
|
||||
if (!$data){
|
||||
return null;
|
||||
|
Reference in New Issue
Block a user