added check "Lync Enterprise Voice" Quotas in dialog "Lync User Plan"
This commit is contained in:
parent
c41abafe5d
commit
0bc9187cf4
1 changed files with 11 additions and 1 deletions
|
@ -30,6 +30,11 @@ using System;
|
||||||
using WebsitePanel.EnterpriseServer;
|
using WebsitePanel.EnterpriseServer;
|
||||||
using WebsitePanel.Providers.HostedSolution;
|
using WebsitePanel.Providers.HostedSolution;
|
||||||
using WebsitePanel.Providers.ResultObjects;
|
using WebsitePanel.Providers.ResultObjects;
|
||||||
|
using WebsitePanel.Providers;
|
||||||
|
using WebsitePanel.Providers.Web;
|
||||||
|
using WebsitePanel.Providers.Common;
|
||||||
|
using WebsitePanel.Portal.Code.Helpers;
|
||||||
|
|
||||||
|
|
||||||
namespace WebsitePanel.Portal.Lync
|
namespace WebsitePanel.Portal.Lync
|
||||||
{
|
{
|
||||||
|
@ -37,10 +42,11 @@ namespace WebsitePanel.Portal.Lync
|
||||||
{
|
{
|
||||||
protected void Page_Load(object sender, EventArgs e)
|
protected void Page_Load(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
PackageContext cntx = null;
|
||||||
|
|
||||||
if (!IsPostBack)
|
if (!IsPostBack)
|
||||||
{
|
{
|
||||||
PackageContext cntx = ES.Services.Packages.GetPackageContext(PanelSecurity.PackageId);
|
cntx = ES.Services.Packages.GetPackageContext(PanelSecurity.PackageId);
|
||||||
|
|
||||||
string[] archivePolicy = ES.Services.Lync.GetPolicyList(PanelRequest.ItemID, LyncPolicyType.Archiving, null);
|
string[] archivePolicy = ES.Services.Lync.GetPolicyList(PanelRequest.ItemID, LyncPolicyType.Archiving, null);
|
||||||
if (archivePolicy != null)
|
if (archivePolicy != null)
|
||||||
|
@ -169,6 +175,10 @@ namespace WebsitePanel.Portal.Lync
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cntx = PackagesHelper.GetCachedPackageContext(PanelSecurity.PackageId);
|
||||||
|
PlanFeaturesTelephony.Visible = Utils.CheckQouta(Quotas.LYNC_ENTERPRISEVOICE, cntx);
|
||||||
|
secPlanFeaturesTelephony.Visible = PlanFeaturesTelephony.Visible;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void btnAdd_Click(object sender, EventArgs e)
|
protected void btnAdd_Click(object sender, EventArgs e)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue