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

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

<asp:Content ID="Content7" ContentPlaceHolderID="CPH_Content" runat="Server">

    <div class="col-xs-12">
        <div class="card">
            <div class="body">
                <ajax:UpdatePanel ID="UP_Documents" runat="server">
                    <ContentTemplate>
                        <EM:TabContainer ID="TC_Documents" runat="server" OnClientActiveTabChanged="loadTabPanel">
                            <EM:TabPanel ID="Tab_Transactions" runat="server" HeaderText='<%$ Resources:Content, GN00001399 %>'>
                                <ContentTemplate>
                                    <asp:Button ID="Btn_Tab0" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent0" runat="server" DefaultButton="Btn_Submit">
                                        <div class="row">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="header">
                                                        <h3><%= Resources.Content.GN000119%></h3>
                                                    </div>
                                                    <div class="body">
                                                        <div class="row">
                                                            <div class="col-xs-12 row-label">
                                                                <label>
                                                                    <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:Content,GN0000820%>"
                                                                        EnableViewState="false" />:<label>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-6 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:DropDownList ID="DDL_DueInvoices" runat="server" AutoPostBack="true">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-xs-12 row-label">
                                                                <label>
                                                                    <asp:Literal ID="Div2" runat="server" EnableViewState="false" Text='<%$ Resources:Content, GN0000821 %>' /></label>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <label>
                                                                    <asp:Literal ID="Literal2" runat="server" EnableViewState="false" Text='<%$ Resources:Content, GN0000822 %>' /></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_DatePaid" runat="server" Enabled="False"></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                                <i runat="server" id="A_DatePaid" class="material-icons icon-calendar col-calendar"></i>
                                                               
                                                                <EM:CalendarExtender ID="CE_DatePaid" runat="server" TargetControlID="TxBx_DatePaid"
                                                                    Format="<%# System.Threading.Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern %>" PopupButtonID="A_DatePaid" CssClass="date__calendar">
                                                                </EM:CalendarExtender>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <label>
                                                                    <asp:Literal ID="Literal3" runat="server" EnableViewState="false" Text='<%$ Resources:Content, GN000120 %>' /></label>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_AmountPaid" runat="server"></asp:TextBox>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <label>
                                                                    *<asp:Literal ID="Literal4" runat="server" EnableViewState="false" Text='<%$ Resources:Content, GN000122 %>' /></label>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <div class="form-line">
                                                                        <asp:TextBox ID="TxBx_TranId" runat="server"></asp:TextBox>
                                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate='TxBx_TranId' ValidationGroup="Save"
                                                                            runat="server" Display="None" SetFocusOnError="true"></asp:RequiredFieldValidator>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <asp:Literal ID="Div6" runat="server" Text='<%$ Resources:Content, GN0000825 %>' />
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <label>
                                                                    <asp:Literal ID="Literal5" runat="server" EnableViewState="false" Text='<%$ Resources:Content, GN000124 %>' /></label>
                                                            </div>
                                                            <div class="col-sm-4 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:DropDownList ID="DDL_PaymentMethod" runat="server">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <label>
                                                                    <asp:Literal ID="Literal6" runat="server" EnableViewState="false" Text='<%$ Resources:Content, GN0000827 %>' /></label>
                                                            </div>
                                                            <div class="col-sm-8 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:CheckBox ID="CB_IsApproved" Checked="true" runat="server" Text=" " />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <label>
                                                                    <asp:Literal ID="Literal7" runat="server" EnableViewState="false" Text='<%$ Resources:Content, GN0000828 %>' /></label>
                                                            </div>
                                                            <div class="col-sm-8 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:CheckBox ID="CB_SendEmail" Checked="true" runat="server" Text=" " />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-sm-3 col-xs-12 row-label">
                                                                <label>
                                                                    *<asp:Literal ID="Literal8" runat="server" EnableViewState="false" Text='<%$ Resources:Content, GN000148 %>' /></label>
                                                            </div>
                                                            <div class="col-sm-8 col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:TextBox ID="TxBx_Comments" TextMode="MultiLine" runat="server" Height="150px" Width="100%"></asp:TextBox>
                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate='TxBx_Comments' ValidationGroup="Save"
                                                                        runat="server" Display="None" SetFocusOnError="true"></asp:RequiredFieldValidator>
                                                                    <asp:ValidationSummary ID="ValidationSummary1" ValidationGroup="Save" runat="server" HeaderText='<%$ Resources:Content, EM000001 %>'
                                                                        ShowSummary="false" ShowMessageBox="true" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="row">
                                                            <div class="col-xs-12">
                                                                <asp:Button ID="Btn_Submit" runat="server" ValidationGroup="Save" Text="<%$Resources:Content,GN0000281%>" class="btn btn-primary waves-effect btnAction" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                            <EM:TabPanel ID="Tab_Detail" runat="server" Enabled="false" HeaderText='<%$ Resources:Content, String170 %>'>
                                <ContentTemplate>
                                    <asp:Button ID="Btn_Tab1" runat="server" Style="display: none;" />
                                    <asp:Panel ID="Pnl_TabContent1" runat="server" Visible="false">
                                        <div class="row">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="body">
                                                        <div class="row">
                                                            <div class="xol-xs-12">
                                                                <asp:Literal ID="Ltrl" Text='<%$ Resources:Content, SPT002757 %>' runat="server"></asp:Literal>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                </ContentTemplate>
                            </EM:TabPanel>
                        </EM:TabContainer>
                    </ContentTemplate>
                </ajax:UpdatePanel>
            </div>
        </div>
    </div>
</asp:Content>
