<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="Terms.aspx.cs" Inherits="HRMS.Purcahsing.Terms" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
     <div class="main-panel">
        <div class="row">
            <div class="col-md-12">
                <section class="panel">

                        <header class="panel-heading">
                            Terms
                            <div class="pull-right">
                                <asp:button text="Save" CssClass="btn btn-info" ID="btn_save" Width="120px"
                                    ValidationGroup="save" runat="server" onclick="btn_save_Click" />                                
                                <asp:button text="Back" CssClass="btn btn-info" ID="btn_cancel" runat="server"
                                    onclick="btn_cancel_Click" /> 
                            </div>
                        </header>

                        <div class="panel-body">
                            <div class="span6">
                                <div id="divmessage" runat="server" visible="false"
                                    class="alert alert-info alert-dismissable">
                                    <asp:label text="" ID="lbl_msg" CssClass="msg" runat="server"></asp:label>
                                </div>
                            </div>

                            <div class="span6">
                                <div id="diverrmessage" runat="server" visible="false"
                                    class="alert alert-info alert-dismissable">
                                    <asp:label text="" id="lbl_err_msg" CssClass="msg" runat="server"></asp:label>
                                </div>
                            </div>

                            <div class="row" style="padding-top:10px">
                                <asp:HiddenField ID="hid_AgentID" runat="server" />
                                 <asp:HiddenField ID="hid_Po_Agent" runat="server" />
                                <asp:HiddenField ID="hid_CatID" runat="server" />
                                <asp:HiddenField ID="hidSuppID" runat="server" /> 
                                
                                <label class="control-label col-md-2">Agent</label>
                                <div class="col-md-3">
                                    <div class="input-group">
                                        <asp:TextBox CssClass="form-control" ID="txt_AgentName" runat="server">
                                        </asp:TextBox>
                                        <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save"
                                            runat="server" id="req_txt_AgentName" controltovalidate="txt_AgentName"
                                            errormessage="Agent is Required!" />
                                        <span class="input-group-btn">
                                            <button id="btn_lov_Agent" type="button" runat="server"
                                                class="btn btn-white" onserverclick="btn_lov_Agent_Click"><i
                                                    class="fa fa-search"></i></button>
                                        </span>
                                    </div>
                                </div>
                            </div>

                             <div class="row" style="padding-top:10px">
                           
                            <label class="col-md-2 control-label">Category</label>
                                <div class="col-md-3">
                                    <div class="input-group">
                                    <asp:TextBox ID="txt_CategoryName" runat="server" CssClass="form-control"></asp:TextBox>
                                    <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" id="req_Category" controltovalidate="txt_CategoryName" errormessage="CategoryName is Required!" />
                               <span class="input-group-btn">
                                    <button id="btn_lov_Cat" type="button" runat="server" class="btn btn-white" onserverclick="btn_lov_Cat_Click"><i class="fa fa-search"></i></button>
                                    </span>
                                    </div>
                                    </div>
                           
                              <label class="col-md-2 control-label">Ship-To</label>
                                <div class="col-md-3">
                                    <div class="input-group">
                                    <asp:TextBox ID="txt_ShipName" runat="server" CssClass="form-control"></asp:TextBox>
                                    <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" id="Req_ShipName" controltovalidate="txt_ShipName" errormessage="ShipName is Required!" />
                               <span class="input-group-btn">
                                    <button id="btn_lov_Ship" type="button" runat="server" class="btn btn-white" onserverclick="btn_lov_Ship_Click"><i class="fa fa-search"></i></button>
                                    </span>
                                    </div>
                                    </div>
                            </div>

                                <div class="row" style="padding-top:10px">
                           
                            <label class="col-md-2 control-label">Begin Date</label>
                                <div class="col-md-3">
                                    <div class="input-group">
                                    <asp:TextBox ID="txt_BeginDate" runat="server" CssClass="form-control datetime"></asp:TextBox>
                                     </div>
                                    </div>
                           
                              <label class="col-md-2 control-label">End Date</label>
                                <div class="col-md-3">
                                    <div class="input-group">
                                    <asp:TextBox ID="txt_EndDate" runat="server" CssClass="form-control datetime"></asp:TextBox>
                                    </div>
                                    </div>
                            </div>

                            <hr />

                            <div class="row">
                                <asp:Label CssClass="control-label col-md-offset-2" ID="lbl_due" runat="server">
                                </asp:Label>
                            </div>

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