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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl" TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/Common/Payroll/PayrollDetailBoxControl.ascx" TagName="PayrollControl" TagPrefix="Pay" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="OTQueueListingUpdatePanel" 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="162"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="whiteboxpaddingleft row">
                    <Pay:PayrollControl ID="PayrollUserControl" runat="server" Visible="true" />
                    <div class="himssuHeader2WireBox">
                        <div class="contentHolder">
                            <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-mouse-pointer"></i>--%>
                                                <asp:Label ID="Label1" runat="server" Text="Pay Element History"></asp:Label>
                                            </header>
                                        </div>
                                    </div>
                                </div>
                                <div class="himsBoxContent card-body">
                                    <asp:Panel ID="DetailPanel" runat="Server">
                                        <div class="contentHolder">
                                            <div id="Div1" class="himssuHeader1WireBox box-body box-solid gridviewfont" runat="server"
                                                visible="false" style="width: 100%; height: 100%">
                                                <div id="GridViewPagerDiv" runat="server" visible="True">
                                                    <div class="leftdiv">
                                                    </div>
                                                    <div class="himsBoxTitle">
                                                    </div>
                                                </div>
                                                <div class="himsBoxContent">
                                                    <div id="GridViewMessageDiv" class="himsBoxContentMsg table-responsive" runat="server" visible="False">
                                                    </div>
                                                    <asp:GridView ID="SelectPayElementGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                        EmptyDataText="No Records Found !!" AllowPaging="false" OnRowDataBound="SelectPayElementGridView_RowDataBound"
                                                        ShowHeader="true" DataKeyNames="ID,PayElementTypeId,PaidCategoryId,PayElementDefaultId"
                                                        CssClass="table table-striped table-bordered">
                                                        <Columns>
                                                           
                                                            <asp:TemplateField HeaderText="Code" ItemStyle-Width="5%">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="CodeLabel" runat="server" Text='<%# Eval("Code") %>' />
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Title" ItemStyle-Width="10%">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="TitleLabel" runat="server" Text='<%# Eval("Title") %>' />
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Pay Element Type" ItemStyle-Width="5%">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="PayElementTypeLabel" runat="server" Text='<%# Eval("PayElementType") %>' />
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Lwp" HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="5%"
                                                                ItemStyle-Wrap="true">
                                                                <ItemStyle HorizontalAlign="Center" />
                                                                <ItemTemplate>
                                                                        <asp:Label ID="IsLwp" runat="server" Text='<%# Eval("IsLwp") %>' />
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Employee Specific" HeaderStyle-HorizontalAlign="Center"
                                                                ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                <ItemStyle HorizontalAlign="Center" />
                                                                <ItemTemplate>
                                                                        <asp:Label ID="IsEmployeeSpecific" runat="server" Text='<%# Eval("IsEmployeeSpecific") %>'/>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Depend" HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="5%"
                                                                ItemStyle-Wrap="true">
                                                                <ItemStyle HorizontalAlign="Center" />
                                                                <ItemTemplate>
                                                                    <asp:Label ID="IsDepend" runat="server" Text='<%# Eval("IsDepend") %>'/>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Avail During Probation" HeaderStyle-HorizontalAlign="Center"
                                                                ItemStyle-Width="5%" ItemStyle-Wrap="true" Visible="false">
                                                                <ItemStyle HorizontalAlign="Center" />
                                                                <ItemTemplate>
                                                                    <asp:Label ID="IsAvailDuringProbation" runat="server" Text='<%# Eval("IsAvailDuringProbation") %>'/>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Include In Pay Slip" HeaderStyle-HorizontalAlign="Center"
                                                                ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                <ItemStyle HorizontalAlign="Center" />
                                                                <ItemTemplate>
                                                                    <asp:Label ID="IsIncludeInPaySlip" runat="server" Text='<%# Eval("IsIncludeInPaySlip") %>'/>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Include In Total" HeaderStyle-HorizontalAlign="Center"
                                                                ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                <ItemStyle HorizontalAlign="Center" />
                                                                <ItemTemplate>
                                                                    <asp:Label ID="IsIncludeInTotal" runat="server" Text='<%# Eval("IsIncludeInTotal") %>'/>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Sort Order">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="SortOrderTextBox" SkinID="CustomWidthCheckBox" runat="server" Width="80px"
                                                                        MaxLength="8" onkeypress="javascript:return isNumberKey(this)" Text='<%# Eval("SortOrder") %>'
                                                                        Enabled="false" />
                                                                </ItemTemplate>
                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                <ItemStyle Width="5%" Wrap="True" />
                                                            </asp:TemplateField>
                                                        </Columns>
                                                        <PagerSettings Visible="False" />
                                                    </asp:GridView>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                </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>
</asp:Content>
