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

<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl" TagPrefix="Date" %>
<%@ 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/Common/EmployeeSearch/EmployeeSearch.ascx" TagName="EmployeeSearchControl" TagPrefix="hims" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="ResonMasterUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <hims:EmployeeSearchControl ID="EmployeeSearch" Visible="false" runat="server" />
            <div id="divContentPage">
                <div style="width: 100%; padding: 2px; margin: 2px">
                    <table width="100%" border="0" style="vertical-align: top; margin-top: -1px; border-collapse: collapse" cellspacing="0">
                        <tr>
                            <td class="dashBoardLeftCont" valign="top">
                                <div class="himssuHeader3WireBox">
                                    <table width="0px" cellpadding="0" cellspacing="0">
                                        <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>
                            </td>
                            <td style="vertical-align: top" width="100%" class="whiteboxpaddingleft">
                                <div class="himssuHeader5WireBox whitebox" id="SearchDiv" runat="server">
                                    <div class="himsBoxHeader note note1 box box-danger">
                                        <asp:Panel ID="Panel1" runat="server">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <asp:Label ID="Label3" runat="server" Text="Search"></asp:Label>
                                                </div>
                                                <div class="fRight" style="margin-top: -20px">
                                                    <asp:Button ID="AddNewButtonID" runat="server" OnClick="AddNewButton_Click" SkinID="0" CssClass="AddButton" Text="Add" />
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </div>
                                    <div class="himsBoxContent">
                                        <asp:Panel ID="DetailPanel" runat="Server">
                                            <div class="contentHolder">
                                                <asp:Panel ID="SearchCriteriaPanel" runat="Server">
                                                    <div class="outerBox pTop5">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="Label2" runat="server" Text="Interest Type"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList runat="server" ID="InterestTypeSearchDropDownList" SkinID="CustomWidthDropDownList"
                                                                onmouseleave="showHideTooltip()" Width="154px" onmouseenter="showHideTooltip()">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>


                                                    <div class="outerBox pTop5">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="Label5" runat="server" Text="From Date"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <Date:DatePickerControl DisplayDatePicker="true" Width="100px" ID="FromDatePickerControl" Visible="True" runat="Server"></Date:DatePickerControl>
                                                        </div>
                                                    </div>

                                                    <div class="outerBox pTop5">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="Label6" runat="server" Text="To Date"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <Date:DatePickerControl DisplayDatePicker="true" Width="100px" ID="ToDatePickerControl" Visible="True" runat="Server"></Date:DatePickerControl>
                                                        </div>
                                                    </div>
                                                    <div class="cBoth">
                                                    </div>
                                                    <div class="alignCenter pTop5">
                                                        <asp:Button ID="SearchButton" Text="Search" runat="Server" OnClick="SearchButton_Click" SkinID="0" CssClass="btn-primary" />
                                                        <asp:Button ID="ResetButton" runat="server" Text="Clear" OnClick="ResetButton_Click" />
                                                    </div>
                                                </asp:Panel>
                                                <div id="Div1" class="himssuHeader7WireBox box-body box-solid gridviewfont" runat="server" style="width: 100%; margin-right: 5px;">
                                                    <div id="ReasonMasterDetailDiv" visible="false" runat="server">
                                                        <div class="spacer">
                                                            <asp:Image ID="Image3" runat="server" ImageUrl="~/Images/spacer.gif" />
                                                        </div>
                                                        <div class="himsBoxHeader" id="PatientRelationDiv" visible="True" runat="server">
                                                            <div class="leftdiv">
                                                            </div>
                                                            <div class="himsBoxTitle" style="width: 99%">
                                                                <div class="headerText">
                                                                    <div>
                                                                        <asp:Label ID="GridViewLabel" Text="" runat="server" Font-Bold="true" />
                                                                    </div>
                                                                </div>
                                                                <div align="right" style="margin-top: -3px;">
                                                                    <div align="right" style="margin-right: -2px">
                                                                        <table id="PagerTable" runat="server" visible="false" cellpadding="0" cellspacing="0">
                                                                            <tr>
                                                                                <td class="formLabel">
                                                                                    <asp:Panel ID="RecordPanel" runat="server">
                                                                                        <label class="pLeft5" style="font-weight: 600">
                                                                                            Total Records: <b>
                                                                                                <asp:Label ID="NoofRecords" runat="server" /></b></label>
                                                                                        <label class="colorBlue">|</label>
                                                                                        <label style="font-weight: 600">
                                                                                            Records per Page: <b>
                                                                                                <asp:Label ID="RecordsperPageLabel" runat="server" /></b></label>
                                                                                        <label class="colorBlue">|</label><label class="pLeft40" />
                                                                                    </asp:Panel>
                                                                                </td>
                                                                                <td class="formLabel">
                                                                                    <asp:LinkButton CssClass="btn btn-default gridviewpagerbuttonpadding" ToolTip="First Page" ID="ImageButtonFirst" OnClick="ImageButtonFirst_Click" runat="server"><i class="fa fa-fast-backward" style="font-size:8px"></i>
                                                                                    </asp:LinkButton>
                                                                                    <asp:LinkButton CssClass="btn btn-default gridviewpagerbuttonpadding" ToolTip="Previous Page" ID="ImageButtonPrev" OnClick="ImageButtonPrev_Click" runat="server"><i class="fa fa-play fa-rotate-180" style="font-size:8px"></i>
                                                                                    </asp:LinkButton>
                                                                                    <asp:Label Font-Bold="false" ID="Label9" runat="server" Text="Record " AssociatedControlID="ReCordNumber" />
                                                                                    <asp:TextBox ID="TextBoxPage" Font-Bold="true" Height="15PX" Width="24Px" runat="server" AutoPostBack="true" OnTextChanged="TextBoxPage_OnTextChanged" SkinID="Dummy" CssClass="pageTextbox" onkeypress="return isNumberKey(event);"
                                                                                        onPaste="return false;"
                                                                                        onDrag="return false"
                                                                                        onDrop="return false"
                                                                                        autocomplete="off"
                                                                                        MaxLength="4" />
                                                                                    <asp:Label ID="Label10" Font-Bold="true" SkinID="Dummy" runat="server"></asp:Label>
                                                                                    <asp:Label ID="Label11" Text="of" runat="server" />
                                                                                    <asp:Label Font-Bold="true" ID="LabelNumberOfPages" runat="server" />
                                                                                    <asp:LinkButton CssClass="btn btn-default gridviewpagerbuttonpadding" ToolTip="Next Page" ID="ImageButtonNext" OnClick="ImageButtonNext_Click" runat="server"><i class="fa fa-play" style="font-size:8px"></i>
                                                                                    </asp:LinkButton>
                                                                                    <asp:LinkButton CssClass="btn btn-default gridviewpagerbuttonpadding" ToolTip="Last Page" ID="ImageButtonLast" runat="server" OnClick="ImageButtonLast_Click"><i class="fa fa-fast-forward" style="font-size:8px"></i>
                                                                                    </asp:LinkButton>
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </div>

                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="himsBoxContent">
                                                            <div id="GridViewMessageDiv" class="himsBoxContentMsg" runat="server" visible="true">
                                                            </div>
                                                            <asp:UpdatePanel ID="MenuPlanDetailUpdatePanel" runat="server" UpdateMode="Always">
                                                                <ContentTemplate>
                                                                    <div id="Div5" runat="server" visible="false">
                                                                        <asp:GridView ID="GridViewMain" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                            OnRowDataBound="AccountMasterGridView_RowDataBound"
                                                                            SkinID="" ShowHeader="True"
                                                                            DataKeyNames="Id" EmptyDataText="No Records Found !!!"
                                                                            CssClass="table table-striped table-bordered">
                                                                            <Columns>
                                                                                <asp:TemplateField ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                                    <ItemTemplate>
                                                                                        <asp:LinkButton ID="EditLinkButton" runat="server" CommandName="Select" OnClick="LinkButton_Click"
                                                                                            Text="Select" CausesValidation="false"></asp:LinkButton>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Loan Type" ItemStyle-Width="13%" SortExpression="LoanType" HeaderStyle-HorizontalAlign="Left"
                                                                                    ItemStyle-Wrap="true">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="LoanTypeLabel" runat="server" Text='<%# Bind("LoanType") %>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="InsterestType" ItemStyle-Width="8%" SortExpression="InsterestType" HeaderStyle-HorizontalAlign="Left"
                                                                                    ItemStyle-Wrap="true">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="InsterestTypeLabel" runat="server" Text='<%# Bind("InsterestType") %>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Approved Date" ItemStyle-Width="10%" SortExpression="ApprovedDate" HeaderStyle-HorizontalAlign="Left"
                                                                                    ItemStyle-Wrap="true">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="ApprovedDateLabel" runat="server" Text='<%# Bind("ApprovedDate") %>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Payment Start Date" ItemStyle-Width="10%" SortExpression="RepaymentStartDate" HeaderStyle-HorizontalAlign="Left"
                                                                                    ItemStyle-Wrap="true">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="RepaymentStartDateLabel" runat="server" Text='<%# Bind("RepaymentStartDate") %>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Loan Amount" ItemStyle-Width="10%" SortExpression="LoanAmount" HeaderStyle-HorizontalAlign="Left"
                                                                                    ItemStyle-Wrap="true" ItemStyle-HorizontalAlign="Right">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="LoanAmountLabel" runat="server" Text='<%# Bind("LoanAmount") %>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Interest Rate" ItemStyle-Width="8%" SortExpression="InterestRate" HeaderStyle-HorizontalAlign="Left"
                                                                                    ItemStyle-Wrap="true" ItemStyle-HorizontalAlign="Right">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="InterestRateLabel" runat="server" Text='<%# Bind("InterestRate") %>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Installament" ItemStyle-Width="7%" SortExpression="NoofInstallament" HeaderStyle-HorizontalAlign="Left"
                                                                                    ItemStyle-Wrap="true" ItemStyle-HorizontalAlign="Right">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="NoofInstallamentLabel" runat="server" Text='<%# Bind("NoofInstallament") %>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Paid EMI"  ItemStyle-Width="6%" SortExpression="PaidEmi" HeaderStyle-HorizontalAlign="Left"
                                                                                    ItemStyle-Wrap="true" ItemStyle-HorizontalAlign="Right">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="PaidEmiLabel" runat="server" Text='<%# Bind("PaidEmi") %>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Pending EMI"  ItemStyle-Width="8%" SortExpression="PendingEMI" HeaderStyle-HorizontalAlign="Left"
                                                                                    ItemStyle-Wrap="true" ItemStyle-HorizontalAlign="Right">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="PendingEMILabel" runat="server" Text='<%# Bind("PendingEMI") %>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Skip EMI"  ItemStyle-Width="6%" SortExpression="SkipEMI" HeaderStyle-HorizontalAlign="Left"
                                                                                    ItemStyle-Wrap="true" ItemStyle-HorizontalAlign="Right">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="SkipEMILabel" runat="server" Text='<%# Bind("SkipEMI") %>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Loan Status"  ItemStyle-Width="7%" SortExpression="LoanStatus" HeaderStyle-HorizontalAlign="Left"
                                                                                    ItemStyle-Wrap="true" ItemStyle-HorizontalAlign="Center">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="StatusLabel" runat="server" Text='<%# Bind("LoanStatus") %>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                            </Columns>
                                                                        </asp:GridView>
                                                                    </div>
                                                                </ContentTemplate>
                                                            </asp:UpdatePanel>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </div>
                                </div>
                                <div class="himssuHeader1WireBox whitebox" id="DetailDiv" runat="server" visible="false">
                                    <div class="himsBoxHeader note note1 box box-danger">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                                <asp:Label ID="AccountingYearMasterDetailLabel" runat="server" Text="Maintenance"></asp:Label>
                                            </div>
                                        </div>
                                        <div class="fRight" style="margin-top: -20px">
                                            <table>
                                                <tr>
                                                    <td class="formLabel">
                                                        <div id="NumberOfRecordDiv" class="display-flex" runat="server" visible="true">
                                                            <asp:ImageButton AlternateText="First page" ToolTip="First page" ID="FirstRecordImageButton"
                                                                runat="server" ImageUrl="~/Images/arrowLlast.gif" CommandName="Page" CommandArgument="First"
                                                                OnClick="FirstRecordImageButton_Click" />
                                                            <asp:ImageButton AlternateText="Previous page" ToolTip="Previous page" ID="PreviousImageButton"
                                                                runat="server" ImageUrl="~/Images/arrowLeft.gif" CommandName="Page" CommandArgument="Prev"
                                                                OnClick="PreviousImageButton_Click" />
                                                            <asp:Label ID="LabelPage" runat="server" Text="Record " AssociatedControlID="ReCordNumber" />
                                                            <asp:Label ID="ReCordNumber" Font-Bold="true" SkinID="Dummy" runat="server"></asp:Label>
                                                            <asp:Label ID="ofLabel" Text="of" runat="server" />
                                                            <asp:Label ID="TotalRecord" runat="server" />
                                                            <asp:ImageButton AlternateText="Next page" ToolTip="Next page" ID="NextImageButtom"
                                                                runat="server" ImageUrl="~/Images/arrowRight.gif" CommandName="Page" CommandArgument="Next"
                                                                OnClick="NextImageButton_Click" />
                                                            <asp:ImageButton AlternateText="Last page" ToolTip="Last page" ID="LastRecordImageButton"
                                                                runat="server" ImageUrl="~/Images/arrowRLast.gif" CommandName="Page" CommandArgument="Last"
                                                                OnClick="LastRecordImageButton_Click" />
                                                        </div>
                                                    </td>
                                                    <td>
                                                        <asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0" CssClass="BackButton" Text="Back" />
                                                    </td>
                                                </tr>
                                            </table>
                                        </div>
                                    </div>
                                    <div class="himsBoxContent">
                                        <div class="contentHolder">
                                            <div class="cBoth"></div>


                                            <div class="outerBox pTop5">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="LoanTypeLabel" runat="server" Text="Loan Type" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:HiddenField ID="PaySetupIdHiddenField" runat="server" Value="0" />
                                                    <asp:HiddenField ID="EmployeeIdHiddenField" runat="server" />
                                                    <asp:HiddenField ID="IdHiddenField" runat="server" />
                                                    <asp:HiddenField ID="MaxRowHiddenField" runat="server" />
                                                    <asp:DropDownList runat="server" ID="LoanTypeDropDownList" SkinID="CustomWidthDropDownList"
                                                        onmouseleave="showHideTooltip()" Width="154px" onmouseenter="showHideTooltip()">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>


                                            <div class="outerBox pTop5">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="InterestTypeIdLabel" runat="server" Text="Interest Type" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList runat="server" ID="InterestTypeDropDownList" SkinID="CustomWidthDropDownList"
                                                        onmouseleave="showHideTooltip()" Width="154px" onmouseenter="showHideTooltip()">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="ApprovedDateLabel" runat="server" Text="Approved Date" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <Date:DatePickerControl DisplayDatePicker="true" Width="100px" ID="ApprovedDatePickerControl" Text='<%# Bind("TransactionDate") %>' Visible="True" runat="Server"></Date:DatePickerControl>
                                                </div>
                                            </div>

                                            <div class="cBoth">
                                            </div>


                                            <div class="outerBox pTop5">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="LoanAmountLabel" Text="Loan Amount" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="LoanAmountTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" SkinID="CustomWidthTextBox" Width="150px" runat="Server" MaxLength="100"
                                                        onblur="javascript:return fnValidateDecimal(this,10,2)"
                                                        onKeypress="javascript:return MaskDecimal(event,8,2)"
                                                        onPaste="return false;"
                                                        onDrag="return false"
                                                        onDrop="return false"
                                                        autocomplete="off"></asp:TextBox>
                                                </div>
                                            </div>

                                            <div class="outerBox pTop5">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="InterestRateLabel" runat="server" Text="Rate Of Interest" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="InterestRateTextBox" runat="server" Width="150px" SkinID="CustomWidthTextBox"
                                                        MaxLength="10"
                                                        onblur="javascript:return fnValidateDecimal(this,10,2)"
                                                        onKeypress="javascript:return MaskDecimal(event,2,2)"
                                                        onPaste="return false;"
                                                        onDrag="return false"
                                                        onDrop="return false"
                                                        autocomplete="off"></asp:TextBox>
                                                </div>
                                            </div>

                                            <div class="outerBox pTop5">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="NoofInstallamentLabel" runat="server" Text="No Of Installament" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="NoOfInstallamentTextBox" runat="server" Width="150px" SkinID="CustomWidthTextBox"
                                                        MaxLength="2"
                                                        onblur="javascript:return fnValidateDecimal(this,5,2)"
                                                        onkeypress="return isNumberKey(event)"
                                                        onPaste="return false;"
                                                        onDrag="return false"
                                                        onDrop="return false"
                                                        autocomplete="off"></asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="cBoth">
                                            </div>

                                            <div class="outerBox pTop5" id="divRePayment" runat="server" visible="false">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="Label1" runat="server" Text="RePayment StartDate" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <Date:DatePickerControl DisplayDatePicker="true" Width="100px" ID="RepaymentStartDatePickerControl" Text='<%# Bind("TransactionDate") %>' Visible="True" runat="Server"></Date:DatePickerControl>
                                                </div>
                                            </div>

                                            <div class="cBoth">
                                            </div>
                                            <div class="outerBox pTop5">
                                                <div class="controlLabelWidth">
                                                    <asp:CheckBox ID="IsObsolateCheckBox" runat="server" Visible="false" />
                                                    <asp:Label ID="IsObsolateLable" runat="server" Text="InActive" Visible="false"></asp:Label>
                                                </div>
                                            </div>
                                            <div class="cBoth">
                                            </div>
                                            <div class="himssuHeader7WireBox box-body box-solid gridviewfont">
                                                <div class="himsBoxContent">
                                                    <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Always">
                                                        <ContentTemplate>
                                                            <div id="DivDetailsGridView" runat="server" visible="false">
                                                                <asp:GridView runat="server" ID="DetailsGridView" Width="100%" AutoGenerateColumns="False"
                                                                    ShowHeader="True" OnRowDataBound="DetailsGridView_RowDataBound" meta:resourcekey="EmployeePayrollGridViewResource1"
                                                                    CssClass="table table-striped table-bordered">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Sr No." ItemStyle-Width="10%" SortExpression="RowID" ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="RowIDLabel" runat="server" Text='<%# Bind("RowID") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                            <HeaderStyle HorizontalAlign="Right" />
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="INST. Month" ItemStyle-Width="20%" SortExpression="RowID"
                                                                            ItemStyle-Wrap="true" ItemStyle-HorizontalAlign="Center">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="MonthNameLabel" runat="server" Text='<%# Bind("MonthName") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="INST. Amount" ItemStyle-Width="20%" SortExpression="RowID" HeaderStyle-HorizontalAlign="Right"
                                                                            ItemStyle-Wrap="true" ItemStyle-HorizontalAlign="Right">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="MonthAmountLabel" runat="server" Text='<%# Bind("MonthAmount") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Interest" ItemStyle-Width="20%" SortExpression="RowID" HeaderStyle-HorizontalAlign="Right"
                                                                            ItemStyle-Wrap="true" ItemStyle-HorizontalAlign="Right">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="InterestLabel" runat="server" Text='<%# Bind("Interest") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Total" ItemStyle-Width="20%" SortExpression="RowID" HeaderStyle-HorizontalAlign="Right"
                                                                            ItemStyle-Wrap="true" ItemStyle-HorizontalAlign="Right">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="TotalLabel" runat="server" Text='<%# Bind("Total") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Status" ItemStyle-Width="10%" SortExpression="RowID" HeaderStyle-HorizontalAlign="Center"
                                                                            ItemStyle-Wrap="true" ItemStyle-HorizontalAlign="Center">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="StatusLabel" runat="server" Text='<%# Bind("Status") %>'></asp:Label>
                                                                                <asp:HiddenField ID="StatusLabelHiddenField" runat="server" Value='<%# Bind("StatusLabel") %>'></asp:HiddenField>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                    <PagerSettings Visible="False" />
                                                                </asp:GridView>
                                                            </div>
                                                        </ContentTemplate>
                                                    </asp:UpdatePanel>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <script data-main="../../../JavaScript/rjs/encrypt/payrollyear-master-encrypt" src="../../../JavaScript/rjs/require.js"></script>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/payrollyear-master")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>



