cqpCow hai 1 ano
pai
achega
1b63fa6a23
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();