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

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

    <div class="col-xs-12">
        <div class="card">
            <%--<div class="header">
                <h2>
                    <asp:Literal ID="Ltl_SubsInfo" runat="server" /></h2>
            </div>--%>
            <div class="body">
                <div class="row">
                    <div id="Tbl_Operations" runat="server" visible="false">
                        <div class="col-xs-12">
                            <div class="card">
                                <div class="header">
                                    <h3>
                                        <asp:Literal ID="Literal7" runat="server" Text="<%$ Resources:Content,GN00001320%>" EnableViewState="false" /></h3>
                                </div>
                                <div class="body">
                                    <asp:Button class="btn btn-primary waves-effect" ID="Btn_ManageAuthorizeCIMProfiles"
                                        runat="server" Text="<%$ Resources:Content,FAM00191 %>" Visible="false" />
                                    <asp:Button class="btn btn-primary waves-effect" ID="Btn_ManageSaferPayAliases"
                                        runat="server" Text="<%$ Resources:Content,ManageSaferPayAliases %>" Visible="false" />
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="col-xs-12">
                        <div class="card">
                            <div class="header">
                                <h3>
                                    <asp:Literal ID="Literal13" runat="server" Text='<%$ Resources:Content, SPT002794 %>' EnableViewState="false" /></h3>
                            </div>
                            <div class="body">
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label>
                                            <asp:Literal ID="Literal1" runat="server" Text='<%$ Resources:Content, FAM0022 %>' EnableViewState="false" />:</label>
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <asp:DropDownList ID="DDL_PaymentGroups" 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="Literal2" runat="server" Text='<%$ Resources:Content, GN00001498 %>' EnableViewState="false" />:
                                    </div>
                                    <div class="col-sm-9 col-xs-12" id="Td_BillingMethod" runat="server"></div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <asp:Literal ID="Div2" runat="server" Text='<%$ Resources:Content, GN0000837 %>' EnableViewState="false" />:
                                    </div>
                                    <div class="col-sm-9 col-xs-12" runat="server" id="Td_TotalCharges"></div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <asp:Literal ID="Div3" runat="server" Text='<%$ Resources:Content, GN0000838 %>' EnableViewState="false" />:
                                    </div>
                                    <div class="col-sm-9 col-xs-12" runat="server" id="Td_TotalPayments"></div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <asp:Literal ID="Div4" runat="server" Text='<%$ Resources:Content, GN0000693 %>' EnableViewState="false" />:
                                    </div>
                                    <div class="col-sm-9 col-xs-12" runat="server" id="Td_Balance"></div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <asp:Literal ID="Literal3" runat="server" Text='<%$ Resources:Content, DGN1110078 %>' EnableViewState="false" />:
                                    </div>
                                    <div class="col-sm-9 col-xs-12">
                                        <asp:Label ID="Td_BillingDay" runat="server" EnableViewState="false" />
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label>
                                            <asp:Literal ID="Literal4" runat="server" Text='<%$ Resources:Content, DGN1110080 %>' EnableViewState="false" />:</label>
                                    </div>
                                    <div class="col-sm-9 col-xs-12">
                                        <div class="row" id="Tr_DefaultBillingAccount" runat="server">
                                            <div id="Td_BillingAccount" runat="server" class="col-sm-6 col-xs-12"></div>
                                            <div class="col-sm-6 col-xs-12">
                                                <asp:LinkButton ID="LB_ChangeBillAccount" runat="server" class="btn btn-primary waves-effect btnAction"
                                                    Text='<%$ Resources:Content, GN0000385 %>'></asp:LinkButton>
                                            </div>
                                        </div>
                                        <div class="row" id="Tr_ChangeBillingAccount" runat="server" visible="false">
                                            <div class="col-sm-6 col-xs-12">
                                                <div class="form-group">
                                                    <asp:DropDownList ID="DDL_BillingAccounts" runat="server">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="col-sm-6 col-xs-12">
                                                <asp:LinkButton ID="LB_ChangeBillingAccount" runat="server" class="btn btn-primary waves-effect"
                                                    Text='<%$ Resources:Content, GN0000858 %>'></asp:LinkButton>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <asp:Literal ID="Literal8" runat="server" Text='<%$ Resources:Content, SendBillingEmailsTo %>' EnableViewState="false" />:                                        
                                    </div>
                                    <div class="col-sm-7 col-xs-12">
                                        <div class="form-group">
                                            <div class="form-line">
                                                <asp:TextBox ID="TxBx_SendBillingEmailsTo" runat="server" />
                                            </div>
                                        </div>
                                        <br />
                                        <small class="row-label"><%= Resources.Content.SpecifyCommaSeparatedEmails %></small>
                                        <br />
                                        <div class="form-group">
                                            <asp:CheckBox ID="ChBx_SendEmailsToBillingOnly" runat="server" Text='<%$ Resources:Content, SendEmailsToBillingOnly %>' />
                                        </div>
                                    </div>
                                    <div class="col-sm-2 col-xs-12">
                                        <asp:Button ID="Btn_SaveSendBillingEmailsTo" runat="server" class="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,Save %>" />
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="col-xs-12">
                        <div class="card">
                            <div class="header">
                                <h3>
                                    <asp:Literal ID="Literal5" runat="server" Text="<%$ Resources:Content,DGN1110443%>" EnableViewState="false" /></h3>
                                <small id="Div_SEPAMessage" runat="server" visible="false" style="color: forestgreen; font-display: block;"><%= Resources.Content.SEPAPaymentsMsg %></small>
                            </div>
                            <div class="body">
                                <div class="row">
                                    <div class="col-xs-12">
                                        <asp:GridView EmptyDataText="<%$ Resources:Content, SP004 %>" ID="GV_WaitingPayments" AutoGenerateColumns="false"
                                            runat="server" CssClass="table table-bordered table-striped table-hover">

                                            <Columns>
                                                <asp:TemplateField HeaderText='' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                    <HeaderTemplate>
                                                        <asp:CheckBox runat="server" ID="ChkBx_All" onclick="SetCheckedHeader(this.checked, this, 'All');"
                                                            Text=" " class="option-menu" />
                                                    </HeaderTemplate>
                                                    <ItemTemplate>
                                                        <asp:CheckBox ID="ChkBx_All" runat="server" onclick="SetCheckedHeader(this.checked, this,'1');" Text=" " CssClass="option-menu" />
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content, GN0000678 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                    <ItemTemplate>
                                                        <asp:LinkButton ID="LB_ID" runat="server"></asp:LinkButton>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content, GN0000673 %>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                    <ItemTemplate>
                                                        <asp:LinkButton ID="LB_Type" runat="server"></asp:LinkButton>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content, GN000114 %>' HeaderStyle-CssClass="col-xs-3" ItemStyle-CssClass="col-xs-3">
                                                    <ItemTemplate>
                                                        <div id="Div_Total" runat="server">
                                                        </div>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content, GN0000693 %>' HeaderStyle-CssClass="col-xs-3" ItemStyle-CssClass="col-xs-3">
                                                    <ItemTemplate>
                                                        <div id="Div_Balance" runat="server">
                                                        </div>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content, GN0000722%>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                    <ItemTemplate>
                                                        <div id="Div_Date" runat="server">
                                                        </div>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                        </asp:GridView>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-xs-12 row-label">
                        <asp:Literal ID="Literal6" runat="server" Text="<%$ Resources:Content,DGN1110444%>" EnableViewState="false" />
                    </div>
                    <div class="col-xs-12">
                        <asp:Button ID="Btn_TryPayment" runat="server" ToolTip="Click this button to pay thorugh credit card saved in your payment profile." Text="<%$ Resources:Content,DGN1110445%>" class="btn btn-primary waves-effect" />
                        <asp:Button ID="Btn_NewPayment" runat="server" ToolTip="Click this button to pay through new payment method." Text="<%$ Resources:Content,DGN1110446%>" class="btn btn-primary waves-effect" />
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>

