<%@ page title="" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Hrm_Loan_MyLoanDetail, App_Web_vap4hgxf" culture="en-IN" 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" class="divcontentpagemargin">
               
                            <div class="dashBoardLeftCont">
                                <div class="himssuHeader3WireBox">
                                    <table>
                                        <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>
                            </div>
                            <div class="whiteboxpaddingleft row">
                                <div class="himssuHeader5WireBox card card-box" id="SearchDiv" runat="server">
                                    <div class="himsBoxHeader card-head">
                                        <asp:Panel ID="Panel1" runat="server">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <header>
                                                        <i class="fas fa-search"></i>
                                                    <asp:Label ID="Label3" runat="server" Text="Search"></asp:Label>
                                                    </header>
                                                </div>
                                                <div class="fRight mt-27">
                                                    <asp:Button ID="AddNewButtonID" runat="server" OnClick="AddNewButton_Click" SkinID="0" class="btn btn-add fas" Text="&#xf067; Add" />
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </div>
                                    <div class="himsBoxContent card-body" style="padding-bottom:5px">
                                        <asp:Panel ID="DetailPanel" runat="Server">
                                            <div class="contentHolder">
                                                <asp:Panel ID="SearchCriteriaPanel" runat="Server">
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="Label2" runat="server" Text="Loan Type"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList runat="server" ID="InterestTypeSearchDropDownList" SkinID="CustomWidthDropDownList"
                                                                onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>

                                                    <div class="alignCenter pTop5 col-md-12 center">
                                                       
                                                            <asp:Button ID="SearchButton" Text="&#xf002; Search" runat="Server" OnClick="SearchButton_Click" SkinID="0" class="btn-search btn fas" />
                                                            <asp:Button ID="ResetButton" runat="server" Text="&#xf0e2; Clear" OnClick="ResetButton_Click" SkinID="0" class="btn-reset btn fas"/>
                                                       
                                                    </div>
                                                   
                                                    <div class="outerBox pTop5 col-md-3" style="display:none">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="Label5" runat="server" Text=""></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:Label ID="Label6" runat="server" Text=""></asp:Label>
                                                        </div>
                                                    </div>
                                                </asp:Panel>
                                                <div id="Div1" class="himssuHeader7WireBox col-md-12" runat="server" >
                                                    <div id="ReasonMasterDetailDiv" visible="false" runat="server">
                                                       
                                                        <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" class="table-responsive">
                                                                        <asp:GridView ID="GridViewMain" runat="server" AutoGenerateColumns="False"
                                                                            OnRowDataBound="AccountMasterGridView_RowDataBound"
                                                                            SkinID="" ShowHeader="True"
                                                                            DataKeyNames="Id" EmptyDataText="No Records Found !!!"
                                                                            CssClass="table table-striped table-bordered table-hover">
                                                                            <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="Insterest Type" ItemStyle-Width="12%" 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","{0:N2}") %>'></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","{0:N2}") %>'></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="10%" 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 card card-box" id="DetailDiv" runat="server" visible="false">
                                    <div class="himsBoxHeader card-head">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                                <header>
                                                    <i class="fas fa-cog"></i>
                                                <asp:Label ID="AccountingYearMasterDetailLabel" runat="server" Text="Maintenance"></asp:Label>
                                                </header>
                                            </div>
                                        </div>
                                        <div class="fRight mt-27 pagination display-flex">
                                            <table>
                                                <tr>
                                                    <td class="formLabel">
                                                        <div id="NumberOfRecordDiv" class="display-flex" runat="server" visible="true">
                                                            <asp:LinkButton AlternateText="First page" ToolTip="First page" ID="FirstRecordImageButton"
                                                                runat="server" ImageUrl="~/Images/arrowLlast.gif" CommandName="Page" CommandArgument="First"
                                                                OnClick="FirstRecordImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                                <i class="fa fa-fast-backward"></i>
                                                            </asp:LinkButton>
                                                            <asp:LinkButton AlternateText="Previous page" ToolTip="Previous page" ID="PreviousImageButton"
                                                                runat="server" ImageUrl="~/Images/arrowLeft.gif" CommandName="Page" CommandArgument="Prev"
                                                                OnClick="PreviousImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                                <i class="fa fa-play fa-rotate-180"></i>
                                                            </asp:LinkButton>
                                                            &nbsp; &nbsp;
                                                            <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" />
                                                            &nbsp; &nbsp;
                                                            <asp:LinkButton AlternateText="Next page" ToolTip="Next page" ID="NextImageButtom"
                                                                runat="server" ImageUrl="~/Images/arrowRight.gif" CommandName="Page" CommandArgument="Next"
                                                                OnClick="NextImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                                <i class="fa fa-play"></i>
                                                            </asp:LinkButton>
                                                            <asp:LinkButton AlternateText="Last page" ToolTip="Last page" ID="LastRecordImageButton"
                                                                runat="server" ImageUrl="~/Images/arrowRLast.gif" CommandName="Page" CommandArgument="Last"
                                                                OnClick="LastRecordImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                                <i class="fa fa-fast-forward"></i>
                                                            </asp:LinkButton>
                                                        </div>
                                                    </td>
                                                    <td>
                                                        &nbsp; &nbsp;<asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0" class="btn btn-back fas" Text="&#xf30a; Back" />
                                                    </td>
                                                </tr>
                                            </table>
                                        </div>
                                    </div>
                                    <div class="himsBoxContent card-body">
                                        <div class="contentHolder">
                                         
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="LoanTypeLabel" runat="server" Text="Loan Type" Font-Bold="true"></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:Label runat="server" ID="LoanTypeDropDownList" SkinID="CustomWidthDropDownList"
                                                        onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()">
                                                    </asp:Label>
                                                </div>
                                            </div>


                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="InterestTypeIdLabel" runat="server" Text="Interest Type" Font-Bold="true"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:Label runat="server" ID="InterestTypeDropDownList" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                    </asp:Label>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="ApprovedDateLabel" runat="server" Text="Approved Date" Font-Bold="true"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">

                                                    <asp:Label ID="ApprovedDatePickerControl" runat="server"></asp:Label>
                                                </div>
                                            </div>

                                          
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="LoanAmountLabel" Text="Loan Amount" runat="server" Font-Bold="true"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:Label ID="LoanAmountTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" SkinID="CustomWidthTextBox" runat="Server"></asp:Label>
                                                </div>
                                            </div>

                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="InterestRateLabel" runat="server" Text="Rate Of Interest" Font-Bold="true"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:Label ID="InterestRateTextBox" runat="server"></asp:Label>
                                                </div>
                                            </div>

                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="NoofInstallamentLabel" runat="server" Text="No Of Installament" Font-Bold="true"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:Label ID="NoOfInstallamentTextBox" runat="server" Width="150px"></asp:Label>
                                                </div>
                                            </div>
                                           
                                            <div class="outerBox pTop5 col-md-3" 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" ID="RepaymentStartDatePickerControl" Text='<%# Bind("TransactionDate") %>' Visible="True" runat="Server"></Date:DatePickerControl>
                                                </div>
                                            </div>
                                                                                        
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:CheckBox ID="IsObsolateCheckBox" runat="server" Text="InActive" Visible="false" />
                                                   
                                                </div>
                                            </div>
                                           
                                            <div class="himssuHeader7WireBox col-md-12">
                                                <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" class="himssuHeader7WireBox col-md-12 table-responsive" AutoGenerateColumns="False" ShowFooter="true"
                                                                    ShowHeader="True" OnRowDataBound="DetailsGridView_RowDataBound" meta:resourcekey="EmployeePayrollGridViewResource1"
                                                                    CssClass="table table-striped table-bordered">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Sr No." SortExpression="RowID" ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="RowIDLabel" runat="server" ItemStyle-Width="5%" Text='<%# Bind("RowID") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                            <HeaderStyle HorizontalAlign="Right" />
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Installament Month" ItemStyle-Width="15%" 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="Installament Amount" ItemStyle-Width="15%" SortExpression="RowID" HeaderStyle-HorizontalAlign="Right"
                                                                            ItemStyle-Wrap="true" ItemStyle-HorizontalAlign="Right">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="MonthAmountLabel" runat="server" Text='<%# Bind("MonthAmount","{0:N2}") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Installament Interest" ItemStyle-Width="15%" SortExpression="RowID" HeaderStyle-HorizontalAlign="Right"
                                                                            ItemStyle-Wrap="true" ItemStyle-HorizontalAlign="Right">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="InterestLabel" runat="server" Text='<%# Bind("Interest","{0:N2}") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Total Installament Amount" ItemStyle-Width="15%" SortExpression="RowID" HeaderStyle-HorizontalAlign="Right"
                                                                            ItemStyle-Wrap="true" ItemStyle-HorizontalAlign="Right">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="TotalLabel" runat="server" Text='<%# Bind("Total","{0:N2}") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Installament Due Date" ItemStyle-Width="20%" SortExpression="RowID" HeaderStyle-HorizontalAlign="Center"
                                                                            ItemStyle-Wrap="true" ItemStyle-HorizontalAlign="Center">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="InstallamentDateLabel" runat="server" Text='<%# Bind("InstallamentDate") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Installament Status" ItemStyle-Width="15%" 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>
                            </div>
                        </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>





