@@ -266,7 +266,7 @@ class ProductInventoryService extends Service
->pluck('title','id')
->toArray();
- $basic_map = BasicType::whereIn('id',array_unique(array_column($data['data'],'unit')))
+ $basic_map = BasicType::whereIn('id',array_unique(array_column($data,'unit')))