shish 5 tahun lalu
induk
melakukan
0d920edec9
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 2 0
      app-pt/controllers/ShopCapitalController.php

+ 2 - 0
app-pt/controllers/ShopCapitalController.php

@@ -15,8 +15,10 @@ class ShopCapitalController extends BaseController
     {
     {
         $get = Yii::$app->request->get();
         $get = Yii::$app->request->get();
         $shopId = $get['shopId'] ?? 0;
         $shopId = $get['shopId'] ?? 0;
+        $io = $get['id'] ?? 0;
         $where = [];
         $where = [];
         $where['shopId'] = $shopId;
         $where['shopId'] = $shopId;
+        $where['io'] = $io;
         $list = ShopCapitalClass::getCapitalList($where);
         $list = ShopCapitalClass::getCapitalList($where);
         util::success($list);
         util::success($list);
     }
     }