 <%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Hrm_Payroll_EsiSetup, App_Web_gkphxslw" 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" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl" TagPrefix="Date" %>
 <%@ Register Src="~/UserControls/Common/Payroll/PayrollDetailBoxControl.ascx" TagName="PayrollControl" TagPrefix="Pay" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="IncidentLogUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>     
              <div id="divContentPage">               
                 <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 class="dashBoardLeftCont" valign="top">
                                <div class="himssuHeader3WireBox">
                                    <div class="himsBoxHeader">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                            <asp:Label runat="server" ID="ScreenGroupNameLabel"></asp:Label>    
                                            </div>
                                        </div>
                                    </div>
                                    <table width="200px" cellpadding="0" cellspacing="0">
                                        <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>
                            </td>
                            <td style="vertical-align: top;padding-left:10px" width="99%"> 
                                <Pay:PayrollControl ID="PayrollUserControl" runat="server" Visible="true" />
                                <div class="himssuHeader2WireBox">
                                <div class="contentHolder" style="padding-top:0px;padding-left:0px;padding-right:0px">
                                    <div class="himssuHeader1WireBox">
                                        <div class="himsBoxHeader">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <asp:Label ID="Label1" runat="server" Text="Esi Setup"></asp:Label>
                                                </div>
                                            </div>
                                        </div>     
                                    <div class="himsBoxContent">
                                        <asp:Panel ID="DetailPanel" runat="Server">
                                            <div class="contentHolder">                                                
                                              <div class="cBoth">
                                              </div>
                                                    <asp:Panel ID="Panel1" runat="Server">                                                    
                                                     <div class="outerBox pTop5">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="EsiSalaryLimitLabel" runat="server" Text="Esi Salary Limit" SkinID="MandatoryLabel" ></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                           <asp:TextBox ID="EsiSalaryLimitTextBox" runat="server" Width="150px"   SkinID="CustomWidthTextBox"
                                                           onblur="javascript:return fnValidateDecimal(this,16,6)" onKeypress="javascript:return MaskDecimal(event,16,6)"></asp:TextBox>  
                                                        </div>
                                                    </div>  
                                                    <div class="outerBox pTop5">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="EmployeeEsiPercentLabel" runat="server" Text="Employee Esi Percent" SkinID="MandatoryLabel" ></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                          <asp:TextBox ID="EmployeeEsiPercentTextBox" runat="server" Width="150px"   SkinID="CustomWidthTextBox"
                                                                onblur="javascript:return fnValidateDecimal(this,3,2)" onKeypress="javascript:return MaskDecimal(event,3,2)"></asp:TextBox>  
                                                        </div>
                                                    </div>
                                            <div class="cBoth">
                                            </div>                                                    
                                                      <div class="outerBox pTop5">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="EmployerEsiPercentLabel2" runat="server" Text="Employer Esi Percent" SkinID="MandatoryLabel" ></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                           <asp:TextBox ID="EmployerEsiPercentTextBox" runat="server" Width="150px"   SkinID="CustomWidthTextBox"
                                                           onblur="javascript:return fnValidateDecimal(this,3,2)" onKeypress="javascript:return MaskDecimal(event,3,2)"></asp:TextBox>  
                                                        </div>
                                                    </div>       
                                                    <div class="outerBox pTop5">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="RoundingTypeIdLabel" runat="server" Text="Rounding Type" SkinID="MandatoryLabel" ></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList ID="RoundingTypeIdDropDownList" runat="server" Width="150px" SkinID="CustomWidthDropDownList"></asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="cBoth">
                                                   </div>
                                                    <div class="outerBox pTop5">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="RoundingPrecisionLabel" runat="server" Text="Rounding Precision" SkinID="MandatoryLabel" ></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                         <asp:TextBox ID="RoundingPrecisionTextBox" runat="server" Width="150px" onkeypress="return isNumberKey(event);"  SkinID="CustomWidthTextBox"></asp:TextBox>  
                                                        </div>
                                                    </div> 
                                                  <div class="outerBox pTop5">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="EffectiveDateLabel" runat="server"  Text="Effective Date" SkinID="MandatoryLabel"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <Date:DatePickerControl DisplayDatePicker="true" ID="EffectiveDatePickerControl" runat="server" />
                                                        </div>
                                                  </div>                                                  
                                                    <div class="cBoth">
                                                    </div>
                                                </asp:Panel>
                                               </div>
                                        </asp:Panel>
                                    </div> 
                                    </div>                                        
                                    </div>
                                </div>
                                <div class="spacer">
                                    <asp:Image ID="Image4" runat="server" ImageUrl="~/Images/spacer.gif" />
                                </div>                                
                            </td>
                        </tr>
                    </table>                  
                </div>
            </div>
            <div class="spacer">
                <img src="../../../Images/spacer.gif" />
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
     <%--<script data-main="../../../JavaScript/rjs/encrypt/esi-setup-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/esi-setup")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>