<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="UOM.aspx.cs" Inherits="HRMS.Purcahsing.UOM" %>
<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">
                            Unit Of Measurement
                            <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_Classes" runat="server" />
                              <asp:HiddenField ID="hid_uom" runat="server" />
                                 <%--<asp:HiddenField ID="hid_operatingunit" runat="server" />
                                <asp:HiddenField ID="hid_low_acc" runat="server" /> 
                                <asp:HiddenField ID="hid_cash_acc" runat="server" />--%>
                                <label class="control-label col-md-2">UOM Code</label>
                                <div class="col-md-3">
                                   
                                        <asp:TextBox CssClass="form-control" ID="txt_UOMCode" runat="server">
                                        </asp:TextBox>
                                        <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save"
                                            runat="server" id="req_UomCode" controltovalidate="txt_UOMCode"
                                            errormessage="UOM Code is Required!" />

                                       
                                    </div>
                            </div>

                            <div class="row" style="padding-top:10px">
                                <label class="col-md-2 control-label">Name</label>
                                <div class="col-md-3">
                                    <asp:TextBox CssClass="form-control" ID="txt_name" runat="server"></asp:TextBox>
                                    <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save"
                                        runat="server" id="req_name" controltovalidate="txt_name"
                                        errormessage="Name is Required!" />
                                </div>

                                <label class="col-md-2 control-label"></label>
                                <div class="col-md-3 text-left">
                                    <span class="CHK_bASEuNIT"><input id="chkbox_Base_Unit" runat="server" type="checkbox"
                                            name="chkbox_Base_Unit" />
                                        <label class="col-md-1 control-label"></label>Base Unit</span>
                                </div>
                            </div>

                             <div class="row" style="padding-top:10px">
                                <label class="col-md-2 control-label">Class</label>
                                <div class="col-md-3">
                                        <div class="input-group">
                                    <asp:TextBox CssClass="form-control" ID="txt_Class" runat="server"></asp:TextBox>
                                 
                                    <span class="input-group-btn">
                                            <button id="btn_lov_Classes" type="button" runat="server"
                                                class="btn btn-white" onserverclick="btn_lov_Classes_Click"><i
                                                    class="fa fa-search"></i></button>
                                        </span>
                                </div>
                                </div>
                                 <label class="col-md-2 control-label">Inactive on</label>
                                <div class="col-md-3">
                                    <asp:TextBox CssClass="form-control datetime" ID="txt_InactiveOn" runat="server"></asp:TextBox>
                                    
                                </div>
                              
                            </div>

                            <div class="row" style="padding-top:10px">
                                <label class="control-label col-md-2">Decription</label>
                                <div class="col-md-3">
                                    <asp:TextBox CssClass="form-control" TextMode="MultiLine" ID="txt_description" runat="server">
                                    </asp:TextBox>
                                    <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save"
                                        runat="server" id="req_description" controltovalidate="txt_description"
                                        errormessage="Description is Required!" />
                                </div>

                                <label class="col-md-2 control-label"></label>
                                <div class="col-md-3 text-left">
                                    <%--<span class="checkbox"><input id="chkbox_innercityjurd" runat="server"
                                            type="checkbox" name="chkbox_innercityjurd" />
                                        <label class="col-md-1 control-label"></label>Inner City Jurisdiction</span>--%>
                                </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>