<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_FeeManagement_FeeAdmin, App_Web_vpn0t50z" 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="DPC" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="FeeAdminUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <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="167"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="row whiteboxpaddingleft">
                    <div class="himssuHeader2WireBox">
                        <div class="contentHolder">
                            <div class="himssuHeader1WireBox card card-box">

                                <div class="col-md-12 pTop5">
                                    <div class="alert alert-info col-md-12">
                                        <%-- <asp:Label ID="NoteLabel1" runat="server" Text="Only Admin can perform the actions on this page"
                                Font-Size="X-Small"></asp:Label><br />
                            <asp:Label ID="NoteLabel2" runat="server" Text="Make sure you are aware of functionality, Changes are irrversible"
                                Font-Size="X-Small"></asp:Label><br />--%>
                                        <div><i class="material-icons pos-rel">info</i> | &nbsp;<asp:Label ID="NoteLabel1" runat="server" Text=" Only Admin can perform the actions on this page"></asp:Label></div>
                                        <div>
                                            <i class="material-icons pos-rel">info</i> |&nbsp;
                                                        <asp:Label ID="NoteLabel2" runat="server" Text=" Make sure you are aware of functionality, Changes are irrversible"></asp:Label>
                                        </div>
                                    </div>
                                </div>

                                <asp:Panel ID="pnlClick" runat="server">
                                    <div class="himsBoxHeader card-head inner" style="padding-top: 0px">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                                <header>
                                                    <asp:Label ID="Label1" runat="server" Text="Fee Admin"></asp:Label>
                                                </header>
                                            </div>
                                        </div>
                                    </div>
                                </asp:Panel>

                                <div class="himsBoxContent card-body">
                                    <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="OrganizationLabel" Text="Organization" runat="server"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList ID="OrganizationDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                            onmouseenter="showHideTooltip()" AutoPostBack="false" SkinID="CustomWidthDropDownList"
                                                            CssClass="form-control">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>

                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="ReceiptBookLabel" Text="Receipt Book" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="ReceipBookDropDownList" SkinID="CustomWidthDropDownList"
                                                            CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                            AutoPostBack="false">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="FromReceiptNoLabel" runat="server" Text="From Receipt No"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:TextBox ID="FromReceiptNoTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                            SkinID="CustomWidthTextBox" runat="server" MaxLength="200" onkeypress="javascript:return isNumberKey(this)"> </asp:TextBox>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="ToReceiptNoLabel" runat="server" Text="To Receipt No"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:TextBox ID="ToReceiptNoTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                            SkinID="CustomWidthTextBox" runat="server" MaxLength="200" onkeypress="javascript:return isNumberKey(this)"> </asp:TextBox>
                                                    </div>
                                                </div>

                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="ClassLabel" Text="Class" runat="server"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="ClassDropDownList" SkinID="CustomWidthDropDownList"
                                                            CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                            AutoPostBack="True" OnSelectedIndexChanged="ClassDropDownList_SelectedIndexChanged">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="DivisionLabel" Text="Division" runat="server"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="DivisionDropDownList" SkinID="CustomWidthDropDownList"
                                                            CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                            AutoPostBack="True" OnSelectedIndexChanged="DivisionDropDownList_SelectedIndexChanged">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>

                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="StudentNameLabel" Text="StudentName" runat="server"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="StudentNameDropDownList" SkinID="CustomWidthDropDownList"
                                                            CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                            AutoPostBack="false">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>

                                                <div class="cBoth"></div>
                                                <div class="outerBox pTop5 col-md-9">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="MultiReceiptNoLabel" runat="server" Text="Receipt No <b>[Add Receipt No with , Comma seperation (Eg. 2, 5, 10)]</b>"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:TextBox ID="MultiReceiptNoTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                            SkinID="CustomWidthTextBox" runat="server"> </asp:TextBox>
                                                    </div>
                                                </div>

                                                <div class="alignCenter pTop5 col-md-12 pTop5">
                                                    <asp:Button ID="UpdateButton" Visible="true"
                                                        runat="Server" SkinID="0" OnClick="UpdateButton_Click" CssClass="btn-update btn fas" Text="&#xf021; Update Pending As NA" />
                                                    <asp:Button ID="DeleteReceiptButton" runat="Server" Visible="false"
                                                        OnClick="DeleteReceiptButton_Click" SkinID="0" Text="&#xf2ed; Delete Receipt" CssClass="btn-delete btn fas" />
                                                    <asp:HiddenField ID="ReceiptHiddenField" runat="server" />
                                                    <asp:Button ID="DeleteStudentSetupButton" runat="Server"
                                                        Visible="false" OnClick="DeleteStudentSetupButton_Click" SkinID="0" Text="&#xf2ed; Delete Student Setup" CssClass="btn-delete btn fas" />
                                                    <asp:HiddenField ID="StudentSetupHiddenField" runat="server" />
                                                    <asp:Button ID="DeleteFeeOptionalButton" runat="Server"
                                                        Visible="false" OnClick="DeleteFeeOptionalButton_Click" SkinID="0" Text="&#xf2ed; Delete Fee Optional" CssClass="btn-delete btn fas" />
                                                    <asp:HiddenField ID="FeeOptionalHiddenField" runat="server" />
                                                    <asp:Button ID="ResetReceiptNumberButton" runat="Server"
                                                        Visible="true" OnClick="ResetReceiptNumberButton_Click" SkinID="0" Text="&#xf0e2; Reset Receipt Number" CssClass="btn-reset btn fas" />
                                                </div>

                                            </asp:Panel>
                                        </div>
                                    </asp:Panel>

                                    <div id="FeeHeadDiv" runat="server" visible="false">


                                        <asp:Panel ID="pnlClick2" runat="server">
                                            <div class="himsBoxHeader card-head inner">
                                                <div class="leftdiv">
                                                </div>
                                                <div class="himsBoxTitle">
                                                    <div class="headerText">
                                                        <asp:Label ID="Label3" runat="server" Text="Fee Main Group Organization Groupwise"></asp:Label>
                                                    </div>
                                                </div>
                                            </div>
                                        </asp:Panel>
                                        <asp:Panel ID="Feemainpanel" runat="server">
                                            <div class="himsBoxContent  col-md-12">
                                                <div class="contentHolder">
                                                    <div id="FeeSetupDetailDiv" runat="server" visible="false">

                                                        <div class="himssuHeader6WireBox">
                                                            <div class="himsBoxContent">
                                                                <div id="Div5" runat="server" visible="true">
                                                                    <div id="Div4" runat="server" class="table-responsive">
                                                                        <asp:GridView ID="FeeMainGroupOrgGroupwiseGridView" runat="server" CssClass="table table-striped table-bordered table-hover"
                                                                            AutoGenerateColumns="False" EmptyDataText="No Records Found !!" AllowPaging="False"
                                                                            OnRowDataBound="FeeMainGroupOrgGroupwiseGridView_RowDataBound" DataKeyNames="FeeMainGroupId,FeeHeadId"
                                                                            ShowHeader="True" ShowFooter="false">
                                                                            <Columns>
                                                                                <asp:BoundField DataField="FeeMainGroupName" HeaderText="Title" ItemStyle-Width="45%"
                                                                                    HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                                <asp:TemplateField HeaderText="Fee Head" HeaderStyle-HorizontalAlign="Left" ItemStyle-Width="45%"
                                                                                    ItemStyle-Wrap="true">
                                                                                    <ItemStyle HorizontalAlign="Left" />
                                                                                    <ItemTemplate>
                                                                                        <asp:DropDownList runat="server" ID="FeeHeadDropDownList" onmouseleave="showHideTooltip()"
                                                                                            onmouseenter="showHideTooltip()" Enabled="false">
                                                                                        </asp:DropDownList>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                            </Columns>
                                                                            <PagerSettings Visible="False" />
                                                                        </asp:GridView>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="alignCenter col-md-12 pTop5">
                                                                <asp:Button ID="SaveButton" Visible="true" runat="Server" SkinID="0"
                                                                    Text="&#xf0c7; Save" CssClass="btn-save btn fas" OnClick="SaveButton_Click" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </div>

                                    <asp:Panel ID="Importfeesetupheader" runat="server">
                                        <div class="himsBoxHeader card-head inner">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <header>
                                                        <asp:Label ID="Label4" runat="server" Text="Import Fee Setup From Old Batch"></asp:Label>
                                                    </header>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                    <asp:Panel ID="Importfeesetupcontent" runat="server">
                                        <div class="himsBoxContent">
                                            <div class="contentHolder">
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="FromBatchForFeeLabel" runat="server" Text="From Batch" SkinID="MandatoryLabel"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="FromBatchForFeeDropDownList" SkinID="CustomWidthDropDownList"
                                                            CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                            AutoPostBack="true" OnSelectedIndexChanged="FromBatchForFeeDropDownList_OnSelectedIndexChanged">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="ImportClassLabel" runat="server" Text="Class"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="ImportClassDropDownList" SkinID="CustomWidthDropDownList"
                                                            onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="AddMonthInDateMonthLabel" runat="server" Text="Add Month In Date"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:TextBox ID="AddMonthInDateTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                            SkinID="CustomWidthTextBox" runat="server" MaxLength="2" onkeypress="javascript:return isNumberKey(this)"> </asp:TextBox>
                                                    </div>
                                                </div>
                                                <div class="cBoth pTop5">
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="fLeft pRight5">
                                                        <asp:Button ID="ImportFeeButton" runat="server" Text="&#xf093; Import" SkinID="0"
                                                            CssClass="btn-examcommon btn fas" OnClick="ImportFeeButton_Click" />
                                                    </div>
                                                </div>

                                            </div>
                                        </div>
                                    </asp:Panel>

                                    <asp:Panel ID="Oldfeeheader" runat="server">
                                        <div class="pTop5">
                                            <div class="himsBoxHeader card-head inner">
                                                <div class="leftdiv">
                                                </div>
                                                <div class="himsBoxTitle">
                                                    <div class="headerText">
                                                        <header>
                                                            <asp:Label ID="OldFeeImportLabel" runat="server" Text="Old Fee Import"></asp:Label>
                                                        </header>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                    <asp:Panel ID="Oldfeecontent" runat="server">
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="OldFeeImportOrganizationGroupBatchLabel" runat="server" Text="Old Group Batch"
                                                    SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="OldFeeImportOrganizationGroupBatchDropDownList"
                                                    SkinID="CustomWidthDropDownList" CssClass="form-control" onmouseleave="showHideTooltip()"
                                                    onmouseenter="showHideTooltip()" OnSelectedIndexChanged="OldFeeImportOrganizationGroupBatchDropDownList_SelectedIndexChanged"
                                                    AutoPostBack="true">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="OldFeeImportBatchLabel" runat="server" Text="Old Batch" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="OldFeeImportBatchDropDownList" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="OldAdmissionCategoryLabel" runat="server" Text="Old Fees Category"
                                                    SkinID="MandatoryLabel">
                                                </asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="OldAdmissionCategoryDropDownList" SkinID="CustomWidthDropDownList"
                                                    onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="NewAdmissionCategoryLabel" runat="server" Text="New Fees Category"
                                                    SkinID="MandatoryLabel">
                                                </asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="NewAdmissionCategoryDropDownList" SkinID="CustomWidthDropDownList"
                                                    onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="OldReceipBookLabel" Text="Old Receipt Book" runat="server" SkinID="MandatoryLabel"></asp:Label><%--mantis - 0033638--%>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="OldReceipBookDropDownList" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="NewReceipBookLabel" Text="New Receipt Book" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="NewReceipBookDropDownList" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="fLeft pTop5">
                                                <asp:CheckBox ID="FeewiseImportCheckBox" runat="server" Text="Feewise Import (Old Fee)" OnCheckedChanged="FeewiseImportCheckBox_CheckedChanged"
                                                    AutoPostBack="true" />
                                                <%--<asp:Label ID="FeewiseImportLabel" runat="server" 
                                                class="pLeft5"></asp:Label>--%>
                                            </div>
                                        </div>

                                        <div id="FeeDiv" class="outerBox pTop5 col-md-3" runat="server" visible="false">
                                            <div class="select">
                                                <asp:CheckBox ID="FeeCheckBox" runat="server" AutoPostBack="True" OnCheckedChanged="FeeCheckBox_CheckedChanged" Text="Select All" />
                                            </div>
                                            <div id="FeeListDiv" runat="server" class="fLeft pRight5 chck-dropdown-onclick bg-lghtgrey outerBox11 col-md-12 overflow-x-hidden padd-0">
                                                <asp:CheckBoxList ID="FeeCheckBoxList" runat="server">
                                                </asp:CheckBoxList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="NewFeeLabel" Text="New Fee" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="NewFeeDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                        </div>
                                        <div class="outerBox pTop5 col-md-12">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="CodeLabel" runat="server" Text="Ids No (Note : Add Id No with . Dot seperation (Eg. 2.5.10) OR , Comma seperation (Eg. 2,5,10))"></asp:Label>
                                            </div>
                                            <div class="fLeft  padd-0">
                                                <asp:TextBox ID="CodeTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    Height="50px" SkinID="0" Width="1050px" runat="server" TextMode="MultiLine"></asp:TextBox>
                                            </div>
                                        </div>

                                        <div class="alignCenter col-md-12 pTop5" style="margin-top: 25px">
                                            <asp:Button ID="OldFeeImportButton" Visible="true" runat="Server" SkinID="0"
                                                OnClick="OldFeeImportButton_Click" Text="&#xf093; Transfer" CssClass="btn btn-examcommon fas" />
                                            <asp:Button ID="OldFeewiseImportButton" Visible="false" runat="Server"
                                                SkinID="0" Text="&#xf093; Feewise Transfer" CssClass="btn btn-examcommon fas" OnClick="OldFeewiseImportButton_Click" />
                                            <asp:Button ID="OldFeeImportWithNAButton" Visible="false" runat="Server" SkinID="0"
                                                OnClick="OldFeeImportWithNAButton_Click" Text="&#xf093; Transfer With NA" CssClass="btn btn-examcommon fas" />
                                            <asp:Button ID="OldFeewiseImportWithNAButton" Visible="false" runat="Server" SkinID="0"
                                                OnClick="OldFeewiseImportWithNAButton_Click" Text="&#xf093; Feewise Transfer With NA" CssClass="btn btn-examcommon fas" />
                                        </div>
                                    </asp:Panel>

                                    <asp:Panel ID="OldFeeDeatilHeader" runat="server">
                                        <div class="pTop5">
                                            <div class="himsBoxHeader card-head inner">
                                                <div class="leftdiv">
                                                </div>
                                                <div class="himsBoxTitle">
                                                    <div class="headerText">
                                                        <header>
                                                            <asp:Label ID="Label10" runat="server" Text="Old Student Fee Detail Import"></asp:Label>
                                                        </header>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                    <asp:Panel ID="OldFeeDeatilContent" runat="server">
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="OldFeeImportDetailOrganizationGroupBatchLabel" runat="server" Text="Old Group Batch"
                                                    SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="OldFeeDetailImportOrganizationGroupBatchDropDownList"
                                                    SkinID="CustomWidthDropDownList" CssClass="form-control" onmouseleave="showHideTooltip()"
                                                    onmouseenter="showHideTooltip()" OnSelectedIndexChanged="OldFeeDetailImportOrganizationGroupBatchDropDownList_SelectedIndexChanged"
                                                    AutoPostBack="true">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="Label12" runat="server" Text="Old Batch" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="OldFeeDetailImportBatchDropDownList" SkinID="CustomWidthDropDownList" AutoPostBack="true"
                                                    CssClass="form-control" onmouseleave="showHideTooltip()" OnSelectedIndexChanged="OldFeeDetailImportBatchDropDownList_SelectedIndexChanged" onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="Label11" runat="server" Text="Old Class" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="OldClassDropDownList" SkinID="CustomWidthDropDownList"
                                                    onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()"
                                                    AutoPostBack="true">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="Label13" runat="server" Text="New Class" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="NewClassDropDownList" SkinID="CustomWidthDropDownList"
                                                    onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()"
                                                    AutoPostBack="true">
                                                </asp:DropDownList>
                                            </div>
                                        </div>

                                        <div class="alignCenter col-md-12 pTop5" style="margin-top: 25px">
                                            <asp:Button ID="OldFeeDetailImportButton" Visible="true" runat="Server" SkinID="0"
                                                OnClick="OldFeeDetailImportButton_Click" Text="&#xf093; Import" CssClass="btn btn-examcommon fas" />

                                        </div>
                                    </asp:Panel>

                                    <asp:Panel ID="WinFeeDeleteheader" runat="server">
                                        <div class="himsBoxHeader card-head inner">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <header>
                                                        <asp:Label ID="WinDisplayLabel" runat="server" Text="Win Fee Delete"></asp:Label>
                                                    </header>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                    <asp:Panel ID="WinFeeDeletecontent" runat="server">
                                        <div class="himsBoxContent">
                                            <div class="contentHolder">
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="WinClassLabel" runat="server" Text="Class"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="WinClassDropDownList" SkinID="CustomWidthDropDownList"
                                                            onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()"
                                                            OnSelectedIndexChanged="WinClassDropDownList_SelectedIndexChanged" AutoPostBack="true">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="WinDivisionLabel" runat="server" Text="Division"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="WinDivisionDropDownList" SkinID="CustomWidthDropDownList"
                                                            onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>

                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="fLeft pRight5">
                                                        <asp:Button ID="WinDeleteButton" runat="server" SkinID="0"
                                                            OnClick="WinDeleteButton_Click" Text="&#xf2ed; Delete" CssClass="btn-delete btn fas" />
                                                        <asp:HiddenField ID="WinDeleteHiddenField" runat="server" />
                                                    </div>
                                                </div>

                                            </div>
                                        </div>
                                    </asp:Panel>

                                    <asp:Panel ID="Panel1" runat="server">
                                        <div class="himsBoxHeader card-head inner">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <header>
                                                        <asp:Label ID="Label2" runat="server" Text="Import Account Mapping"></asp:Label>
                                                    </header>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                    <asp:Panel ID="Panel2" runat="server">
                                        <div class="himsBoxContent">
                                            <div class="contentHolder">
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="LabelOldAccountMaster" runat="server" Text="Old Account Master"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="DropDownListOldAccountMaster" SkinID="CustomWidthDropDownList"
                                                            onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()"
                                                            OnSelectedIndexChanged="DropDownListOldAccountMaster_SelectedIndexChanged" AutoPostBack="true">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="LabelOldAccountYear" runat="server" Text="Old Account Year :"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="DropDownListOldAccountYear" SkinID="CustomWidthDropDownList"
                                                            onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()"
                                                            OnSelectedIndexChanged="DropDownListOldAccountYear_SelectedIndexChanged" AutoPostBack="true">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>

                                                <div class="cBoth"></div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="LabelNewAccountMaster" runat="server" Text="New Account Master :"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="DropDownListNewAccountMaster" SkinID="CustomWidthDropDownList"
                                                            onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()"
                                                            OnSelectedIndexChanged="DropDownListNewAccountMaster_SelectedIndexChanged" AutoPostBack="true">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>

                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="LabelNewAccountYear" runat="server" Text="New Account Year :"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="DropDownListNewAccountYear" SkinID="CustomWidthDropDownList"
                                                            onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="alignCenter col-md-12 pTop5">
                                                    <asp:Button ID="ImportAccountMappingButton" Visible="true" runat="Server" SkinID="0"
                                                        OnClick="ImportAccountMappingButton_Click" Text="&#xf093; Import" CssClass="btn btn-examcommon fas" />
                                                    <%--<asp:Button ID="Button2" Visible="false" runat="Server"
                                                SkinID="0" Text="&#xf093; Feewise Import" CssClass="btn btn-examcommon fas"/>--%>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>

                                    <asp:Panel ID="ImportFeeOpeningheader" runat="server">
                                        <div class="himsBoxHeader card-head inner">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <header>
                                                        <asp:Label ID="ImportFeeOpeningLabel" runat="server" Text="Import Fee Opening"></asp:Label>
                                                    </header>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>

                                    <asp:Panel ID="ImportFeeOpeningContent" runat="server">
                                        <div class="himsBoxContent">
                                            <div class="contentHolder">
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="IFOFeeLabel" runat="server" Text="Fee" SkinID="MandatoryLabel"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="IFOFeeDropDownList" SkinID="CustomWidthDropDownList"
                                                            CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="IFOFromBatchLabel" runat="server" Text="From Batch" SkinID="MandatoryLabel"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="IFOFromBatchDropDownList" SkinID="CustomWidthDropDownList"
                                                            CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="cBoth pTop5">
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="fLeft pRight5">
                                                        <asp:Button ID="ImportFeeOpeningButton" runat="server" Text="&#xf093; Import" SkinID="0" CssClass="btn-examcommon btn fas" OnClick="ImportFeeOpeningButton_Click" />
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                    <asp:Panel ID="ExportDeletedReceiptHeader" runat="server">
                                        <div class="himsBoxHeader card-head inner">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <header>
                                                        <asp:Label ID="ExportDeletedReceiptLabel" runat="server" Text="Export Deleted Receipt"></asp:Label>
                                                    </header>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                    <asp:Panel ID="ExportDeletedReceiptContent" runat="server">
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ExportDeletedReceiptBatchLabel" runat="server" Text="Group Batch"
                                                    SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="ExportDeletedReceiptBatchDropDownList"
                                                    SkinID="CustomWidthDropDownList" CssClass="form-control" onmouseleave="showHideTooltip()"
                                                    onmouseenter="showHideTooltip()">
                                                    <%--AutoPostBack="true"--%>
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ExportDeletedReceiptOrganizationLabel" Text="Organization" runat="server"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="ExportDeletedReceiptOrganizationDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                    onmouseenter="showHideTooltip()" AutoPostBack="false" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ExportDeletedReceiptFromDateLabel" runat="server" Text="From Date" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <DPC:DatePickerControl ID="ExportDeletedReceiptFromDatePickerControl" runat="server" DisplayDatePicker="true" />
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ExportDeletedReceiptToDateLabel" runat="server" Text="To Date" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <DPC:DatePickerControl ID="ExportDeletedReceiptToDatePickerControl" runat="server" DisplayDatePicker="true" />
                                            </div>
                                        </div>
                                        <div class="cBoth pTop5">
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="fLeft pRight5">
                                                <asp:Button ID="ExportExportDeletedReceiptButton" runat="server" Text="&#xf093; Export" SkinID="0" CssClass="btn-examcommon btn fas" OnClick="ExportExportDeletedReceiptButton_Click" />
                                            </div>
                                        </div>
                                    </asp:Panel>

                                    <asp:Panel ID="Panel3" runat="server">
                                        <div class="himsBoxHeader card-head inner">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <header>
                                                        <asp:Label ID="Label5" runat="server" Text="Export Deleted Payment Transaction"></asp:Label>
                                                    </header>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                    <asp:Panel ID="Panel4" runat="server">
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="Label6" runat="server" Text="Group Batch"
                                                    SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="PaymentTransactionGroupBatchDropDownList"
                                                    SkinID="CustomWidthDropDownList" CssClass="form-control" onmouseleave="showHideTooltip()"
                                                    onmouseenter="showHideTooltip()">
                                                    <%--AutoPostBack="true"--%>
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="Label7" Text="Organization" runat="server"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="PaymentTransactionOrganizationDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                    onmouseenter="showHideTooltip()" AutoPostBack="false" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="Label8" runat="server" Text="From Date" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <DPC:DatePickerControl ID="PaymentTransactionFromDatePickerControl" runat="server" DisplayDatePicker="true" />
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="Label9" runat="server" Text="To Date" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <DPC:DatePickerControl ID="PaymentTransactionToDatePickerControl" runat="server" DisplayDatePicker="true" />
                                            </div>
                                        </div>
                                        <div class="cBoth pTop5">
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="fLeft pRight5">
                                                <asp:Button ID="DeletedPaymentTransactionButton" runat="server" Text="&#xf093; Export" SkinID="0" CssClass="btn-examcommon btn fas" OnClick="DeletedPaymentTransactionButton_Click" />
                                            </div>
                                        </div>
                                    </asp:Panel>

                                    <asp:Panel ID="LeftStudentUpdatePendingAsNAHeader" runat="server">
                                        <div class="himsBoxHeader card-head inner">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <header>
                                                        <asp:Label ID="LeftStudentUpdatePendingAsNALabel" runat="server" Text="Update Pending Fees AS NA for Inactive and Left Student"></asp:Label>
                                                    </header>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                    <asp:Panel ID="LeftStudentUpdatePendingAsNAContent" runat="server">
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="StatusLabel" runat="server" Text="Status"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="StatusDropDownList" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                    <asp:ListItem Value="3" Text="Left" Selected="True"></asp:ListItem>
                                                    <asp:ListItem Value="2" Text="InActive"></asp:ListItem>
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="FromLeftDateLabel" runat="server" Text="From Date" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <DPC:DatePickerControl ID="FromLeftDatePickerControl" runat="server" DisplayDatePicker="true" />
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ToLeftDateLabel" runat="server" Text="To Date" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <DPC:DatePickerControl ID="ToLeftDatePickerControl" runat="server" DisplayDatePicker="true" />
                                            </div>
                                        </div>
                                        <div class="cBoth pTop5"></div>

                                        <div class="alignCenter col-md-12 pTop15 pb5">
                                            <asp:Button ID="SearchButton" runat="Server" OnClick="SearchButton_Click" Text="&#xf002; Search" SkinID="0" CssClass="btn-search btn fas" />
                                            <asp:Button ID="ResetButton" runat="server" OnClick="ResetButton_Click" Text="&#xf0e2; Reset" SkinID="0" CssClass="btn-reset btn fas" />
                                            <asp:Button ID="UpdateFeeButton" runat="server" Text="Update Fee" SkinID="0" CssClass="btn-examcommon btn fas" OnClick="UpdateFeeButton_Click" Enabled="false" />
                                        </div>
                                        <div id="Div1" class="himssuHeader6WireBox col-md-12" runat="server" visible="false">
                                            <div class="himsBoxContent">
                                                <div id="Div2" runat="server" class="table-responsive">
                                                    <asp:GridView ID="LeftStudentUpdatePendingAsNAGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                        EmptyDataText="No Records Found !!" AllowPaging="false" CssClass="table table-striped table-bordered table-hover"
                                                        ShowHeader="True" DataKeyNames="AcademicId,ReceiptBookId">
                                                        <Columns>
                                                            <asp:TemplateField HeaderStyle-HorizontalAlign="Center" HeaderStyle-Width="10%" ItemStyle-Width="10%"
                                                                ItemStyle-HorizontalAlign="Center">
                                                                <HeaderTemplate>
                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                        <asp:CheckBox ID="AllCheckBox" runat="server" onClick="checkAllRows(this);" />
                                                                        <span></span>
                                                                    </label>
                                                                </HeaderTemplate>
                                                                <ItemTemplate>
                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                        <asp:CheckBox ID="IsObsoleteCheckBox" runat="server" onClick="checkUncheckHeaderCheckBox(this);" />
                                                                        <span></span>
                                                                    </label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:BoundField DataField="Code" HeaderText="Code" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                            <asp:BoundField DataField="ClassDivision" HeaderText="Class - Divsion" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                            <asp:BoundField DataField="Name" HeaderText="Name" ItemStyle-Width="30%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                            <asp:BoundField DataField="ReceiptBookTitle" HeaderText="Receipt Book" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                            <asp:BoundField DataField="PendingAmount" HeaderText="Pending Amount" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                        </Columns>
                                                        <PagerSettings Visible="False" />
                                                    </asp:GridView>
                                                </div>
                                            </div>
                                        </div>

                                    </asp:Panel>

                                    <asp:Panel ID="ChangeFeeCategoryHeader" runat="server">
                                        <div class="himsBoxHeader card-head inner">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <header>
                                                        <asp:Label ID="ChangeFeeCategoryHeaderLabel" runat="server" Text="Change Fee Category"></asp:Label>
                                                    </header>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>

                                    <asp:Panel ID="ChangeFeeCategoryContent" runat="server">
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchClassLabel" runat="server" Text="Class" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="SearchClassDropDownList" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" AutoPostBack="true"
                                                    OnSelectedIndexChanged="SearchClassDropDownList_OnSelectedIndexChanged">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchDivisionLabel" runat="server" Text="Division" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="SearchDivisionDropDownList" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" AutoPostBack="true"
                                                    OnSelectedIndexChanged="SearchDivisionDropDownList_OnSelectedIndexChanged">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchFromCategoryLabel" runat="server" Text="From Category" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="SearchFromCategoryDropDownList" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" AutoPostBack="true"
                                                    OnSelectedIndexChanged="SearchFromCategoryDropDownList_OnSelectedIndexChanged">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchToCategoryLabel" runat="server" Text="To Category" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="SearchToCategoryDropDownList" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="cBoth pTop5">
                                        </div>


                                        <div id="DivGridView" class="himssuHeader6WireBox col-md-12" runat="server" visible="false">
                                            <div class="alignCenter col-md-12 pTop15 pb5">
                                                <%-- <asp:Button ID="Button1" runat="Server" OnClick="SearchButton_Click" Text="&#xf002; Search" SkinID="0" CssClass="btn-search btn fas" />--%>
                                                <asp:Button ID="ChangeFeeCategoryButton" runat="server" OnClick="ChangeFeeCategoryButton_Click" Text="&#xf021; Change Fee Category" SkinID="0" CssClass="btn-reset btn fas" />
                                                <%--<asp:Button ID="Button3" runat="server" Text="Update Fee" SkinID="0" CssClass="btn-examcommon btn fas" OnClick="UpdateFeeButton_Click" Enabled="false" />--%>
                                            </div>
                                            <div class="himsBoxContent">
                                                <div id="Div6" runat="server" class="table-responsive">
                                                    <asp:GridView ID="AcademicGridView" runat="server" AutoGenerateColumns="False"
                                                        EmptyDataText="No Records Found !!"
                                                        AllowPaging="false"
                                                        ShowHeader="true" CssClass="table table-striped table-bordered table-hover"
                                                        DataKeyNames="AcademicId,ClassId,DivisionId,CategoryId">
                                                        <Columns>
                                                            <asp:TemplateField HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="10%">
                                                                <HeaderTemplate>
                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                        <asp:CheckBox ID="HeaderSelectCheckBox" onclick="CheckAll(this);" runat="server" AutoPostBack="True" />
                                                                        <span></span>
                                                                    </label>
                                                                </HeaderTemplate>
                                                                <ItemStyle HorizontalAlign="Center" />
                                                                <ItemTemplate>
                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                        <asp:CheckBox ID="SelectCheckBox" runat="server" />
                                                                        <span></span>
                                                                    </label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:BoundField DataField="Code" ItemStyle-Width="20%" HeaderStyle-HorizontalAlign="Left" HeaderText="ID No"></asp:BoundField>
                                                            <asp:BoundField DataField="RollNo" HeaderText="Roll No" ItemStyle-Width="20%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                            <asp:BoundField DataField="Name" HeaderText="Name" ItemStyle-Width="30%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                            <asp:TemplateField HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="30%" HeaderText="Status">
                                                                <ItemTemplate>
                                                                    <asp:Label runat="server" ID="lblStatus" Text=""></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                        </Columns>
                                                        <PagerSettings Visible="False" />
                                                    </asp:GridView>
                                                </div>
                                            </div>
                                        </div>

                                    </asp:Panel>

                                    <asp:Panel ID="ExportDeletedChargeReceiptHeader" runat="server">
                                        <div class="himsBoxHeader card-head inner">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <header>
                                                        <asp:Label ID="ExportDeletedChargeReceiptHeaderLabel" runat="server" Text="Export Deleted Charge Receipt"></asp:Label>
                                                    </header>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>

                                    <asp:Panel ID="ExportDeletedChargeReceiptContent" runat="server">
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ExportDeletedChargeReceiptBatchLabel" runat="server" Text="Group Batch"
                                                    SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="ExportDeletedChargeReceiptBatchDropDownList"
                                                    SkinID="CustomWidthDropDownList" CssClass="form-control" onmouseleave="showHideTooltip()"
                                                    onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ExportChargeDeletedReceiptOrganizationLabel" Text="Organization" runat="server"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="ExportChargeDeletedReceiptOrganizationDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                    onmouseenter="showHideTooltip()" AutoPostBack="false" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ExportChargeDeletedReceiptFromDateLabel" runat="server" Text="From Date" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <DPC:DatePickerControl ID="ExportChargeDeletedReceiptFromDatePickerControl" runat="server" DisplayDatePicker="true" />
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ExportChargeDeletedReceiptToDateLabel" runat="server" Text="To Date" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <DPC:DatePickerControl ID="ExportChargeDeletedReceiptToDatePickerControl" runat="server" DisplayDatePicker="true" />
                                            </div>
                                        </div>
                                        <div class="cBoth pTop5">
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="fLeft pRight5">
                                                <asp:Button ID="ExportChargeDeletedReceiptButton" runat="server" Text="&#xf093; Export" SkinID="0"
                                                    CssClass="btn-examcommon btn fas" OnClick="ExportChargeDeletedReceiptButton_Click" />
                                            </div>
                                        </div>
                                    </asp:Panel>

                                    <asp:Panel ID="ApplyExemptionInNextBatchHeader" runat="server" Visible="false">
                                        <div class="himsBoxHeader card-head inner">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <header>
                                                        <asp:Label ID="ApplyExemptionInNextBatchHeaderLabel" runat="server" Text="Apply Exemption in Next Batch"></asp:Label>
                                                    </header>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>

                                    <asp:Panel ID="ApplyExemptionInNextBatchPanel" runat="server" Visible="false">
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="FromBatchForExemptionFeeLabel" runat="server" Text="From Batch" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="FromBatchForExemptionFeeDropDownList" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="FromFeeLabel" runat="server" Text="From Fee" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="select">
                                                <asp:CheckBox ID="FromFeeCheckBox" runat="server" AutoPostBack="True" OnCheckedChanged="FromFeeCheckBox_CheckedChanged" Text="Select All" />
                                            </div>
                                            <div id="Div9" runat="server" class="fLeft pRight5 chck-dropdown-onclick bg-lghtgrey outerBox11 col-md-12 overflow-x-hidden padd-0">
                                                <asp:CheckBoxList ID="FromFeeCheckBoxList" runat="server">
                                                </asp:CheckBoxList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ToFeeLabel" runat="server" Text="To Fee" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="ToFeeDropDownList" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="cBoth pTop15"></div>
                                        <div class="alignCenter col-md-12 pTop5 mt-3 pt-3">
                                            <asp:Button ID="ApplyExemptionSearchButton" runat="Server" OnClick="ApplyExemptionSearchButton_Click" Text="&#xf002; Search" SkinID="0" CssClass="btn-search btn fas" />
                                            <asp:Button ID="ApplyExemptionFeeResetButton" runat="server" OnClick="ApplyExemptionFeeResetButton_Click" Text="&#xf0e2; Reset" SkinID="0" CssClass="btn-reset btn fas" />
                                            <asp:Button ID="ApplyExemptionButton" runat="server" Text="&#xf021; Apply Exemption" SkinID="0" CssClass="btn-update btn fas" OnClick="ApplyExemptionButton_Click" />
                                        </div>
                                        <div id="Div3" class="himssuHeader6WireBox col-md-12" runat="server">
                                            <div class="himsBoxContent">
                                                <div id="ApplyExemptionInNextBatchDiv" runat="server" class="table-responsive">
                                                    <asp:GridView ID="ApplyExemptionInNextBatchGridView" runat="server" AutoGenerateColumns="False"
                                                        EmptyDataText="No Records Found !!" AllowPaging="false" OnRowDataBound="ApplyExemptionInNextBatchGridView_RowDataBound"
                                                        ShowHeader="true" CssClass="table table-striped table-bordered table-hover"
                                                        DataKeyNames="StudentId,AcademicId,ExemptionAmount">
                                                        <Columns>
                                                            <asp:TemplateField HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="5%">
                                                                <HeaderTemplate>
                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                        <asp:CheckBox ID="HeaderSelectCheckBox" onclick="CheckAllStudent(this);" runat="server" />
                                                                        <span></span>
                                                                    </label>
                                                                </HeaderTemplate>
                                                                <ItemStyle HorizontalAlign="Center" />
                                                                <ItemTemplate>
                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                        <asp:CheckBox ID="SelectCheckBox" runat="server" Enabled='<%#Eval("Status").ToString().Equals("")%>' />
                                                                        <span></span>
                                                                    </label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:BoundField DataField="Code" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left" HeaderText="ID No"></asp:BoundField>
                                                            <asp:BoundField DataField="ClassDivision" ItemStyle-Width="7%" HeaderStyle-HorizontalAlign="Left" HeaderText="Class"></asp:BoundField>
                                                            <asp:BoundField DataField="RollNo" HeaderText="Roll No" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                            <asp:BoundField DataField="Name" HeaderText="Name" ItemStyle-Width="30%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                            <asp:BoundField DataField="ExemptionAmount" HeaderText="Applicable Exemption" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField> <%--Change DataFieldName for mantis - 0033638--%>
                                                            <asp:TemplateField HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="33%" HeaderText="Status">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="LabelStatus" Text='<%#Eval("Status")%>' runat="server"></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                        </Columns>
                                                        <PagerSettings Visible="False" />
                                                    </asp:GridView>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>

                                    <asp:Panel ID="ApplyPaidFeeInNextBatchHeader" runat="server" Visible="false">
                                        <div class="himsBoxHeader card-head inner">
                                            <div class="leftdiv"></div>
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <header>
                                                        <asp:Label ID="ApplyPaidFeeinNextBatchLabel" runat="server" Text="Apply Paid Fee in Next Batch"></asp:Label>
                                                    </header>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                    <asp:Panel ID="ApplyPaidFeeInNextBatchPanel" runat="server" Visible="false">
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="FromBatchForPaidFeeLabel" runat="server" Text="From Batch" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="FromBatchForPaidFeeDropDownList" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="FromFeeForPaidFeeLabel" runat="server" Text="From Fee" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="select">
                                                <asp:CheckBox ID="FromFeeForPaidFeeCheckBox" runat="server" AutoPostBack="True" OnCheckedChanged="FromFeeForPaidFeeCheckBox_CheckedChanged" Text="Select All" />
                                            </div>
                                            <div id="Div8" runat="server" class="fLeft pRight5 chck-dropdown-onclick bg-lghtgrey outerBox11 col-md-12 overflow-x-hidden padd-0">
                                                <asp:CheckBoxList ID="FromFeeForPaidFeeCheckBoxList" runat="server">
                                                </asp:CheckBoxList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ToFeeForPaidFeeLabel" runat="server" Text="To Fee" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="ToFeeForPaidFeeDropDownList" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="cBoth pTop15"></div>
                                        <div class="alignCenter col-md-12 pTop15 pt-3 mt-3">
                                            <asp:Button ID="ApplyPaidFeeSearchButton" runat="Server" OnClick="ApplyPaidFeeSearchButton_Click" Text="&#xf002; Search" SkinID="0" CssClass="btn-search btn fas" />
                                            <asp:Button ID="ApplyPaidFeeResetButton" runat="server" OnClick="ApplyPaidFeeResetButton_Click" Text="&#xf0e2; Reset" SkinID="0" CssClass="btn-reset btn fas" />
                                            <asp:Button ID="ApplyPaidFeeButton" runat="server" Text="&#xf021; Apply Paid Fee" SkinID="0" CssClass="btn-update btn fas" OnClick="ApplyPaidFeeButton_Click" />
                                        </div>
                                        <div id="Div7" class="himssuHeader6WireBox col-md-12" runat="server">
                                            <div class="himsBoxContent">
                                                <div id="ApplyPaidFeeInNextBatchDiv" runat="server" class="table-responsive">
                                                    <asp:GridView ID="ApplyPaidFeeInNextBatchGridView" runat="server" AutoGenerateColumns="False"
                                                        EmptyDataText="No Records Found !!" AllowPaging="false" OnRowDataBound="ApplyPaidFeeInNextBatchGridView_RowDataBound"
                                                        ShowHeader="true" CssClass="table table-striped table-bordered table-hover"
                                                        DataKeyNames="StudentId,AcademicId,PaidAmount">
                                                        <Columns>
                                                            <asp:TemplateField HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="5%">
                                                                <HeaderTemplate>
                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                        <asp:CheckBox ID="HeaderSelectCheckBox" onclick="CheckAllStudent(this);" runat="server" />
                                                                        <span></span>
                                                                    </label>
                                                                </HeaderTemplate>
                                                                <ItemStyle HorizontalAlign="Center" />
                                                                <ItemTemplate>
                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                        <asp:CheckBox ID="SelectCheckBox" runat="server" Enabled='<%#Eval("Status").ToString().Equals("")%>' />
                                                                        <span></span>
                                                                    </label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:BoundField DataField="Code" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left" HeaderText="ID No"></asp:BoundField>
                                                            <asp:BoundField DataField="ClassDivision" ItemStyle-Width="7%" HeaderStyle-HorizontalAlign="Left" HeaderText="Class"></asp:BoundField>
                                                            <asp:BoundField DataField="RollNo" HeaderText="Roll No" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                            <asp:BoundField DataField="Name" HeaderText="Name" ItemStyle-Width="30%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                            <asp:BoundField DataField="PaidAmount" HeaderText="Applicable Paid Fee" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                            <asp:TemplateField HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="33%" HeaderText="Status">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="LabelStatus" Text='<%#Eval("Status")%>' runat="server"></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                        </Columns>
                                                        <PagerSettings Visible="False" />
                                                    </asp:GridView>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                </div>
                            </div>
                        </div>
                    </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--   <script data-main="../../JavaScript/rjs/encrypt/fee-admin-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/fee-admin")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>

    <script type="text/javascript">
        function checkAllRows(obj) {
            var objGridview = obj.closest('table');
            var list = objGridview.getElementsByTagName("input");
            for (var i = 0; i < list.length; i++) {
                var objRow = list[i].parentNode.parentNode;
                if (list[i].type == "checkbox" && obj != list[i]) {
                    if (obj.checked) {
                        list[i].checked = true;
                    }
                    else {
                        list[i].checked = false;
                    }
                }
            }
        }
        function checkUncheckHeaderCheckBox(obj) {
            var objRow = obj.parentNode.parentNode;
            var objGridView = obj.closest('table');
            var list = objGridView.getElementsByTagName("input");
            for (var i = 0; i < list.length; i++) {
                var objHeaderChkBox = list[0];
                var checked = true;
                if (list[i].type == "checkbox" && list[i] != objHeaderChkBox) {
                    if (!list[i].checked) {
                        checked = false;
                        break;
                    }
                }
            }
            objHeaderChkBox.checked = checked;
        }
        function CheckAllStudent(e) {
            var t = e.closest('Table');
            for (i = 1; i < t.rows.length; i++) {
                if (t.rows[i].cells[0].getElementsByTagName("INPUT")[0].disabled == false) {
                    t.rows[i].cells[0].getElementsByTagName("INPUT")[0].checked = e.checked;
                }
            }
        }
    </script>

</asp:Content>
