cqpCow 1 år sedan
förälder
incheckning
1b63fa6a23
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      app/Service/ProductInventoryService.php

+ 1 - 1
app/Service/ProductInventoryService.php

@@ -262,7 +262,7 @@ class ProductInventoryService extends Service
             $start_map[$value['product_id']] = $value['number'];
         }
 
-        $category = ProductCategory::whereIn('id',array_unique(array_column($data,'b_r_f_id')))
+        $category = ProductCategory::whereIn('id',array_unique(array_column($data,'product_category_id')))
             ->pluck('title','id')
             ->toArray();