cqpCow 1 vuosi sitten
vanhempi
commit
18a09e3cdd
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      app/Service/CustomerService.php

+ 1 - 1
app/Service/CustomerService.php

@@ -258,7 +258,7 @@ class CustomerService extends Service
         try {
             DB::beginTransaction();
 
-            Customer::whereIn('id',$data['id'])->update([
+            Customer::where('id',$data['id'])->update([
                 'del_time'=> time()
             ]);
             CustomerInfo::where('del_time',0)