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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%--<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="EM" %>--%>
<%@ Register Assembly="obout_Editor" Namespace="OboutInc.Editor" TagPrefix="obout" %>
<asp:Content ID="Content6" ContentPlaceHolderID="CPH_Content" runat="Server">
    <script type="text/javascript" language="javascript">
        //WebKit based browsers ASP.AJAX Crash Fix.
        Sys.Browser.WebKit = {}; //Safari 3 is considered WebKit

        if (navigator.userAgent.indexOf('WebKit/') > -1) {

            Sys.Browser.agent = Sys.Browser.WebKit;

            Sys.Browser.version = parseFloat(navigator.userAgent.match(/WebKit\/(\d+(\.\d+)?)/)[1]);

            Sys.Browser.name = 'WebKit';

        }

        function PutPageBreak() {
            oboutGetEditorByClientId('<%= Editor1.ClientID%>').InsertHTML('<div class="pb_before"></div>');
        }

    </script>

    <ajax:UpdatePanel ID="UP_Documents" runat="server">
        <ContentTemplate>

            <asp:Panel ID="Pnl_ResetInvoices" runat="server" CssClass="width-modal-popup-auto" Style="display: none">
                <div class="col-xs-12">
                    <div class="card">
                        <div class="header">
                            <h3>
                                <%= Resources.Content.ResetInvoices%>                                                                                                                                 
                            </h3>
                        </div>
                        <div class="body">
                            <div class="row">
                                <div class="col-xs-12">
                                    <asp:Label ID="Literal50" runat="server" Text='<%$ Resources:Content, ResetWarning %>' Font-Bold="true" ForeColor="Blue"
                                        EnableViewState="false" />
                                </div>
                            </div>
                            <div class="row" id="TR_OwnerToReset" runat="server">
                                <div class="col-sm-4 col-xs-12 row-label">

                                    <asp:Literal ID="Literal53" runat="server" Text="<%$ Resources:Content,FAM00157%>"
                                        EnableViewState="false">
                                    </asp:Literal>:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:DropDownList ID="DDL_OwnerToReset" runat="server" AutoPostBack="true" />
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-4 col-xs-12 row-label">
                                    <asp:Literal ID="Literal51" runat="server" Text="<%$ Resources:Content,FAM0022%>"
                                        EnableViewState="false">
                                    </asp:Literal>:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:DropDownList ID="DDL_PaymentGroupToReset" runat="server" />
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-4 col-xs-12 row-label">
                                    <asp:Literal ID="Literal49" runat="server" Text="<%$ Resources:Content,GN00001065%>"
                                        EnableViewState="false">
                                    </asp:Literal>:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <div class="form-line">
                                            <asp:TextBox ID="TxBx_NextInvoiceID" runat="server" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-4 col-xs-12 row-label">
                                    <asp:Literal ID="Literal52" runat="server" Text="<%$ Resources:Content,IncludeSetup%>"
                                        EnableViewState="false">
                                    </asp:Literal>:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:CheckBox Text=" " ID="ChBx_IncludeSetup" runat="server" />
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-xs-12">
                                    <asp:Button CssClass="btn btn-primary btnAction" ID="Btn_SaveReset" runat="server" Text="<%$ Resources:Content,GN0000281%>"
                                        SkinID="saveButton" ValidationGroup="LHSettings" />
                                    <asp:Button CssClass="btn btn-primary" ID="Btn_CloseReset" runat="server" Text="<%$ Resources:Content,GN0000572%>"
                                        SkinID="cancelButton" CausesValidation="false" />
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </asp:Panel>

            <EM:ModalPopupExtender runat="server" ID="MPE_ResetInvoices" BackgroundCssClass="modalBackground"
                DropShadow="false" PopupControlID="Pnl_ResetInvoices" TargetControlID="Button1"
                OkControlID="Button2" CancelControlID="Btn_CloseReset">
            </EM:ModalPopupExtender>

            <asp:Button CssClass="btn btn-primary" ID="Button1" runat="server" Text="<%$ Resources:Content, GN00001320 %>" Style="display: none;" />
            <asp:Button CssClass="btn btn-primary" ID="Button2" runat="server" Text="<%$ Resources:Content, GN00001320 %>" Style="display: none;" />
            <div class="col-xs-12">
                <div class="card">
                    <div class="body">
                        <EM:TabContainer ID="TC_Settings" runat="server" OnClientActiveTabChanged="loadTabPanel">
                            <EM:TabPanel ID="Tab_Billing" runat="server" HeaderText='<%$ Resources:Content, GN00001343 %>'>
                                <ContentTemplate>
                                    <asp:Button CssClass="btn btn-primary" ID="Btn_Tab0" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent0" runat="server" DefaultButton="Btn_Save">
                                        <div class="row">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="header">
                                                        <h3>
                                                            <%= Resources.Content.GN00001343%>                                                                                                                                 
                                                        </h3>
                                                    </div>
                                                    <div class="body">
                                                        <div class="row" id="Tr_BillingSetting" runat="server">
                                                            <div class="col-sm-4 col-xs-12">
                                                                <asp:Literal ID="Literal2" runat="server" Text="<%$ Resources:Content,GN00001028%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:RadioButtonList ID="RBL_BillingSys" AutoPostBack="true" runat="server" RepeatDirection="Horizontal">
                                                                        <asp:ListItem Selected="True" Value="1" Text=' <%$ Resources:Content,GN00001029 %>'></asp:ListItem>
                                                                        <asp:ListItem Value="0" Text='<%$ Resources:Content,GN00001030 %>'></asp:ListItem>
                                                                    </asp:RadioButtonList>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal3" runat="server" Text="<%$ Resources:Content,GN00001031%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:DropDownList ID="DDL_DayToBill" runat="server">
                                                                        <asp:ListItem Selected="True" Text='<%$ Resources:Content,GN00001032 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001033 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001034 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001035 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001036 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001037 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001038 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001039 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001040 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001041 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001042 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001043 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001044 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001045 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001046 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001047 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001048 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001049 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001050 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001051 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001052 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001053 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001054 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001055 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001056 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001057 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001058 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001059 %>'></asp:ListItem>
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal10" runat="server" Text="<%$ Resources:Content,String530%>" />:
                                                            </div>
                                                            <div class="col-sm-8 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:CheckBox Text=" " ID="ChBx_PCICompliance" runat="server" />
                                                                    <asp:Literal ID="Literal32" runat="server" Text="<%$ Resources:Content,String545%>" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal4" runat="server" Text="<%$ Resources:Content,GN00001060%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:CheckBox Text=" " ID="ChBx_Prorate" runat="server" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal23" runat="server" Text="<%$ Resources:Content,GN002999%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:CheckBox Text=" " ID="CB_PriceFreeze" runat="server" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal25" runat="server" Text="<%$ Resources:Content,String544%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:CheckBox Text=" " ID="CB_PayLater" runat="server" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal5" runat="server" Text="<%$ Resources:Content,GN00001061%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:CheckBox Text=" " ID="ChBx_Tax" runat="server" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal38" runat="server" Text="<%$ Resources:Content,StrAddTaxToCreditAdj%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:CheckBox Text=" " ID="ChBx_AddTaxToCreditAdj" runat="server" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row" id="TR_ShiftedVAT" runat="server">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal56" runat="server" Text="<%$ Resources:Content,ShiftedVATEnabled%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:CheckBox Text=" " ID="CB_VATShifted" runat="server" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal6" runat="server" Text="<%$ Resources:Content,GN00001062%>" />:
                                                            </div>
                                                            <div class="col-sm-8 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:RadioButtonList ID="RBL_BillingSign" runat="server">
                                                                        <asp:ListItem Selected="True" Value="1" Text='<%$ Resources:Content,GN00001063 %>'></asp:ListItem>
                                                                        <asp:ListItem Value="0" Text='<%$ Resources:Content,GN00001064 %>'></asp:ListItem>
                                                                    </asp:RadioButtonList>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                *
                                                             <asp:Literal ID="Literal7" runat="server" Text="<%$ Resources:Content,GN00001065%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_InvoiceId" runat="server"></asp:TextBox>
                                                                        <EM:FilteredTextBoxExtender ID="FilteredTextBoxExtender1" runat="server" TargetControlID="TxBx_InvoiceId"
                                                                            FilterType="Numbers,Custom" ValidChars="0123456789">
                                                                        </EM:FilteredTextBoxExtender>
                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TxBx_InvoiceId"
                                                                            Display="None" ErrorMessage="" SetFocusOnError="true" ValidationGroup="inv"></asp:RequiredFieldValidator>
                                                                        <asp:RangeValidator ID="RangeValidator1" runat="server" ErrorMessage="<%$ Resources:Content,DGN1110031%>"
                                                                            ControlToValidate="TxBx_InvoiceId" Display="None" SetFocusOnError="true" ValidationGroup="inv"
                                                                            Type="Integer"></asp:RangeValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                *
                                                            <asp:Literal ID="Literal9" runat="server" Text="<%$ Resources:Content,GN00001067%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_PaymentId" runat="server"></asp:TextBox>
                                                                        <EM:FilteredTextBoxExtender ID="FilteredTextBoxExtender2" runat="server" TargetControlID="TxBx_PaymentId"
                                                                            FilterType="Numbers,Custom" ValidChars="0123456789">
                                                                        </EM:FilteredTextBoxExtender>
                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TxBx_PaymentId"
                                                                            Display="None" ErrorMessage="" SetFocusOnError="true" ValidationGroup="inv"></asp:RequiredFieldValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                *
                                                                 <asp:Literal ID="Literal11" runat="server" Text="<%$ Resources:Content,GN00001069%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_PaymentRequestId" runat="server"></asp:TextBox>
                                                                        <EM:FilteredTextBoxExtender ID="FilteredTextBoxExtender3" runat="server" TargetControlID="TxBx_PaymentRequestId"
                                                                            FilterType="Numbers,Custom" ValidChars="0123456789">
                                                                        </EM:FilteredTextBoxExtender>
                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TxBx_PaymentRequestId"
                                                                            Display="None" ErrorMessage="" SetFocusOnError="true" ValidationGroup="inv"></asp:RequiredFieldValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal54" runat="server" Text="<%$ Resources:Content,FAM00158%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:CheckBox Text=" " ID="ChBx_HidePaymentProfiles" runat="server"></asp:CheckBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <label>
                                                                    <asp:Literal ID="Literal83" runat="server" Text="<%$ Resources:Content,DefaultCurrency %>"
                                                                        EnableViewState="false" />:</label>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:DropDownList ID="DDL_PaymentGroups" runat="server" />
                                                                </div>
                                                            </div>
                                                        </div>

                                                        <div class="row" ID="Div_VerifyResellerCC" runat="server">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal48" runat="server" Text="<%$ Resources:Content,HideCCProfile%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:CheckBox Text=" " ID="ChBx_VerifyResellerCC" runat="server"></asp:CheckBox>
                                                                </div>
                                                            </div>
                                                        </div>

                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal35" runat="server" Text="<%$ Resources:Content,AddNextCycleInProratedBill %>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:CheckBox Text=" " ID="CB_AddNextCycleInProratedBill" runat="server"></asp:CheckBox>
                                                                </div>
                                                            </div>
                                                        </div>

                                                        <div class="row">
                                                            <div class="col-xs-12">
                                                                <asp:Button CssClass="btn btn-primary btnAction" ID="Btn_Save" SkinID="saveButton" runat="server" Text='<%$ Resources:Content,GN0000281 %>'
                                                                    ValidationGroup="inv" />
                                                                <asp:ValidationSummary HeaderText="<%$ Resources:Content,EM000001%>" ID="ValidationSummary1"
                                                                    runat="server" ShowMessageBox="true" ShowSummary="false" ValidationGroup="inv" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID="Tab_Invoices" runat="server" HeaderText='<%$ Resources:Content, GN00001344 %>'>
                                <ContentTemplate>
                                    <asp:Button CssClass="btn btn-primary" ID="Btn_Tab1" runat="server" Style="display: none;" />

                                    <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 CssClass="btn btn-primary btnAction" ID="Btn_ResetInvoices" runat="server" Text="<%$ Resources:Content, ResetInvoices %>" SkinID="cancelButton" />

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


                                    <asp:Panel ID="Pnl_TabContent1" runat="server" Visible="false" DefaultButton="Btn_SaveInvoice">
                                        <div class="row">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="header">
                                                        <h3>
                                                            <%= Resources.Content.GN00001344%>                                                                                                                                 
                                                        </h3>
                                                    </div>
                                                    <div class="body">
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <asp:Literal ID="Ltrl_UseCustomInvoiceNumber" runat="server" Text="<%$Resources:Content,StrUseCustomInvNo %>" />
                                                                :
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:CheckBox Text=" " ID="CB_CustomInvoiceNumber" runat="server" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row" id="Tr_CustomInvNoFormat" runat="server">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <asp:Literal ID="Ltrl_CustomInvNoFormat" runat="server" Text="<%$Resources:Content,StrCustomNoFormat %>" />
                                                                :
                                                            </div>
                                                            <div class="col-xs-2">
                                                                <div class="form-group form-float">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_CustomInvNoPrefix" runat="server" MaxLength="10"></asp:TextBox>
                                                                        <asp:Label ID="Lbl_CustomInvNoPrefix" runat="server" Text="<%$Resources:Content,StrPrefix %>" CssClass="form-label"></asp:Label>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-xs-2">
                                                                <div class="form-group form-float">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_CustomInvNoStartFrom" runat="server" MaxLength="10"></asp:TextBox>
                                                                        <asp:Label ID="Lbl_CustomInvNoStartFrom" runat="server" Text="<%$Resources:Content,StrStartFromNo %>" CssClass="form-label"></asp:Label>
                                                                        <EM:FilteredTextBoxExtender ID="FTE_CustomInvNoStartFrom" runat="server" FilterType="Numbers" TargetControlID="TxBx_CustomInvNoStartFrom"></EM:FilteredTextBoxExtender>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-xs-2">
                                                                <div class="form-group form-float">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_CustomInvNoPostfix" runat="server" MaxLength="10"></asp:TextBox>
                                                                        <asp:Label ID="Lbl_CustomInvNoPostfix" runat="server" Text="<%$Resources:Content,StrPostfix %>" CssClass="form-label"></asp:Label>
                                                                    </div>
                                                                </div>
                                                            </div>



                                                        </div>
                                                        <div class="row" id="Tr_CustomInvNoUpdateExisting" runat="server">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <asp:Literal ID="Ltrl_CustomInvNoUpdateExisting" runat="server" Text="<%$Resources:Content,StrAssignCustomNoToExistingInvoices %>" />
                                                                :
                                                            </div>
                                                            <div class="col-sm-6 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:CheckBox Text=" " ID="CB_CustomInvNoUpdateExisting" runat="server" Checked="false" />
                                                                    &nbsp;
                                                                    <b>
                                                                        <asp:Literal ID="Ltrl_CustomInvNoUpdateExistingInvNote" runat="server" Text="<%$Resources:Content,StrAssignCustomNoToExistingInvoicesNote %>"></asp:Literal></b>
                                                                </div>
                                                            </div>
                                                        </div>

                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <asp:Literal ID="Ltrl_Hide0AmountInvoices" runat="server" Text="<%$ Resources:Content,Hide0AmountInvoices %>"></asp:Literal>:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <asp:CheckBox ID="CB_Hide0AmountInvoices" runat="server" Text =" " />
                                                            </div>
                                                        </div>

                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal13" runat="server" Text="<%$ Resources:Content,GN00001159%>" />
                                                                :
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:CheckBox Text=" " ID="ChBx_InvoiceSuspended" runat="server" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal14" runat="server" Text="<%$ Resources:Content,SPT0010050%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:RadioButtonList ID="RBL_EmailInvoices" runat="server" RepeatDirection="Horizontal">
                                                                        <asp:ListItem Selected="True" Value="1" Text=' <%$ Resources:Content,GN00001029 %>'></asp:ListItem>
                                                                        <asp:ListItem Value="0" Text='<%$ Resources:Content,GN00001030 %>'></asp:ListItem>
                                                                    </asp:RadioButtonList>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal15" runat="server" Text="<%$ Resources:Content,SPT0010051%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:DropDownList ID="DDL_GenerateInvoice" runat="server">
                                                                        <asp:ListItem Selected="True" Text='<%$ Resources:Content,GN00001032 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001033 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001034 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001035 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001036 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001037 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001038 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001039 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001040 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001041 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001042 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001043 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001044 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001045 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001046 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001047 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001048 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001049 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001050 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001051 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001052 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001053 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001054 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001055 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001056 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001057 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001058 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001059 %>'></asp:ListItem>
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <label>
                                                                    <asp:Literal ID="Literal16" runat="server" Text="<%$ Resources:Content,SPT0010052%>" /></label>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal17" runat="server" Text="<%$ Resources:Content,SPT0010053%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:DropDownList ID="DDL_Reminder" runat="server">
                                                                        <asp:ListItem Text='<%$ Resources:Content,Never %>'></asp:ListItem>
                                                                        <asp:ListItem Selected="True" Text='<%$ Resources:Content,GN00001032 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001033 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001034 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001035 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001036 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001037 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001038 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001039 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001040 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001041 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001042 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001043 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001044 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001045 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001046 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001047 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001048 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001049 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001050 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001051 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001052 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001053 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001054 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001055 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001056 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001057 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001058 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001059 %>'></asp:ListItem>
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <label>
                                                                    <asp:Literal ID="Literal18" runat="server" Text="<%$ Resources:Content,SPT0010054%>" /></label>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal19" runat="server" Text="<%$ Resources:Content,SPT0010055%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:DropDownList ID="DDL_OverDue" runat="server">
                                                                        <asp:ListItem Text='<%$ Resources:Content,Never %>'></asp:ListItem>
                                                                        <asp:ListItem Selected="True" Text='<%$ Resources:Content,GN00001032 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001033 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001034 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001035 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001036 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001037 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001038 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001039 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001040 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001041 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001042 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001043 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001044 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001045 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001046 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001047 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001048 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001049 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001050 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001051 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001052 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001053 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001054 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001055 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001056 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001057 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001058 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001059 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,SPT0010071 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,SPT0010072 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,SPT0010073 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,SPT0010074 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,SPT0010075 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,SPT0010076 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,SPT0010077 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,SPT0010078 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,SPT0010079 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001180 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001181 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001182 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001183 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001184 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001185 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001186 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001187 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001188 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001189 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001190 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001191 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001192 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001193 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001194 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001195 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001196 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001197 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001198 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001199 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001200 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001201 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001202 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001203 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001204 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001205 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001206 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001207 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001208 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001209 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001210 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001211 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001212 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001213 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001214 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001215 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001216 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001217 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001218 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001219 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001220 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001221 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001222 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001223 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001224 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001225 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001226 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001227 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001228 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001229 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001230 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001231 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001232 %>'></asp:ListItem>
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <label>
                                                                    <asp:Literal ID="Literal20" runat="server" Text="<%$ Resources:Content,SPT0010056%>" /></label>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-10 row-label">
                                                                <asp:Literal ID="Literal21" runat="server" Text="<%$ Resources:Content,SPT0010057%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-2">
                                                                <div class="form-group">
                                                                    <asp:CheckBox Text=" " ID="ChBx_SendDailyInvoiceEmail" runat="server" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                *
                                        <asp:Literal ID="Literal22" runat="server" Text="<%$ Resources:Content,SPT0010058%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-9">
                                                                <div class="form-group">
                                                                    <asp:DropDownList ID="DDL_Suspend" AutoPostBack="true" runat="server">
                                                                        <asp:ListItem Selected="True" Text='<%$ Resources:Content,GN00001032 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001033 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001034 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001035 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001036 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001037 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001038 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001039 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001040 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001041 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001042 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001043 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001044 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001045 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001046 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001047 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001048 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001049 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001050 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001051 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001052 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001053 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001054 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001055 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001056 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001057 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001058 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001059 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,SPT0010071 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,SPT0010072 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,SPT0010073 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,SPT0010074 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,SPT0010075 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,SPT0010076 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,SPT0010077 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,SPT0010078 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,SPT0010079 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001180 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001181 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001182 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001183 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001184 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001185 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001186 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001187 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001188 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001189 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001190 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001191 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001192 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001193 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001194 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001195 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001196 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001197 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001198 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001199 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001200 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001201 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001202 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001203 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001204 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001205 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001206 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001207 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001208 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001209 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001210 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001211 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001212 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001213 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001214 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001215 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001216 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001217 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001218 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001219 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001220 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001221 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001222 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001223 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001224 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001225 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001226 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001227 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001228 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001229 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001230 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001231 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001232 %>'></asp:ListItem>
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="col-sm-1 col-xs-3">
                                                                <label>
                                                                    <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:Content,SPT0010056%>" /></label>
                                                            </div>
                                                            <div class="col-sm-3 col-xs-12">
                                                                <asp:CheckBox ID="CB_DNS" AutoPostBack="true" Text="<%$ Resources:Content,String337%>"
                                                                    runat="server" />
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                *
                                        <asp:Literal ID="Literal24" runat="server" Text="<%$ Resources:Content,SPT0010070%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-9">
                                                                <div class="form-group">
                                                                    <asp:DropDownList ID="DDL_Remove" runat="server">
                                                                        <asp:ListItem Selected="True" Text='<%$ Resources:Content,GN00001032 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001033 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001034 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001035 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001036 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001037 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001038 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001039 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001040 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001041 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001042 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001043 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001044 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001045 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001046 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001047 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001048 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001049 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001050 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001051 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001052 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001053 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001054 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001055 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001056 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001057 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001058 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001059 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,SPT0010071 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,SPT0010072 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,SPT0010073 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,SPT0010074 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,SPT0010075 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,SPT0010076 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,SPT0010077 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,SPT0010078 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,SPT0010079 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001180 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001181 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001182 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001183 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001184 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001185 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001186 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001187 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001188 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001189 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001190 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001191 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001192 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001193 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001194 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001195 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001196 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001197 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001198 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001199 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001200 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001201 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001202 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001203 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001204 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001205 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001206 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001207 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001208 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001209 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001210 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001211 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001212 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001213 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001214 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001215 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001216 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001217 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001218 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001219 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001220 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001221 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001222 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001223 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001224 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001225 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001226 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001227 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001228 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001229 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001230 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001231 %>'></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001232 %>'></asp:ListItem>
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="col-sm-1 col-xs-3">
                                                                <label>
                                                                    <asp:Literal ID="Literal8" runat="server" Text="<%$ Resources:Content,SPT0010056%>" /></label>
                                                            </div>

                                                            <div class="col-sm-3 col-xs-12">
                                                                <asp:CheckBox ID="CB_DNR" AutoPostBack="true" Text="<%$ Resources:Content,String338%>"
                                                                    runat="server" />
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-10 row-label">
                                                                <asp:Literal ID="Literal47" runat="server" Text="<%$ Resources:Content,ShowInvoices%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-2">
                                                                <div class="form-group">
                                                                    <asp:CheckBox Text=" " ID="CB_ShowInvoicesWithoutPayment" runat="server" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-xs-12">
                                                                <asp:Button CssClass="btn btn-primary btnAction" ID="Btn_SaveInvoice" ValidationGroup="nnn" SkinID="saveButton" runat="server"
                                                                    Text='<%$ Resources:Content,GN0000281 %>' />
                                                                <asp:ValidationSummary HeaderText="<%$ Resources:Content,EM000001%>" ID="ValidationSummary2"
                                                                    runat="server" ShowMessageBox="true" ShowSummary="false" ValidationGroup="nnn" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>

                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID="Tab_Payments" runat="server" HeaderText='<%$ Resources:Content, GN00001345 %>'>
                                <ContentTemplate>
                                    <asp:Button CssClass="btn btn-primary" ID="Btn_Tab2" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent2" runat="server" Visible="false" DefaultButton="Btn_SavePayment">
                                        <div class="row">
                                            <div class="col-xs-12">
                                                <div class="card">

                                                    <div class="body">

                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal46" runat="server" Text="<%$ Resources:Content,DisablePaymentsViaPanel%>" />:
                                                            </div>
                                                            <div class="col-sm-8 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:CheckBox Text=" " ID="CB_BillUsing3rdPartyEnabled" runat="server"></asp:CheckBox>
                                                                    <asp:Label ID="LBL" runat="server" Text="<%$ Resources:Content,DisablePaymentViaPanelComment%>"></asp:Label>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row" id="Div_PaymentQueueAction" runat="server" visible="false">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal26" runat="server" Text="<%$ Resources:Content,GN00001282%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:RadioButtonList ID="RBL_PaymentQueueAction" runat="server">
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001280 %>' Selected="true" Value="0"></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001281 %>' Value="1"></asp:ListItem>
                                                                    </asp:RadioButtonList>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal27" runat="server" Text="<%$ Resources:Content,GN00001283%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:CheckBox Text=" " ID="ChBx_ChargeOnDueDate" runat="server"></asp:CheckBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row" visible="false" id="Div_AutoFundCapture" runat="server">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal28" runat="server" Text="<%$ Resources:Content,GN00001284%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:CheckBox Enabled="false" Checked="true" ID="ChBx_AutoFundCapture" runat="server" Text=" " />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal29" runat="server" Text="<%$ Resources:Content,GN00001285%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:CheckBox Text=" " ID="ChBx_AutoProcessOffline" runat="server" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                *
                                        <asp:Literal ID="Literal30" runat="server" Text="<%$ Resources:Content,GN00001286%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_MaxNoOfAttempts" runat="server"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="TxBx_MaxNoOfAttempts"
                                                                            Display="None" ErrorMessage="" SetFocusOnError="true" ValidationGroup="m"></asp:RequiredFieldValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <label><%= Resources.Content.GN00001287 %></label>
                                                            </div>
                                                        </div>
                                                        <div class="row" style="display: none">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:RadioButtonList ID="RBL_PaymentProcessOptions" runat="server">
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001288 %>' Value="0" Selected="true"></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001289 %>' Value="1"></asp:ListItem>
                                                                    </asp:RadioButtonList>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row" style="display: none">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:RadioButtonList ID="RBL_CVC" runat="server">
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001279 %>' Value="0" Selected="true"></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001278 %>' Value="1"></asp:ListItem>
                                                                        <asp:ListItem Text='<%$ Resources:Content,GN00001277 %>' Value="2"></asp:ListItem>
                                                                    </asp:RadioButtonList>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-xs-12">
                                                                <asp:Button CssClass="btn btn-primary btnAction" ID="Btn_SavePayment" SkinID="saveButton" ValidationGroup="m" runat="server"
                                                                    Text='<%$ Resources:Content,GN0000281 %>' />
                                                                <asp:ValidationSummary HeaderText="<%$ Resources:Content,EM000001%>" ID="ValidationSummary3"
                                                                    runat="server" ShowMessageBox="true" ShowSummary="false" ValidationGroup="m" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID="Tab_Advanced" runat="server" HeaderText="<%$ Resources:Content,DGN1110279%>">
                                <ContentTemplate>
                                    <asp:Button CssClass="btn btn-primary" ID="Btn_Tab3" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent3" runat="server" Visible="false" DefaultButton="Btn_AdvancedSave">
                                        <div class="row">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <%--<div class="header">
                                                                <h3>
                                                                    <%= Resources.Content.GN00001344%>                                                                                                                                 
                                                                </h3>
                                                            </div>--%>
                                                    <div class="body">
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                * <%= Resources.Content.AllowPaymentByCheque%>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:CheckBox Text=" " ID="CB_Cheque" runat="server"></asp:CheckBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <%= Resources.Content.TexttoshowifChequeisselected%>
                                                            </div>
                                                            <div class="col-sm-8 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:TextBox ID="TxBx_Cheque" TextMode="MultiLine" CssClass="col-xs-12" Height="150px" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                * <%= Resources.Content.AllowPaymentByDraft%>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:CheckBox Text=" " ID="CB_Draft" runat="server"></asp:CheckBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <%= Resources.Content.TexttoshowifDraftisselected%>
                                                            </div>
                                                            <div class="col-sm-8 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:TextBox ID="TxBx_Draft" TextMode="MultiLine" CssClass="col-xs-12" Height="150px" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-4 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal12" runat="server" Text="<%$ Resources:Content,GN0001999%>"></asp:Literal>:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:LinkButton ID="Btn_DisableFreeze" runat="server" Text="<%$ Resources:Content,GN00001025 %>" CssClass="btn btn-primary btnAction">
                                                                    </asp:LinkButton>
                                                                    <asp:LinkButton ID="Btn_EnableFreeze" runat="server" Text="<%$ Resources:Content,GN00001024 %>" CssClass="btn btn-primary btnAction">
                                                                    </asp:LinkButton>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-xs-12">
                                                                <asp:Button CssClass="btn btn-primary btnAction" ID="Btn_AdvancedSave" SkinID="saveButton" ValidationGroup="m" runat="server"
                                                                    Text='<%$ Resources:Content,GN0000281 %>' />
                                                                <asp:ValidationSummary HeaderText="<%$ Resources:Content,EM000001%>" ID="ValidationSummary4"
                                                                    runat="server" ShowMessageBox="true" ShowSummary="false" ValidationGroup="m" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID="TabPanel1" runat="server" HeaderText="<%$ Resources:Content,SMI728%>">
                                <ContentTemplate>
                                    <asp:Button CssClass="btn btn-primary" ID="Btn_Tab4" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent4" runat="server" Visible="false" DefaultButton="Btn_SaveTemplate">
                                        <div class="row">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="header">
                                                        <h3>
                                                            <%= Resources.Content.SMI728%>                                                                                                                                 
                                                        </h3>
                                                    </div>
                                                    <div class="body">
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <asp:Literal ID="Div3" runat="server" Text='<%$ Resources:Content,GN00001264 %>' />
                                                                :
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:DropDownList ID="DDL_Locale" runat="server" AutoPostBack="true" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-xs-12">
                                                                <asp:HiddenField ID="Hdf_InvoiceID" runat="server" />
                                                                <obout:Editor ID="Editor1" 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>
                                                            </div>
                                                        </div>
                                                        <br />
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12">
                                                                <asp:DropDownList ID="DDL_CompanyVariablesHtml" runat="server" />
                                                            </div>
                                                            <div class="col-sm-3 col-xs-12">
                                                                <asp:DropDownList ID="DDL_CustomerVariablesHtml" runat="server" />
                                                            </div>
                                                            <div class="col-sm-2 col-xs-12">
                                                                <asp:DropDownList ID="DDL_GroupVariablesHtml" runat="server">
                                                                    <asp:ListItem Text="<%$ Resources:Content,L00163%>" Value="0" />
                                                                    <asp:ListItem Text="%invoiceDateCreated%" />
                                                                    <asp:ListItem Text="%invoiceID%" />
                                                                    <asp:ListItem Text="%invoiceTotalAfterTax%" />
                                                                    <asp:ListItem Text="%invoiceDateDue%" />
                                                                    <asp:ListItem Text="%invoicedPeriod%" />
                                                                    <asp:ListItem Text="%invoiceStatus%" />
                                                                    <asp:ListItem Text="%invoiceBalance%" />
                                                                    <asp:ListItem Text="%invoiceTotalBeforeTax%" />
                                                                    <asp:ListItem Text="%invoiceTax%" />
                                                                    <asp:ListItem Text="%invoiceTaxOn%" />
                                                                    <asp:ListItem Text="%packageName%" />
                                                                    <asp:ListItem Text="%packageCycle%" />
                                                                    <asp:ListItem Text="%packagePriceBeforeDiscount%" />
                                                                    <asp:ListItem Text="%packageSetupFee%" />
                                                                    <asp:ListItem Text="%packageDiscountPercent%" />
                                                                    <asp:ListItem Text="%packagePriceAfterDiscount%" />
                                                                    <asp:ListItem Text="%quantity%" />
                                                                    <asp:ListItem Text="%transactionMethod%" />
                                                                    <asp:ListItem Text="%transactionAmount%" />
                                                                    <asp:ListItem Text="%transactionDateTime%" />
                                                                    <asp:ListItem Text="%transactionID%" />
                                                                    <asp:ListItem Text="%ccLastFourDigit%" />
                                                                    <asp:ListItem Text="%TAXorVATId%" />
                                                                    <asp:ListItem Text="%itemVAT%" />
                                                                    <asp:ListItem Text="%VATTransferred0%" />
                                                                    <asp:ListItem Text="%VATTransferred0On%" />
                                                                    <asp:ListItem Text="%couponDisplay%" />
                                                                    <asp:ListItem Text="%couponDiscount%" />
                                                                    <asp:ListItem Text="%totalAfterCouponDiscount%" />
                                                                </asp:DropDownList>
                                                            </div>
                                                            <div class="col-sm-2 col-xs-12">
                                                                <input type="button" class="btn btn-primary" onclick="PutPageBreak();" value='<%= Resources.Content.InsertPageBreak %>'>
                                                            </div>
                                                            <div class="col-sm-2 col-xs-12">
                                                                <asp:Button CssClass="btn btn-primary" ID="Btn_LoadDefault" class="btn btn-primary waves-effect btnAction" runat="server" Text="<%$ Resources:Content,GN00001273 %>" />
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal44" runat="server" Text='<%$ Resources:Content,GN00001569 %>' />:
                                                            </div>
                                                            <div class="col-sm-9 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:CheckBox ID="CB_IsDefault" runat="server" Text="(mark selected locale's email template as default)" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row" id="TR_Delete" runat="server" style="display: none;">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal45" runat="server" Text='<%$ Resources:Content,SMI009 %>' />
                                                                :
                                                            </div>
                                                            <div class="col-sm-9 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:CheckBox ID="CB_Delete" runat="server" Text="(delete selected locale's email template from database)" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-xs-12">
                                                                <asp:Button CssClass="btn btn-primary btnAction" ID="Btn_SaveTemplate" SkinID="saveButton" runat="server" Text='<%$ Resources:Content,GN0000281 %>' />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID='Tab_CCTypes' runat='server' HeaderText="<%$ Resources:Content,SMI729%>">
                                <ContentTemplate>
                                    <asp:Button CssClass="btn btn-primary" ID='Btn_Tab5' runat='server' Style='display: none;' />
                                    <asp:Panel ID='Pnl_TabContent5' runat="server" Visible='false'>
                                        <asp:GridView ID="GV_CCTypes" runat="server" AutoGenerateColumns="False" CssClass="table table-bordered table-hover table-responsive table-striped">
                                            <Columns>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content,GN00008014 %>' HeaderStyle-CssClass="col-xs-10">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lbl_CCTName" runat="server"></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="<%$ Resources:Content,String385%>" HeaderStyle-CssClass="col-xs-1">
                                                    <ItemTemplate>
                                                        <asp:Label ID="Lbl_Status" runat="server"></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText='<%$ Resources:Content,GN0000368 %>' HeaderStyle-CssClass="col-xs-1">
                                                    <ItemTemplate>
                                                        <asp:LinkButton ID="LB_Edable" SkinID="linkButtondisable" runat="server" Text='<%$ Resources:Content,DGN1110331 %>' CssClass="btn btn-primary btnAction" />
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                        </asp:GridView>
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID="Tab_CSPBilling" runat="server" HeaderText="<%$ Resources:Content,strCSPBilling%>">
                                <ContentTemplate>
                                    <asp:Button CssClass="btn btn-primary" ID='Btn_Tab6' runat='server' Style='display: none;' />
                                    <asp:Panel ID='Pnl_TabContent6' runat="server" Visible='false'>
                                        <div class="row">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="header">
                                                        <h3>
                                                            <%= Resources.Content.strCSPBilling%>                                                                                                                                 
                                                        </h3>
                                                    </div>
                                                    <div class="body">
                                                        <div class="row">
                                                            <div class="col-sm-5 col-xs-12 row-label">
                                                                <asp:Literal ID="Ltrl_O365CreditToAccountOption" runat="server" Text="<%$ Resources:Content,strO365CreditToAccountOption %>"></asp:Literal>:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:CheckBox Text=" " ID="ChBx_O365CreditToAccountOption" runat="server" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-5 col-xs-12 row-label">

                                                                <asp:Literal ID="Literal39" runat="server" Text="<%$ Resources:Content,SubscriptionSuspendNote %>"></asp:Literal>:
                                                                <ul>
                                                                    <li style="list-style-type: disc;">
                                                                        <asp:Literal ID="Literal41" runat="server" Text="<%$ Resources:Content,SubscriptionSuspendNote1 %>"></asp:Literal></li>
                                                                    <li style="list-style-type: disc;">
                                                                        <asp:Literal ID="Literal40" runat="server" Text="<%$ Resources:Content,SubscriptionSuspendNote2 %>"></asp:Literal></li>
                                                                </ul>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12"></div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-5 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal31" runat="server" Text="<%$ Resources:Content,strInvoiceDuePeriod %>"></asp:Literal>:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:DropDownList ID="DDL_InvoiceDuePeriod" runat="server"></asp:DropDownList>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row" style="display: none">
                                                            <div class="col-sm-5 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal33" runat="server" Text="<%$ Resources:Content,strRefundNewSubscriptoinIf %>"></asp:Literal>:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:DropDownList ID="DDL_RefundNewSub" runat="server"></asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="col-sm-3 col-xs-12">
                                                                <asp:Literal ID="Literal34" runat="server" Text="<%$ Resources:Content,strDaysOfSubscriptionSetup %>"></asp:Literal>:
                                                             <asp:CheckBox ID="ChBx_SubscriptionSetupDays" runat="server" Text=" " />
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-xs-12">
                                                                <asp:Button CssClass="btn btn-primary btnAction" ID="btn_SaveCSPBilling" SkinID="saveButton" runat="server" Text='<%$ Resources:Content,GN0000281 %>' />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                        </EM:TabContainer>

                    </div>
                </div>
            </div>
        </ContentTemplate>
    </ajax:UpdatePanel>
    <script lang="javascript">
        AllowArrowKeysInFilteredTextBoxExtender('<%=FilteredTextBoxExtender1.ClientID%>');
        AllowArrowKeysInFilteredTextBoxExtender('<%=FilteredTextBoxExtender2.ClientID%>');
        AllowArrowKeysInFilteredTextBoxExtender('<%=FilteredTextBoxExtender3.ClientID%>');
    </script>
</asp:Content>
