From a7d6b615ed7531cac01933715507a92c5be7d5a1 Mon Sep 17 00:00:00 2001 From: Tokumeikoi Date: Wed, 13 May 2020 12:45:22 +0800 Subject: [PATCH] update commission --- app/Http/Controllers/Admin/OrderController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Http/Controllers/Admin/OrderController.php b/app/Http/Controllers/Admin/OrderController.php index e7d1fc2a..c7f3ae4e 100644 --- a/app/Http/Controllers/Admin/OrderController.php +++ b/app/Http/Controllers/Admin/OrderController.php @@ -26,6 +26,7 @@ class OrderController extends Controller if ($request->input('is_commission')) { $orderModel->where('invite_user_id', '!=', NULL); $orderModel->where('status', 3); + $orderModel->where('commission_balance', '>', 0); } if ($request->input('id')) { $orderModel->where('id', $request->input('id'));