shish 2 kuukautta sitten
vanhempi
commit
a71d3bd801
1 muutettua tiedostoa jossa 8 lisäystä ja 0 poistoa
  1. 8 0
      app-ghs/controllers/OrderController.php

+ 8 - 0
app-ghs/controllers/OrderController.php

@@ -1015,6 +1015,14 @@ class OrderController extends BaseController
         if (!empty($shopAdminId)) {
             $where['shopAdminId'] = $shopAdminId;
         }
+        $onlinePay = $get['onlinePay'] ?? -1;
+        if ($onlinePay > -1) {
+            $where['onlinePay'] = $onlinePay;
+        }
+        $sendType = $get['sendType'] ?? -1;
+        if ($sendType > -1) {
+            $where['sendType'] = $sendType;
+        }
 
         $respond = OrderClass::getOrderList($where);
         if ($export == 1) {