root 5 년 전
부모
커밋
882adfec57
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      app/Http/Controllers/Admin/DashboardController.php

+ 2 - 1
app/Http/Controllers/Admin/DashboardController.php

@@ -24,7 +24,8 @@ class DashboardController extends Controller
                 'ticket_pendding_total' => Ticket::where('status', 0)
                     ->count(),
                 'commission_pendding_total' => Order::where('commission_status', 0)
-                    ->where('status', 2)
+                    ->where('invite_user_id', '!=', NULL)
+                    ->where('status', 3)
                     ->count(),
                 
             ]