cqp 1 сар өмнө
parent
commit
0f2b2bb6dd

+ 1 - 1
app/Service/ApplyOrderService.php

@@ -1985,7 +1985,7 @@ class ApplyOrderService extends Service
                 ->select('sale_orders_product_id as id')
                 ->get()->toArray();
         } elseif ($data['type'] == 4) {
-            $detail = ReportWorkingDetail::where('data_id', $id)
+            $detail = ReportWorkingDetail::where('report_working_id', $id)
                 ->where('del_time', 0)
                 ->select('data_id')
                 ->get()->toArray();