1
0
forked from poc/pds

chnaged indentation in item resource page

This commit is contained in:
dhanabalan
2025-12-01 17:39:58 +05:30
parent 6834e37429
commit bc8163a535

View File

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