gogs il y a 1 an
Parent
commit
f500142d74
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      app/Service/ConstructionService.php

+ 1 - 1
app/Service/ConstructionService.php

@@ -882,7 +882,7 @@ class ConstructionService extends Service
 
         $detail['install_man_title'] = $employee_key_list[$detail['install_man']] ?? "";
         $detail['sale_man_title'] = $employee_key_list[$detail['sale_man']] ?? "";
-        $img_list = ConstructionFile::where('order_number',$detail['order_number'])->select('file','name','mark')->get()->toArray();
+        $img_list = ConstructionFile::where('order_number',$detail['construction_order_number'])->select('file','name','mark')->get()->toArray();
         $detail['file'] = $img_list;
         return [true,$detail];
     }