Explorar o código

update commission

Tokumeikoi %!s(int64=4) %!d(string=hai) anos
pai
achega
a7d6b615ed
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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')) {
         if ($request->input('is_commission')) {
             $orderModel->where('invite_user_id', '!=', NULL);
             $orderModel->where('invite_user_id', '!=', NULL);
             $orderModel->where('status', 3);
             $orderModel->where('status', 3);
+            $orderModel->where('commission_balance', '>', 0);
         }
         }
         if ($request->input('id')) {
         if ($request->input('id')) {
             $orderModel->where('id', $request->input('id'));
             $orderModel->where('id', $request->input('id'));