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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl" TagPrefix="DPC" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl" TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/AutoComplete/AutoCompleteTextBoxForGridView.ascx" TagName="AutoCompleteControl" TagPrefix="acc" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" 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="164"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="row whiteboxpaddingleft">
                    <div class="himssuHeader5WireBox">
                        <div class="contentHolder" style="padding-top: 0px; padding-left: 0px; padding-right: 0px">
                            <div class="himssuHeader1WireBox card card-box">
                                <%--<div class="himsBoxHeader card-head">
                                    <div class="leftdiv">
                                    </div>
                                    <div class="himsBoxTitle">
                                        <div class="headerText">
                                            <header>
                                                <i class="fas fa-database"></i>
                                                <asp:Label ID="Label1" runat="server" Text="Employee Replacement"></asp:Label>
                                            </header>
                                        </div>
                                    </div>
                                </div>--%>
                                <div class="himsBoxContent card-body">
                                    <%--Mantis Id : 0035518--%>
                                    <cc1:TabContainer ID="PayProcessEmpTabContainer" runat="server" CssClass="ajax__myTab nav nav-tabs tabs-style-iconbox ajax__tab_container ajax__tab_default"
                                        ActiveTabIndex="0">
                                        <cc1:TabPanel ID="EmployeeReplacementTabPanel" runat="server" HeaderText="Employee Replacement">
                                            <HeaderTemplate>
                                                <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                    <li class="fancyTab"><a><i class="fas fa-database"></i>&nbsp;Employee Replacement </a></li>
                                                </ul>
                                            </HeaderTemplate>
                                            <ContentTemplate>
                                                <asp:Panel ID="DetailPanel" runat="Server">
                                                    <div class="contentHolder">
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="StatusLabel" runat="server" Text="Existing Employee Status" SkinID="MandatoryLabel"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList runat="server" ID="ExistingEmpStatusDropDownList" SkinID="CustomWidthDropDownList" CssClass="form-control" AutoPostBack="true"
                                                                    onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" OnSelectedIndexChanged="ExistingEmpStatusDropDownList_SelectedIndexChanged">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="ExistingEmployeeLabel" Text="Existing Employee" SkinID="MandatoryLabel" runat="server"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList ID="ExistingEmployeeDropDownList" runat="server" onmouseleave="showHideTooltip()" OnSelectedIndexChanged="ExistingEmployeeDropDownList_SelectedIndexChanged"
                                                                    SkinID="CustomWidthDropDownList" CssClass="form-control" AutoPostBack="true" onmouseenter="showHideTooltip()">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="StatusSearchLabel" runat="server" Text="New Employee Status" SkinID="MandatoryLabel"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList runat="server" ID="NewEmpStatusDropDownList" SkinID="CustomWidthDropDownList" CssClass="form-control" AutoPostBack="true"
                                                                    onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" OnSelectedIndexChanged="NewEmpStatusDropDownList_SelectedIndexChanged">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="NewEmployeeLabel" Text="New Employee" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList ID="NewEmployeeDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                    SkinID="CustomWidthDropDownList" CssClass="form-control" AutoPostBack="true" onmouseenter="showHideTooltip()">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <div class="cBoth">
                                                        </div>
                                                        <div class="alignCenter pTop5">
                                                            <asp:Button ID="SearchButton" Text="&#xf002; Search" runat="Server" SkinID="0" OnClick="SearchButton_Click" CssClass="btn-search btn fas" />
                                                            <asp:HiddenField runat="server" ID="ButtonIdHiddenField" />
                                                            <asp:Button ID="ApplyAllButton" runat="server" Text="Apply" SkinID="0" CssClass="btn btn-apply fas" OnClick="ApplyAllButton_Click" />
                                                        </div>
                                                        <div>
                                                            <div class="fLeft pRight5">
                                                                <asp:HiddenField ID="DetailHiddenField" runat="server" />
                                                            </div>
                                                        </div>
                                                        <div class="outerBox col-md-12 pTop5">
                                                            <div class="alert alert-info">
                                                                <span class="pTop15">
                                                                    <i class="material-icons pos-rel">info</i> |&nbsp;
                                                        <b>Note: </b>If you delete any data from this screen then there is no backup for that data.
                                                                </span>
                                                            </div>
                                                        </div>

                                                        <div id="Div2" class="himssuHeader7WireBox col-md-12 pb5" runat="server">
                                                            <div class="himsBoxContent pTop5 ">
                                                                <div id="Div5" class="table-responsive" runat="server" visible="true">
                                                                    <asp:GridView ID="ActivityGridView" runat="server" AutoGenerateColumns="False" ShowHeader="true" SkinID=""
                                                                        PagerSettings-Visible="false" EmptyDataText="No Records Found !!" CssClass="table table-striped table-bordered table-hover"
                                                                        DataKeyNames="Id,Title" OnRowDataBound="ActivityGridView_RowDataBound">
                                                                        <Columns>
                                                                            <asp:TemplateField HeaderText="Title" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="TitleLable" runat="server" Text='<%# Bind("Title") %>'>' </asp:Label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Transfer" ItemStyle-Width="15%">
                                                                                <HeaderTemplate>
                                                                                    <label class="rt-chkbox rt-chkbox-single rt-chkbox-outline">
                                                                                        <bdo style="color: white">Transfer</bdo>
                                                                                        <asp:CheckBox ID="HeaderOptionalSelectCheckBox" runat="server" AutoPostBack="true" OnCheckedChanged="HeaderOptionalSelectCheckBox_CheckedChanged" />
                                                                                        <span></span>
                                                                                    </label>
                                                                                </HeaderTemplate>
                                                                                <HeaderStyle HorizontalAlign="Center" />
                                                                                <ItemStyle HorizontalAlign="Center" Wrap="True" />
                                                                                <ItemTemplate>
                                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                                        <asp:CheckBox ID="TransferCheckBox" SkinID="CustomWidthCheckBox" runat="server" />
                                                                                        <span></span>
                                                                                    </label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Transfer & Delete" ItemStyle-Width="20%">
                                                                                <HeaderTemplate>
                                                                                    <label class="rt-chkbox rt-chkbox-single rt-chkbox-outline">
                                                                                        <bdo style="color: white">Transfer & Delete</bdo>
                                                                                        <asp:CheckBox ID="TransferDeleteSelectCheckBox" runat="server" AutoPostBack="true" OnCheckedChanged="TransferDeleteSelectCheckBox_CheckedChanged" />
                                                                                        <span></span>
                                                                                    </label>
                                                                                </HeaderTemplate>
                                                                                <HeaderStyle HorizontalAlign="Center" />
                                                                                <ItemStyle HorizontalAlign="Center" Wrap="True" />
                                                                                <ItemTemplate>
                                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                                        <asp:CheckBox ID="TransferDeleteCheckBox" SkinID="CustomWidthCheckBox" runat="server" />
                                                                                        <span></span>
                                                                                    </label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Delete" ItemStyle-Width="15%">
                                                                                <HeaderTemplate>
                                                                                    <label class="rt-chkbox rt-chkbox-single rt-chkbox-outline">
                                                                                        <bdo style="color: white">Delete</bdo>
                                                                                        <asp:CheckBox ID="DeleteSelectCheckBox" runat="server" AutoPostBack="true" OnCheckedChanged="DeleteSelectCheckBox_CheckedChanged" />
                                                                                        <span></span>
                                                                                    </label>
                                                                                </HeaderTemplate>
                                                                                <HeaderStyle HorizontalAlign="Center" />
                                                                                <ItemStyle HorizontalAlign="Center" Wrap="True" />
                                                                                <ItemTemplate>
                                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                                        <asp:CheckBox ID="DeleteCheckBox" SkinID="CustomWidthCheckBox" runat="server" />
                                                                                        <span></span>
                                                                                    </label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                        </Columns>
                                                                    </asp:GridView>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        </div>
                                                </asp:Panel>
                                            </ContentTemplate>
                                        </cc1:TabPanel>
                                        <cc1:TabPanel ID="LessonPlanReplacementTabPanel" runat="server" HeaderText="Lesson Plan Replacement">
                                            <HeaderTemplate>
                                                <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                    <li class="fancyTab"><a><i class="fas fa-database"></i>&nbsp;Lesson Plan Replacement </a></li>
                                                </ul>
                                            </HeaderTemplate>
                                            <ContentTemplate>
                                                <asp:Panel ID="LessonPlanTabPanel" runat="Server">
                                                    <div class="contentHolder">
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="LessonPlanExistingEmployeeStatusLabel" runat="server" Text="Existing Employee Status" SkinID="MandatoryLabel"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList runat="server" ID="LessonPlanExistingEmployeeStatusDropDownList" SkinID="CustomWidthDropDownList" CssClass="form-control" AutoPostBack="true"
                                                                    onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" OnSelectedIndexChanged="LessonPlanExistingEmployeeDropDownList_SelectedIndexChanged">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="LessonPlanExistingEmployeeLabel" Text="Existing Employee" SkinID="MandatoryLabel" runat="server"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList ID="LessonPlanExistingEmployeeDropDownList" runat="server" onmouseleave="showHideTooltip()" OnSelectedIndexChanged="LessonPlanExistingEmployeeDropDownList_SelectedIndexChanged1"
                                                                    SkinID="CustomWidthDropDownList" CssClass="form-control" AutoPostBack="true" onmouseenter="showHideTooltip()">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="LessonPlanNewEmployeeStatusLabel" runat="server" Text="New Employee Status" SkinID="MandatoryLabel"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList runat="server" ID="LessonPlanNewEmployeeStatusDropDownList" SkinID="CustomWidthDropDownList" CssClass="form-control" AutoPostBack="true"
                                                                    onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" OnSelectedIndexChanged="LessonPlanNewEmployeeStatusDropDownList_SelectedIndexChanged">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="LessonPlanNewEmployeeLabel" Text="New Employee" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList ID="LessonPlanNewEmployeeDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                    SkinID="CustomWidthDropDownList" CssClass="form-control" AutoPostBack="true" onmouseenter="showHideTooltip()">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="FromDateLabel" runat="server" Text="From Date"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <DPC:datepickercontrol displaydatepicker="true" id="FromDatePickerControl"
                                                                    runat="server" visible="true" />
                                                            </div>
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="ToDateLabel" runat="server" Text="To Date"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <DPC:datepickercontrol displaydatepicker="true" id="ToDatePickerControl"
                                                                    runat="server" visible="true" />
                                                            </div>
                                                        </div>
                                                        <div class="cBoth">
                                                        </div>
                                                        <div class="alignCenter pTop5">
                                                            <asp:Button ID="LessonPlanSearchButton" Text="&#xf002; Search" runat="Server" SkinID="0" OnClick="LessonPlanSearchButton_Click" CssClass="btn-search btn fas" />
                                                            <asp:HiddenField runat="server" ID="HiddenField1" />
                                                            <asp:Button ID="LessonPlanApplyAllButton" runat="server" Text="Apply" SkinID="0" CssClass="btn btn-apply fas" OnClick="LessonPlanApplyAllButton_Click" />
                                                        </div>
                                                        <div>
                                                            <div class="fLeft pRight5">
                                                                <asp:HiddenField ID="HiddenField2" runat="server" />
                                                            </div>
                                                        </div>
                                                        <div class="outerBox col-md-12 pTop5">
                                                            <div class="alert alert-info">
                                                                <span class="pTop15">
                                                                    <i class="material-icons pos-rel">info</i> |&nbsp;
                                                        <b>Note: </b>If you delete any data from this screen then there is no backup for that data.
                                                                </span>
                                                            </div>
                                                        </div>

                                                        <div id="Div1" class="himssuHeader7WireBox col-md-12 pb5" runat="server">
                                                            <div class="himsBoxContent pTop5 ">
                                                                <div id="Div3" class="table-responsive" runat="server" visible="true">
                                                                    <asp:GridView ID="LessonPlanActivityGridView" runat="server" AutoGenerateColumns="False" ShowHeader="true" SkinID=""
                                                                        PagerSettings-Visible="false" EmptyDataText="No Records Found !!" CssClass="table table-striped table-bordered table-hover"
                                                                        DataKeyNames="SubjectId" >
                                                                        <Columns>
                                                                            <asp:TemplateField HeaderText="Subject Name" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="SubjectLable" runat="server" Text='<%# Bind("SubjectName") %>'>' </asp:Label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
<%--                                                                            <asp:TemplateField HeaderText="Transfer" ItemStyle-Width="15%">
                                                                                <HeaderTemplate>
                                                                                    <label class="rt-chkbox rt-chkbox-single rt-chkbox-outline">
                                                                                        <bdo style="color: white">Transfer</bdo>
                                                                                        <asp:CheckBox ID="LessonPlanHeaderOptionalSelectCheckBox" runat="server" AutoPostBack="true" OnCheckedChanged="LessonPlanHeaderOptionalSelectCheckBox_CheckedChanged" />
                                                                                        <span></span>
                                                                                    </label>
                                                                                </HeaderTemplate>
                                                                                <HeaderStyle HorizontalAlign="Center" />
                                                                                <ItemStyle HorizontalAlign="Center" Wrap="True" />
                                                                                <ItemTemplate>
                                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                                        <asp:CheckBox ID="TransferCheckBox" SkinID="CustomWidthCheckBox" runat="server" />
                                                                                        <span></span>
                                                                                    </label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>--%>
                                                                            <asp:TemplateField HeaderText="Transfer & Delete" ItemStyle-Width="20%">
                                                                                <HeaderTemplate>
                                                                                    <label class="rt-chkbox rt-chkbox-single rt-chkbox-outline">
                                                                                        <bdo style="color: white">Transfer & Delete</bdo>
                                                                                        <asp:CheckBox ID="LessonPlanTransferDeleteSelectCheckBox" runat="server" AutoPostBack="true" OnCheckedChanged="LessonPlanTransferDeleteSelectCheckBox_CheckedChanged" />
                                                                                        <span></span>
                                                                                    </label>
                                                                                </HeaderTemplate>
                                                                                <HeaderStyle HorizontalAlign="Center" />
                                                                                <ItemStyle HorizontalAlign="Center" Wrap="True" />
                                                                                <ItemTemplate>
                                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                                        <asp:CheckBox ID="LessonPlanTransferDeleteCheckBox" SkinID="CustomWidthCheckBox" runat="server" />
                                                                                        <span></span>
                                                                                    </label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Delete" ItemStyle-Width="15%">
                                                                                <HeaderTemplate>
                                                                                    <label class="rt-chkbox rt-chkbox-single rt-chkbox-outline">
                                                                                        <bdo style="color: white">Delete</bdo>
                                                                                        <asp:CheckBox ID="LessonPlanDeleteSelectCheckBox" runat="server" AutoPostBack="true" OnCheckedChanged="LessonPlanDeleteSelectCheckBox_CheckedChanged" />
                                                                                        <span></span>
                                                                                    </label>
                                                                                </HeaderTemplate>
                                                                                <HeaderStyle HorizontalAlign="Center" />
                                                                                <ItemStyle HorizontalAlign="Center" Wrap="True" />
                                                                                <ItemTemplate>
                                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                                        <asp:CheckBox ID="LessonPlanDeleteCheckBox" SkinID="CustomWidthCheckBox" runat="server" />
                                                                                        <span></span>
                                                                                    </label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                        </Columns>
                                                                    </asp:GridView>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        </div>
                                                </asp:Panel>
                                            </ContentTemplate>
                                        </cc1:TabPanel>

                                    </cc1:TabContainer>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="spacer">
                        <asp:Image ID="Image4" runat="server" ImageUrl="~/Images/spacer.gif" />
                    </div>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/employee-replacement.js")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
