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

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

<div class="row">
    <div class="col-md-12 col-xs-12">
        <div class="card">
            <div class="header">
                <h3>
                    <asp:Literal ID="Ltl_Heading" runat="server" EnableViewState="false" Text="<%$ Resources:Content,SP0005%>" />
                </h3>
            </div>
            <div class="body">
                <div class="row">
                    <div class="col-sm-3 col-xs-12 row-label">
                        <label>
                            *<asp:Literal ID="Literal166" runat="server" Text="<%$ Resources:Content,SP0006%>"
                                EnableViewState="false" />:</label>
                    </div>
                    <div class="col-sm-4 col-xs-12">
                        <div class="form-group">
                            <div class="form-line">
                                <asp:TextBox ID="TxBx_IBAN" runat="server" ToolTip="International Bank Account Number" />
                                <asp:RequiredFieldValidator ID="RFV_TxBx_IBAN" runat="server" Display="None"
                                    SetFocusOnError="True" ControlToValidate="TxBx_IBAN" ValidationGroup="addbank"></asp:RequiredFieldValidator>
                            </div>
                        </div>
                    </div>
                    
                </div>
                <div class="row">
                    <div class="col-sm-3 col-xs-12 row-label">
                        <label>
                            *<asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:Content,SP0007%>"
                                EnableViewState="false" />:</label>
                    </div>
                    <div class="col-sm-4 col-xs-12">
                        <div class="form-group">
                            <div class="form-line">
                                <asp:TextBox ID="TxBx_BIC" runat="server" ToolTip="Bank Identifier of Customer Bank" />
                                <asp:RequiredFieldValidator ID="RFV_TxBx_BIC" runat="server" Display="None"
                                    SetFocusOnError="True" ControlToValidate="TxBx_BIC" ValidationGroup="addbank"></asp:RequiredFieldValidator>
                            </div>
                        </div>
                    </div>
                    
                </div>
                <div class="row">
                    <div class="col-sm-3 col-xs-12 row-label">
                        <label>
                            *<asp:Literal ID="Literal9" runat="server" Text="<%$ Resources:Content,String123%>"
                                EnableViewState="false" />:</label>
                    </div>
                    <div class="col-sm-4 col-xs-12">
                        <div class="form-group">
                            <div class="form-line">
                                <asp:TextBox ID="TxBx_BankName" runat="server" />
                                <asp:RequiredFieldValidator ID="RFV_TxBx_BankName" runat="server" Display="None"
                                    SetFocusOnError="True" ControlToValidate="TxBx_BankName" ValidationGroup="addbank"></asp:RequiredFieldValidator>
                            </div>
                        </div>
                    </div>
                    
                </div>
                <div class="row">
                    <div class="col-sm-3 col-xs-12 row-label">
                        <label>
                            *<asp:Literal ID="Literal10" runat="server" Text="<%$ Resources:Content,SP0008%>"
                                EnableViewState="false" />:</label>
                    </div>
                    <div class="col-sm-4 col-xs-12">
                        <div class="form-group">
                            <asp:DropDownList ID="DDL_BankAccountStatus" runat="server">
                                <asp:ListItem Text='<%$ Resources:Content, GN000195 %>' Value="1"></asp:ListItem>
                                <asp:ListItem Text='<%$ Resources:Content, GN0000860 %>' Value="2"></asp:ListItem>
                            </asp:DropDownList>
                        </div>
                    </div>
                    
                </div>
                <div class="row">
                    <div class="col-sm-3 col-xs-12 row-label">
                        <label>
                            *<asp:Literal ID="Literal11" runat="server" Text="<%$ Resources:Content,GN00001077%>"
                                EnableViewState="false" />:</label>
                    </div>
                    <div class="col-sm-4 col-xs-12">
                        <div class="form-group">
                            <div class="form-line">
                                <asp:TextBox ID="TxBx_CompanyName" runat="server" ToolTip="Customer Company Name" />
                                <asp:RequiredFieldValidator ID="RFV_TxBx_CompanyName" runat="server" Display="None"
                                    SetFocusOnError="True" ControlToValidate="TxBx_CompanyName" ValidationGroup="addbank"></asp:RequiredFieldValidator>
                            </div>
                        </div>
                    </div>
                    
                </div>
                <div class="row">
                    <div class="col-sm-3 col-xs-12 row-label">
                        <label>
                            *<asp:Literal ID="Literal12" runat="server" Text="<%$ Resources:Content,GN0000882%>"
                                EnableViewState="false" />:</label>
                    </div>
                    <div class="col-sm-4 col-xs-12">
                        <div class="form-group">
                            <asp:DropDownList ID="DDL_Countries" runat="server">
                            </asp:DropDownList>
                        </div>
                    </div>
                    
                </div>
                <div class="row" id="Tr_IsVerified" runat="server">
                    <div class="col-sm-3 col-xs-12 row-label">
                        <label>
                            *<asp:Literal ID="Literal13" runat="server" Text="<%$ Resources:Content,SP0013%>"
                                EnableViewState="false" />:</label>
                    </div>
                    <div class="col-sm-4 col-xs-12">
                        <div class="form-group">
                            <asp:CheckBox ID="ChBx_IsVerified" runat="server" Text=" " />
                        </div>
                    </div>
                    
                </div>
                <div id="TR_Verified" runat="server" style="display: none;">
                    <div class="row">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <label>
                                *<asp:Literal ID="Literal14" runat="server" Text="<%$ Resources:Content,SP0003%>"
                                    EnableViewState="false" />:</label>
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <div class="form-group">
                                <div class="form-line">
                                    <asp:TextBox ID="TxBx_MandateReference" runat="server" />
                                    <asp:RequiredFieldValidator ID="RFV_TxBx_MandateReference" runat="server" Display="None"
                                        SetFocusOnError="True" ControlToValidate="TxBx_MandateReference" ValidationGroup="addbank" Enabled="false"></asp:RequiredFieldValidator>
                                </div>
                            </div>
                        </div>
                        
                    </div>
                    <div class="row">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <label>
                                *<asp:Literal ID="Literal15" runat="server" Text="<%$ Resources:Content,SP0014%>"
                                    EnableViewState="false" />:</label>
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <div class="form-group display-date-input">
                                <div class="form-line">
                                    <asp:TextBox ID="TxBx_OrderDate" runat="server" AutoPostBack='true' onkeypress='event.preventDefault();'>
                                    </asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RFV_TxBx_OrderDate" runat="server" Display="None"
                                        SetFocusOnError="True" ControlToValidate="TxBx_OrderDate" ValidationGroup="addbank" Enabled="false"></asp:RequiredFieldValidator>
                                </div>
                            </div>
                            <i runat="server" id="A_OrderDate" class="material-icons icon-calendar col-calendar"></i>
                           
                            <EM:CalendarExtender ID="CE_OrderDate" runat="server" TargetControlID="TxBx_OrderDate"
                                Format="<%# System.Threading.Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern %>" PopupButtonID="A_OrderDate" CssClass="date__calendar">
                            </EM:CalendarExtender>
                        </div>
                    </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="addbank" />

                        <asp:Button ID="Btn_Add" runat="server" Text='<%$ Resources:Content, GN0000281 %>'
                            class="btn btn-primary waves-effect btnAction" OnClick="Btn_Add_Click" ValidationGroup="addbank" />
                        <asp:Button ID="Btn_Cancel" runat="server" Text='<%$ Resources:Content, GN0000572 %>'
                            class="btn btn-primary waves-effect" CausesValidation="False" />
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
