|
|
@@ -98,12 +98,16 @@ class ConsoleController extends BaseController
|
|
|
["name" => "绿植采购", "img" => "ghs/home/icon_caigou.png", "url" => "/admin/goods/plantCg", 'pf' => 1,],
|
|
|
];
|
|
|
|
|
|
+ //查看财务的权限
|
|
|
+ $lookMoney = \bizGhs\shop\classes\ShopAdminClass::lookMoneyPower($this->shopAdmin, $this->shop);
|
|
|
+
|
|
|
util::success([
|
|
|
'asset' => $this->main,
|
|
|
'notice' => $notice,
|
|
|
'todayData' => ['visit' => $visitCustom, 'income' => $todaySale, 'order' => $orderNum, 'wastage' => $wastage, 'bouquet' => $hsNum],
|
|
|
'incomeStat' => [],
|
|
|
- 'menu' => $menu
|
|
|
+ 'menu' => $menu,
|
|
|
+ 'lookMoney' => $lookMoney,
|
|
|
]);
|
|
|
}
|
|
|
|