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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Assembly="MachSol.MachPanel.Utility" Namespace="MachSol.MachPanel.Utility" TagPrefix="EM" %>
<%@ Register Src="~/Template/GVPager.ascx" TagName="Pager" TagPrefix="EM" %>

<%@ Register TagPrefix="cc1" Namespace="System.Web.UI" Assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" %>
<asp:Content ID="Content4" ContentPlaceHolderID="CPH_Content" runat="Server">

    <div class="col-xs-12">
        <div class="card">
            <div class="header">
                <h2>
                    <asp:Literal ID="Ltl_SubsInfo" runat="server" Text="<%$ Resources:Content,strAccountSKU %>" /></h2>
            </div>
            <div class="body">
                <%--Start button--%>
                <div class="row Div_OpsRow" id="Div_OpsRow" runat="server">
                    <div class="col-xs-12">
                        <div class="card">
                            <div class="header">
                                <h3><%= Resources.Content.GN00001320%></h3>
                            </div>
                            <div class="body">
                                <asp:Button ID="BTN_SendToMachsol" class="btn btn-primary waves-effect btnAction" runat="server" Text='<%$ Resources:Content,strSendToMachsol %>' />
                            </div>
                        </div>
                    </div>
                </div>
                <%--end button--%>
                <ajax:UpdatePanel ID="UP_Filter" runat="server" UpdateMode="Conditional">
                    <ContentTemplate>
                        <EM:TabContainer ID="TbCntr_SKULookUPs" runat="server" OnClientActiveTabChanged="loadTabPanel">

                            <EM:TabPanel ID="TAB_SKUAccount" runat="server" HeaderText="<%$ Resources:Content,strAccountSKU%>">
                                <ContentTemplate>
                                    <asp:Button ID="Btn_Tab0" runat="server" Style="display: none;" />

                                    <%--Start Search box--%>
                                    <asp:Panel ID="Pnl_TabContent0" runat="server" DefaultButton="Btn_FilterSKU">
                                        <div class="row">
                                            <div class="panel-group search-panel" id="AS_SKULookUps" role="tablist" aria-multiselectable="true">
                                                <div class="col-xs-12" role="tab" id="SH_SKULookUps">
                                                    <div class="card">
                                                        <div class="header" role="button" data-toggle="collapse" data-parent="#AS_SKULookUps" href="#<%= CSB_SKULookUps.ClientID%>" aria-expanded="true" aria-controls="SH_SKULookUps">
                                                            <h3>
                                                                <%= Resources.Content.GN0000395%>
                                                            </h3>
                                                        </div>
                                                        <div id="CSB_SKULookUps" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_SKULookUps" aria-expanded="false">
                                                            <div class="row">
                                                                <div class="col-md-3 col-sm-6 col-xs-12">
                                                                    <div class="form-group form-float">
                                                                        <asp:DropDownList ID="ddlSKULocales" runat="server">
                                                                        </asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                                <div class="col-md-3 col-sm-6 col-xs-12">
                                                                    <div class="form-group form-float">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="txtSKUID" runat="server"></asp:TextBox>
                                                                            <asp:Label ID="Label6" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strSKUID%>" class="form-label"></asp:Label>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="col-md-3 col-sm-6 col-xs-12">
                                                                    <div class="form-group form-float">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="txtSKUFriendlyName" runat="server"></asp:TextBox>
                                                                            <asp:Label ID="Label7" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strSKUFriendlyName%>" class="form-label"></asp:Label>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="col-xs-12">
                                                                    <div class="form-group form-float">
                                                                        <asp:Button ID="Btn_FilterSKU" runat="server" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000395%>" />
                                                                        <asp:Button ID="Btn_Clear" Visible="false" class="btn btn-primary waves-effect" runat="server" Text="<%$ Resources:Content,String289 %>" />
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                        <%--End search box--%>

                                        <div class="row">
                                            <div class="col-xs-12">
                                                <asp:GridView ID="GV_SkuNames" CssClass="table table-bordered table-striped table-hover" AllowSorting="true" AllowPaging="false"
                                                    EmptyDataText='<%$ Resources:Content, GN00001375 %>' runat="server" AutoGenerateColumns="False">

                                                    <Columns>

                                                        <asp:TemplateField HeaderText='<%$ Resources:Content, strSKUID %>' SortExpression="SkuPartNumber" HeaderStyle-CssClass="col-xs-6" ItemStyle-CssClass="col-xs-6">
                                                            <ItemTemplate>
                                                                <asp:Literal ID="Ltl_SKUID" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "SkuPartNumber")%>'></asp:Literal>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText='<%$ Resources:Content, strSKUFriendlyName %>' HeaderStyle-CssClass="col-xs-6" ItemStyle-CssClass="col-xs-6">
                                                            <ItemTemplate>
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="txt_SKUFriendlyName" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"SkuFriendlyName") %>'></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                    </Columns>
                                                </asp:GridView>
                                            </div>
                                            <div class="col-xs-12">
                                                <asp:Button class="btn btn-primary waves-effect btnAction" ID="btnSaveSKU" runat="server" Text="<%$ Resources:Content,GN0000281%>" />
                                            </div>
                                        </div>
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>

                            <EM:TabPanel ID="Tab_ServicePlanLookUPs" runat="server" HeaderText="<%$ Resources:Content,M0054%>">
                                <ContentTemplate>
                                    <asp:Button ID="Btn_Tab1" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent1" Visible="false" runat="server">
                                        <%--Start Search box--%>
                                        <asp:Panel ID="Pnl_Filter" runat="server" DefaultButton="Btn_Filter">
                                            <div class="row">
                                                <div class="panel-group search-panel" id="AS_ServiceName" role="tablist" aria-multiselectable="true">
                                                    <div class="col-xs-12" role="tab" id="SH_ServiceName">
                                                        <div class="card">
                                                            <div class="header" role="button" data-toggle="collapse" data-parent="#AS_ServiceName" href="#<%= CSB_ServiceName.ClientID%>" aria-expanded="true" aria-controls="SH_ServiceName">
                                                                <h3>
                                                                    <%= Resources.Content.GN0000395%>
                                                                </h3>
                                                            </div>
                                                            <div id="CSB_ServiceName" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_ServiceName" aria-expanded="false">
                                                                <div class="row">
                                                                    <div class="col-md-3 col-sm-6 col-xs-12">
                                                                        <div class="form-group form-float">
                                                                            <asp:DropDownList ID="DDL_Locale" runat="server" />
                                                                        </div>
                                                                    </div>
                                                                    <div class="col-md-3 col-sm-6 col-xs-12">
                                                                        <div class="form-group form-float">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID="txtServiceName" runat="server"></asp:TextBox>
                                                                                <asp:Label ID="Label3" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strServicePlanID%>" class="form-label"></asp:Label>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="col-md-3 col-sm-6 col-xs-12">
                                                                        <div class="form-group form-float">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID="txtServiceFriendlyName" runat="server"></asp:TextBox>
                                                                                <asp:Label ID="Label4" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strServicePlanFriendlyName%>" class="form-label"></asp:Label>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="col-xs-12">
                                                                        <div class="form-group form-float">
                                                                            <asp:Button ID="Btn_Filter" runat="server" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000395%>" />
                                                                            <asp:Button ID="Btn_Clear2" Visible="false" class="btn btn-primary waves-effect" runat="server" Text="<%$ Resources:Content,String289 %>" />
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </asp:Panel>

                                        <div class="row">
                                            <div class="col-xs-12">
                                                <asp:GridView ID="GV_ServiceNames" CssClass="table table-bordered table-striped table-hover" AllowSorting="true" AllowPaging="false"
                                                    EmptyDataText='<%$ Resources:Content, GN00001375 %>' runat="server" AutoGenerateColumns="False">

                                                    <Columns>

                                                        <asp:TemplateField HeaderText='<%$ Resources:Content, strServicePlanID %>' SortExpression="ServiceName" HeaderStyle-CssClass="col-xs-6" ItemStyle-CssClass="col-xs-6">
                                                            <ItemTemplate>
                                                                <asp:Literal ID="Ltl_ServiceName" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "ServiceName")%>'></asp:Literal>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText='<%$ Resources:Content, strServicePlanFriendlyName %>' HeaderStyle-CssClass="col-xs-6" ItemStyle-CssClass="col-xs-6">
                                                            <ItemTemplate>
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="txt_ServiceFriendlyName" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"ServiceFriendlyName") %>'></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                    </Columns>
                                                </asp:GridView>
                                            </div>
                                            <div class="col-xs-12">
                                                <asp:Button class="btn btn-primary waves-effect btnAction" ID="Btn_Save" runat="server" Text="<%$ Resources:Content,GN0000281%>" />
                                            </div>
                                        </div>
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>


                        </EM:TabContainer>
                    </ContentTemplate>
                </ajax:UpdatePanel>
            </div>
        </div>
    </div>
</asp:Content>
