|
|
@@ -563,9 +563,14 @@ class CustomController extends BaseController
|
|
|
//总赊账和总余额汇总 ssh 20250620
|
|
|
public function actionShowTotalBalance()
|
|
|
{
|
|
|
+ $lookMoney = \bizGhs\shop\classes\ShopAdminClass::lookMoneyPower($this->shopAdmin, $this->shop);
|
|
|
+ if($lookMoney == 0){
|
|
|
+ util::fail('无法查看哦');
|
|
|
+ }
|
|
|
+
|
|
|
$lsShop = $this->shop;
|
|
|
- $lsShopId = $this->shopId;
|
|
|
$pfShopId = $lsShop->pfShopId;
|
|
|
+ $lsShopId = $this->shopId;
|
|
|
$respond = \bizGhs\custom\classes\CustomClass::showTotalBalance($pfShopId, $lsShopId);
|
|
|
util::success($respond);
|
|
|
}
|