|
|
@@ -410,7 +410,7 @@ class ShopController extends BaseController
|
|
|
$mainId = $shop['mainId'] ?? 0;
|
|
|
$main = MainClass::getById($mainId, true);
|
|
|
$balance = $main->balance ?? 0;
|
|
|
- if(!empty($name)){
|
|
|
+ if(!empty($name) || $hasSale == 0){
|
|
|
$incomeList = [];
|
|
|
}else{
|
|
|
$respond = StatSaleClass::profile($mainId);
|