Merge pull request 'removed relation ship of plant in product characteristic master' (#1521) from ranjith-dev into master
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled

Reviewed-on: #1521
This commit was merged in pull request #1521.
This commit is contained in:
2026-11-25 10:14:01 +00:00

View File

@@ -44,7 +44,6 @@ class ProductCharacteristicsMasterResource extends Resource
->schema([ ->schema([
Forms\Components\Select::make('plant_id') Forms\Components\Select::make('plant_id')
->label('Plant Name') ->label('Plant Name')
->relationship('plant', 'name')
->searchable() ->searchable()
->options(function (callable $get) { ->options(function (callable $get) {
$userHas = Filament::auth()->user()->plant_id; $userHas = Filament::auth()->user()->plant_id;
@@ -68,7 +67,6 @@ class ProductCharacteristicsMasterResource extends Resource
->required(), ->required(),
Forms\Components\Select::make('item_id') Forms\Components\Select::make('item_id')
->label('Item Code') ->label('Item Code')
// ->relationship('item', 'code')
->searchable() ->searchable()
->reactive() ->reactive()
->options(function (callable $get) { ->options(function (callable $get) {