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

<%@ 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" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="StudentViewResultUpdatePanel" runat="server">
        <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="213"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="whiteboxpaddingleft row">
                    <div class="card card-box">
                        <div class="himssuHeader1WireBox">
                            <div class="himsBoxHeader card-head" id="PresenceListGridViewPagerDiv" runat="server" visible="true">
                                <div class="leftdiv">
                                </div>
                                <div class="himsBoxTitle">
                                    <div class="headerText fLeft">
                                        <header>
                                            <i class="fal fa-info-circle"></i>
                                            <asp:Label ID="Label1" Text="View Employee Details" runat="server" />
                                        </header>
                                    </div>
                                </div>
                                <div class="fRight mt-27">
                                    <asp:Button ID="PrintButton" runat="server" Text="&#xf02f; Print" SkinID="0" OnClick="PrintButton_Click" CssClass="fas btn btn-print" />
                                    <asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0" Height="28px" CssClass="fas btn btn-back" Text="&#xf30a; Back" />
                                </div>
                            </div>

                            <div class="himsBoxContent card-body">
                                <div id="PresenceListGridViewMessageDiv" class="himsBoxContentMsg" runat="server"
                                    visible="False">
                                </div>
                                <asp:DataList ID="ProfileDataList" runat="server">
                                    <ItemStyle CssClass="" />
                                    <ItemTemplate>
                                        <div class="profilediv">
                                            <div class="col-md-3">
                                                <asp:Image ID="StudentPhotoImg" runat="server" CssClass="studentprofile studentviewimg" ImageUrl="~/Images/NoImage.JPEG" Style="border-radius: 5px" />
                                            </div>
                                            <div class="col-md-9">
                                                <div class="col-md-6  height35 ">
                                                    <b class="text-muted">Name :&nbsp; </b>
                                                    <asp:Label ID="BirthDateLabel" runat="server" Text='<%# Eval("EmployeeName") %>' CssClass="fieldlabel" />
                                                </div>
                                                <div class="col-md-6  height35 ">
                                                    <b class="text-muted">Code :&nbsp; </b>
                                                    <asp:Label ID="Label7" runat="server" Text='<%# Eval("EmployeeCode") %>' CssClass="fieldlabel" />
                                                </div>
                                                <div class="col-md-6  height35 ">
                                                    <b class="text-muted">UID Number :&nbsp; </b>
                                                    <asp:Label ID="Label11" runat="server" Text='<%# Eval("UIDNumber") %>' CssClass="fieldlabel" />
                                                </div>

                                            </div>
                                        </div>
                                    </ItemTemplate>
                                </asp:DataList>

                                <div class="himssuHeader1WireBox col-md-12">
                                    <div class="himsBoxHeader card-head inner" id="Div2" runat="server" visible="true">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                                <header>
                                                    <asp:Label ID="Label2" CssClass="profilesubheader" Text="Current Address" runat="server" />
                                                </header>
                                            </div>
                                            <div class="fRight">
                                            </div>
                                        </div>
                                    </div>
                                    <div class="himsBoxContent pTop5">
                                        <div id="Div3" class="himsBoxContentMsg" runat="server"
                                            visible="False">
                                        </div>
                                        <asp:DataList ID="CurrentAddressDataList" runat="server" Width="100%">
                                            <ItemStyle CssClass="" />
                                            <ItemTemplate>
                                                <div class="profilediv">
                                                    <div class="midborder profilediv paddingbottom">

                                                        <div class="col-md-12 ">
                                                            <asp:Label ID="Label14" runat="server" Text="Contact Details"
                                                                Font-Underline="true" Font-Size="14px" Font-Bold="true" CssClass="pb5" />
                                                        </div>

                                                        <div class="col-md-6  height35 ">
                                                            <b class="text-muted">Email :&nbsp; </b>
                                                            <asp:Label ID="ParentEmailLabel" runat="server" Text='<%# Eval("PersonalEmail") %>' CssClass="fieldlabel" />
                                                        </div>



                                                        <div class="col-md-6  height35 ">
                                                            <b class="text-muted">Mobile No. :&nbsp; </b>
                                                            <asp:Label ID="ParentContactNoLabel" runat="server" Text='<%# Eval("MobileNumber") %>' CssClass="fieldlabel" />
                                                        </div>



                                                        <div class="col-md-6  height35 ">
                                                            <b class="text-muted">Company Email :&nbsp; </b>
                                                            <asp:Label ID="Label3" runat="server" Text='<%# Eval("CompanyEmail") %>' CssClass="fieldlabel" />
                                                        </div>



                                                        <div class="col-md-6  height35 ">
                                                            <b class="text-muted">Company Contact No. :&nbsp; </b>
                                                            <asp:Label ID="StudentEmailLabel" runat="server" Text='<%# Eval("PhoneNoCompany") %>' CssClass="fieldlabel" />
                                                        </div>



                                                        <div class="col-md-6  height35 ">
                                                            <b class="text-muted">Extension :&nbsp; </b>
                                                            <asp:Label ID="StudentContactNoLabel" runat="server" Text='<%# Eval("ExtensionNo") %>' CssClass="fieldlabel" />
                                                        </div>

                                                        <div class="col-md-12">

                                                            <asp:Label ID="PresentLabel" runat="server" Text="Present Address"
                                                                Font-Underline="true" Font-Size="14px" Font-Bold="true" CssClass="pb5" />

                                                        </div>

                                                        <div class="col-md-6  height35 ">
                                                            <b class="text-muted">Address :&nbsp; </b>
                                                            <asp:Label ID="PresentAddressLabel" runat="server" Text='<%# Eval("PresentAddress") %>' CssClass="fieldlabel" />
                                                        </div>

                                                        <div class="col-md-6  height35 ">
                                                            <b class="text-muted">City :&nbsp; </b>
                                                            <asp:Label ID="PresentCityLabel" runat="server" Text='<%# Eval("PresentCity") %>' CssClass="fieldlabel" />
                                                        </div>

                                                        <div class="col-md-6  height35 ">
                                                            <b class="text-muted">State :&nbsp; </b>
                                                            <asp:Label ID="PresentStateLabel" runat="server" Text='<%# Eval("PresentState") %>' CssClass="fieldlabel" />
                                                        </div>

                                                        <div class="col-md-6  height35 ">
                                                            <b class="text-muted">Pin Code :&nbsp; </b>
                                                            <asp:Label ID="PresentZipCodeLabel" runat="server" Text='<%# Eval("PresentZipCode") %>' CssClass="fieldlabel" />
                                                        </div>

                                                        <div class="col-md-6  height35 ">
                                                            <b class="text-muted">Contact No. :&nbsp; </b>
                                                            <asp:Label ID="PresentContactNoLabel" runat="server" Text='<%# Eval("PresentContactNo") %>' CssClass="fieldlabel" />
                                                        </div>



                                                        <div class="col-md-12">
                                                            <asp:Label ID="EmergencyLabel" runat="server" Text="Emergency Address"
                                                                Font-Underline="true" Font-Size="14px" Font-Bold="true" CssClass="pb5" />
                                                        </div>

                                                        <div class="col-md-6  height35 ">
                                                            <b class="text-muted">Address :&nbsp; </b>
                                                            <asp:Label ID="EmergencyAddressLabel" runat="server" Text='<%# Eval("EmergencyAddress") %>' CssClass="fieldlabel" />
                                                        </div>

                                                        <div class="col-md-6  height35 ">
                                                            <b class="text-muted">City :&nbsp; </b>
                                                            <asp:Label ID="EmergencyCityLabel" runat="server" Text='<%# Eval("EmergencyCity") %>' CssClass="fieldlabel" />
                                                        </div>

                                                        <div class="col-md-6  height35 ">
                                                            <b class="text-muted">State :&nbsp; </b>
                                                            <asp:Label ID="EmergencyStateLabel" runat="server" Text='<%# Eval("EmergencyState") %>' CssClass="fieldlabel" />
                                                        </div>

                                                        <div class="col-md-6  height35 ">
                                                            <b class="text-muted">Pin Code :&nbsp; </b>
                                                            <asp:Label ID="EmergencyZipCodeLabel" runat="server" Text='<%# Eval("EmergencyZipCode") %>' CssClass="fieldlabel" />
                                                        </div>

                                                        <div class="col-md-6  height35 ">
                                                            <b class="text-muted">Contact No. :&nbsp; </b>
                                                            <asp:Label ID="EmergencyContactNoLabel" runat="server" Text='<%# Eval("EmergencyContactNo") %>' CssClass="fieldlabel" />
                                                        </div>



                                                        <div class="col-md-12">
                                                            <asp:Label ID="PermanentLabel" runat="server" Text="Permanent Address"
                                                                Font-Underline="true" Font-Size="14px" Font-Bold="true" />
                                                        </div>

                                                        <div class="col-md-6  height35 ">
                                                            <b class="text-muted">Address :&nbsp; </b>
                                                            <asp:Label ID="PermanentAddressLabel" runat="server" Text='<%# Eval("PermanentAddress") %>' CssClass="fieldlabel" />
                                                        </div>

                                                        <div class="col-md-6  height35 ">
                                                            <b class="text-muted">City :&nbsp; </b>
                                                            <asp:Label ID="PermanentCityLabel" runat="server" Text='<%# Eval("PermanentCity") %>' CssClass="fieldlabel" />
                                                        </div>

                                                        <div class="col-md-6  height35 ">
                                                            <b class="text-muted">State :&nbsp; </b>
                                                            <asp:Label ID="PermanentStateLabel" runat="server" Text='<%# Eval("PermanentState") %>' CssClass="fieldlabel" />
                                                        </div>

                                                        <div class="col-md-6  height35 ">
                                                            <b class="text-muted">Pin Code :&nbsp; </b>
                                                            <asp:Label ID="PermanentZipCodeLabel" runat="server" Text='<%# Eval("PermanentZipCode") %>' CssClass="fieldlabel" />
                                                        </div>

                                                        <div class="col-md-6  height35 ">
                                                            <b class="text-muted">Contact No. :&nbsp; </b>
                                                            <asp:Label ID="PermanentContactNoLabel" runat="server" Text='<%# Eval("PermanentContactNo") %>' CssClass="fieldlabel" />
                                                        </div>

                                                    </div>
                                                </div>
                                            </ItemTemplate>
                                        </asp:DataList>
                                    </div>
                                </div>


                                <div class="himssuHeader1WireBox col-md-12">
                                    <div class="himsBoxHeader card-head inner" id="Div5" runat="server" visible="true">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="gridHeaderText fLeft">
                                                <header>
                                                    <asp:Label ID="Label4" CssClass="profilesubheader" Text="Job Information" runat="server" />
                                                </header>
                                            </div>
                                            <div class="fRight">
                                            </div>
                                        </div>
                                    </div>
                                    <div class="himsBoxContent pTop5">
                                        <div id="Div6" class="himsBoxContentMsg" runat="server"
                                            visible="False">
                                        </div>
                                        <asp:DataList ID="FatherInformationDataList" runat="server" Width="100%">
                                            <ItemStyle CssClass="" />
                                            <ItemTemplate>
                                                <div class="profilediv">
                                                    <div class="midborder profilediv paddingbottom">


                                                        <div class="col-md-6  height35 ">
                                                            <b class="text-muted">Designation :&nbsp; </b>
                                                            <asp:Label ID="BirthDateLabel" runat="server" Text='<%# Eval("EmployeeDesignation") %>' CssClass="fieldlabel" />
                                                        </div>
                                                        <div class="col-md-6  height35 ">
                                                            <b class="text-muted">Qualification :&nbsp; </b>
                                                            <asp:Label ID="BloodGroupLabel" runat="server" Text='<%# Eval("EmployeeQualification") %>' CssClass="fieldlabel" />
                                                        </div>
                                                        <div class="col-md-6  height35 ">
                                                            <b class="text-muted">Department :&nbsp; </b>
                                                            <asp:Label ID="Label10" runat="server" Text='<%# Eval("EmployeeDepartment") %>' CssClass="fieldlabel" />
                                                        </div>
                                                        <div class="col-md-6  height35 ">
                                                            <b class="text-muted">Date Of Joining :&nbsp; </b>
                                                            <asp:Label ID="SexLabel" runat="server" Text='<%# Eval("DateOfJoining","{0:dd/MM/yyyy}") %>' CssClass="fieldlabel" />
                                                        </div>
                                                        <div class="col-md-6  height35 ">
                                                            <b class="text-muted">Employee Grade :&nbsp; </b>
                                                            <asp:Label ID="Label5" runat="server" Text='<%# Eval("EmployeeGrade") %>' CssClass="fieldlabel" />
                                                        </div>
                                                        <div class="col-md-6  height35 ">
                                                            <b class="text-muted">Employee Group :&nbsp; </b>
                                                            <asp:Label ID="Label8" runat="server" Text='<%# Eval("EmployeeGroup") %>' CssClass="fieldlabel" />
                                                        </div>

                                                    </div>
                                                </div>
                                            </ItemTemplate>
                                        </asp:DataList>
                                    </div>
                                </div>
                                <div class="himssuHeader1WireBox col-md-12">
                                    <div class="himsBoxHeader card-head inner" id="Div8" runat="server" visible="true">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="gridHeaderText fLeft">
                                                <header>
                                                    <asp:Label ID="Label6" CssClass="profilesubheader" Text="Other Details" runat="server" />
                                                </header>
                                            </div>
                                            <div class="fRight">
                                            </div>
                                        </div>
                                    </div>
                                    <div class="himsBoxContent pTop5">
                                        <div id="Div9" class="himsBoxContentMsg" runat="server"
                                            visible="False">
                                        </div>
                                        <asp:DataList ID="NotificationDataList" runat="server" Width="100%">
                                            <ItemStyle CssClass="" />
                                            <ItemTemplate>

                                                <div class="col-md-6  height35 ">
                                                    <b class="text-muted">Date Of Birth :&nbsp; </b>
                                                    <asp:Label ID="BirthDateLabel" runat="server" Text='<%# Eval("DateOfBirth","{0:dd/MM/yyyy}") %>' CssClass="fieldlabel" />
                                                </div>
                                                <div class="col-md-6  height35 ">
                                                    <b class="text-muted">Gender :&nbsp; </b>
                                                    <asp:Label ID="BloodGroupLabel" runat="server" Text='<%# Eval("Gender") %>' CssClass="fieldlabel" />
                                                </div>
                                                <div class="col-md-6  height35 ">
                                                    <b class="text-muted">Blood Group :&nbsp; </b>
                                                    <asp:Label ID="Label12" runat="server" Text='<%# Eval("BloodGroup") %>' CssClass="fieldlabel" />
                                                </div>
                                                <div class="col-md-6  height35 ">
                                                    <b class="text-muted">Marital Status :&nbsp; </b>
                                                    <asp:Label ID="Label9" runat="server" Text='<%# Eval("MeritalStatus") %>' CssClass="fieldlabel" />
                                                </div>

                                                </div>
                                            </ItemTemplate>
                                        </asp:DataList>
                                    </div>
                                </div>

                                <div class="himssuHeader1WireBox  col-md-12">
                                    <div class="himsBoxHeader card-head inner" id="Div1" runat="server" visible="true">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText fleft">
                                                <header>
                                                    <asp:Label ID="Label13" CssClass="profilesubheader" Text="Previous Employment" runat="server" />
                                                </header>
                                            </div>
                                            <div class="fRight">
                                            </div>
                                        </div>
                                    </div>
                                    <div class="himssuHeader7WireBox width-100">
                                        <div class="himsBoxHeader" id="StudentDiv" visible="false" runat="server">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <div class="fLeft">
                                                        <asp:Label ID="GridViewLabel" Text="" runat="server" Font-Bold="true" />
                                                    </div>
                                                </div>
                                                <div class="fRight mt-27">
                                                    <uc1:GridViewPager ID="StudentSearchGridView_GridViewPager" runat="server"
                                                        ParentGridView="StudentSearchGridView" />
                                                </div>
                                            </div>
                                        </div>
                                        <div class="himsBoxContent table-responsive">
                                            <div id="Div4" class="himsBoxContentMsg" runat="server"
                                                visible="False">
                                            </div>
                                            <asp:GridView runat="server" ID="PreviousEmployementGridView"
                                                AutoGenerateColumns="False" EmptyDataText="No Employment Details Found!"
                                                CssClass="table table-striped table-bordered table-hover"
                                                meta:resourcekey="EmploymentHistoryGridViewResource1">
                                                <Columns>
                                                    <asp:BoundField DataField="CompanyName" HeaderText="Company Name" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                    <asp:BoundField DataField="Duration" HeaderText="Duration" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                    <asp:BoundField DataField="Designation" HeaderText="Designation" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                    <asp:BoundField DataField="LastSalary" HeaderText="Last Salary" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                    <asp:BoundField DataField="ReasonForLeaving" HeaderText="Reason For Leaving" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                    <asp:BoundField DataField="JobDescription" HeaderText="Job Description" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                    <asp:BoundField DataField="Remark" HeaderText="Remark" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                </Columns>
                                                <PagerSettings Visible="False" />
                                            </asp:GridView>
                                        </div>
                                    </div>

                                </div>
                            </div>
                        </div>

                    </div>
                </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../../JavaScript/rjs/encrypt/assign-organization-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/assign-organization")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
    <%--Redirection to Vidyalaya Migration--%>
    <script type="text/javascript">
        function RedirectToEmployeeCenter(EmployeeCenterURL) {
            var newTab = window.open(EmployeeCenterURL, '_blank');
            // Redirect the current page with an absolute path
            window.location.href = '../../../Pages/BaseFramework/MyDashBoard.aspx';
        }
    </script>
</asp:Content>
