Browse Source

Merge branch 'CRM_14.7.2' into debug

zwxi 11 months ago
parent
commit
25c4418f75
1 changed files with 1 additions and 1 deletions
  1. 1 1
      controllers/company.go

+ 1 - 1
controllers/company.go

@@ -3348,7 +3348,7 @@ func (this *CompanyController) Detail() {
 				if item.Status == utils.COMPANY_STATUS_FREEZE || item.Status == utils.COMPANY_STATUS_LOSE {
 					btnDetailItem.BtnHistoryList = true
 				} else {
-					if item.SellerId == sysUser.AdminId {
+					if item.SellerId == sysUser.AdminId || item.ShareSellerId == sysUser.AdminId{
 						btnDetailItem.BtnHistoryList = true
 					}
 					if sysUser.Authority > 0 {