mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 17:31:49 +08:00 
			
		
		
		
	fix commission pedding stat
This commit is contained in:
		| @@ -30,6 +30,7 @@ class StatController extends Controller | ||||
|                 'commission_pendding_total' => Order::where('commission_status', 0) | ||||
|                     ->where('invite_user_id', '!=', NULL) | ||||
|                     ->where('status', 3) | ||||
|                     ->where('commission_balance', '>', 0) | ||||
|                     ->count(), | ||||
|                 'day_income' => Order::where('created_at', '>=', strtotime(date('Y-m-d'))) | ||||
|                     ->where('created_at', '<', time()) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user