<%@ control language="VB" autoeventwireup="false" inherits="RCC_System_CC_Provider_RazorPay, MachSol.MachPanel.Web" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>

<ajax:UpdatePanel ID="UP_Providers" runat="server">
    <ContentTemplate>
        <asp:Panel ID="Pnl_RazorPay" runat="server" DefaultButton="Btn_Save">
            <div class="row">
                <div class="col-xs-12">
                    <div class="card">
                        <div class="header">
                            <h3><%= Resources.Content.DGN1110096%>  </h3>
                        </div>
                        <div class="body">
                            <div class="row">
                                <div class="col-sm-3 col-xs-12 row-label">
                                    <asp:Literal ID="Literal3" runat="server" Text='<%$ Resources:Content,DGN1110096 %>' />
                                </div>
                                <div class="col-sm-4 col-xs-12" id="Td_GatewayName" runat="server">
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-3 col-xs-12 row-label">
                                    <asp:Literal ID="Literal18" runat="server" Text='<%$ Resources:Content, SPT002121 %>' />:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <div class="form-line">
                                            <asp:TextBox ID="TxBx_FriendlyName" runat="server" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-3 col-xs-12 row-label">
                                    <asp:Literal ID="Div1" runat="server" Text='<%$ Resources:Content,GN000195 %>' />
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:DropDownList ID="DDL_Enabled" AutoPostBack="true" runat="server">
                                            <asp:ListItem Selected="True" Value="True" Text='<%$ Resources:Content,GN0000004 %>'></asp:ListItem>
                                            <asp:ListItem Value="False" Text='<%$ Resources:Content,GN0000005 %>'></asp:ListItem>
                                        </asp:DropDownList>
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-3 col-xs-12 row-label">
                                    <asp:Literal ID="Div6" runat="server" Text='<%$ Resources:Content,GN00001115 %>' />
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:DropDownList ID="DDL_EnableTestMode" AutoPostBack="true" runat="server">
                                            <asp:ListItem Value="True" Text='<%$ Resources:Content,GN0000004 %>'></asp:ListItem>
                                            <asp:ListItem Selected="True" Value="False" Text='<%$ Resources:Content,GN0000005 %>'></asp:ListItem>
                                        </asp:DropDownList>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>


            <div class="row">
                <div class="col-xs-12">
                    <div class="card">
                        <div class="header">
                            <h3><%= Resources.Content.DGN1110520%>  </h3>
                        </div>
                        <div class="body">
                            <div class="row">
                                <div class="col-sm-3 col-xs-12 row-label">
                                    *<asp:Literal ID="Div2" runat="server" Text='<%$ Resources:Content,APIKey %>' />:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <div class="form-line">
                                            <asp:TextBox ID="TxBx_APIKey" runat="server" />
                                            <asp:RequiredFieldValidator ID="RFV_TxBx_APIKey" runat="server" Display="None" SetFocusOnError="True"
                                                ValidationGroup="ep" ControlToValidate="TxBx_APIKey"></asp:RequiredFieldValidator>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-3 col-xs-12 row-label">
                                    *<asp:Literal ID="Div3" runat="server" Text='<%$ Resources:Content, SPT002024 %>' />:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <div class="form-line">
                                            <asp:TextBox ID="TxBx_SecretKey" runat="server" />
                                            <asp:RequiredFieldValidator ID="RFV_TxBx_SecretKey" runat="server" Display="None"
                                                SetFocusOnError="True" ValidationGroup="ep" ControlToValidate="TxBx_SecretKey" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-3 col-xs-12 row-label">
                                    *<asp:Literal ID="Literal4" runat="server" Text='<%$ Resources:Content,SPT002004 %>' />:
                                </div>
                                <div class="col-sm-9 col-xs-12">
                                    <div class="form-group">
                                        <asp:TextBox ID="TxBx_Text" TextMode="MultiLine" runat="server"></asp:TextBox>
                                    </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,strGatewayHandlingFee %>' />:
                                </div>
                                <div class="col-sm-2 col-xs-12">
                                    <div class="form-group">
                                        <div class="form-line">
                                            <asp:TextBox ID="TxBx_GatewayHandlingFee" runat="server"></asp:TextBox>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-sm-6 col-xs-12">
                                    <asp:Literal ID="Literal5" runat="server" Text='<%$ Resources:Content,strGatewayHandlingFeeNote %>' />
                                </div>
                            </div>


                            <div class="row">
                                <div class="col-xs-12">
                                    <asp:ValidationSummary HeaderText='<%$ Resources:Content,EM000001 %>' ID="ValidationSummary1"
                                        runat="server" ShowMessageBox="True" ShowSummary="False" ValidationGroup="ep" />
                                </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="ep" />
                                    <asp:Button CssClass="btn btn-primary" Text='<%$ Resources:Content,GN0000572 %>' ID="Btn_Cancel" runat="server" SkinID="cancelButton" CausesValidation="false" />
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </asp:Panel>
    </ContentTemplate>
    <Triggers>
        <ajax:PostBackTrigger ControlID="Btn_Save" />
        <ajax:PostBackTrigger ControlID="Btn_Cancel" />
    </Triggers>
</ajax:UpdatePanel>