<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="Recruitment_Requisition_Status.aspx.cs" Inherits="HRMS.Recruitment.Recruitment_Requisition.Recruitment_Requisition_Status" %>
<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">
                        Recruitment Requisition

                        
                    </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">
                            <asp:HiddenField runat="server" ID="hid_requisition" />
                            
                            <asp:HiddenField runat="server" ID="hid_req" />
                            <label class="control-label col-md-2">Business Group</label>
                             <div class="col-md-3">
                                <asp:TextBox id ="txt_bg" runat="server" CssClass="form-control" Enabled="false"></asp:TextBox>

                                 <%--<div class="input-group">
                                 <asp:TextBox  CssClass="form-control" ID="txt_req" runat="server"></asp:TextBox>
                                 <asp:RequiredFieldValidator Visible="false" SetFocusOnError="true" ValidationGroup="save" 
                                     runat="server" id="req_acc" controltovalidate="txt_acc" errormessage="Account Required!" />
                                    <span class="input-group-btn">
                                    <button id="btn_lov_req_by" type="button" runat="server" 
                                        class="btn btn-white" onserverclick="btn_lov_req_by_Click"><i class="fa fa-search"></i></button>
                                    </span>
                                </div>--%>

                             </div>

                            <label class="control-label col-md-2">Request Date</label>
                            <div class="col-md-3">
                                <asp:TextBox ID="txt_req_date" Enabled="false" runat="server" CssClass="form-control"></asp:TextBox>
                               
                            </div>
                        </div>

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

                            <label class="control-label col-md-2">Request By#</label>
                             <div class="col-md-3">
                                 <div class="input-group">
                                     <asp:HiddenField runat="server" ID="hid_req_no" />
                                 <asp:TextBox Enabled="false"  CssClass="form-control" ID="txt_req_no" runat="server"></asp:TextBox>
                              
                                 
                                    </div>
                             </div>

                            <label class="control-label col-md-2">Request To</label>
                             <div class="col-md-3">
                                 <div class="input-group">
                                      <asp:HiddenField runat="server" ID="hid_req_by_user" />
                                 <asp:TextBox Enabled="false"  CssClass="form-control" ID="txt_req_by_user" runat="server"></asp:TextBox>
                                 
                                    </div>
                             </div>                                                        
                        </div>

                        <div class="row" style="padding-top:05px">
                              <label class="control-label col-md-2">Comment</label>
                            <div class="col-md-3">
                                <asp:TextBox ID="txt_coment" Enabled="false" runat="server" CssClass="form-control" TextMode="MultiLine"></asp:TextBox>
                            </div>

                            <label class="control-label col-md-2">(Requestee) Reference</label>
                            <div class="col-md-3">
                                <asp:TextBox ID="txt_req_ref" Enabled="false" runat="server" onkeypress="return numbersOnly(event);" CssClass="form-control"></asp:TextBox>
                            </div>                            
                        </div>

                        <div class="row" style="padding-top:05px">                            
                              <label class="control-label col-md-2">Date From</label>
                            <div class="col-md-3">
                                <asp:TextBox ID="txt_date_frm" Enabled="false" runat="server" CssClass="form-control datetime"></asp:TextBox>
                               
                            </div>  
                            
                           <label class="control-label col-md-2">Date To</label>
                            <div class="col-md-3">
                                <asp:TextBox ID="txt_date_to" Enabled="false" runat="server" CssClass="form-control datetime"></asp:TextBox>
                            </div>
                        </div>

                        <div class="row" style="padding-top:05px">
                            <label class="control-label col-md-2">Due Date</label>
                            <div class="col-md-3">
                                <asp:TextBox ID="txt_due_date" Enabled="false" runat="server" CssClass="form-control datetime"></asp:TextBox>
                               
                            </div>
                        </div>

                        <hr />

                        <asp:HiddenField runat="server" ID="hidTAB" Value="0" />

                        <ul class="nav nav-tabs" id="myTabs">
                          <li class="active"><a data-toggle="tab" id="line_click" href="#Line" aria-expanded="true">Line</a></li>
                        </ul>

                        <%--<ul class="nav nav-tabs" id="myTabs">
                          <li class="inactive"><a data-toggle="tab" href="#Line" aria-expanded="true">Line</a></li>
                          <li class="inactive"><a data-toggle="tab" href="#Skill" aria-expanded="false">Skill</a></li> 
                          <li class="inactive"><a data-toggle="tab" href="#Location" aria-expanded="false">Location</a></li>                          
                        </ul>--%>

                        <!-- Tab of Line -->
                        <div class="tab-content">
                         <div id="Line" class="tab-pane fade active in">
                           <br> 

                                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                                    CssClass="table table-striped table-bordered table-hover" CellPadding="0">
                                <Columns>

                                
                                <asp:TemplateField HeaderStyle-Width="5px">
                                    <ItemTemplate>
                                        <asp:HiddenField ID="hid_line_id" runat="server" Value='<%#Bind("REQUESITION_LINE_ID")%>' />
                                        <asp:HiddenField ID="hid_position_id" runat="server" Value='<%#Bind("POSITION_ID")%>'/>
                                        <asp:HiddenField ID="hid_career_id" runat="server" Value='<%#Bind("CAREER_LEVEL_ID")%>'/>
                                        <asp:HiddenField ID="hid_job_id" runat="server" Value='<%#Bind("JOB_ID")%>'/>
                                        <asp:HiddenField ID="hid_shift_id" runat="server" Value='<%#Bind("JOB_SHIFT")%>'/>
                                        <asp:HiddenField ID="hid_qualif" runat="server" Value='<%#Bind("MIN_EDUCATION")%>'/>
                                    </ItemTemplate>
                                </asp:TemplateField>    
                                        <asp:BoundField HeaderText="Position" DataField="NAME" />
                                                                        <asp:BoundField HeaderText="Job Title" DataField="JobName" />
                                    <asp:BoundField HeaderText="Job Shift" DataField="JobShiftName" />
                                    <asp:BoundField HeaderText="No. Of Vacancy" DataField="NO_OF_VACANCIES" />
                                    <asp:BoundField HeaderText="Career Level" DataField="CAREER_LEVEL_NAME" />
                                    <asp:BoundField HeaderText="Qualification" DataField="Qualif" />
                                    <asp:BoundField HeaderText="Apply Before" DataField="POSITION_DUE_DATE" />


                          

                          

                                </Columns>
                                    <%--<FooterStyle CssClass="footerStyle" />
                                    <HeaderStyle CssClass="headerStyle" />
                                    <RowStyle CssClass="rowStyle" />--%>
                            </asp:GridView> 
                           <hr> 
                        </div>
                       <!-- End Tab Of Line -->

                        
                        <!-- The Model Popup -->
                          <%--<div class="modal fade" id="myModal2">
                            <div class="modal-dialog modal-lg">
                              <div class="modal-content">
      
                                <!-- Modal Header -->
                                <div class="modal-header">
                                  <h4 class="modal-title">Location</h4>
                                  <%--<button type="button" class="close" data-dismiss="modal">&times;</button>
                                </div>
        
                                <!-- Modal body -->
                                <div class="modal-body" style="overflow-y: scroll;">  

                                </div>
                                <!-- Modal footer -->
                                <div class="modal-footer">
                                  <%--<button type="button" class="btn btn-info" data-dismiss="modal">Close</button>
                                  <asp:button text="Close" CssClass="btn btn-info" ID="clspopup" runat="server" onclick="clspopup_Click" />                                    
                                </div>
        
                              </div>
                            </div>
                         </div>--%>
                        <!-- Model Popup -->

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