<%@ page title="" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Hrm_Appraisal_ReportCriteria_AppraisalReportCriteria, App_Web_fdkvxwhz" uiculture="auto" meta:resourcekey="PageResource1" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl" TagPrefix="Date" %>
<%@ Register Src="~/UserControls/Common/EmployeeSearch/EmployeeSearch.ascx" TagName="EmployeeSearchControl" TagPrefix="hims" %>
<%@ Register Src="~/UserControls/Common/CommonSearch/CommonSearch.ascx" TagName="CommonSearchUserControl" TagPrefix="Common" %>
<%@ 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>
            <Common:CommonSearchUserControl ID="CommonSearchControl" runat="server" Visible="false" />
            <hims:EmployeeSearchControl ID="EmployeeSearch" runat="server" Visible="false" />
            <div id="divContentPage" class="divcontentpagemargin">

                <div class="dashBoardLeftCont" valign="top">
                    <div class="himssuHeader3WireBox">
                        <table width="0px" cellpadding="0" cellspacing="0">
                            <tr>
                                <td>
                                    <div class="himsBoxContent">
                                        <div class="leftUlMenu">
                                            <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="235"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="row whiteboxpaddingleft">
                    <div class="himssuHeader1WireBox card card-box">
                        <div class="himsBoxHeadernote card-head">
                            <div class="leftdiv">
                            </div>
                            <div class="himsBoxTitle">
                                <div class="headerText">
                                    <header>
                                        <i class="fas fa-bookmark"></i>
                                        Criteria
                                    </header>
                                </div>
                            </div>
                        </div>
                        <div class="himsBoxContent card-body">
                            <div class="contentHolder">
                                <asp:Panel ID="EmployeeListDiv" runat="server" meta:resourcekey="SkillDivResource1">
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="">
                                            <asp:Label ID="ReportLabel8" runat="server" Text="Report" Font-Bold="true" SkinID="MandatoryLabel"></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="ReportDropDownList" runat="server" DataTextField="Name" DataValueField="Id"
                                                CssClass="form-control" SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()"
                                                onmouseenter="showHideTooltip()" OnSelectedIndexChanged="ReportDropDownList_SelectedIndexChanged" AutoPostBack="true">
                                            </asp:DropDownList>
                                        </div>
                                    </div>

                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="ViewModeLabel" runat="server" Text="View Mode"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList ID="ViewModeDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" meta:resourcekey="ViewModeDropDownListResource" />
                                        </div>
                                    </div>

                                    <%-- add for mantis: 33854 --%>
                                    <div class="outerBox pTop5 col-md-3" id="OrgGroupDeptDiv" runat="server">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="Label7" runat="server" Text="OrgGroup Dept" meta:resourcekey="DepartmentLabelResource1"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList ID="OrgGroupDeptDropDownList" runat="server" CssClass="form-control"
                                                SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                AutoPostBack="false" />
                                        </div>
                                    </div>

                                    <div class="outerBox pTop5 col-md-3" id="DepartmentDiv" runat="server">
                                        <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" CssClass="form-control"
                                                SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                AutoPostBack="false" meta:resourcekey="DepartmentDropDownListResource1" />
                                        </div>
                                    </div>

                                    <div class="outerBox pTop5 col-md-3" id="GradeDiv" runat="server">
                                        <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" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" AutoPostBack="true"
                                                meta:resourcekey="GradeDropDownListResource1" OnSelectedIndexChanged="EmplistgradeDropDownList2_SelectedIndexChanged" />
                                        </div>
                                    </div>

                                    <div class="outerBox pTop5 col-md-3" id="DesignationDiv" runat="server">
                                        <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" CssClass="form-control"
                                                SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                meta:resourcekey="DesignationDropDownListResource1" />
                                        </div>
                                    </div>

                                    <div class="outerBox pTop5 col-md-3" id="EmployeeTypeDiv" runat="server">
                                        <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" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" />
                                        </div>
                                    </div>

                                    <div class="outerBox pTop5 col-md-3" id="EmployeeGroupDiv" runat="server">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="EmployeeGroupLabel" runat="server" Text="Employee Group" meta:resourcekey="EmployeeGroupLabelResource1"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList ID="EmployeeGroupDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" meta:resourcekey="EmployeeGroupDropDownListResource1" />
                                        </div>
                                    </div>

                                    <div class="outerBox pTop5 col-md-3" id="GenderDiv" runat="server">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="Label5" runat="server" Text="Gender"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList ID="EmplistgenderDropDownList5" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" />
                                        </div>
                                    </div>

                                    <div class="outerBox pTop5 col-md-3" id="StatusDiv" runat="server">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="statusLabel" runat="server" Text="Status"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList ID="statusDropDownList5" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" />
                                        </div>
                                    </div>

                                    <div class="outerBox pTop5 col-md-3" id="EmployeeCodeDiv" runat="server">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="EmployeeCodeLabel" runat="server" Text="Employee Code"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5 display-flex">
                                            <asp:TextBox ID="EmployeeCodeTextBox" SkinID="CustomWidthTextBox" runat="server"
                                                MaxLength="100" AutoPostBack="false"> </asp:TextBox>
                                            <asp:ImageButton SkinID="FindImage" ToolTip="Employee Search" ID="EmployeeCodeImageButton"
                                                runat="server" ImageUrl="../../../../Images/icons/icon_find.gif" />
                                            <asp:HiddenField ID="EmployeeIdHiddenField" runat="server" />
                                        </div>
                                    </div>

                                    <div class="outerBox pTop5 col-md-3" id="AppraisalTypeDiv" runat="server">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="Label6" runat="server" Text="Appraisal Type" SkinID="MandatoryLabel"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList ID="AppraisalTypeDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                            </asp:DropDownList>
                                        </div>
                                    </div>

                                    <div class="outerBox pTop5 col-md-3" id="KPAStatusDiv" runat="server">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="Label1" runat="server" Text="KPA Status"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList ID="KPAStatusDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                <asp:ListItem Selected="True" Value="0">- Select -</asp:ListItem>
                                                <asp:ListItem Value="1">KPA</asp:ListItem>
                                                <asp:ListItem Value="2">Competencies</asp:ListItem>
                                            </asp:DropDownList>
                                        </div>
                                    </div>

                                </asp:Panel>
                                <div class="cBoth">
                                </div>
                                <div class="alignCenter col-md-12 pTop5">
                                    <asp:Button ID="PrintReportButton" runat="server" OnClick="PrintButton_Click"
                                        meta:resourcekey="PrintButtonResource1" Text="&#xf02f; Print" CssClass="btn-print btn fas" SkinID="0" />
                                    <asp:Button ID="ClearReportButton" Text="&#xf0e2; Reset" CssClass="btn-reset btn fas" SkinID="0" runat="server" OnClick="ClearButton_Click"
                                        meta:resourcekey="ClearButtonResource1" />
                                </div>
                                <br />
                            </div>
                        </div>
                    </div>
                </div>

            </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../../../JavaScript/rjs/encrypt/common-report-criteria-encrypt" src="../../../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/common-report-criteria")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
