work on category resource
This commit is contained in:
parent
3ac8d12c15
commit
de31581290
@ -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([
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user