cqpCow hai 1 ano
pai
achega
d8a651538d
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      app/Service/SalesOrderService.php

+ 0 - 1
app/Service/SalesOrderService.php

@@ -596,7 +596,6 @@ class SalesOrderService extends Service
             }
         }
         if(isset($data['state'])) $model->where('state',$data['state']);
-        if(isset($data['state2'])) $model->where('state',$data['state2']);
         if(isset($data['invoice_state'])) $model->where('invoice_state',$data['invoice_state']);
         if(! empty($data['order_type'])) $model->where('order_type',$data['order_type']);
         if(! empty($data['business_type'])) $model->where('business_type',$data['business_type']);