Fixed: Enterprise Organization Report did not show Lync user count
This commit is contained in:
parent
ff8bebe9bd
commit
228219f5c3
2 changed files with 15 additions and 15 deletions
|
@ -312,6 +312,18 @@ namespace WebsitePanel.EnterpriseServer.Code.HostedSolution
|
|||
}
|
||||
}
|
||||
|
||||
if (report.LyncReport != null)
|
||||
{
|
||||
try
|
||||
{
|
||||
PopulateLyncReportItems(org, report, topReseller);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
TaskManager.WriteError(ex);
|
||||
}
|
||||
}
|
||||
|
||||
if (report.OrganizationReport != null)
|
||||
{
|
||||
try
|
||||
|
@ -324,17 +336,6 @@ namespace WebsitePanel.EnterpriseServer.Code.HostedSolution
|
|||
}
|
||||
}
|
||||
|
||||
if (report.LyncReport != null)
|
||||
{
|
||||
try
|
||||
{
|
||||
PopulateLyncReportItems(org, report, topReseller);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
TaskManager.WriteError(ex);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
@ -517,7 +518,7 @@ namespace WebsitePanel.EnterpriseServer.Code.HostedSolution
|
|||
stats.InstantMessaing = plan.IM;
|
||||
stats.MobileAccess = plan.Mobility;
|
||||
stats.LyncUserPlan = plan.LyncUserPlanName;
|
||||
|
||||
stats.DisplayName = lyncUser.DisplayName;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
|
@ -52,7 +52,6 @@ namespace WebsitePanel.Providers.HostedSolution
|
|||
sb.AppendFormat("{0},", ToCsvString(item.OrganizationID));
|
||||
|
||||
sb.AppendFormat("{0},", ToCsvString(item.DisplayName));
|
||||
sb.AppendFormat("{0},", ToCsvString(item.AccountCreated));
|
||||
|
||||
sb.AppendFormat("{0},", ToCsvString(item.SipAddress));
|
||||
sb.AppendFormat("{0},", ToCsvString(item.PhoneNumber));
|
||||
|
@ -72,7 +71,7 @@ namespace WebsitePanel.Providers.HostedSolution
|
|||
|
||||
private static void AddCSVHeader(StringBuilder sb)
|
||||
{
|
||||
sb.Append("Top Reseller,Reseller,Customer,Customer Created,Hosting Space,Hosting Space Created,Ogranization Name,Organization Created,Organization ID,Display Name,Account Created,SipAddress,PhoneNumber,Conferencing,EnterpriseVoice,Federation,InstantMessaging,MobileAccess");
|
||||
sb.Append("Top Reseller,Reseller,Customer,Customer Created,Hosting Space,Hosting Space Created,Ogranization Name,Organization Created,Organization ID,Display Name,SipAddress,PhoneNumber,Conferencing,EnterpriseVoice,Federation,InstantMessaging,MobileAccess");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue