root 5 năm trước cách đây
mục cha
commit
882adfec57
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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(),
                 
             ]