cqpCow 1 vuosi sitten
vanhempi
commit
7571e94f64
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      app/Service/SalesOrderService.php

+ 1 - 1
app/Service/SalesOrderService.php

@@ -611,7 +611,7 @@ class SalesOrderService extends Service
             $model->whereIn('customer_id',array_unique(array_column($customer,'id')));
         }
         if(! empty($data['sign_time'][0]) && ! empty($data['sign_time'][1])){
-            $return = $this->changeDateToNewDate2($data['sign_time']);
+            $return = $this->changeDateToTimeStampAboutRange($data['sign_time']);
             $model->where('sign_time','>=',$return[0]);
             $model->where('sign_time','<=',$return[1]);
         }