diff --git a/app/Filament/Resources/ProductCharacteristicsMasterResource.php b/app/Filament/Resources/ProductCharacteristicsMasterResource.php index 947fc67..7bb818d 100644 --- a/app/Filament/Resources/ProductCharacteristicsMasterResource.php +++ b/app/Filament/Resources/ProductCharacteristicsMasterResource.php @@ -221,6 +221,12 @@ class ProductCharacteristicsMasterResource extends Resource ->afterStateUpdated(function ($state, callable $set) { $set('updated_by', Filament::auth()->user()?->name); }), + Forms\Components\TextInput::make('category') + ->label('Category') + ->reactive() + ->afterStateUpdated(function ($state, callable $set) { + $set('updated_by', Filament::auth()->user()?->name); + }), Forms\Components\Select::make('inspection_type') ->label('Inspection Type') ->searchable() @@ -351,6 +357,11 @@ class ProductCharacteristicsMasterResource extends Resource ->alignCenter() ->searchable() ->sortable(), + Tables\Columns\TextColumn::make('category') + ->label('Category') + ->alignCenter() + ->searchable() + ->sortable(), Tables\Columns\TextColumn::make('line.name') ->label('Line Name') ->alignCenter()