<%@ page title="" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_MaterialManagement_Procurement_ReportCriteria_StockConsumptionReportCriteria, App_Web_jnsvl5uj" uiculture="auto" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%-- <%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl"
    TagPrefix="Date" %>--%>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DataPickerControl"
    TagPrefix="HIMS" %>
<%@ Register Src="~/UserControls/Common/EmployeeSearch/EmployeeSearch.ascx" TagName="EmployeeSearchControl" TagPrefix="hims" %>
<%@ Register Src="~/UserControls/AutoComplete/AutoCompleteControl.ascx" TagName="AutoCompleteControl"
    TagPrefix="acc" %>
<%@ Register Src="~/UserControls/Common/CommonSearch/AlphabetSearchCommonControl.ascx" TagName="AlphabetSearchCommonControl"
    TagPrefix="ACS" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="HousekeeingAdHocRequestsListUpdatePanel"
        runat="server">
        <ContentTemplate>
            <ACS:AlphabetSearchCommonControl ID="AlphabetCommonSearch" runat="server" Visible="false" />
            <%-- <HIMS:EmployeeSearchControl ID="EmployeeSearch" runat="server" />--%>

            <div id="divContentPage">
                <!-- ContentPlaceHolder Box Starts -->
                <div style="width: 100%">
                    <table width="100%" cellpadding="0" cellspacing="0">
                    </table>
                    <div class="spacer5">
                        <asp:Image ID="Image2" runat="server" ImageUrl="~/Images/spacer.gif"></asp:Image>
                    </div>
                    <table width="100%" border="0" style="vertical-align: top; margin-top: -1px" cellpadding="0"
                        cellspacing="0">
                        <tr>
                            <td class="dashBoardLeftCont" style="width: 160px" valign="top">
                                <%--     padding-top: 7px"--%>
                                <div id="leftContainer">
                                    <!-- Left Container 1 Box Start -->
                                    <dl class="expandMenu">
                                        <table width="100%" border="0">
                                            <tr>
                                                <td>
                                                    <%--   <div>
                                                        <POP:PopupAlertControl ID="PopupAlertPeriodicControlBox" runat="server" Visible="false" />
                                                    </div>--%>
                                                    <div class="himssuHeader3WireBox">
                                                        <dt id="dtSETTINGS" onclick="showHideSwitch('ddSETTINGS')">
                                                            <table width="100%" cellpadding="0" cellspacing="0">
                                                                <tr>
                                                                    <td>
                                                                        <div class="himsBoxHeader">
                                                                            <div class="leftdiv">
                                                                            </div>
                                                                            <div class="himsBoxTitle">
                                                                                <table width="100%">
                                                                                    <tr>
                                                                                        <td style="width: 100%">
                                                                                            <div class="headerText">
                                                                                                Master
                                                                                            </div>
                                                                                        </td>
                                                                                        <td>
                                                                                            <img name="ddSETTINGSButton" id="ddSETTINGSButton" src="../../../../Images/buttonCollapse.gif"></img>
                                                                                        </td>
                                                                                    </tr>
                                                                                </table>
                                                                            </div>
                                                                        </div>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </dt>
                                                        <%-- <dd style="text-align: left; margin: 0px" class="hideSwitch" id="ddSETTINGS">--%>
                                                        <dd style="text-align: left; margin: 0px" id="ddSETTINGS">
                                                            <table width="160px" cellpadding="0" cellspacing="0">
                                                                <tr>
                                                                    <td>
                                                                        <div class="himsBoxContent leftTableContainer">
                                                                            <div class="leftUlMenu">
                                                                                <ul id="sidebarmenu1">
                                                                                    <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="138"
                                                                                        Visible="true" runat="server" />
                                                                                </ul>
                                                                            </div>
                                                                        </div>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                            <div class="himsBoxFooter">
                                                                <div>
                                                                </div>
                                                            </div>
                                                        </dd>
                                                    </div>
                                                </td>
                                            </tr>
                                        </table>
                                    </dl>
                                </div>
                            </td>
                            <td class="minMaxButton" style="width: 1%; margin: 0; vertical-align: top">
                                <asp:Image ID="Image7" runat="server" ImageUrl="~/Images/spacer.gif"></asp:Image>
                            </td>
                            <td style="vertical-align: top" width="99%">
                                <%-- <div class="contentHolder">--%>
                                <div class="himssuHeader1WireBox">
                                    <div class="himsBoxHeader">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                                Criteria
                                            </div>
                                        </div>
                                    </div>
                                    <div class="himsBoxContent">
                                        <div class="contentHolder">
                                            <asp:Panel ID="EmployeeListDiv" runat="server" meta:resourcekey="SkillDivResource1">
                                                <div class="cBoth">
                                                </div>
                                                <div class="outerBox pTop5">
                                                    <div class="">
                                                        <asp:Label ID="ReportLabel1" runat="server" Text="Report" SkinID="MandatoryLabel" Font-Bold="true"></asp:Label>
                                                        &nbsp;<asp:Label ID="ClientSpecificReportLabel" runat="server" ForeColor="BlueViolet" Text=" (CS)" visible="false"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList ID="ReportDropDownList1" runat="server" DataTextField="Name" DataValueField="Id"
                                                            Width="154px" SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()"
                                                            onmouseenter="showHideTooltip()" AutoPostBack="true" OnSelectedIndexChanged="ReportDropDownList1_SelectedIndexChanged">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="cBoth">
                                                </div>

                                                <div class="outerBox pTop5">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="MainGroupLabel2" runat="server" Text="Main Group"></asp:Label>
                                                    </div>
                                                    <asp:DropDownList ID="MainGroupDropDownList2" runat="server"
                                                        Width="154px" SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()"
                                                        onmouseenter="showHideTooltip()" AutoPostBack="true"
                                                        OnSelectedIndexChanged="MainGroupDropDownList2_SelectedIndexChanged" />
                                                </div>

                                                <div class="outerBox pTop5">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="SubGroupLabel3" runat="server" Text="Sub Group"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList ID="SubGroupDropDownList3" runat="server"
                                                            Width="154px" SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()"
                                                            onmouseenter="showHideTooltip()" />
                                                    </div>
                                                </div>

                                                <%--<div class="cBoth">
                                </div>
                                                               

                               <div class="outerBox pTop5">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="StockItemCategoryLabel4" runat="server" Text="Stock Item Category"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:DropDownList ID="StockItemCategoryDropDownList4" runat="server"
                                            Width="154px" SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()"
                                            onmouseenter="showHideTooltip()"  AutoPostBack="true" />
                                    </div>
                                </div>
                                                --%>
                                                <div class="cBoth">
                                                </div>
                                                <div class="outerBox pTop5">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="ItemCodeLabel" runat="server" Text="Item Code"
                                                            meta:resourcekey="ItemCodeLabelResource1"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <acc:AutoCompleteControl ID="ItemCodeAutoCompleteControl" runat="server" MinimumPrefixLength="2"
                                                            IsCacheEnabled="false" Width="100px" ContextKey="Ip.StockItemMasterCode"
                                                            AutoPostBack="true" DisplayLoadingStatus="true"
                                                            FirstRowSelected="true" MaxLength="20" ValidateOnTextChanged="false"
                                                            OnTextChanged="ItemCodeAutoCompleteControl_TextChanged" />
                                                        <asp:ImageButton ID="ItemCodeSearchImageButton" ToolTip="Item Code Search" SkinID="FindImage"
                                                            OnClick="ItemCodeSearchImageButton_Click" runat="server"
                                                            meta:resourcekey="ItemCodeSearchImageButtonResource1" />
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="ItemNameLabel" runat="server" Text="Item Name"
                                                            meta:resourcekey="ItemNameLabelResource1"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <acc:AutoCompleteControl ID="ItemNameAutoCompleteControl" runat="server" MinimumPrefixLength="2"
                                                            IsCacheEnabled="false" Width="100px"
                                                            ContextKey="InventoryPlanning.ItemTitleAll" AutoPostBack="true"
                                                            DisplayLoadingStatus="true" FirstRowSelected="true" MaxLength="20" ValidateOnTextChanged="false"
                                                            OnTextChanged="ItemNameAutoCompleteControl_TextChanged" />
                                                        <asp:ImageButton ID="ItemNameSearchImageButton" ToolTip="Item Name Search" SkinID="FindImage"
                                                            OnClick="ItemNameSearchImageButton_Click" runat="server"
                                                            meta:resourcekey="ItemNameSearchImageButtonResource1" />
                                                    </div>
                                                </div>

                                                <div class="cBoth">
                                                </div>
                                                <div class="outerBox pTop5">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="FromDateLabel" CssClass="mandatory" runat="server"
                                                            Text="From Date" meta:resourcekey="FromDateLabelResource1"></asp:Label>
                                                    </div>
                                                    <div class="fLeft">
                                                        <hims:DataPickerControl ID="StartDatePicker" AutoCompleteType="Disabled" DisplayDatePicker="true"
                                                            runat="server" />
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="ToDateLabel" CssClass="mandatory" runat="server" Text="To Date"
                                                            meta:resourcekey="ToDateLabelResource1"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <hims:DataPickerControl ID="EndDatePicker" AutoCompleteType="Disabled" DisplayDatePicker="true"
                                                            runat="server" />
                                                    </div>
                                                </div>
                                                <%-- <div class="outerBox pTop5">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="DepartmentGroupLabel1" runat="server" Text="Department Group" ></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:DropDownList ID="DepartmentGroupDropDownList" runat="server"
                                            Width="154px" SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()"
                                            onmouseenter="showHideTooltip()"  AutoPostBack="true"
                                            
                                            onselectedindexchanged="DepartmentGroupDropDownList1_SelectedIndexChanged" />
                                    </div>
                                </div>

                                  <div class="outerBox pTop5">
                                <div class="controlLabelWidth">
                                    <asp:Label ID="Label3" runat="server" Text="Department" 
                                        meta:resourcekey="DepartmentLabelResource1"></asp:Label>
                                </div>
                                <div class="fLeft pRight5">
                                    <asp:DropDownList ID="EmployeelistdeptDropDownList3" runat="server"
                                        Width="154px" SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()"
                                        onmouseenter="showHideTooltip()" 
                                        meta:resourcekey="DepartmentDropDownListResource1" />
                                </div>
                            </div>--%>
                                                <%--<div class="cBoth">
                                </div>
                                <div class="outerBox pTop5"> 
                                <div class="fLeft">
                                    <asp:CheckBox ID="AllowDirectIssueCheckBox1" AutoPostBack = "True" runat="server" 
                                        meta:resourcekey="BatchWiseCheckBoxResource1" />
                                </div>
                                <div class="fLeft pLeft5 pTop5">
                                    <asp:Label ID="AllowDirectIssueLabel" runat="server" Text="Allow Direct Issue" 
                                        meta:resourcekey="Label10Resource1"></asp:Label>
                                </div>
                            </div>
                                 <div class="outerBox pTop5"> 
                                <div class="fLeft">
                                    <asp:CheckBox ID="IsNotInStoreCheckBox2" AutoPostBack = "True" runat="server" 
                                        meta:resourcekey="BatchWiseCheckBoxResource1"/>
                                </div>
                                <div class="fLeft pLeft5 pTop5">
                                    <asp:Label ID="IsNotInStoreLabel" runat="server" Text="Not In Store" 
                                        meta:resourcekey="Label10Resource1"></asp:Label>
                                </div>
                            </div>
                            <div class="cBoth">
                                </div>         
                            <div class="outerBox pTop5"> 
                                <div class="fLeft">
                                    <asp:CheckBox ID="IsBlockedForIssueCheckBox3" AutoPostBack = "True" runat="server" 
                                        meta:resourcekey="BatchWiseCheckBoxResource1"/>
                                </div>
                                <div class="fLeft pLeft5 pTop5">
                                    <asp:Label ID="IsBlockedForIssueLabel" runat="server" Text="Blocked For Issue" 
                                        meta:resourcekey="Label10Resource1"></asp:Label>
                                </div>
                            </div>
                               <div class="outerBox pTop5"> 
                                <div class="fLeft">
                                    <asp:CheckBox ID="IsFirstAddCheckBox4" runat="server" 
                                        meta:resourcekey="BatchWiseCheckBoxResource1"  />
                                </div>
                                <div class="fLeft pLeft5 pTop5">
                                    <asp:Label ID="IsfirstAddLabel" runat="server" Text="First Add" 
                                        meta:resourcekey="Label10Resource1"></asp:Label>
                                </div>
                            </div> 
                                                --%>
                                                <%--
                                  <div class="outerBox pTop5">                                 
                                <div class="controlLabelWidth">
                                    <asp:Label ID="Label2" runat="server" Text="Grade" 
                                        meta:resourcekey="GradeLabelResource1"></asp:Label>
                                </div>                     

                                <div class="fLeft pRight5">
                                    <asp:DropDownList ID="EmplistgradeDropDownList2" runat="server" Width="154px"
                                        SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()" 
                                        onmouseenter="showHideTooltip()" AutoPostback="true"
                                        meta:resourcekey="GradeDropDownListResource1" 
                                        onselectedindexchanged="EmplistgradeDropDownList2_SelectedIndexChanged" />
                                </div>
                            </div>

                             <div class="outerBox pTop5">
                                <div class="controlLabelWidth">
                                    <asp:Label ID="Label4" runat="server" Text="Designation" 
                                        meta:resourcekey="DesignationLabelResource1"></asp:Label>
                                </div>
                                <div class="fLeft pRight5">
                                    <asp:DropDownList ID="EmplistdesignationDropDownList4" runat="server"
                                        Width="154px" SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()"
                                        onmouseenter="showHideTooltip()" 
                                        meta:resourcekey="DesignationDropDownListResource1" />
                                </div>
                            </div>
                                                             
                                 <div class="outerBox pTop5">
                                <div class="controlLabelWidth">
                                    <asp:Label ID="Label1" runat="server" Text="Job Title" 
                                        meta:resourcekey="JobTitleLabelResource1"></asp:Label>
                                </div>
                                <div class="fLeft pRight5">
                                    <asp:DropDownList ID="JobTitleDropDownList" runat="server" Width="154px"
                                        SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()" 
                                        onmouseenter="showHideTooltip()" 
                                        meta:resourcekey="JobTitleDropDownListResource1" />
                                </div>
                            </div>

                                <div class="cBoth">
                                </div>

                                <div class="outerBox pTop5">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="EmployeeTypeLabel1" runat="server" Text="Employee Type" ></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:DropDownList ID="EmployeetypeDropDownList1" runat="server"
                                            Width="154px" SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()"
                                            onmouseenter="showHideTooltip()" />
                                    </div>
                                </div>

                                  <div class="outerBox pTop5">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="CompanyLabel1" runat="server" Text="Company" ></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:DropDownList ID="CompanyDropDownList1" runat="server"
                                            Width="154px" SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()"
                                            onmouseenter="showHideTooltip()" />
                                    </div>
                                </div>

                                  <div class="outerBox pTop5">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="ContractorLabel1" runat="server" Text="Contractor" ></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:DropDownList ID="ContractorDropDownList1" runat="server"
                                            Width="154px" SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()"
                                            onmouseenter="showHideTooltip()" />
                                    </div>
                                </div>

                                 <div class="cBoth">
                                </div>
                                  <div class="outerBox pTop5">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="Label5" runat="server" Text="Gender" ></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:DropDownList ID="EmplistgenderDropDownList5" runat="server"
                                            Width="154px" SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()"
                                            onmouseenter="showHideTooltip()" />
                                    </div>
                                </div>
                               <div class="outerBox pTop5">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="statusLabel" runat="server" Text="Status" ></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:DropDownList ID="statusDropDownList5" runat="server"
                                            Width="154px" SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()"
                                            onmouseenter="showHideTooltip()" />
                                    </div>
                                </div>
                                     <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                <asp:Label ID="EmployeeCodeLabel" runat="server" Text="EmployeeCode" ></asp:Label>
                            </div>
                            <div class="fLeft pRight5">
                               <asp:TextBox ID="EmployeeCodeTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                    SkinID="CustomWidthTextBox" Width="150px" runat="server" MaxLength="100" 
                                    AutoPostBack="true"> 
                                    </asp:TextBox>
                                    <asp:ImageButton SkinID="FindImage" ToolTip="Employee Search" ID="EmployeeCodeImageButton"
                                            runat="server" Autopostback="true"/>   
                                    <asp:HiddenField ID="HiddenField2" runat="server" />
                           </div>
                        </div>
                                                   
                                <div class="cBoth">
                                </div>
                               
                                <div class="outerBox pTop5">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="Label6" runat="server" Text="Age From"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="AgeFromTextBox" runat="server" Width="150px" SkinID="CustomWidthTextBox"
                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" />
                                    </div>
                                </div>

                                <div class="outerBox pTop5">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="Label7" runat="server" Text="Age To"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="AgeToTextBox" runat="server" Width="150px" SkinID="CustomWidthTextBox"
                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" />
                                    </div>
                                </div>   

                                <div class="cBoth">
                                </div>
                                  
                                    <div class="outerBox pTop5">
                                                <div class="controlLabelWidth">
                
                                                    <asp:Label ID="FromDateLabel" runat="server" Text="From Date" Visible="true"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <Date:DatePickerControl DisplayDatePicker="true" ID="FromDatePickerControl"  Visible="true"
                                                        runat="server" />
                                                </div>
                                            </div>

                                     <div class="outerBox pTop5">
                                                <div class="controlLabelWidth">
                
                                                    <asp:Label ID="ToDateLabel" runat="server" Text="To Date" Visible="true"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <Date:DatePickerControl DisplayDatePicker="true"  ID="ToDatePickerControl" Visible="true"  runat="server" />
                                                </div>
                                           </div>                 --%>
                                            </asp:Panel>
                                        </div>
                                        <div class="spacer5">
                                            <asp:Image ID="Image4" runat="server" ImageUrl="~/Images/spacer.gif"
                                                meta:resourcekey="Image4Resource1" />
                                        </div>
                                        <div align="center">
                                            <asp:Button ID="PrintButton" Text="Print" runat="server"
                                                OnClick="PrintButton_Click" meta:resourcekey="PrintButtonResource1" />
                                            <asp:Button ID="ClearButton" Text="Clear" runat="server"
                                                OnClick="ClearButton_Click" meta:resourcekey="ClearButtonResource1" />
                                        </div>

                                    </div>
                                </div>
                                <%--  </div>--%>
                            </td>
                        </tr>
                    </table>
                    <%--HEDP History Ends Here--%>
                </div>
            </div>
            <div class="spacer">
                <img src="../../../../Images/spacer.gif" />
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../../../JavaScript/rjs/encrypt/stock-consumption-criteria-encrypt" src="../../../../JavaScript/rjs/require.js"></script>--%>    
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/stock-consumption-criteria")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>    
</asp:Content>