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

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="OTQueueListingUpdatePanel" runat="server">
        <ContentTemplate>
            <div id="divContentPage" class="padding-top-header">
                <div class="alert alert-warning" runat="server" id="MessageBox" visible="false">
                    <strong>
                        <asp:Label ID="MessageBoxLabel" runat="server"></asp:Label></strong>
                </div>
                <div style="width: 100%; padding: 2px; margin: 2px">
                    <table width="100%" border="0" style="vertical-align: top; margin-top: -1px" cellpadding="0" cellspacing="0">
                        <tr>
                            <td style="vertical-align: top;" width="100%" class="whiteboxpaddingleft">
                                <div class="himssuHeader1WireBox whitebox">
                                    <div class="himsBoxHeader note note1 box box-danger">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                                <asp:Label ID="MyPayrollLabel" runat="server" Text="My Payroll"></asp:Label>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="himsBoxContent">
                                        <asp:Panel ID="DetailPanel" runat="Server">
                                            <div class="contentHolder">
                                                <div class="outerBox pTop5" 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"
                                                            Width="154px" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" AutoPostBack="true"
                                                            OnSelectedIndexChanged="ForYearDropDownList_SelectedIndexChanged">
                                                        </asp:DropDownList>
                                                        <asp:HiddenField ID="IdHiddenField" runat="server" />
                                                    </div>
                                                </div>
                                                <div class="cBoth">
                                                </div>
                                                <div id="PayProcessSetupDiv" runat="server" visible="false">
                                                    <div class="himsBoxContent box-body box-solid gridviewfont">
                                                        <asp:GridView runat="server" ID="PayProcessSetupGridView" Width="100%" AutoGenerateColumns="False"
                                                            EmptyDataText="No records available for the seacrh criteria!" DataKeyNames="PayProcessId,SalaryMonth"
                                                            meta:resourcekey="PayProcessSetupResource1" OnRowDataBound="PayProcessSetupGridView_RowDataBound"
                                                            CssClass="table table-striped table-bordered">
                                                            <Columns>
                                                                <asp:BoundField DataField="SalaryYear" HeaderText="Salary Year" />
                                                                <asp:BoundField DataField="MonthTitle" HeaderText="Salary Month" />
                                                                <asp:TemplateField meta:resourcekey="TemplateFieldResource1">
                                                                    <ItemTemplate>
                                                                        <asp:LinkButton ID="ViewReportLinkButton" runat="server" Text="View Report" OnClick="ViewReportLinkButton_Click"></asp:LinkButton>
                                                                    </ItemTemplate>
                                                                    <ItemStyle HorizontalAlign="Center" />
                                                                </asp:TemplateField>
                                                            </Columns>
                                                        </asp:GridView>
                                                    </div>
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </div>
                                </div>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
            <div class="spacer">
                <img src="../../../Images/spacer.gif" />
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <script data-main="../../../JavaScript/rjs/encrypt/mpayroll-encrypt" src="../../../JavaScript/rjs/require.js"></script>
</asp:Content>