mirror of
https://github.com/v2board/v2board.git
synced 2025-06-15 06:07: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)
|
'commission_pendding_total' => Order::where('commission_status', 0)
|
||||||
->where('invite_user_id', '!=', NULL)
|
->where('invite_user_id', '!=', NULL)
|
||||||
->where('status', 3)
|
->where('status', 3)
|
||||||
|
->where('commission_balance', '>', 0)
|
||||||
->count(),
|
->count(),
|
||||||
'day_income' => Order::where('created_at', '>=', strtotime(date('Y-m-d')))
|
'day_income' => Order::where('created_at', '>=', strtotime(date('Y-m-d')))
|
||||||
->where('created_at', '<', time())
|
->where('created_at', '<', time())
|
||||||
|
Reference in New Issue
Block a user