cqpCow преди 1 година
родител
ревизия
1b63fa6a23
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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();