cqpCow há 1 ano atrás
pai
commit
1b63fa6a23
1 ficheiros alterados com 1 adições e 1 exclusões
  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();