|
@@ -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);
|
|
|
|