chnaged indentation in item resource page #52

Merged
jothi merged 1 commits from ranjith-dev into master 2025-12-01 12:10:12 +00:00

View File

@@ -267,9 +267,7 @@ class ItemResource extends Resource
->options(function (callable $get) { ->options(function (callable $get) {
$plantId = $get('Plant'); $plantId = $get('Plant');
return $plantId return $plantId ? Item::where('plant_id', $plantId)->pluck('code', 'id') : [];
? Item::where('plant_id', $plantId)->pluck('code', 'id')
: [];
}) })
->searchable() ->searchable()
->reactive(), ->reactive(),