useract wip
This commit is contained in:
1 parent
10b0d334ab
commit
7e9d841856
19 files changed
+194
-51
No files matched your search
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Resources\UserActivities\Tables;
|
||||
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
use Filament\Tables\Table;
|
||||
|
||||
class UserActivitiesTable
|
||||
{
|
||||
public static function configure(Table $table): Table
|
||||
{
|
||||
return $table
|
||||
->columns([
|
||||
TextColumn::make('user.name'),
|
||||
TextColumn::make('ip'),
|
||||
TextColumn::make('country'),
|
||||
TextColumn::make('location'),
|
||||
TextColumn::make('created_at')->dateTime('M j, Y H:i'),
|
||||
])
|
||||
->defaultSort('created_at', 'desc')
|
||||
->filters([
|
||||
//
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user