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

<%@ 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/AutoComplete/AutoCompleteControl.ascx" TagName="AutoCompleteControl" TagPrefix="acc" %>
<%@ Register Src="~/UserControls/Common/CommonSearch/AlphabetSearchCommonControl.ascx" TagName="AlphabetSearchCommonControl" TagPrefix="ACS" %>
<%@ 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>
            <ACS:AlphabetSearchCommonControl ID="AlphabetCommonSearch" runat="server" Visible="false" />
            <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="himssuHeader1WireBox card card-box">
                        <div class="himsBoxHeader card-head">
                            <div class="leftdiv">
                            </div>
                            <div class="himsBoxTitle">
                                <div class="headerText">
                                    <header>
                                        <i class="fas fa-shopping-cart"></i>
                                        <asp:Label ID="PaySetupTitleLabel" runat="server" Text="Pay Process"></asp:Label>
                                    </header>
                                </div>
                            </div>
                        </div>
                        <div class="himsBoxContent card-body">
                            <asp:Panel ID="DetailPanel" runat="Server">
                                <div class="contentHolder">
                                   
                                    <div class="outerBox pTop5 col-md-3" style="padding-bottom: 10px">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="ForYearLabel" runat="server" Text="For Year" SkinID="MandatoryLabel"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList runat="server" ID="ForYearDropDownList" SkinID="CustomWidthDropDownList"
                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" AutoPostBack="true"
                                                CssClass="form-control" OnSelectedIndexChanged="ForYearDropDownList_OnSelectedIndexChanged">
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3" style="padding-bottom: 10px">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="ForMonthLabel" runat="server" Text="For Month" SkinID="MandatoryLabel"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList runat="server" ID="ForMonthDropDownList" SkinID="CustomWidthDropDownList"
                                                CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" AutoPostBack="false">
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                    <div class="alignCenter col-md-12 pTop15 pb5">
                                        <asp:Button ID="PayProcessButton" runat="server" Text="&#Xf085; Process" OnClick="PayProcessButton_Click" SkinID="0" CssClass="btn btn-assign fas" />
                                        <asp:Button ID="PayProcessDeleteButton" runat="server" Text="&#xf2ed; Delete" OnClick="PayProcessDelete_Click" SkinID="0" CssClass="btn btn-delete fas" />
                                    </div>
                                   
                                </div>
                            </asp:Panel>
                        </div>
                    </div>
                   
                    <div class="himssuHeader1WireBox card card-box">
                        <div class="himsBoxHeader card-head">
                            <div class="leftdiv">
                            </div>
                            <div class="himsBoxTitle">
                                <div class="headerText">
                                    <header>
                                        <asp:Label ID="PayProcessSetupLabel" runat="server" Text="Pay Process Setup"></asp:Label>
                                    </header>
                                    <div class="fRight">
                                        <asp:Button ID="UpdateButton" runat="server" Text="&#xf0c7; Save" OnClick="UpdateButton_Click" SkinID="0" CssClass="btn btn-save fas" />
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="himsBoxContent card-body">
                            <asp:Panel ID="Panel1" runat="Server">
                                <div class="contentHolder">
                                    <div class="himsBoxContent col-md-12 table-responsive">
                                        <asp:GridView runat="server" ID="PayProcessSetupGridView" AutoGenerateColumns="False"
                                            EmptyDataText="No records available for the seacrh criteria!" DataKeyNames="PayProcessId"
                                            meta:resourcekey="PayProcessSetupResource1"
                                            CssClass="table table-striped table-bordered table-hover">
                                            <Columns>
                                                <asp:BoundField DataField="SalaryYear" HeaderText="Salary Year" ItemStyle-Width="5%" />
                                                <asp:BoundField DataField="MonthTitle" HeaderText="Salary Month" ItemStyle-Width="7%" />
                                                <asp:TemplateField HeaderText="Approved">
                                                    <HeaderStyle HorizontalAlign="Center" />
                                                    <ItemStyle HorizontalAlign="Center" Width="6%" Wrap="True" />
                                                    <ItemTemplate>
                                                        <label class="rt-chkbox rt-chkbox-outline">
                                                            <asp:CheckBox ID="IsApprovedCheckBox" SkinID="CustomWidthCheckBox"
                                                                runat="server" Checked='<%# Bind("IsApproved") %>' />
                                                            <span></span>
                                                        </label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Publish">
                                                    <HeaderStyle HorizontalAlign="Center" />
                                                    <ItemStyle HorizontalAlign="Center" Width="6%" Wrap="True" />
                                                    <ItemTemplate>
                                                        <label class="rt-chkbox rt-chkbox-outline">
                                                            <asp:CheckBox ID="IsPublishCheckBox" SkinID="CustomWidthCheckBox"
                                                                runat="server" Checked='<%# Bind("IsPublish") %>' />
                                                            <span></span>
                                                        </label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                        </asp:GridView>
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                    </div>
                </div>
            </div>
           
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../../JavaScript/rjs/encrypt/payroll-employee-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/payroll-employee")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
