yingzi 1 năm trước cách đây
mục cha
commit
31779ee3f6
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      Controller/Purchase/Purchase.Class.php

+ 4 - 0
Controller/Purchase/Purchase.Class.php

@@ -470,6 +470,10 @@ class Purchase extends BaseController
             'offset' => $offset,
         ];
         $export = isset($params['export']) ? $params['export'] : 0;
+        
+        if(!empty($this->shopId)){
+            $selectParams["shopId"] = $this->shopId;
+        }
 
         $orderData = $this->objMPurchase->getAllPurchaseDetails($selectParams, $export);