<%@ control language="VB" autoeventwireup="false" inherits="RCC_System_CC_Provider_PayiBANSEPA, MachSol.MachPanel.Web" %>

<ajax:UpdatePanel ID="UP_Providers" runat="server">
    <ContentTemplate>
        <asp:Panel ID="Pnl_PayiBANSEPA" 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-4 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-4 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-4 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-4 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-4 col-xs-12 row-label">
                                    *<asp:Literal ID="Literal1" runat="server" Text='<%$ Resources:Content, TenantAPIKey %>' />:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <div class="form-line">
                                            <asp:TextBox ID="TxBx_TenantAPIKey" runat="server" />
                                            <asp:RequiredFieldValidator ID="RFV_TenantAPIKey" runat="server" Display="None"
                                                SetFocusOnError="True" ValidationGroup="payiban" ControlToValidate="TxBx_TenantAPIKey" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-4 col-xs-12 row-label">
                                    *<asp:Literal ID="Div3" runat="server" Text='<%$ Resources:Content, TenantRESTAPIURL %>' />:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <div class="form-line">
                                            <asp:TextBox ID="TxBx_TenantRESTAPIURL" runat="server" ReadOnly="true" />
                                            <asp:RequiredFieldValidator ID="RFV_TenantRESTAPIURL" runat="server" Display="None"
                                                SetFocusOnError="True" ValidationGroup="payiban" ControlToValidate="TxBx_TenantRESTAPIURL" />
                                        </div>
                                    </div>
                                </div>
                                <div class="col-sm-4 col-xs-12 row-label">
                                    LIVE URL: https://payibank.io/api
                                    <br />
                                    TEST URL: https://acc.payibank.io/api
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-4 col-xs-12 row-label">
                                    *<asp:Literal ID="Literal2" runat="server" Text='<%$ Resources:Content, PayiBANAPIUserName %>' />:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <div class="form-line">
                                            <asp:TextBox ID="TxBx_PayiBANAPIUserName" runat="server" />
                                            <asp:RequiredFieldValidator ID="RFV_PayiBANAPIUserName" runat="server" Display="None"
                                                SetFocusOnError="True" ValidationGroup="payiban" ControlToValidate="TxBx_PayiBANAPIUserName" />
                                        </div>
                                    </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, PayiBANAPIPassword %>' />:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <div class="form-line">
                                            <asp:TextBox ID="TxBx_PayiBANAPIPassword" runat="server" />
                                            <asp:RequiredFieldValidator ID="RFV_PayiBANAPIPassword" runat="server" Display="None"
                                                SetFocusOnError="True" ValidationGroup="payiban" ControlToValidate="TxBx_PayiBANAPIPassword" />
                                        </div>
                                    </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, PayiBANClientID %>' />:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <div class="form-line">
                                            <asp:TextBox ID="TxBx_PayiBANClientID" runat="server" />
                                            <asp:RequiredFieldValidator ID="RFV_PayiBANClientID" runat="server" Display="None"
                                                SetFocusOnError="True" ValidationGroup="payiban" ControlToValidate="TxBx_PayiBANClientID" />
                                        </div>
                                    </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, PayiBANAPIURL %>' />:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <div class="form-line">
                                            <asp:Label ID="Lbl_PayiBANAPIURL" runat="server" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-4 col-xs-12 row-label">
                                    *<asp:Literal ID="Literal8" runat="server" Text='<%$ Resources:Content, SP0006 %>' />:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <div class="form-line">
                                            <asp:TextBox ID="TxBx_IBAN" runat="server" style="text-transform:uppercase" />
                                            <asp:RequiredFieldValidator ID="RFV_TxBx_IBAN" runat="server" Display="None"
                                                SetFocusOnError="True" ValidationGroup="payiban" ControlToValidate="TxBx_IBAN" />
                                        </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, SP0007 %>' />:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <div class="form-line">
                                            <asp:TextBox ID="TxBx_BIC" runat="server" style="text-transform:uppercase" />
                                            <asp:RequiredFieldValidator ID="RFV_TxBx_BIC" runat="server" Display="None"
                                                SetFocusOnError="True" ValidationGroup="payiban" ControlToValidate="TxBx_BIC" />
                                        </div>
                                    </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, SP0004 %>' />:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <div class="form-line">
                                            <asp:TextBox ID="TxBx_CollectorID" runat="server" />
                                            <asp:RequiredFieldValidator ID="RFV_TxBx_CollectorID" runat="server" Display="None"
                                                SetFocusOnError="True" ValidationGroup="payiban" ControlToValidate="TxBx_CollectorID" />
                                        </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, CreditorId %>' />:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <div class="form-line">
                                            <asp:TextBox ID="TxBx_CreditorId" runat="server" />
                                            <asp:RequiredFieldValidator ID="RFV_TxBx_CreditorId" runat="server" Display="None"
                                                SetFocusOnError="True" ValidationGroup="payiban" ControlToValidate="TxBx_CreditorId" />
                                        </div>
                                    </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, CreditorName %>' />:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <div class="form-line">
                                            <asp:TextBox ID="TxBx_CreditorName" runat="server" />
                                            <asp:RequiredFieldValidator ID="RFV_TxBx_CreditorName" runat="server" Display="None"
                                                SetFocusOnError="True" ValidationGroup="payiban" ControlToValidate="TxBx_CreditorName" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-4 col-xs-12 row-label">
                                    <asp:Literal ID="Literal13" runat="server" Text='<%$ Resources:Content, CreditorCountry %>' />:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:DropDownList ID="DDL_CreditorCountry" runat="server" />
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-4 col-xs-12 row-label">
                                    <asp:Literal ID="Literal16" runat="server" Text='<%$ Resources:Content, Instrumentation %>' />:
                                </div>
                                <div class="col-sm-8 col-xs-12 row-label">
                                    <%--Opt1: Radio: IsDefault, Checkbox: [IsEnabled]
                                        Opt2: Radio: IsDefault, Checkbox [IsEnabled] --%>
                                    <asp:Literal ID="Ltl_B2B" runat="server" Text='B2B' /> &nbsp;&nbsp;
                                    <asp:RadioButton ID="RB_B2B" runat="server" GroupName="Instrumentation" Text="<%$ Resources:Content, IsDefault %>" /> &nbsp;&nbsp;
                                    <asp:Checkbox ID="CB_B2B" runat="server" Text="<%$ Resources:Content, IsEnabled %>" />
                                    <br /><br />
                                    <asp:Literal ID="Ltl_Core" runat="server" Text='Core' /> &nbsp;&nbsp;
                                    <asp:RadioButton ID="RB_Core" runat="server" GroupName="Instrumentation" Text="<%$ Resources:Content, IsDefault %>" /> &nbsp;&nbsp;
                                    <asp:Checkbox ID="CB_Core" runat="server" Text="<%$ Resources:Content, IsEnabled %>" />
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-4 col-xs-12 row-label">
                                    <asp:Literal ID="Literal17" runat="server" Text="<%$ Resources:Content,AllowCreateProfileFromStore%>" />:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:CheckBox Text=" " ID="CB_AllowCreateProfileFromStore" runat="server"></asp:CheckBox>
                                    </div>
                                </div>
                            </div>
                            <div class="row" id="Div_RestrictReseller" runat="server">
                                <div class="col-sm-4 col-xs-12 row-label">
                                    <asp:Literal ID="Literal55" runat="server" Text="<%$ Resources:Content,RestrictReseller%>" />:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:CheckBox Text=" " ID="ChBx_RestrictReseller" runat="server"></asp:CheckBox>
                                    </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,SPT002004 %>' />:
                                </div>
                                <div class="col-sm-8 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-4 col-xs-12 row-label">
                                    *
                                     <asp:Literal ID="Literal14" 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="Literal15" 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="payiban" />
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-xs-12">
                                    <asp:Button CssClass="btn btn-primary btnAction" ID="Btn_Save" runat="server" Text='<%$ Resources:Content,GN0000281 %>' ValidationGroup="payiban" />
                                    <asp:Button CssClass="btn btn-primary" Text='<%$ Resources:Content,GN0000572 %>' ID="Btn_Cancel" runat="server" 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>
