work on category resource

This commit is contained in:
Russ Long 2022-08-06 16:11:15 -04:00
parent 3ac8d12c15
commit de31581290

View File

@ -12,6 +12,8 @@ use Filament\Resources\Table;
use Filament\Tables; use Filament\Tables;
use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\SoftDeletingScope; use Illuminate\Database\Eloquent\SoftDeletingScope;
use Filament\Tables\Columns\BooleanColumn;
use Filament\Tables\Columns\TextColumn;
class CarShowCategoryResource extends Resource class CarShowCategoryResource extends Resource
{ {
@ -31,7 +33,9 @@ class CarShowCategoryResource extends Resource
{ {
return $table return $table
->columns([ ->columns([
// TextColumn::make('category_name')->sortable(),
BooleanColumn::make('vehicle_type')->sortable(),
]) ])
->filters([ ->filters([
// //