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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>

<asp:Content ID="Content7" ContentPlaceHolderID="CPH_Content" runat="Server">
    <div class="col-xs-12">
        <div class="card">
            <div class="body">
                <ajax:UpdatePanel ID="UP_Documents" runat="server">
                    <ContentTemplate>
                        <EM:TabContainer ID="TC_PaymentGroups" runat="server" OnClientActiveTabChanged="loadTabPanel">
                            <EM:TabPanel ID="Tab_List" runat="server" HeaderText="<%$ Resources:Content,GN0000196%>">
                                <ContentTemplate>
                                    <asp:Button 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.GN0000950%>                                                                                                                                 
                                                        </h3>
                                                    </div>
                                                    <div class="body">

                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                *
                                <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:Content,GN0000951%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_PGName" runat="server" data-label="Payment Group Name"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator ID="RFV_RN" runat="server" ControlToValidate="TxBx_PGName"
                                                                            Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <asp:Literal ID="Literal2" runat="server" Text="<%$ Resources:Content,GN0000952%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:DropDownList ID="DDL_Currency" runat="server" AutoPostBack="true" data-label="Currency">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row" id="TR_PriG" runat="server">
                                                            <div class="col-sm-3 col-xs-12 row-label">

                                                                <asp:Literal ID="Literal3" runat="server" Text="<%$ Resources:Content,GN0000953%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:DropDownList ID="DDL_PriGateway" runat="server" data-label="Primary Gateway">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row" id="TR_SecG" runat="server">
                                                            <div class="col-sm-3 col-xs-12 row-label">

                                                                <asp:Literal ID="Literal4" runat="server" Text="<%$ Resources:Content,GN0000954%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:DropDownList ID="DDL_SecGateway" runat="server" data-label="Secondary Gateway">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">

                                                                <asp:Literal ID="Literal6" runat="server" Text="<%$ Resources:Content,SPT002005%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:CheckBox ID="CB_OfflineCurrency" AutoPostBack="true" runat="server" Text=" " data-label="Offline Currency Enabled" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                *
                                <asp:Literal ID="Literal5" runat="server" Text="<%$ Resources:Content,GN0000955%>" />:
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_MinAmount" runat="server" Text='<%$ Resources:Content,GN0000956 %>' data-label="Minimum Amount to Pay"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="DDL_Currency"
                                                                            Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-xs-12">
                                                                <asp:Button ID="btn_Save" SkinID="saveButton" runat="server" Text='<%$ Resources:Content,GN0000281 %>' CssClass="btn btn-primary btnAction" />
                                                                <asp:Button ID="btn_Cancel" SkinID="cancelButton" runat="server" Text='<%$ Resources:Content,GN0000572 %>'
                                                                    CausesValidation="false" CssClass="btn btn-primary" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                        <asp:ValidationSummary ID="ValidationSum_1" runat="server" HeaderText="<%$ Resources:Content,EM000001 %>"
                                            ShowMessageBox="True" ShowSummary="False" />
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID="Tab_Detail" Enabled="false" runat="server" HeaderText='<%$ Resources:Content, DGN1110331 %>'>
                                <ContentTemplate>
                                    <asp:Button ID="Btn_Tab1" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent1" runat="server" Visible="false">
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                        </EM:TabContainer>
                    </ContentTemplate>
                </ajax:UpdatePanel>
            </div>
        </div>
    </div>
</asp:Content>
