wesmiler 2 tháng trước cách đây
mục cha
commit
43775946bb
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      app/Services/Common/BalanceLogService.php

+ 2 - 2
app/Services/Common/BalanceLogService.php

@@ -128,9 +128,9 @@ class BalanceLogService extends BaseService
 
                 $status = isset($params['status'])? $params['status'] : -1;
                 if($status==0){
-                    $query->whereIn('a.status',[2,3,4]);
+                    $query->whereIn('a.status',[3,4]);
                 }else if($status>0){
-                    $query->where('a.status', $status);
+                    $query->whereIn('a.status', [1,2]);
                 }
             })
             ->where(function ($query) use($params){