From de31581290dfbdf79a7c15a25a14b626e904d787 Mon Sep 17 00:00:00 2001 From: Russ Long Date: Sat, 6 Aug 2022 16:11:15 -0400 Subject: [PATCH] work on category resource --- app/Filament/Resources/CarShowCategoryResource.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/Filament/Resources/CarShowCategoryResource.php b/app/Filament/Resources/CarShowCategoryResource.php index 6f8cd8e..ccb87d2 100644 --- a/app/Filament/Resources/CarShowCategoryResource.php +++ b/app/Filament/Resources/CarShowCategoryResource.php @@ -12,6 +12,8 @@ use Filament\Resources\Table; use Filament\Tables; use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\SoftDeletingScope; +use Filament\Tables\Columns\BooleanColumn; +use Filament\Tables\Columns\TextColumn; class CarShowCategoryResource extends Resource { @@ -31,7 +33,9 @@ class CarShowCategoryResource extends Resource { return $table ->columns([ - // + TextColumn::make('category_name')->sortable(), + BooleanColumn::make('vehicle_type')->sortable(), + ]) ->filters([ //