wip
This commit is contained in:
1 parent
9014a16ab5
commit
f54af3890f
1 file changed
+3
-1
@@ -38,13 +38,15 @@ public static function form(Form $form): Form
|
|||||||
public static function table(Table $table): Table
|
public static function table(Table $table): Table
|
||||||
{
|
{
|
||||||
return $table
|
return $table
|
||||||
|
->defaultSort('number', 'desc')
|
||||||
->columns([
|
->columns([
|
||||||
TextColumn::make('number')
|
TextColumn::make('number')
|
||||||
->searchable()
|
->searchable()
|
||||||
->sortable(),
|
->sortable(),
|
||||||
|
|
||||||
TextColumn::make('name')
|
TextColumn::make('name')
|
||||||
->searchable(),
|
->searchable()
|
||||||
|
->sortable(),
|
||||||
|
|
||||||
TextColumn::make('created_at')
|
TextColumn::make('created_at')
|
||||||
->dateTime()
|
->dateTime()
|
||||||
|
|||||||
Reference in new issue
Block a user