Tighten the ResellerCSR and PlatformCSR roles and give them the capabilities
to update chargeable items such as plan assignement and add ons Fixed plan quota viewer that got broken with last commit
This commit is contained in:
parent
503dddcf4e
commit
02c59802db
14 changed files with 111 additions and 31 deletions
|
@ -51,10 +51,11 @@ namespace WebsitePanel.Portal.ExchangeServer
|
|||
private void BindStats()
|
||||
{
|
||||
// set quotas
|
||||
OrganizationStatistics stats =
|
||||
ES.Services.Organizations.GetOrganizationStatistics(PanelRequest.ItemID);
|
||||
OrganizationStatistics stats = ES.Services.Organizations.GetOrganizationStatisticsByOrganization(PanelRequest.ItemID);
|
||||
OrganizationStatistics tenantStats = ES.Services.Organizations.GetOrganizationStatistics(PanelRequest.ItemID);
|
||||
domainsQuota.QuotaUsedValue = stats.CreatedDomains;
|
||||
domainsQuota.QuotaValue = stats.AllocatedDomains;
|
||||
if (stats.AllocatedDomains != -1) domainsQuota.QuotaAvailable = tenantStats.AllocatedDomains - tenantStats.CreatedDomains;
|
||||
}
|
||||
|
||||
public string GetDomainRecordsEditUrl(string domainId)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue