cqpCow преди 1 година
родител
ревизия
bdabe07020
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      app/Service/ConstructionService.php

+ 1 - 1
app/Service/ConstructionService.php

@@ -885,7 +885,7 @@ class ConstructionService extends Service
     }
 
     public function deliveryNoteDel($data,$user){
-        DeliveryNote::where('img4',$data['id'])->update(
+        DeliveryNote::where('id',$data['id'])->update(
             [
                 'del_time' => time(),
                 'upd_id' => $user['id'],