<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="ApprovalAssignment.aspx.cs" Inherits="HRMS.Purcahsing.ApprovalAssignment" %>
<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">
                    Approval Assignment
                        <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="AppassignID_ID" runat="server" />
                                <asp:HiddenField ID="PositionID_code" runat="server" />
                                <asp:HiddenField ID="OrgID" runat="server" />
                                 <asp:HiddenField ID="OrganizationID" runat="server" />
                                <asp:HiddenField ID="JOB_ID" runat="server" />
                                <asp:HiddenField ID="GroupID" runat="server" />
                                <asp:HiddenField ID="DocumentTypeID" runat="server" />
                              
                                  <label class="control-label col-md-2">Operating Unit</label>
                                <div class="col-md-3">
                                    <div class="input-group">
                                 <asp:TextBox  CssClass="form-control" ID="txt_OperatingUnit" runat="server" ></asp:TextBox>
                                 <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" id="req_OperatingUnit" controltovalidate="txt_OperatingUnit" errormessage="OperatingUnit is Required!" />
                                    <span class="input-group-btn">
                                    <button id="btn_lov_OperatingUnit" type="button" runat="server" class="btn btn-white" onserverclick="btn_lov_OperatingUnit_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">Position</label>
                                <div class="col-md-3">
                                      <div class="input-group">
                                 <asp:TextBox  CssClass="form-control" ID="txt_Position" runat="server" ></asp:TextBox>
                                 <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" id="req_Position" controltovalidate="txt_Position" errormessage="Position is Required!" />
                                    <span class="input-group-btn">
                                    <button id="btn_Lov_Position" type="button" runat="server" class="btn btn-white" onserverclick="btn_Lov_Position_Click"><i class="fa fa-search"></i></button>
                                    </span>
                           
                                   </div>               
                                    </div>
                            <label class="col-md-2 control-label">Organization</label>
                                <div class="col-md-3">
                                    
                                    <asp:TextBox ID="txt_Organizatioon" runat="server" CssClass="form-control"></asp:TextBox>
                                    <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" id="req_txt_Organizatioon" controltovalidate="txt_Organizatioon" errormessage="Organizatioon is Required!" />
                              
                                    
                                    </div>
                            
                            </div>

                            <div class="row"  style="padding-top:10px">  

                                 <label class="col-md-2 control-label">Job</label>
                                <div class="col-md-3">
                                    <asp:TextBox ID="txt_Job" runat="server" CssClass="form-control"></asp:TextBox>
                                    <%--<asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" id="req_Eto" controltovalidate="txt_strt_date" errormessage="Date is Required!" />--%>
                                </div>      
                                
                                 <label class="col-md-2 control-label">Document Type</label>
                                <div class="col-md-3">
                                     <div class="input-group">
                                     <asp:TextBox ID="txt_DocType" runat="server" CssClass="form-control"></asp:TextBox>
                                    <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" id="req_txt_DocType" controltovalidate="txt_DocType" errormessage="Document is Required!" />
                               <span class="input-group-btn">
                                    <button id="btn_lov_DocType" type="button" runat="server" class="btn btn-white" onserverclick="btn_lov_DocType_Click"><i class="fa fa-search"></i></button>
                                    </span>
                                    </div>    
                                    </div>   

                                
                            </div>

                            <div class="row" style="padding-top:10px">
                               
                                <label class="control-label col-md-2">Approval Group</label>
                                <div class="col-md-3">
                                <div class="input-group">
                                 <asp:TextBox ID="txt_ApprovalGroup" runat="server" CssClass="form-control" ></asp:TextBox>
                                 <asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" id="req_ApprovalGroup" controltovalidate="txt_ApprovalGroup" errormessage="ApprovalGroup is Required!" />
                                    <span class="input-group-btn">
                                    <button id="btn_lov_ApprovalGroup" type="button" runat="server" class="btn btn-white" onserverclick="btn_lov_ApprovalGroup_Click"><i class="fa fa-search"></i></button>
                                    </span>
                                     </div>    
                                    </div>
                                 

                                 <label class="col-md-2 control-label">From</label>
                                <div class="col-md-3">                                     
                                    <asp:TextBox ID="txt_defaultefffrom" runat="server" CssClass="form-control datetime"></asp:TextBox>
                                                        
                                 </div>

                               </div>                            

                            <div class="row" style="padding-top:10px">                             
                              

                                 <label class="col-md-2 control-label">Effective To</label>
                                <div class="col-md-3">
                                    
                                    <asp:TextBox ID="txt_defaultssefto" runat="server" CssClass="form-control datetime"></asp:TextBox>
                                 <%--<asp:RequiredFieldValidator SetFocusOnError="true" ValidationGroup="save" runat="server" id="RequiredFieldValidator2" controltovalidate="txt_Country" errormessage="Country is Required!" />--%>
                                   
                                </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>
