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

<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl" TagPrefix="Date" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl" TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/Common/EmployeeSearch/EmployeeSearch.ascx" TagName="EmployeeSearchControl" TagPrefix="hims" %>
<%@ Register Src="~/UserControls/Common/IncomeTax/IncomeTaxLabelControl.ascx" TagName="ITaxControl" TagPrefix="ITax" %>
<%@ Register Src="~/UserControls/MessageBox/MessageBoxControl.ascx" TagName="MessageControl" TagPrefix="uc1" %>


<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="ResonMasterUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">
                <div class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox">
                        <table>
                            <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="whiteboxpaddingleft row">
                    <div class="himssuHeader5WireBox card card-box" id="SearchDiv" runat="server">
                        <div class="himsBoxHeader card-head">
                            <asp:Panel ID="Panel1" runat="server">
                                <div class="leftdiv">
                                </div>
                                <div class="himsBoxTitle">
                                    <div class="headerText">
                                        <header>
                                            <i class="fas fa-search"></i>
                                            <asp:Label ID="SearchHeaderLabel" runat="server" Text="Search"></asp:Label>
                                        </header>
                                    </div>
                                    <div class="fRight mt-27 pagination display-flex">
                                        <asp:Button ID="AddNewButtonID" runat="server" OnClick="AddNewButton_Click" SkinID="0" CssClass="AddButton" Text="Add" Visible="false" />
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                        <div class="himsBoxContent card-body">
                            <asp:Panel ID="DetailPanel" runat="Server">
                                <div class="contentHolder">
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList runat="server" ID="AppraisalsDropDownList" SkinID="CustomWidthDropDownList"
                                                onmouseleave="showHideTooltip()" class="form-control" AutoPostBack="true" onmouseenter="showHideTooltip()" OnSelectedIndexChanged="AppraisalsDropDownList_SelectedIndexChanged">
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                    <div class="alignCenter col-md-12 pTop15 pb5" id="ButtonDiv" runat="server">
                                        <asp:Button ID="ButtonApprove" Text="Approve" runat="Server" OnClick="Approve_Click" SkinID="0" CssClass="btn btn-examcommon fas" />
                                        <asp:Button ID="ButtonReject" Text="Reject" runat="Server" OnClick="Reject_Click" SkinID="0" CssClass="btn btn-examcommon fas" />
                                    </div>
                                    <div id="Div1" class="himssuHeader7WireBox col-md-12" runat="server" style="width: 100%; margin-right: 5px;">
                                        <div id="ReasonMasterDetailDiv" visible="false" runat="server">
                                            <div class="himsBoxContent">
                                                <div id="GridViewMessageDiv" class="himsBoxContentMsg" runat="server" visible="true">
                                                </div>
                                                <asp:UpdatePanel ID="MenuPlanDetailUpdatePanel" runat="server" UpdateMode="Always">
                                                    <ContentTemplate>
                                                        <div id="Div5" runat="server" class="table-responsive">
                                                              <asp:GridView ID="GridView" Visible="false" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                OnRowDataBound="GridView_RowDataBound" SkinID="" ShowHeader="True" PagerSettings-Visible="false"
                                                                DataKeyNames="" EmptyDataText="No Records Found !!!" CssClass="table table-striped table-bordered table-hover">
                                                                <Columns>
                                                                    <asp:TemplateField ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true" HeaderText="Sr No">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="TitleLabel1" runat="server" Text='<%# Container.DataItemIndex + 1 %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>

                                                                    <asp:TemplateField HeaderText="Organization Head Name" ItemStyle-Width="20%" SortExpression="EmployeeName" HeaderStyle-HorizontalAlign="Left"
                                                                        ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="LabelUserName1" runat="server" Text='<%# Bind("UserName") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>

                                                                    <asp:TemplateField HeaderText="Rating" ItemStyle-Width="10%" SortExpression="Rating" HeaderStyle-HorizontalAlign="Left"
                                                                        ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="LabelAvgRating1" runat="server" Text='<%# Bind("AvgRating") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>

                                                                    <asp:TemplateField HeaderText="% Increment" ItemStyle-Width="10%" SortExpression="Increment" HeaderStyle-HorizontalAlign="Left"
                                                                        ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="LabelIncrement1" runat="server" Text='<%# Bind("AvgIncrement") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>

                                                                    <asp:TemplateField HeaderText="Promoted" ItemStyle-Width="10%" SortExpression="Promoted" HeaderStyle-HorizontalAlign="Left"
                                                                        ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="LabelPromoted1" runat="server" Text='<%# Bind("AvgPromotions") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>

                                                                    <asp:TemplateField HeaderText="Post Increment Salary" ItemStyle-Width="10%" SortExpression="Promoted" HeaderStyle-HorizontalAlign="Left"
                                                                        ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="LabelPostIncrementSalary1" runat="server" Text="0"></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>

                                                                    <asp:TemplateField HeaderText="Rating Status" ItemStyle-Width="10%" SortExpression="BHRatingStatusId" HeaderStyle-HorizontalAlign="Left"
                                                                        ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="LabelRatingStatus1" Visible="false" runat="server" Text="N/A"></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>

                                                                    <asp:TemplateField HeaderText="Completed On" ItemStyle-Width="20%" SortExpression="Title" HeaderStyle-HorizontalAlign="Left"
                                                                        ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="LabelTitle1" runat="server" Text='<%# Bind("Title") %>' Style="color: #678197; margin: 0; font-size: 14PX; font-weight: 600;"></asp:Label>
                                                                            <asp:HiddenField ID="HiddenFieldBHRatingStatusId1" runat="server" Value='<%# Bind("BHRatingStatusId") %>' />
                                                                            <asp:HiddenField ID="HiddenFieldRatingStatus1" runat="server" Value='<%# Bind("RatingStatus") %>' />
                                                                            <asp:HiddenField ID="HiddenFieldId1" runat="server" Value='<%# Bind("Id") %>' />
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                        <HeaderTemplate>
                                                                            <label class="rt-chkbox rt-chkbox-outline">
                                                                                <asp:CheckBox ID="HeaderSelectCheckBox1" OnCheckedChanged="HeaderSelectCheckBox1_CheckedChanged"
                                                                                    runat="server" AutoPostBack="True" />
                                                                                <span></span>
                                                                            </label>
                                                                        </HeaderTemplate>
                                                                        <ItemTemplate>
                                                                            <label class="rt-chkbox rt-chkbox-outline">
                                                                                <asp:CheckBox ID="SelectCheckBox1" Enabled='<%# Bind("Enabled") %>' runat="server" />
                                                                                <span></span>
                                                                            </label>
                                                                        </ItemTemplate>
                                                                        <ItemStyle HorizontalAlign="Center" />
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                            </asp:GridView>
                                                        </div>
                                                             <div class="cBoth pTop10"></div>

                                                        <%--<div id="Div6" runat="server" visible="false" class="table-responsive">
                                                            <asp:GridView ID="GridViewDetails" Visible="false" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                OnRowDataBound="GridViewDetails_RowDataBound" SkinID="" ShowHeader="True" PagerSettings-Visible="false"
                                                                DataKeyNames="Id" EmptyDataText="No Records Found !!!" CssClass="table table-striped table-bordered table-hover">
                                                                <Columns>
                                                                    <asp:TemplateField ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true" HeaderText="Sr No">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="TitleLabel" runat="server" Text='<%# Container.DataItemIndex + 1 %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>

                                                                    <asp:TemplateField HeaderText="Business Head Name" ItemStyle-Width="20%" SortExpression="UserName" HeaderStyle-HorizontalAlign="Left"
                                                                        ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="LabelUserName" runat="server" Text='<%# Bind("UserName") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>

                                                                    <asp:TemplateField HeaderText="Avg Rating" ItemStyle-Width="10%" SortExpression="AvgRating" HeaderStyle-HorizontalAlign="Left"
                                                                        ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="LabelAvgRating" runat="server" Text='<%# Bind("AvgRating") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>

                                                                    <asp:TemplateField HeaderText="Avg % Increment" ItemStyle-Width="10%" SortExpression="AvgIncrement" HeaderStyle-HorizontalAlign="Left"
                                                                        ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="LabelAvgIncrement" runat="server" Text='<%# Bind("AvgIncrement") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>


                                                                    <asp:TemplateField HeaderText="No. Of Promotions" ItemStyle-Width="10%" SortExpression="AvgPromotions" HeaderStyle-HorizontalAlign="Left"
                                                                        ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="LabelAvgPromotions" runat="server" Text='<%# Bind("AvgPromotions") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>

                                                                    <asp:TemplateField HeaderText="Post Increment Salary" ItemStyle-Width="10%" SortExpression="AvgPromotions" HeaderStyle-HorizontalAlign="Left"
                                                                        ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="LabelPostIncrementSalary" runat="server" Text="0"></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Rating Status" ItemStyle-Width="10%" SortExpression="AvgPromotions" HeaderStyle-HorizontalAlign="Left"
                                                                        ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="LabelRatingStatus" Visible="false" runat="server" Text="N/A"></asp:Label>
                                                                            <asp:Button ID="ButtonRateNow" runat="server" Text="Rate Now" OnClick="ButtonRateNow_Click" Visible="false" Height="20px" SkinID="0" Style="line-height: 1; font-size: 10px;" CssClass="btn-primary" />
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>

                                                                    <asp:TemplateField HeaderText="Completed On" ItemStyle-Width="25%" SortExpression="Title" HeaderStyle-HorizontalAlign="Left"
                                                                        ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="LabelTitle" runat="server" Text='<%# Bind("Title") %>' Style="color: #678197; margin: 0; font-size: 14PX; font-weight: 600;"></asp:Label>
                                                                            <asp:HiddenField ID="HiddenFieldBHRatingStatusId" runat="server" Value='<%# Bind("BHRatingStatusId") %>' />
                                                                            <asp:HiddenField ID="HiddenFieldRatingStatus" runat="server" Value='<%# Bind("RatingStatus") %>' />
                                                                            <asp:HiddenField ID="HiddenFieldId" runat="server" Value='<%# Bind("Id") %>' />
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                   <%-- <asp:TemplateField HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                        <HeaderTemplate>
                                                                            <label class="rt-chkbox rt-chkbox-outline">
                                                                                <asp:CheckBox ID="HeaderSelectCheckBox" OnCheckedChanged="HeaderSelectCheckBox_OnCheckedChanged"
                                                                                    runat="server" AutoPostBack="True" />
                                                                                <span></span>
                                                                            </label>
                                                                        </HeaderTemplate>
                                                                        <ItemTemplate>
                                                                            <label class="rt-chkbox rt-chkbox-outline">
                                                                                <asp:CheckBox ID="SelectCheckBox" Enabled='<%# Bind("Enabled") %>' runat="server" />
                                                                                <span></span>
                                                                            </label>
                                                                        </ItemTemplate>
                                                                        <ItemStyle HorizontalAlign="Center" />
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                            </asp:GridView>

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




