<%@ page language="VB" masterpagefile="~/Template/Master.master" autoeventwireup="false" inherits="RCC_Packages_AddOCSPackage, MachSol.MachPanel.Web" title="Untitled Page" %>

<%@ Register Assembly="obout_Editor" Namespace="OboutInc.Editor" TagPrefix="obout" %>
<%@ Register Src="CC/AddResource.ascx" TagName="AddResource" TagPrefix="EM" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Src="~/RCC/Packages/CC/LyncPlans.ascx" TagName="LyncPolicies" TagPrefix="EM" %>
<%@ Register Src="~/Template/CC/Selectable_Selected_LBX.ascx" TagName="AddSelectableSelected" TagPrefix="EM" %>

<asp:Content ID="Content5" ContentPlaceHolderID="CPH_Content" runat="Server">

    <div class="col-xs-12">
        <div class="card">
            <div class="header">
                <h2>
                    <asp:Literal EnableViewState="false" ID="Literal28" runat="server" Text='<%$ Resources:Content, GN00001462 %>' /></h2>
            </div>
            <div class="body">
                <%--<ajax:UpdatePanel ID="UP_LyncHosting" runat="server">
                    <ContentTemplate>--%>
                        <div class="products-step">
                            <span id="div_s1" runat="server" nowrap="true" class="label label-success">
                                <asp:Literal EnableViewState="false" ID="Literal6" runat="server" Text='<%$ Resources:Content, Dev341 %>' />
                            </span>
                            <span id="div_s2" runat="server" nowrap="true" class="label label-default">
                                <asp:Literal ID="Div3" runat="server" EnableViewState="false" Text='<%$ Resources:Content, DEV1008 %>' />
                            </span>
                            <span id="div_s3" runat="server" nowrap="true" class="label label-default">
                                <asp:Literal ID="Literal1" runat="server" EnableViewState="false" Text='<%$ Resources:Content, GN0000193 %>' />
                            </span>
                            <span id="div_s4" runat="server" nowrap="true" class="label label-default">
                                <asp:Literal ID="Literal2" runat="server" EnableViewState="false" Text='<%$ Resources:Content, GN0000200 %>' />
                            </span>
                            <span id="div_s5" runat="server" nowrap="true" class="label label-default">
                                <asp:Literal ID="Literal25" runat="server" EnableViewState="false" Text='<%$ Resources:Content, Dev342 %>' />
                            </span>
                            <span id="div_s6" runat="server" nowrap="true" class="label label-default">
                                <asp:Literal ID="Literal26" runat="server" EnableViewState="false" Text='<%$ Resources:Content, GN0000105 %>' />
                            </span>
                        </div>

                        <div class="col-xs-12"></div>
                        <div class="col-xs-12"></div>

                        <asp:Wizard ID="Wizard1" runat="server" Width="100%" DisplayCancelButton="True"
                            ActiveStepIndex="0" DisplaySideBar="False">
                            <StartNavigationTemplate>
                                <asp:Button ID="Btn_Start_Cancel" runat="server" CssClass="btn btn-primary waves-effect wizard-cancel" Text="<%$ Resources:Content,GN0000572%>"
                                    CommandName="Cancel" CausesValidation="false" />
                                <asp:Button ID="Btn_Start_Next" runat="server" CssClass="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN00001242%>"
                                    CausesValidation="true" CommandName="MoveNext" />
                            </StartNavigationTemplate>
                            <StepNavigationTemplate>
                                <asp:Button ID="Btn_Step_Cancel" runat="server" CssClass="btn btn-primary waves-effect wizard-cancel" Text="<%$ Resources:Content,GN0000572%>"
                                    CommandName="Cancel" CausesValidation="false" />
                                <asp:Button ID="Btn_Step_Prev" runat="server" CssClass="btn btn-primary waves-effect" Text="<%$ Resources:Content,DGN1110612%>"
                                    CommandName="MovePrevious" CausesValidation="false" />
                                <asp:Button ID="Btn_Step_Next" runat="server" CssClass="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN00001242%>"
                                    CausesValidation="true" CommandName="MoveNext" />
                            </StepNavigationTemplate>
                            <FinishNavigationTemplate>
                                <asp:Button ID="Btn_Finish_Cancel" runat="server" CssClass="btn btn-primary waves-effect wizard-cancel" Text="<%$ Resources:Content,GN0000572%>"
                                    CommandName="Cancel" CausesValidation="false" />
                                <asp:Button ID="Btn_Finish_Prev" runat="server" CssClass="btn btn-primary waves-effect" Text="<%$ Resources:Content,DGN1110612%>"
                                    CommandName="MovePrevious" CausesValidation="false" />
                                <asp:Button ID="Btn_Finish_Save" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,String265 %>"
                                    CausesValidation="true" CommandName="MoveComplete" />
                            </FinishNavigationTemplate>
                            <CancelButtonStyle CssClass="btn btn-primary waves-effect" Width="105px" />
                            <FinishCompleteButtonStyle CssClass="btn btn-primary waves-effect" Width="105px" />
                            <StepPreviousButtonStyle CssClass="btn btn-primary waves-effect" Width="105px" />
                            <StepNextButtonStyle CssClass="btn btn-primary waves-effect" Width="105px" />
                            <StartNextButtonStyle CssClass="btn btn-primary waves-effect" Width="105px" />
                            <FinishPreviousButtonStyle CssClass="btn btn-primary waves-effect" Width="105px" />
                            <WizardSteps>
                                <asp:WizardStep runat="server" Title="Basic Info." ID="S_BasicInfo" StepType="Start">
                                    <%--Basic Product Information--%>

                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <label>
                                                <asp:Literal ID="Literal4" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000101%>" />:
                                            </label>
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <div class="form-group">
                                                <asp:DropDownList ID="DDL_ProductTypes" runat="server">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                    </div>


                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            *<asp:Literal ID="Literal9" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000103%>" />:
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <div class="form-group">
                                                <div class="form-line">
                                                    <asp:TextBox ID="TxBx_ProductName" runat="server" MaxLength="150" CssClass="form-control"></asp:TextBox>
                                                    <%--<EM:FilteredTextBoxExtender FilterType="Custom, Numbers, lowercaseLetters, Uppercaseletters"
                                                        ValidChars="-.,@!&#$%*+{}\/<>':;[]()_^~` " ID="FTB_ProductName" runat="server" TargetControlID="TxBx_ProductName" />--%>
                                                    <asp:RequiredFieldValidator ID="RFV_ProductName" ControlToValidate="TxBx_ProductName"
                                                        Display='none' runat="server" SetFocusOnError="true"></asp:RequiredFieldValidator>
                                                </div>
                                            </div>
                                        </div>
                                    </div>


                                    <div class="row" id="tr_whmcs" runat="server">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            *<asp:Literal ID="Literal7" runat="server" EnableViewState="false" Text="<%$ Resources:Content,USM0119%>" />:
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <div class="form-group">
                                                <div class="form-line">
                                                    <asp:TextBox ID="TxBx_WHMCSProdId" runat="server" MaxLength="10"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="RFV_WHMCSProdId" ControlToValidate="TxBx_WHMCSProdId"
                                                        Display='none' runat="server" SetFocusOnError="true"></asp:RequiredFieldValidator>
                                                </div>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <asp:Literal ID="Literal29" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DGN1110096%>" />:
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <div class="form-group">
                                                <asp:DropDownList ID="DDL_Provider" AutoPostBack="true" runat="server">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="row" id="Tr_SPServerGroup" runat="server">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            *<asp:Literal ID="Literal30" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000102%>" />:
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <div class="form-group">
                                                <asp:DropDownList ID="DDL_ServerGroups" AutoPostBack="true" runat="server"></asp:DropDownList>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="row" id="TR_CP" visible="false" runat="server">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            *<asp:Literal ID="Literal31" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DGN1110096%>" />:
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <div class="form-group">
                                                <asp:DropDownList ID="DDL_CP" AutoPostBack="true" runat="server">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                    </div>



                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <asp:Literal ID="Label2" runat="server" Text="<%$ Resources:Content,GN0000001%>"></asp:Literal>:
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <div class="form-group">
                                                <asp:DropDownList ID="DDL_Active" runat="server">
                                                    <asp:ListItem Selected="True" Text="<%$ Resources:Content,GN0000004 %>" Value="1"></asp:ListItem>
                                                    <asp:ListItem Text="<%$ Resources:Content,GN0000005 %>" Value="0"></asp:ListItem>
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="row" id="TR_Proratable" runat="server">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <asp:Literal ID="Literal10" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000002%>" />:
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <div class="form-group">
                                                <asp:DropDownList ID="DDL_Proratable" runat="server">
                                                    <asp:ListItem Selected="True" Value="1" Text="<%$ Resources:Content,GN0000004 %>"></asp:ListItem>
                                                    <asp:ListItem Value="0" Text="<%$ Resources:Content,GN0000005 %>"></asp:ListItem>
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <asp:Literal ID="Literal12" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000105%>" />:
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <div class="form-group">
                                                <asp:DropDownList ID="DDL_AssociateAddOn" runat="server">
                                                    <asp:ListItem Selected="True" Value="1" Text="<%$ Resources:Content,GN0000006 %>"></asp:ListItem>
                                                    <asp:ListItem Value="2" Text="<%$ Resources:Content,GN0000008 %>"></asp:ListItem>
                                                    <asp:ListItem Value="3" Text="<%$ Resources:Content,GN0000007 %>"></asp:ListItem>
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <asp:Literal ID="Literal13" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000106%>" />:
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <div class="form-group">
                                                <asp:DropDownList ID="DDL_AssociateDomain" runat="server">
                                                    <asp:ListItem Value="1" Text="<%$ Resources:Content,GN0000006 %>"></asp:ListItem>
                                                    <asp:ListItem Selected="True" Value="2" Text="<%$ Resources:Content,GN0000008 %>"></asp:ListItem>
                                                    <asp:ListItem Value="3" Text="<%$ Resources:Content,GN0000007 %>"></asp:ListItem>
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row" id="Div_CallCommission" runat="server">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <asp:Literal ID="Literal3" runat="server" EnableViewState="false" Text="<%$ Resources:Content,ProfitOnCallCost %>" />:
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <div class="form-group">
                                                <div class="form-line">
                                                    <asp:TextBox ID="TxBx_CallCommissionInPercentage" runat="server" Text="0%"></asp:TextBox>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <asp:Literal ID="Literal14" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000721%>" />:
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <div class="form-group">
                                                <div id="TD_CurrentDate" runat="server"></div>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <asp:Literal ID="Literal8" runat="server" EnableViewState="false" Text="<%$ Resources:Content,FAM00247%>" />:
                                        </div>
                                        <div class="col-sm-9 col-xs-12">
                                            <div class="form-group">
                                                <asp:CheckBox ID="ChBx_SyncSoldPlans" runat="server" Text="<%$ Resources:Content,FAM00249%>" />
                                            </div>
                                        </div>
                                    </div>

                                    <div class="row" id="tr_enabledForReseller" runat="server">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            <asp:Literal ID="Literal24" runat="server" EnableViewState="false" Text="<%$ Resources:Content,USM0094%>" />:
                                        </div>
                                        <div class="col-sm-4 col-xs-12">
                                            <div class="form-group">
                                                <asp:CheckBox ID="Cb_EnabledForReseller" runat="server" Text="&nbsp;" />
                                            </div>
                                        </div>
                                    </div>

                                    <div id="TR_ComissionResellers" runat="server" style="display: none;">
                                        <div class="row" id="Tr_ResellerComissionInPercentage" runat="server">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                <asp:Literal ID="Literal33" runat="server" EnableViewState="false" Text="<%$ Resources:Content,USM0095%>" />:
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_ResellerComissionInPercentage" runat="server" Text="0"></asp:TextBox>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="row">
                                            <div class="col-xs-12 row-label">
                                                <asp:RadioButton ID="RB_AllRes" runat="server" Checked="true" GroupName="AllRes"
                                                    Text="<%$ Resources:Content,String501%>" />
                                            </div>
                                        </div>

                                        <div class="row">
                                            <div class="col-xs-12 row-label">
                                                <asp:RadioButton ID="RB_SelectedRes" runat="server" GroupName="AllRes" Text="<%$ Resources:Content,String502%>" />:
                                            </div>
                                            <div class="col-xs-12" id="Tbl_AllResellers" runat="server" style="display: none;">
                                                <ajax:UpdatePanel ID="UP_Resellers" runat="server">
                                                    <ContentTemplate>
                                                        <EM:AddSelectableSelected ID="UCResellers" runat="server" />
                                                    </ContentTemplate>
                                                </ajax:UpdatePanel>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="row">
                                        <div class="col-sm-3 col-xs-12 row-label">
                                            *<asp:Literal ID="Literal32" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000104%>" />:
                                        </div>
                                        <div class="col-sm-9 col-xs-12">
                                            <div class="form-group">
                                                <obout:Editor ID="OE_Comments" Submit="false" ShowWaitMessage="false" AjaxWait="false" runat="server" Appearance="custom">
                                                    <Buttons>
                                                        <obout:Select Name="FontName" />
                                                        <obout:Select Name="FontSize" />
                                                        <obout:HorizontalSeparator />
                                                        <obout:Toggle Name="Bold" />
                                                        <obout:Toggle Name="Italic" />
                                                        <obout:Toggle Name="Underline" />
                                                        <obout:Toggle Name="StrikeThrough" />
                                                        <obout:Toggle Name="SuperScript" />
                                                        <obout:Toggle Name="SubScript" />
                                                        <obout:HorizontalSeparator />
                                                        <obout:Method Name="ForeColor" />
                                                        <obout:Method Name="ForeColorClear" />
                                                        <obout:Method Name="BackColor" />
                                                        <obout:Method Name="BackColorClear" />
                                                        <obout:VerticalSeparator />
                                                        <obout:Method Name="Redo" />
                                                        <obout:Method Name="Undo" />
                                                        <obout:HorizontalSeparator />
                                                        <obout:Method Name="Cut" />
                                                        <obout:Method Name="Copy" />
                                                        <obout:Method Name="Paste" />
                                                        <obout:Method Name="PasteText" />
                                                        <obout:HorizontalSeparator />
                                                        <obout:Method Name="Paragraph" />
                                                        <obout:Method Name="GetFormat" />
                                                        <obout:Method Name="ApplyFormat" />
                                                        <obout:HorizontalSeparator />
                                                        <obout:Method Name="JustifyLeft" />
                                                        <obout:Method Name="JustifyCenter" />
                                                        <obout:Method Name="JustifyRight" />
                                                        <obout:Method Name="JustifyFull" />
                                                        <obout:HorizontalSeparator />
                                                        <obout:Method Name="OrderedList" />
                                                        <obout:Method Name="BulletedList" />
                                                        <obout:HorizontalSeparator />
                                                        <obout:Method Name="InsertHR" />
                                                        <obout:Method Name="CreateLink" />
                                                        <obout:Method Name="InsertAnchor" />
                                                        <obout:Method Name="InsertIMG" />
                                                        <obout:HorizontalSeparator />
                                                        <obout:Method Name="ClearStyles" />
                                                    </Buttons>

                                                </obout:Editor>
                                                <asp:RequiredFieldValidator ID="RFV_Comments" ControlToValidate="OE_Comments" Display='none'
                                                    runat="server" SetFocusOnError="true"></asp:RequiredFieldValidator>
                                            </div>
                                        </div>
                                    </div>
                                </asp:WizardStep>
                                <asp:WizardStep runat="server" Title="Resources" ID="S_Resources" StepType="Step">

                                    <%-- Operations --%>
                                    <div class="row">
                                        <div class="col-xs-12">
                                            <div class="card">
                                                <div class="header">
                                                    <h3>
                                                        <%= Resources.Content.GN00001320%>      <%--Operations--%>                                                                                                                             
                                                    </h3>
                                                </div>
                                                <div class="body">
                                                    <asp:Button ID="Btn_Sync" runat="server" CausesValidation="false" CssClass="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,SMI0273%>" />
                                                    <EM:ConfirmButtonExtender ID="CBE_SyncPolicies" ConfirmText="<%$ Resources:Content,ConfirmSyncPolicies%>"
                                                        TargetControlID="Btn_Sync" runat="server">
                                                    </EM:ConfirmButtonExtender>
                                                </div>
                                            </div>
                                        </div>
                                    </div>

                                    <%-- Limits --%>
                                    <div class="row">
                                        <div class="col-xs-12">
                                            <div class="card">
                                                <div class="header">
                                                    <h3><%= Resources.Content.GN0000112%></h3>
                                                </div>
                                                <div class="body">
                                                    <div class="row" id="Tr_UseProviderDomain" runat="server">
                                                        <div class="col-xs-12 row-label">
                                                            <asp:CheckBox ID="CB_ProviderDomain" runat="server" AutoPostBack="true" Text="<%$ Resources:Content, UseCommonDomain %>" />
                                                        </div>
                                                    </div>

                                                    <div class="row" id="Tr_CommonOUName" runat="server" visible="false">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal5" runat="server" EnableViewState="false" Text="<%$ Resources:Content,CommonOUName%>" />:
                                                        </div>
                                                        <div class="col-sm-4 col-xs-10">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_CommonOUName" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="col-sm-5 col-xs-2">
                                                            <asp:Label ID="Lbl_CommonOUName" runat="server" ForeColor="red" Visible="false">*</asp:Label>
                                                        </div>
                                                    </div>

                                                    <div class="row" id="Tr_CommonDomainName" runat="server" visible="false">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal37" runat="server" EnableViewState="false" Text="<%$ Resources:Content,CommonDomainName%>" />:
                                                        </div>
                                                        <div class="col-sm-4 col-xs-10">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_CommonDomainName" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="col-sm-5 col-xs-2">
                                                            <asp:Label ID="Lbl_CommonDomainName" runat="server" ForeColor="red" Visible="false">*</asp:Label>
                                                        </div>
                                                    </div>

                                                    <div class="row" id="Tr_Domains" runat="server">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal38" runat="server" EnableViewState="false" Text="<%$ Resources:Content,Dev1218%>" />:
                                                        </div>

                                                        <div class="col-sm-4 col-xs-7">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_SipDomains" runat="server" MaxLength="5" Enabled="false"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>

                                                        <div class="col-sm-5 col-xs-5 row-label">
                                                            <div class="form-group">

                                                                <asp:CheckBox ID="CB_SipDomains" Text="<%$ Resources:Content,GN0000908%>" runat="server"
                                                                    Checked="true" />
                                                                <asp:Label ID="Lbl_SipDomains" runat="server" ForeColor="red" Visible="false">*</asp:Label>

                                                            </div>

                                                        </div>
                                                    </div>

                                                    <div class="row" id="Tr_Users" runat="server">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal39" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DEV1154%>" />:
                                                        </div>
                                                        <div class="col-sm-4 col-xs-7">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_MaximumUsers" runat="server" MaxLength="5" Enabled="false"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="col-sm-5 col-xs-5">
                                                            <div class="form-group">
                                                                <asp:CheckBox ID="CB_MaximumUsers" Text="<%$ Resources:Content,GN0000908%>" runat="server"
                                                                    Checked="true" />
                                                                <asp:Label ID="Lbl_MaximumUsers" runat="server" ForeColor="red" Visible="false">*</asp:Label>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal40" runat="server" EnableViewState="false" Text="<%$ Resources:Content,Lync382%>" />:
                                                        </div>
                                                        <div class="col-sm-9 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:CheckBox ID="CB_AutoProcess" Text="<%$ Resources:Content,GN0000978%>" runat="server" />
                                                                <br />
                                                                <br />
                                                                <!-- DIDs division -->
                                                                <!-- Hidden Drop Downs to keep records of existing phone number countries, regions and types -->
                                                                <asp:DropDownList ID="Ddl_HiddenCountries" runat="server" Visible="false"></asp:DropDownList>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <asp:Repeater ID="Rep_DIDSets" runat="server">
                                                        <HeaderTemplate>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal21" runat="server" Text="<%$ Resources:Content,GN0000882%>" EnableViewState="false" />
                                                                </div>
                                                                <div class="col-sm-2 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal19" runat="server" Text="<%$ Resources:Content,Lync362%>" EnableViewState="false" />
                                                                </div>
                                                                <div class="col-sm-2 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal20" runat="server" Text="<%$ Resources:Content,GN0000673%>" EnableViewState="false" />
                                                                </div>
                                                                <div class="col-sm-2 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal22" runat="server" Text="<%$ Resources:Content,String35%>" EnableViewState="false" />
                                                                </div>
                                                                <div class="col-sm-3 col-xs-12"></div>
                                                            </div>
                                                        </HeaderTemplate>
                                                        <ItemTemplate>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:DropDownList ID="Ddl_Countries" runat="server" AutoPostBack="true" OnSelectedIndexChanged="Ddl_Countries_SelectedIndexChanged"></asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                                <div class="col-sm-2 col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:DropDownList ID="Ddl_Areas" runat="server" AutoPostBack="true" OnSelectedIndexChanged="Ddl_Areas_SelectedIndexChanged"></asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                                <div class="col-sm-2 col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:DropDownList ID="Ddl_Types" runat="server"></asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                                <div class="col-sm-2 col-xs-12">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_DIDQuantity" runat="server"></asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="col-sm-3 col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:Button ID="btnRemove" CausesValidation="false" CssClass="btn btn-primary waves-effect btnAction" runat="server"
                                                                            Text="<%$ Resources:Content,GN0000278%>" CommandName="Remove"
                                                                            CommandArgument='<%# Container.ItemIndex %>' />
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </ItemTemplate>
                                                        <FooterTemplate>
                                                            <div class="row">
                                                                <div class="col-xs-12">
                                                                    <asp:Button ID="btnAdd" CausesValidation="false" runat="server" CssClass="btn btn-primary waves-effect btnAction"
                                                                        Text="<%$ Resources:Content,AddMore%>" CommandName="Add" />
                                                                </div>
                                                            </div>
                                                        </FooterTemplate>
                                                    </asp:Repeater>

                                                </div>
                                            </div>
                                        </div>
                                    </div>


                                    <br />



                                    <%-- Service features --%>
                                    <div class="row">
                                        <div class="col-xs-12">
                                            <div class="card">
                                                <div class="header">
                                                    <h3><%= Resources.Content.Lync013%></h3>
                                                </div>
                                                <div class="body">
                                                    <div class="row" id="Tr_EnableExtension" runat="server">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <label>
                                                                <asp:Literal ID="Literal15" runat="server" EnableViewState="false" Text="<%$ Resources:Content,Lync055%>" />:
                                                            </label>
                                                        </div>
                                                        <div class="col-sm-9 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:CheckBox ID="CB_EnableExtension" Checked="true" Text=" " runat="server" />
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row" id="Tr_ChatEnabled" runat="server">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <label>
                                                                <asp:Literal ID="Literal42" runat="server" EnableViewState="false" Text="<%$ Resources:Content,Lync014%>" />:
                                                            </label>
                                                        </div>
                                                        <div class="col-sm-9 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:CheckBox ID="CB_EnablePersistentChat" Text=" " runat="server" />
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <ajax:UpdatePanel ID="UP_CallBundles" runat="server" UpdateMode="Conditional">
                                                        <ContentTemplate>
                                                            <div class="row">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <label>
                                                                        <asp:Literal ID="Literal27" runat="server" EnableViewState="false" Text="<%$ Resources:Content,Lync306%>" />:
                                                                    </label>
                                                                </div>
                                                                <div class="col-sm-9 col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:CheckBoxList ID="Cbl_CallBundles" CssClass="no-padding" AutoPostBack="true" runat="server" RepeatColumns="4" RepeatDirection="Horizontal"></asp:CheckBoxList>
                                                                        <asp:Label ID="Lbl_BundleInfo" runat="server"></asp:Label>
                                                                    </div>
                                                                </div>
                                                            </div>

                                                            <div class="row" id="Tr_DefaultBundle" runat="server">
                                                                <div class="col-sm-3 col-xs-12 row-label">
                                                                    <asp:Literal ID="Literal17" runat="server" EnableViewState="false" Text="<%$ Resources:Content,Lync344%>" />:
                                                                </div>
                                                                <div class="col-sm-4 col-xs-12">
                                                                    <div class="form-group">
                                                                        <asp:DropDownList ID="Ddl_DefaultBundle" runat="server"></asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                                <div class="col-sm-5 col-xs-12">
                                                                    <div class="form-group">
                                                                        <button type="button" class="btn btn-info btn-block btn-xs waves-effect" style="width: 30px;" data-trigger="focus" data-container="body" data-toggle="popover"
                                                                            data-placement="left" title="Default Bundle" data-content="If not selected, the first selected bundle above is considered as Default bundle.">
                                                                            <i class="material-icons">info</i>
                                                                        </button>
                                                                    </div>
                                                                </div>
                                                            </div>

                                                        </ContentTemplate>
                                                    </ajax:UpdatePanel>



                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <label>
                                                                <asp:Literal ID="Literal18" runat="server" EnableViewState="false" Text="<%$ Resources:Content,Lync275%>" />:
                                                            </label>
                                                        </div>
                                                        <div class="col-sm-4 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:DropDownList ID="Ddl_SPLAType" runat="server" AutoPostBack="true">
                                                                    <asp:ListItem Text='<%$ Resources:Content,GN0000643%>' Value="1"></asp:ListItem>
                                                                    <asp:ListItem Text='<%$ Resources:Content,SPLA08%>' Value="2"></asp:ListItem>
                                                                    <asp:ListItem Text='<%$ Resources:Content,SPLA09%>' Value="3"></asp:ListItem>
                                                                    <asp:ListItem Text='<%$ Resources:Content,SPLA10%>' Value="4"></asp:ListItem>
                                                                    <asp:ListItem Text='<%$ Resources:Content,SPLA11%>' Value="5"></asp:ListItem>
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>


                                    <br />

                                    <%-- Plans & Policies --%>
                                    <div class="row">
                                        <div class="col-xs-12">
                                            <div class="card">
                                                <div class="header">
                                                    <h3><%= Resources.Content.Lync039%></h3>
                                                </div>
                                                <div class="body">
                                                    <EM:LyncPolicies ID="LyncPackage" runat="server" />
                                                </div>
                                            </div>
                                        </div>
                                    </div>




                                    <asp:TextBox ID="HTxBx_1" Style="display: none" Text='<%$ Resources:Content, GN0000925 %>'
                                        runat="server" MaxLength="250"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RFV_HTxBx_1" ControlToValidate="HTxBx_1" Display='none'
                                        runat="server" ErrorMessage='<%$ Resources:Content, GN0000926 %>'></asp:RequiredFieldValidator>
                                </asp:WizardStep>

                                <asp:WizardStep ID="S_Cycles" runat="server" Title="Cycles" StepType="Step">
                                    <div class="row">
                                        <div class="col-sm-2 col-xs-12 row-label">
                                            <asp:Literal ID="Literal16" runat="server" EnableViewState="false" Text="<%$ Resources:Content, CallBillFrequency %>" />:
                                        </div>
                                        <div class="col-sm-3 col-xs-12">
                                            <div class="form-group">
                                                <asp:DropDownList ID="Ddl_CallBillFrequency" runat="server">
                                                    <asp:ListItem Value="1" Text="<%$ Resources:Content,DGN1110290 %>"></asp:ListItem>
                                                    <asp:ListItem Value="2" Text="<%$ Resources:Content,DGN1110291 %>"></asp:ListItem>
                                                    <asp:ListItem Value="4" Text="<%$ Resources:Content,DGN1110293 %>" Selected="True"></asp:ListItem>
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                    </div>

                                    <%-- Payment Cycles --%>
                                    <div class="col-xs-12 header">
                                        <asp:Literal
                                            ID="Literal11" runat="server" EnableViewState="false" Text='<%$ Resources:Content, GN0000193 %>' />
                                    </div>

                                    <div class="col-xs-12">
                                        <EM:AddSelectableSelected ID="UCPaymentCycles" runat="server" IsSelectedRequired="true" SortByValue="true" />
                                    </div>

                                    <%-- Payment Groups --%>
                                    <div class="col-xs-12 header">
                                        <asp:Literal
                                            ID="Literal43" runat="server" EnableViewState="false" Text='<%$ Resources:Content, GN0000196 %>' />
                                    </div>

                                    <div class="col-xs-12">
                                        <EM:AddSelectableSelected ID="UCPaymentGroups" IsSelectedRequired="true" runat="server" />
                                    </div>

                                </asp:WizardStep>
                                <asp:WizardStep runat="server" ID="S_Fill_Prices" Title="DS_DG" StepType="Step">
                                    
                                    <table class="table table-bordered table-striped table-hover">
                                        <tr>
                                            <th class="col-xs-4">
                                                <%=Resources.Content.GN0000200%>
                                            </th>
                                            <th class="col-xs-2">
                                                <%=Resources.Content.GN0000193%>
                                            </th>
                                            <th class="col-xs-2">
                                                <%=Resources.Content.GN0000201%>
                                            </th>
                                            <th class="col-xs-2">
                                                <%=Resources.Content.GN000112%>
                                            </th>
                                            <th class="col-xs-2">
                                                <%=Resources.Content.GN0000203%>
                                            </th>
                                        </tr>

                                        <asp:Repeater ID="Rep_PG" runat="server">
                                            <ItemTemplate>
                                                <tr>
                                                    <td class="col-xs-3">
                                                        <asp:Label ID="PGName" runat="server"></asp:Label>
                                                        <input id="H_PGID" runat="server" type="hidden" />
                                                    </td>
                                                    <td colspan="4" class="col-xs-9">

                                                        <asp:Repeater ID="Rep_Cycle" runat="server">
                                                            <ItemTemplate>

                                                                <table class="table">
                                                                    <tr>
                                                                        <td class="col-xs-2" id="Cycle" runat="server"></td>
                                                                        <td class="col-xs-2">
                                                                            <div class="form-group">
                                                                                <div class="form-line">
                                                                                    <input id="H_CycleId" runat="server" type="hidden" />
                                                                                    <asp:TextBox runat="server" ID="TxBx_SetupPrice"></asp:TextBox>
                                                                                </div>
                                                                            </div>
                                                                        </td>
                                                                        <td class="col-xs-2">
                                                                            <div class="form-group">
                                                                                <div class="form-line">
                                                                                    <asp:TextBox runat="server" ID="TxBx_Price"></asp:TextBox>
                                                                                </div>
                                                                            </div>
                                                                        </td>
                                                                        <td class="col-xs-2">
                                                                            <div class="form-group">
                                                                                <div class="form-line">
                                                                                    <asp:TextBox runat="server" ID="TxBx_Discount"></asp:TextBox>
                                                                                </div>
                                                                            </div>
                                                                        </td>
                                                                    </tr>
                                                                </table>



                                                            </ItemTemplate>
                                                        </asp:Repeater>

                                                    </td>
                                                </tr>
                                            </ItemTemplate>
                                        </asp:Repeater>


                                    </table>

                                    <div class="clearfix">&nbsp;</div>





                                    <asp:TextBox ID="HTxBx_4" Style="display: none" Text='<%$ Resources:Content, GN0000925 %>'
                                        runat="server" MaxLength="250"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RFVHTxBx_4" ControlToValidate="HTxBx_4" Display='none'
                                        runat="server" ErrorMessage=''></asp:RequiredFieldValidator>

                                </asp:WizardStep>
                                <asp:WizardStep runat="server" ID="S_UpDownGrade" Title="Up Grade / Down Grade" StepType="Step">
                                    <div class="col-xs-12">
                                        <ajax:UpdatePanel ID="UpnlUpgradeDowngrade" runat="server" UpdateMode="Conditional">
                                            <ContentTemplate>
                                                <div class="row">
                                                    <div class="col-xs-12 row-label">
                                                        <asp:Literal ID="Literal23" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000207%>" />:
                                                    </div>
                                                    <div class="col-xs-12">
                                                        <div class="form-group">
                                                            <EM:AddSelectableSelected ID="UCProductUpgrade" runat="server" />
                                                        </div>
                                                    </div>
                                                </div>

                                                <div class="row">
                                                    <div class="col-xs-12 row-label">
                                                        <asp:Literal ID="Literal51" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000208%>" />:
                                                    </div>
                                                    <div class="col-xs-12">
                                                        <div class="form-group">
                                                            <EM:AddSelectableSelected ID="UCProductDowngrade" runat="server" />
                                                        </div>
                                                    </div>
                                                </div>
                                            </ContentTemplate>
                                        </ajax:UpdatePanel>
                                    </div>


                                </asp:WizardStep>
                                <asp:WizardStep runat="server" ID="S_AddOn" Title="Add-Ons" StepType="Finish">
                                    <div class="col-xs-12">
                                        <ajax:UpdatePanel ID="UpdatePanel3" runat="server">
                                            <ContentTemplate>
                                                <div class="row">
                                                    <EM:AddSelectableSelected ID="UCAddons" runat="server" />
                                                </div>
                                            </ContentTemplate>
                                        </ajax:UpdatePanel>
                                    </div>
                                </asp:WizardStep>
                            </WizardSteps>
                        </asp:Wizard>
                        <asp:ValidationSummary HeaderText='<%$ Resources:Content, EM000001%>' ID="ValidationSummary1"
                            ShowMessageBox="true" ShowSummary="false" runat="server" />

                    <%--</ContentTemplate>
                </ajax:UpdatePanel>--%>
            </div>
        </div>
    </div>
</asp:Content>
