<%@ control language="VB" autoeventwireup="false" inherits="Admin_Clients_CC_GenerateInvoice, MachSol.MachPanel.Web" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>

<script language="javascript" type="text/javascript">
    function Price(HTxBx_Price, TxBx_Price) {
        var HTX = document.getElementById(HTxBx_Price);
        var TX = document.getElementById(TxBx_Price);
        HTX.value = TX.value;
    }
</script>
<div class="col-xs-12">
    <div class="card">
        <div class="header">
            <h2>
                <%= Resources.Content.SPT002768%>
            </h2>
        </div>
        <div class="body">
            <div class="row">
                <div class="col-sm-3 col-xs-12 row-label">
                    <asp:Literal ID="Literal166" runat="server" Text="<%$ Resources:Content,GN000141%>"
                        EnableViewState="false" />:
                </div>
                <div class="col-sm-6 col-xs-12" id="Td_Package" runat="server">
                </div>
            </div>
            <div class="row">
                <div class="col-sm-3 col-xs-12 row-label">
                    <asp:Literal ID="Literal6" runat="server" Text="<%$ Resources:Content,SPT002769%>"
                        EnableViewState="false" />:
                </div>
                <div class="col-sm-6 col-xs-12" id="Td_Expiry" runat="server">
                </div>
            </div>
            <div class="row">
                <div class="col-sm-3 col-xs-12 row-label">
                    *
            <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:Content,SPT002770 %>" EnableViewState="false" />:
                </div>
                <div class="col-sm-4 col-xs-12">
                    <div class="input-group">
                        <asp:DropDownList ID="DDL_Cycle" runat="server">
                        </asp:DropDownList>
                        <span class="input-group-addon">X</span>
                    </div>
                </div>
                <div class="col-sm-2 col-xs-12">
                    <div class="form-group">
                        <div class="form-line">
                            <asp:TextBox ID="TxBx_Quantity" runat="server" Text="<%$ Resources:Content,GN00001032%>" MaxLength='4'></asp:TextBox>
                            <EM:FilteredTextBoxExtender ID="FilteredTextBoxExtender3" runat="server" FilterType="Numbers,Custom" ValidChars="0123456789"
                                TargetControlID="TxBx_Quantity">
                            </EM:FilteredTextBoxExtender>
                        </div>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-3 col-xs-12 row-label">
                    *
            <asp:Literal ID="Literal8" runat="server" Text="<%$ Resources:Content, GN000112 %>" EnableViewState="false" />:
                </div>
                <div class="col-sm-4 col-xs-12">
                    <div class="form-group">
                        <div class="form-line">
                            <asp:HiddenField ID="HTxBx_Price" runat="server" />
                            <asp:TextBox ID="TxBx_Price" runat="server" CssClass="disabled"></asp:TextBox>
                        </div>
                    </div>
                </div>
                <div class="col-sm-4 col-xs-12" id="Div_InvoiceItemQty" runat="server" visible="false">
                    <div class="input-group">
                        
                            <span class="input-group-addon"><label style="font-weight:bold">X </label></span>
                       
                        <label>
                            <span id='span_qty' runat='server' visible='false'>
                                <asp:Literal ID='Ltrl_InvoiceItemQty' runat='server'></asp:Literal>
                            </span>
                        </label>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-3 col-xs-12 row-label">
                    <label>
                        *
                            <asp:Literal ID="Literal18" runat="server" Text="<%$ Resources:Content,GN000148%>"
                                EnableViewState="false" />:</label>
                </div>
                <div class="col-sm-8 col-xs-12">
                    <div class="form-group">
                        <asp:TextBox ID="TxBx_Comments" runat="server" Rows="6" TextMode="MultiLine" CssClass="col-xs-12"></asp:TextBox>

                        <asp:RequiredFieldValidator Display="None" ID="RFV_Notes" ControlToValidate="TxBx_Comments"
                            runat="server" ErrorMessage="" ValidationGroup="GI" SetFocusOnError="True"></asp:RequiredFieldValidator>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-xs-12">
                    <asp:Button ID="Btn_Generate" runat="server" ValidationGroup="GI" class="btn btn-primary waves-effect btnAction"
                        Text="<%$ Resources:Content,L0083%>" />
                    <asp:Button ID="Btn_Cancel" CausesValidation="false" class="btn btn-primary waves-effect"
                        runat="server" Text='<%$ Resources:Content, GN0000572 %>' />
                    <asp:ValidationSummary ShowMessageBox="true" ShowSummary="false" ID="VS" HeaderText='<%$ Resources:Content,EM000001 %>'
                        runat="server" ValidationGroup="GI" />
                </div>
            </div>
        </div>
    </div>
</div>
    <script lang="javascript">
        AllowArrowKeysInFilteredTextBoxExtender('<%=FilteredTextBoxExtender3.ClientID%>');
    </script>
