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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Assembly="AjaxControls" Namespace="AjaxControls" TagPrefix="EM" %>
<%@ Register Assembly="MachSol.MachPanel.Utility" Namespace="MachSol.MachPanel.Utility"
    TagPrefix="EM" %>
<%@ Register Src="~/Template/GVPager.ascx" TagName="Pager" TagPrefix="EM" %>

<asp:Content ID="Content5" ContentPlaceHolderID="CPH_Content" runat="Server">
    <script type="text/javascript" language="javascript">
        function maintainMinAmount(TB, minAmount) {
            var TxBx_MaximumAmount = document.getElementById(TB);

            if (TxBx_MaximumAmount.value == '' || TxBx_MaximumAmount.value < minAmount)
                TxBx_MaximumAmount.value = minAmount;
        }
    </script>
    <div class="col-xs-12">
        <div class="card">
            <%--<div class="header">
                <h2>
                    <asp:Literal ID="Ltl_SubsInfo" runat="server" /></h2>
            </div>--%>
            <div class="body">
                <div id="Div_Listing" runat="server">
                    <%--Filter box--%>
                    <asp:Panel ID="Pnl_Filter_Mandates" runat="server" DefaultButton="Btn_Filter">
                        <div class="row">
                            <div class="panel-group search-panel" id="AS_Mandates" role="tablist" aria-multiselectable="true">
                                <div class="col-xs-12" role="tab" id="SH_Mandates">
                                    <div class="card">
                                        <div class="header" role="button" data-toggle="collapse" data-parent="#AS_Mandates" href="#<%= CSB_Mandates.ClientID%>" aria-expanded="true" aria-controls="SH_Mandates">
                                            <h3>
                                                <%= Resources.Content.GN0000395%>
                                            </h3>
                                        </div>
                                        <div id="CSB_Mandates" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_Mandates" aria-expanded="false">
                                            <div class="row">
                                                <div class="col-md-3 col-sm-6 col-xs-12" runat="server" id="TD_OwnerTitle">
                                                    <div class="form-group form-float">
                                                        <asp:DropDownList ID="DDL_Owner" runat="server" onchange="setOwnerCookie(this)"></asp:DropDownList>
                                                    </div>
                                                </div>
                                                <%--<div class="col-md-3 col-sm-6 col-xs-12">
                                                    <div class="form-group form-float">
                                                        <asp:DropDownList ID="DDL_BanksFilter" runat="server" />
                                                    </div>
                                                </div>--%>
                                                <div class="col-md-3 col-sm-6 col-xs-12">
                                                    <div class="form-group form-float">
                                                        <asp:DropDownList ID="DDL_StatusFilter" runat="server">
                                                            <asp:ListItem Text="<%$ Resources:Content,SelectStatus%>" Value="-1" />
                                                            <asp:ListItem Text="<%$ Resources:Content,Disabled%>" Value="0" />
                                                            <asp:ListItem Text="<%$ Resources:Content,GN000195%>" Value="1" />
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="col-md-3 col-sm-6 col-xs-12">
                                                    <div class="form-group form-float">
                                                        <div class="form-line">
                                                            <asp:TextBox ID="TxBx_TransactionIdFilter" runat="server"></asp:TextBox>
                                                            <asp:Label ID="Label1" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN000122%>" class="form-label"></asp:Label>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-md-3 col-sm-6 col-xs-12">
                                                    <div class="form-group form-float">
                                                        <div class="form-line">
                                                            <asp:TextBox ID="TxBx_DebtorReferenceFilter" runat="server"></asp:TextBox>
                                                            <asp:Label ID="Label4" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DebtorReference%>" class="form-label"></asp:Label>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-md-3 col-sm-6 col-xs-12">
                                                    <div class="form-group form-float">
                                                        <div class="form-line">
                                                            <asp:TextBox ID="TxBx_DebtorIBANFilter" runat="server" style="text-transform:uppercase"></asp:TextBox>
                                                            <asp:Label ID="Label3" runat="server" EnableViewState="false" Text="<%$ Resources:Content,DebtorIBAN%>" class="form-label"></asp:Label>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-md-3 col-sm-6 col-xs-12" id="Div_ClientID" runat="server">
                                                    <div class="form-group form-float">
                                                        <div class="form-line">
                                                            <asp:TextBox ID="TxBx_ClientID" runat="server"></asp:TextBox>
                                                            <asp:Label ID="Label2" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000715%>" class="form-label"></asp:Label>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-md-3 col-sm-6 col-xs-12" id="Div_ClientName" runat="server">
                                                    <div class="form-group form-float">
                                                        <div class="form-line">
                                                            <asp:TextBox ID="TxBx_ClientName" runat="server"></asp:TextBox>
                                                            <asp:Label ID="Label7" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000268%>" class="form-label"></asp:Label>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-xs-12">
                                                    <div class="form-group form-float">
                                                        <asp:Button ID="Btn_Filter" runat="server" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000391%>" CausesValidation="false" />
                                                        <asp:Button ID="Btn_Clear" Visible="false" class="btn btn-primary waves-effect" runat="server" CausesValidation="false" Text="<%$ Resources:Content,String289 %>" />
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </asp:Panel>

                    <%--Start button--%>
                    <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 ID="BTN_AddMandate" class="btn btn-primary waves-effect btnAction" runat="server" Visible="false" Text='<%$ Resources:Content,AddNewMandate %>' />
                                    <asp:Button ID="BTN_AddMandateManual" class="btn btn-primary waves-effect btnAction" runat="server" Visible="false" Text='<%$ Resources:Content,AddNewMandate %>' />
                                </div>
                            </div>
                        </div>
                    </div>
                    <%--end button--%>

                    <div class="row">
                        <div class="col-xs-12">
                            <asp:GridView CssClass="table table-bordered table-striped table-hover" EmptyDataText="<%$ Resources:Content, GN00001375 %>"
                                ID="GV_Mandates" AllowPaging="True" AllowSorting="true" runat="server" AutoGenerateColumns="False">

                                <Columns>
                                    <asp:TemplateField HeaderText='<%$ Resources:Content, DebtorDetails %>' HeaderStyle-CssClass="col-xs-9" ItemStyle-CssClass="col-xs-9">
                                        <ItemTemplate>
                                            <table class="table small">
                                                <tbody>
                                                    <tr>
                                                        <td class="col-sm-3 col-xs-6 row-label">
                                                            <asp:Label ID="Label9" runat="server"
                                                                EnableViewState="false" Text='<%$ Resources:Content,OriginalMandateId%>'></asp:Label>:
                                                        </td>
                                                        <td class="col-sm-3 col-xs-6">
                                                            <asp:Literal ID="Ltl_MandateId" runat="server" />
                                                        </td>
                                                        <td class="col-sm-3 col-xs-6 row-label">
                                                            <asp:Label ID="Label12" runat="server"
                                                                EnableViewState="false" Text='<%$ Resources:Content,GN000122%>'></asp:Label>:
                                                        </td>
                                                        <td class="col-sm-3 col-xs-6">
                                                            <asp:Literal ID="Ltl_TransactionId" runat="server" />
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td class="col-sm-3 col-xs-6 row-label">
                                                            <asp:Label ID="Label6" runat="server"
                                                                EnableViewState="false" Text='<%$ Resources:Content,DebtorAccountName%>'></asp:Label>:
                                                        </td>
                                                        <td class="col-sm-3 col-xs-6">
                                                            <asp:Literal ID="Ltl_DebtorAccountName" runat="server" />
                                                        </td>
                                                        <td class="col-sm-3 col-xs-6 row-label">
                                                            <asp:Label ID="Literal6" runat="server"
                                                                EnableViewState="false" Text='<%$ Resources:Content,DebtorReference%>'></asp:Label>:
                                                        </td>
                                                        <td class="col-sm-3 col-xs-6">
                                                            <asp:Literal ID="Ltl_DebtorReference" runat="server" />
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td class="col-sm-3 col-xs-6 row-label">
                                                            <asp:Label ID="Label8" runat="server"
                                                                EnableViewState="false" Text='<%$ Resources:Content,DebtorBankName%>'></asp:Label>:
                                                        </td>
                                                        <td class="col-sm-3 col-xs-6">
                                                            <asp:Literal ID="Ltl_DebtorBankName" runat="server" />
                                                        </td>
                                                        <td class="col-sm-3 col-xs-6 row-label">
                                                            <asp:Label ID="Label1" runat="server"
                                                                EnableViewState="false" Text='<%$ Resources:Content,DebtorIBAN%>'></asp:Label>:
                                                        </td>
                                                        <td class="col-sm-3 col-xs-6">
                                                            <asp:Literal ID="Ltl_DebtorIBAN" runat="server" />
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td class="col-sm-3 col-xs-6 row-label">
                                                            <asp:Label ID="Label5" runat="server"
                                                                EnableViewState="false" Text='<%$ Resources:Content,IsDefault%>'></asp:Label>:
                                                        </td>
                                                        <td class="col-sm-3 col-xs-6">
                                                            <asp:Literal ID="Ltl_IsDefault" runat="server" />
                                                        </td>
                                                        <td class="col-sm-3 col-xs-6 row-label">
                                                            <asp:Label ID="Label11" runat="server"
                                                                EnableViewState="false" Text='<%$ Resources:Content,Status%>'></asp:Label>:
                                                        </td>
                                                        <td class="col-sm-3 col-xs-6">
                                                            <asp:Literal ID="Ltl_Status" runat="server" />
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td class="col-sm-3 col-xs-6 row-label">
                                                            <asp:Label ID="Label10" runat="server"
                                                                EnableViewState="false" Text='<%$ Resources:Content,IsAddedManually%>'></asp:Label>:
                                                        </td>
                                                        <td class="col-sm-3 col-xs-6">
                                                            <asp:Literal ID="Ltl_IsAddedManually" runat="server" />
                                                        </td>
                                                        <td class="col-sm-3 col-xs-6 row-label">
                                                            <asp:Label ID="LBL_ClientID" runat="server"
                                                                EnableViewState="false" Text='<%$ Resources:Content,GN0000850%>'></asp:Label>
                                                        </td>
                                                        <td class="col-sm-3 col-xs-6">
                                                            <asp:HyperLink ID="LB_ClientID" runat="server"></asp:HyperLink>
                                                        </td>
                                                    </tr>
                                                </tbody>
                                            </table>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField SortExpression="Owner" HeaderText='<%$ Resources:Content,SPT002811%>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                        <ItemTemplate>
                                            <asp:HyperLink ID="Lbtn_Owner" runat="server"></asp:HyperLink>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText='<%$ Resources:Content, GN0000360 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                        <ItemTemplate>
                                            <ul class="option-menu" id="UL_Options" runat="server">
                                                <li class="dropdown">
                                                    <a href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
                                                        <i class="material-icons">menu</i>
                                                    </a>
                                                    <ul class="dropdown-menu pull-right" id="UL_OptionMenu" runat="server">
                                                        <li>
                                                            <asp:LinkButton ID="LB_ShowStatus" CommandName="ShowStatus"
                                                                runat="server" Text="<%$ Resources:Content,ShowStatus%>" /></li>
                                                        <li>
                                                            <asp:LinkButton ID="LB_EnableDisable" CssClass="btnAction" CommandName="EnableDisable" runat="server" /></li>
                                                        <li>
                                                            <asp:LinkButton ID="LB_SetAsDefault" CssClass="btnAction" CommandName="SetAsDefault"
                                                                runat="server" Text="<%$ Resources:Content,strSetAsDefault%>" />
                                                        </li>
                                                    </ul>
                                                </li>
                                            </ul>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                </Columns>
                                <%--PagerTemplate Start--%>
                                <PagerTemplate>
                                    <EM:Pager ID="Pager1" runat="server" />
                                </PagerTemplate>
                                <%--PagerTemplate End--%>
                            </asp:GridView>
                        </div>
                    </div>
                </div>

                <div class="row" id="Div_ShowStatus" runat="server" visible="false">
                    <div class="col-xs-12">
                        <div class="card">
                            <div class="header">
                                <h2><%= Resources.Content.eMandateStatus%></h2>
                            </div>
                            <div class="body">
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label><%= Resources.Content.GN000122%>:</label>
                                    </div>
                                    <div class="col-sm-3 col-xs-12" id="Div_TransactionId" runat="server">
                                    </div>
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label><%= Resources.Content.Status%>:</label>
                                    </div>
                                    <div class="col-sm-3 col-xs-12" id="Div_Status" runat="server">
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label><%= Resources.Content.MessageId%>:</label>
                                    </div>
                                    <div class="col-sm-3 col-xs-12" id="Div_MessageId" runat="server">
                                    </div>
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label><%= Resources.Content.ValidationReference%>:</label>
                                    </div>
                                    <div class="col-sm-3 col-xs-12" id="Div_ValidationReference" runat="server">
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label><%= Resources.Content.OriginalMessageId%>:</label>
                                    </div>
                                    <div class="col-sm-3 col-xs-12" id="Div_OriginalMessageId" runat="server">
                                    </div>
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label><%= Resources.Content.MessageNameId%>:</label>
                                    </div>
                                    <div class="col-sm-3 col-xs-12" id="Div_MessageNameId" runat="server">
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label><%= Resources.Content.AcceptedResult%>:</label>
                                    </div>
                                    <div class="col-sm-3 col-xs-12" id="Div_AcceptedResult" runat="server">
                                    </div>
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label><%= Resources.Content.OriginalMandateId%>:</label>
                                    </div>
                                    <div class="col-sm-3 col-xs-12" id="Div_OriginalMandateId" runat="server">
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label><%= Resources.Content.MandateRequestId%>:</label>
                                    </div>
                                    <div class="col-sm-3 col-xs-12" id="Div_MandateRequestId" runat="server">
                                    </div>
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label><%= Resources.Content.ServiceLevelCode%>:</label>
                                    </div>
                                    <div class="col-sm-3 col-xs-12" id="Div_ServiceLevelCode" runat="server">
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label><%= Resources.Content.LocalInstrumentCode%>:</label>
                                    </div>
                                    <div class="col-sm-3 col-xs-12" id="Div_LocalInstrumentCode" runat="server">
                                    </div>
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label><%= Resources.Content.SequenceType%>:</label>
                                    </div>
                                    <div class="col-sm-3 col-xs-12" id="Div_SequenceType" runat="server">
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label><%= Resources.Content.MaximumAmount%>:</label>
                                    </div>
                                    <div class="col-sm-3 col-xs-12" id="Div_MaxAmount" runat="server">
                                    </div>
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label><%= Resources.Content.EMandateReason%>:</label>
                                    </div>
                                    <div class="col-sm-3 col-xs-12" id="Div_EMandateReason" runat="server">
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label><%= Resources.Content.CreditorId%>:</label>
                                    </div>
                                    <div class="col-sm-3 col-xs-12" id="Div_CreditorId" runat="server">
                                    </div>
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label><%= Resources.Content.SchemeName%>:</label>
                                    </div>
                                    <div class="col-sm-3 col-xs-12" id="Div_SchemeName" runat="server">
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label><%= Resources.Content.CreditorName%>:</label>
                                    </div>
                                    <div class="col-sm-3 col-xs-12" id="Div_CreditorName" runat="server">
                                    </div>
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label><%= Resources.Content.CreditorCountry%>:</label>
                                    </div>
                                    <div class="col-sm-3 col-xs-12" id="Div_CreditorCountry" runat="server">
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label><%= Resources.Content.DebtorAccountName%>:</label>
                                    </div>
                                    <div class="col-sm-3 col-xs-12" id="Div_DebtorAccountName" runat="server">
                                    </div>
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label><%= Resources.Content.DebtorReference%>:</label>
                                    </div>
                                    <div class="col-sm-3 col-xs-12" id="Div_DebtorReference" runat="server">
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label><%= Resources.Content.DebtorIBAN%>:</label>
                                    </div>
                                    <div class="col-sm-3 col-xs-12" id="Div_DebtorIban" runat="server">
                                    </div>
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label><%= Resources.Content.DebtorBankId%>:</label>
                                    </div>
                                    <div class="col-sm-3 col-xs-12" id="Div_DebtorBankId" runat="server">
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label><%= Resources.Content.DebtorSignerName%>:</label>
                                    </div>
                                    <div class="col-sm-3 col-xs-12" id="Div_DebtorSignerName" runat="server">
                                    </div>
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label><%= Resources.Content.DateTime%>:</label>
                                    </div>
                                    <div class="col-sm-3 col-xs-12" id="Div_DateTime" runat="server">
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-xs-12">
                                        <asp:Button ID="Btn_Close" runat="server" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN000150%>" CausesValidation="false" />
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row" id="Div_AddMandate" runat="server" visible="false">
                    <div class="col-xs-12">
                        <div class="card">
                            <div class="header">
                                <h2><%= Resources.Content.AddNewMandate%></h2>
                            </div>
                            <div class="body">
                                <%--<div class="row" ID="Div_CustomerAdd" runat="server">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label><%= Resources.Content.GN0000889%>:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:DropDownList ID="DDL_Customer" runat="server" />
                                                        </div>
                                                    </div>
                                                </div>--%>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label><%= Resources.Content.Instrumentation%>:</label>
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <asp:DropDownList ID="DDL_Instrumentation" runat="server" AutoPostBack="true">
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                </div>

                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label><%= Resources.Content.SelectBank%>:</label>
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <asp:DropDownList ID="DDL_ConsumerBank" runat="server" />
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label>*<%= Resources.Content.SP0006%>:</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" style="text-transform:uppercase" />
                                            </div>
                                        </div>
                                        <asp:RequiredFieldValidator ID="RFV_TxBx_IBAN" runat="server" Display="None"
                                            SetFocusOnError="True" ValidationGroup="addmandate" ControlToValidate="TxBx_IBAN" />
                                    </div>
                                </div>
                                <%--<div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label>*<%= Resources.Content.SP0007%>:</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" style="text-transform:uppercase" />
                                            </div>
                                        </div>
                                        <asp:RequiredFieldValidator ID="RFV_TxBx_BIC" runat="server" Display="None"
                                            SetFocusOnError="True" ValidationGroup="addmandate" ControlToValidate="TxBx_BIC" />
                                    </div>
                                </div>--%>
                                <%--
                                                <div class="row">
                                                    <div class="col-sm-3 col-xs-12 row-label">
                                                        <label>*<%= Resources.Content.MaximumAmount%>:</label>
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <div class="form-line">
                                                                <asp:TextBox ID="TxBx_MaximumAmount" runat="server" Text="0" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>--%>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label><%= Resources.Content.IsDefault%>:</label>
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <asp:CheckBox ID="CB_IsDefault" runat="server" Checked="true" Text=" " />
                                        </div>
                                    </div>
                                </div>

                                <div class="row" id="Div_NoticeAgreement" runat="server">
                                    <div class="col-xs-12 row-label">
                                        <%= Resources.Content.noticeAgreement%>
                                    </div>
                                    <div class="col-xs-12 row-label">
                                        <%= Resources.Content.BusinessDebitMandateNotPossible%>
                                    </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="addmandate" />
                                        <asp:Button ID="Btn_Save" runat="server" class="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,GN0000281%>" ValidationGroup="addmandate" />
                                        <asp:Button ID="Btn_Cancel" runat="server" CausesValidation="false" class="btn btn-primary waves-effect"
                                            Text="<%$ Resources:Content,GN0000572%>" />
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="row" id="Div_AddMandateManually" runat="server" visible="false">
                    <div class="col-xs-12">
                        <div class="card">
                            <div class="header">
                                <h2><%= Resources.Content.AddNewMandate%></h2>
                            </div>
                            <div class="body">
                                <%--<div class="row" ID="Div_OwnerAddMandate" runat="server" visible="false">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label><%= Resources.Content.L00108%>:</label>
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <asp:DropDownList ID="DDL_OwnerAddMandate" runat="server" />
                                        </div>
                                    </div>
                                </div>--%>
                                <div class="row" id="Div_Customer" runat="server">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label><%= Resources.Content.GN0000889%>:</label>
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <asp:DropDownList ID="DDL_Customer" runat="server" AutoPostBack="true" />
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label>*&nbsp;<%= Resources.Content.Instrumentation%>:</label>
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <asp:DropDownList ID="DDL_InstrumentationManual" runat="server">
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label>*&nbsp;<%= Resources.Content.TypeOfPayment%>:</label>
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <asp:DropDownList ID="DDL_TypeOfPayment" runat="server">
                                                <%--<asp:ListItem Text="<%$ Resources:Content,SelectTypeOfPayment%>" Value="-1" Selected="True" />--%>
                                                <asp:ListItem Text="RCUR" Value="RCUR" />
                                                <asp:ListItem Text="FRST" Value="FRST" />
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label>*&nbsp;<%= Resources.Content.OriginalMandateId%>:</label>
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <div class="form-line">
                                                <asp:TextBox ID="Txbx_OriginalMandateId" runat="server" />
                                            </div>
                                        </div>
                                        <asp:RequiredFieldValidator ID="RFV_Txbx_OriginalMandateId" runat="server" Display="None"
                                            SetFocusOnError="True" ValidationGroup="addmandatem" ControlToValidate="Txbx_OriginalMandateId" />
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label>*&nbsp;<%= Resources.Content.MandateDate%>:</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_MandateDate" runat="server" Enabled="false" />
                                            </div>
                                        </div>
                                        <i runat="server" id="A_MandateDate" class="material-icons icon-calendar col-calendar"></i>
                                        <EM:CalendarExtender ID="CE_MandateDate" runat="server" TargetControlID="TxBx_MandateDate"
                                            Format="<%# System.Threading.Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern %>"
                                            PopupButtonID="A_MandateDate" CssClass="date__calendar">
                                        </EM:CalendarExtender>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label>*&nbsp;<%= Resources.Content.DebtorBankId%>:</label>
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <div class="form-line">
                                                <asp:TextBox ID="TxBx_DebtorBankId" runat="server" />
                                            </div>
                                        </div>
                                        <asp:RequiredFieldValidator ID="RFV_TxBx_DebtorBankId" runat="server" Display="None"
                                            SetFocusOnError="True" ValidationGroup="addmandatem" ControlToValidate="TxBx_DebtorBankId" />
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label>*&nbsp;<%= Resources.Content.DebtorBankName%>:</label>
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <div class="form-line">
                                                <asp:TextBox ID="TxBx_DebtorBankName" runat="server" />
                                            </div>
                                        </div>
                                        <asp:RequiredFieldValidator ID="RFV_TxBx_DebtorBankName" runat="server" Display="None"
                                            SetFocusOnError="True" ValidationGroup="addmandatem" ControlToValidate="TxBx_DebtorBankName" />
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label>*&nbsp;<%= Resources.Content.DebtorSignerName%>:</label>
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <div class="form-line">
                                                <asp:TextBox ID="TxBx_DebtorSignerName" runat="server" />
                                            </div>
                                        </div>
                                        <asp:RequiredFieldValidator ID="RFV_TxBx_DebtorSignerName" runat="server" Display="None"
                                            SetFocusOnError="True" ValidationGroup="addmandatem" ControlToValidate="TxBx_DebtorSignerName" />
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label>*&nbsp;<%= Resources.Content.DebtorReference%>:</label>
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <div class="form-line">
                                                <asp:TextBox ID="TxBx_DebtorReference" runat="server" />
                                            </div>
                                        </div>
                                        <asp:RequiredFieldValidator ID="RFV_TxBx_DebtorReference" runat="server" Display="None"
                                            SetFocusOnError="True" ValidationGroup="addmandatem" ControlToValidate="TxBx_DebtorReference" />
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label>*&nbsp;<%= Resources.Content.DebtorCompanyName%>:</label>
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <div class="form-line">
                                                <asp:TextBox ID="TxBx_DebtorAccountName" runat="server" />
                                            </div>
                                        </div>
                                        <asp:RequiredFieldValidator ID="RFV_TxBx_DebtorAccountName" runat="server" Display="None"
                                            SetFocusOnError="True" ValidationGroup="addmandatem" ControlToValidate="TxBx_DebtorAccountName" />
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label>*&nbsp;<%= Resources.Content.DebtorIBAN%>:</label>
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <div class="form-line">
                                                <asp:TextBox ID="TxBx_DebtorIBAN" runat="server" style="text-transform:uppercase" />
                                            </div>
                                        </div>
                                        <asp:RequiredFieldValidator ID="RFV_TxBx_DebtorIBAN" runat="server" Display="None"
                                            SetFocusOnError="True" ValidationGroup="addmandatem" ControlToValidate="TxBx_DebtorIBAN" />
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label>*&nbsp;<%= Resources.Content.DebtorBIC%>:</label>
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <div class="form-line">
                                                <asp:TextBox ID="TxBx_DebtorBIC" runat="server" style="text-transform:uppercase" />
                                            </div>
                                        </div>
                                        <asp:RequiredFieldValidator ID="RFV_TxBx_DebtorBIC" runat="server" Display="None"
                                            SetFocusOnError="True" ValidationGroup="addmandatem" ControlToValidate="TxBx_DebtorBIC" />
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label>*&nbsp;<%= Resources.Content.DebtorStreetAddress%>:</label>
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <div class="form-line">
                                                <asp:TextBox ID="TxBx_DebtorStreetAddress" runat="server" />
                                            </div>
                                        </div>
                                        <asp:RequiredFieldValidator ID="RFV_TxBx_DebtorStreetAddress" runat="server" Display="None"
                                            SetFocusOnError="True" ValidationGroup="addmandatem" ControlToValidate="TxBx_DebtorStreetAddress" />
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label>*&nbsp;<%= Resources.Content.DebtorZip%>:</label>
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <div class="form-line">
                                                <asp:TextBox ID="TxBx_DebtorZip" runat="server" />
                                            </div>
                                        </div>
                                        <asp:RequiredFieldValidator ID="RFV_TxBx_DebtorZip" runat="server" Display="None"
                                            SetFocusOnError="True" ValidationGroup="addmandatem" ControlToValidate="TxBx_DebtorZip" />
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label>*&nbsp;<%= Resources.Content.DebtorCity%>:</label>
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <div class="form-line">
                                                <asp:TextBox ID="TxBx_DebtorCity" runat="server" />
                                            </div>
                                        </div>
                                        <asp:RequiredFieldValidator ID="RFV_TxBx_DebtorCity" runat="server" Display="None"
                                            SetFocusOnError="True" ValidationGroup="addmandatem" ControlToValidate="TxBx_DebtorCity" />
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label>*&nbsp;<%= Resources.Content.DebtorCountry%>:</label>
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <asp:DropDownList ID="DDL_DebtorCountry" runat="server" />
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label><%= Resources.Content.Description%>:</label>
                                    </div>
                                    <div class="col-sm-9 col-xs-12">
                                        <div class="form-group">
                                            <asp:TextBox ID="TxBx_Description" runat="server" TextMode="MultiLine" Rows="8" />
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <label><%= Resources.Content.IsDefault%>:</label>
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <asp:CheckBox ID="ChBx_IsDefaultManual" runat="server" Checked="true" Text=" " />
                                        </div>
                                    </div>
                                </div>

                                <div class="row" id="Div_NoticeAgreementManual" runat="server">
                                    <div class="col-xs-12 row-label">
                                        <%= Resources.Content.noticeAgreement%>
                                    </div>
                                    <div class="col-xs-12 row-label">
                                        <%= Resources.Content.BusinessDebitMandateNotPossible%>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-xs-12">
                                        <asp:ValidationSummary HeaderText='<%$ Resources:Content,EM000001 %>' ID="ValidationSummary2"
                                            runat="server" ShowMessageBox="True" ShowSummary="False" ValidationGroup="addmandatem" />
                                        <asp:Button ID="Btn_SaveManual" runat="server" class="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,GN0000281%>" ValidationGroup="addmandatem" />
                                        <asp:Button ID="Btn_CancelManual" runat="server" CausesValidation="false" class="btn btn-primary waves-effect"
                                            Text="<%$ Resources:Content,GN0000572%>" />
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

            </div>
        </div>
    </div>
</asp:Content>
