Browse Source

update commission

Tokumeikoi 4 years ago
parent
commit
a7d6b615ed
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Http/Controllers/Admin/OrderController.php

+ 1 - 0
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'));