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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<asp:Content ID="Content8" ContentPlaceHolderID="CPH_Content" runat="Server">

    <script type="text/javascript" language="javascript">
        function AmountChange(CS, AM, P1, P2, P3) {
            var TxBx_Amount = document.getElementById(AM);
            var CSV = CS + ' ';
            FormatPrice(AM, CSV, P1, P2, P3);
        }
    </script>

    <div class="col-xs-12">
        <div class="card" id="Pnl_IssueCredit" runat="server">
            <div class="header">
                <h2>
                    <%= Resources.Content.SM100019%>
                </h2>
            </div>
            <div class="body">
                <div class="row">
                    <div class="col-sm-3 col-xs-12 row-label">
                        <label>
                            <asp:Literal ID='asdf' runat="server" Text='<%$ Resources:Content, GN0000721 %>' EnableViewState="false" />:</label>
                    </div>
                    <div class="col-sm-4 col-xs-10">
                        <div class="form-group display-date-input">
                            <div class="form-line">
                                <asp:TextBox ID="TxBx_Date" Enabled="false" runat="server"></asp:TextBox>
                            </div>
                        </div>
                        <i runat="server" id="A_Date" class="material-icons icon-calendar col-calendar"></i>
                        <EM:CalendarExtender ID="CE_Date" runat="server" TargetControlID="TxBx_Date" Format="<%# System.Threading.Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern %>"
                            PopupButtonID="A_Date" CssClass="date__calendar">
                        </EM:CalendarExtender>
                    </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, GN0000850 %>' EnableViewState="false" />:</label>
                    </div>
                    <div class="col-sm-4 col-xs-12">
                        <div class="form-group">
                            <asp:DropDownList ID="DDL_Client" runat="server" AutoPostBack="true">
                            </asp:DropDownList>
                        </div>
                    </div>

                </div>
                <div class="row">
                    <div class="col-sm-3 col-xs-12 row-label">
                        <label>
                            *<asp:Literal ID='Literal3' runat="server" Text='<%$ Resources:Content, GN0000777 %>' EnableViewState="false" />:</label>
                    </div>
                    <div class="col-sm-4 col-xs-12">
                        <div class="form-group">
                            <div class="form-line">
                                <asp:TextBox ID="TxBx_RefNo" runat="server" MaxLength="50"></asp:TextBox>
                                <EM:FilteredTextBoxExtender ID="FilteredTextBoxExtender1" runat="server" TargetControlID="TxBx_RefNo"
                                    FilterType="Numbers,Custom" ValidChars="0123456789">
                                </EM:FilteredTextBoxExtender>
                                <asp:RequiredFieldValidator ID="RFV_RefNo" runat="server" ControlToValidate="TxBx_RefNo"
                                    Display="None" ValidationGroup="Comment" SetFocusOnError="True"></asp:RequiredFieldValidator>
                            </div>
                        </div>
                    </div>

                </div>
                <div class="row">
                    <div class="col-sm-3 col-xs-12 row-label">
                        <label>
                            <asp:Literal ID='Literal4' runat="server" Text='<%$ Resources:Content, GN0000262 %>' EnableViewState="false" />:</label>
                    </div>
                    <div class="col-sm-4 col-xs-12">
                        <div class="form-group">
                            <asp:DropDownList ID="DDL_Invoices" AutoPostBack="true" runat="server">
                            </asp:DropDownList>
                        </div>
                    </div>

                </div>
                <div class="row">
                    <div class="col-sm-3 col-xs-12 row-label">
                        <label>
                            *<asp:Literal ID='Literal5' runat="server" Text='<%$ Resources:Content, GN000114 %>' EnableViewState="false" />:</label>
                    </div>
                    <div class="col-sm-4 col-xs-12">
                        <div class="form-group">
                            <div class="form-line">
                                <asp:TextBox ID="TxBx_Amount" 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='Literal6' runat="server" Text='<%$ Resources:Content, GN0000752 %>' EnableViewState="false" />:</label>
                    </div>
                    <div class="col-sm-8 col-xs-12">
                        <div class="form-group">
                            <asp:CheckBox ID="CB_SendEmail" 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" Text='<%$ Resources:Content, GN0000746 %>' EnableViewState="false" />:</label>
                    </div>
                    <div class="col-sm-4 col-xs-12">
                        <div class="form-group">
                            <asp:TextBox ID="TxBx_Comments" Width="100%" TextMode="MultiLine" runat="server" Height="150px" MaxLength="500"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RFV_Comments" runat="server" ControlToValidate="TxBx_Comments"
                                Display="None" ValidationGroup="Comment" SetFocusOnError="True"></asp:RequiredFieldValidator>
                        </div>
                    </div>

                </div>
                <div class="row">
                    <div class="col-xs-12">
                        <asp:ValidationSummary ID="ValidationSummary1" runat="server" HeaderText='<%$ Resources:Content, EM000001 %>'
                            ShowMessageBox="True" ShowSummary="False" ValidationGroup="Comment" />
                        <asp:Button class="btn btn-primary waves-effect btnAction" ID="Btn_Save" runat="server" Text='<%$ Resources:Content, GN0000281 %>'
                            ValidationGroup="Comment" />
                    </div>
                </div>
            </div>
        </div>
    </div>
    <script lang="javascript">
        AllowArrowKeysInFilteredTextBoxExtender('<%=FilteredTextBoxExtender1.ClientID%>');
    </script>
</asp:Content>
