update sorting and composer

This commit is contained in:
2022-09-26 19:12:15 -04:00
parent 1629e22b63
commit ef96dc7cd8
8 changed files with 575 additions and 478 deletions

View File

@ -44,8 +44,8 @@ class VehiclesResource extends Resource
->label('Model'),
Select::make('type')
->label('Type')
->options(CarShowCategory::orderBy('category_name')->vehtype()->pluck('category_name', 'id'))
->searchable(),
->options(CarShowCategory::vehtype()->pluck('category_name', 'id'))
->searchable(),
]);
}
@ -90,7 +90,8 @@ class VehiclesResource extends Resource
])
->bulkActions([
Tables\Actions\DeleteBulkAction::make(),
]);
])
->defaultSort('vehicleOwner.bidder_assigned_number');
}
public static function getRelations(): array