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

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

<asp:Content ID="Content4" ContentPlaceHolderID="CPH_Content" runat="Server">
    <div class="col-xs-12">
        <div class="card" id="Pnl_Listing" runat="server">
            <div class="body">
                <%-- #SIP Accounts --%>
                <%--<div class="row" id="Div_Operations" runat="server">
                    <div class="col-xs-12">
                        <div class="card">
                            <div class="header">
                                <h3>
                                    <%= Resources.Content.GN00001320%>
                                </h3>
                            </div>
                            <div class="body">
                                <div class="clearfix">
                                    <asp:Button ID="Btn_AddNewCustomer" class="btn btn-primary waves-effect" runat="server"
                                        Text='<%$ Resources:Content,SPT002333 %>' />
                                    <asp:Button ID="Btn_CreateBulkSubscriptions" runat="server" Text="<%$ Resources:Content,CreateBulkSubscriptions%>"
                                        class="btn btn-primary waves-effect" Visible="false" />
                                </div>
                            </div>
                        </div>
                    </div>
                </div>--%>

                <asp:Panel ID="Pnl_Filter" runat="server" DefaultButton="Btn_SrchAccount">

                    <div class="row">
                        <div class="panel-group search-panel" id="AS_HostedVoiceAccount" role="tablist" aria-multiselectable="true">
                            <div class="col-xs-12" role="tab" id="SH_HostedVoiceAccount">
                                <div class="card">
                                    <div class="header" role="button" data-toggle="collapse" data-parent="#AS_HostedVoiceAccount" href="#<%= CSB_HostedVoiceAccount.ClientID%>" aria-expanded="true" aria-controls="SH_HostedVoiceAccount">
                                        <h3>
                                            <%= Resources.Content.GN0000395%>
                                        </h3>
                                    </div>
                                    <div id="CSB_HostedVoiceAccount" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_HostedVoiceAccount" aria-expanded="false">
                                        <div class="row">
                                            <div class="col-md-3 col-sm-6 col-xs-12" runat="server" id="Div_Owner">
                                                <div class="form-group form-float">
                                                    <asp:DropDownList ID="DDL_Owner" runat="server" onchange="setOwnerCookie(this)"></asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="col-md-3 col-sm-6 col-xs-12" runat="server" id="Div_CustomerId">
                                                <div class="form-group form-float">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_CustomerId" runat="server"></asp:TextBox>
                                                        <asp:Label ID="Label1" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000715%>" class="form-label"></asp:Label>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="col-md-3 col-sm-6 col-xs-12" runat="server" id="Div_CustomerName">
                                                <div class="form-group form-float">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_CustomerName" runat="server"></asp:TextBox>
                                                        <asp:Label ID="Label10" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000268%>" class="form-label"></asp:Label>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="col-md-3 col-sm-6 col-xs-12" runat="server" id="Div_CustomerEmail">
                                                <div class="form-group form-float">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_CustomerEmail" runat="server"></asp:TextBox>
                                                        <asp:Label ID="Label5" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strCustomerEmail%>" 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="TxBx_CompanyName" runat="server" MaxLength="200"></asp:TextBox>
                                                        <asp:Label ID="Label8" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN00001077%>" 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="TxBx_OrgName" runat="server"></asp:TextBox>
                                                        <asp:Label ID="Label11" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DGN1110608%>" 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="TxBx_HostingId" runat="server"></asp:TextBox>
                                                        <asp:Label ID="Label7" runat="server" EnableViewState="false" Text="<%$ Resources:Content,SPT002807%>" 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="TxBx_PackageName" runat="server"></asp:TextBox>
                                                        <asp:Label ID="Label4" runat="server" EnableViewState="false" Text="<%$ Resources:Content,PackageName%>" 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="TxBx_Address1" runat="server"></asp:TextBox>
                                                        <asp:Label ID="Label3" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN00001493%>" 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="TxBx_City" runat="server"></asp:TextBox>
                                                        <asp:Label ID="Label9" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000880%>" 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="TxBx_Zip" runat="server"></asp:TextBox>
                                                        <asp:Label ID="Label6" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN00001522%>" 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="TxBx_Phone" runat="server"></asp:TextBox>
                                                        <asp:Label ID="Label2" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN00012%>" 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">
                                                    <asp:DropDownList ID="DDL_AccountStatus" runat="server"></asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                <div class="form-group form-float">
                                                    <asp:DropDownList ID="Ddl_TrialStatus" runat="server">
                                                        <asp:ListItem Text="<%$ Resources:Content,SMI53106 %>" Value="-1"></asp:ListItem>
                                                        <asp:ListItem Text="<%$ Resources:Content,GN0000267 %>" Value="0"></asp:ListItem>
                                                        <asp:ListItem Text="<%$ Resources:Content,GN00001544 %>" Value="1"></asp:ListItem>
                                                    </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="TxBx_LabelSrch" runat="server"></asp:TextBox>
                                                        <asp:Label ID="Label19" runat="server" EnableViewState="false" Text="<%$ Resources:Content,strLabel%>" class="form-label"></asp:Label>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="col-xs-12">
                                                <div class="form-group form-float">
                                                    <asp:Button ID="Btn_SrchAccount" runat="server" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000391%>" />
                                                    <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>
                </asp:Panel>

                <div class="clearfix"></div>
                <div>
                    <asp:GridView CssClass="table table-bordered table-striped table-hover" AllowSorting="true" EmptyDataText="<%$ Resources:Content, GN00001375 %>"
                        ID="GV_HostedVoiceAccounts" AllowPaging="True" runat="server"
                        AutoGenerateColumns="false">
                        <Columns>
                            <asp:TemplateField HeaderText="<%$ Resources:Content,DGN1119987%>" HeaderStyle-CssClass="col-xs-4" SortExpression="ServiceHostingId">
                                <ItemTemplate>
                                    <table class="table small">
                                        <tbody>

                                            <tr>
                                                <td class="col-xs-6 row-label">
                                                    <asp:Label ID="Label15" runat="server"
                                                        EnableViewState="false" Text='<%$ Resources:Content,String385%>'></asp:Label>:
                                                </td>
                                                <td class="col-xs-6">
                                                    <asp:Label ID="LB_Status" CommandName="Status" runat="server"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="col-xs-6 row-label">
                                                    <asp:Label ID="Label16" runat="server"
                                                        EnableViewState="false" Text='<%$ Resources:Content,SPT002807%>'></asp:Label>:
                                                </td>
                                                <td class="col-xs-6">
                                                    <asp:HyperLink ID="LB_SubId" runat="server"></asp:HyperLink>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="col-xs-6 row-label">
                                                    <asp:Label ID="Label18" runat="server"
                                                        EnableViewState="false" Text='<%$ Resources:Content,StrLabel%>'></asp:Label>:
                                                </td>
                                                <td class="col-xs-6">
                                                    <asp:Label ID="Lbl_Label" runat="server"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="col-xs-6 row-label">
                                                    <asp:Label ID="Label17" runat="server"
                                                        EnableViewState="false" Text='<%$ Resources:Content,StrisTrial%>'></asp:Label>:
                                                </td>
                                                <td class="col-xs-6">
                                                    <asp:Label ID="Lbl_IsTrial" runat="server"></asp:Label>
                                                </td>
                                            </tr>

                                        </tbody>
                                    </table>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField SortExpression="DomainName" HeaderText="<%$ Resources:Content,CompanyName%>" HeaderStyle-CssClass="col-xs-2">
                                <ItemTemplate>
                                    <asp:Label ID="LB_CompanyName" runat="server"></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField SortExpression="PackageName" HeaderText="<%$ Resources:Content,GN000141%>" HeaderStyle-CssClass="col-xs-2">
                                <ItemTemplate>
                                    <asp:Label ID="LB_PackageName" runat="server"></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField SortExpression="CustomerName" HeaderText="<%$ Resources:Content,Customer%>" HeaderStyle-CssClass="col-xs-2">
                                <ItemTemplate>
                                    <asp:HyperLink ID="HL_Customer" runat="server"></asp:HyperLink>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField SortExpression="Owner" HeaderText="<%$ Resources:Content,Exh505%>" HeaderStyle-CssClass="col-xs-1">
                                <ItemTemplate>
                                    <asp:HyperLink ID="HL_Owner" runat="server"></asp:HyperLink>
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                        <PagerTemplate>
                            <UC:Pager ID="Pager1" runat="server" />
                        </PagerTemplate>
                    </asp:GridView>
                </div>
            </div>
        </div>
    </div>

</asp:Content>
