<%@ page language="C#" autoeventwireup="true" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" inherits="Pages_FeeManagement_AccountMapping, App_Web_bhdjlaqz" uiculture="auto" meta:resourcekey="PageResource1" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl"
    TagPrefix="Date" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager"
    TagPrefix="uc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/AutoComplete/AutoCompleteControl.ascx" TagName="AutoCompleteControl"
    TagPrefix="acc" %>
<%@ 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="OTQueueListingUpdatePanel" runat="server">
        <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="104"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="whiteboxpaddingleft row">
                    <div class="himssuHeader1WireBox card card-box">
                        <div class="himsBoxHeader card-head">
                            <div class="leftdiv">
                            </div>
                            <div class="himsBoxTitle">
                                <div class="headerText">
                                    <header>
                                        <asp:Label ID="ReasonMasterDetailLabel" runat="server" Text="Account Mapping"></asp:Label>
                                    </header>
                                </div>
                            </div>
                        </div>
                        <div class="himsBoxContent card-body padd-0">
                            <asp:Panel ID="Panel3" runat="Server">
                                <div class="contentHolder">
                                    <div class="tableContainer">
                                        <cc1:TabContainer Width="100%" ID="FeeAllocationTabContainer" runat="server" CssClass="ajax__myTab nav nav-tabs tabs-style-iconbox ajax__tab_container ajax__tab_default"
                                            AutoPostBack="true" meta:resourcekey="FeeAllocationTabContainerResource1" ActiveTabIndex="0">
                                            <cc1:TabPanel Width="100%" ID="AccountMappingTabPanel" runat="server" HeaderText="Account Mapping">
                                                <HeaderTemplate>
                                                    <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                        <li class="fancyTab"><a><i class="fas fa-money-bill-alt"></i>&nbsp;Account Mapping</a></li>
                                                    </ul>
                                                </HeaderTemplate>
                                                <ContentTemplate>
                                                    <asp:Panel ID="DetailPanel" runat="Server">
                                                        <div class="contentHolder">
                                                            <div class="cBoth">
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="OrganizationLabel" Text="Organization" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList ID="OrganizationDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                        onmouseenter="showHideTooltip()" AutoPostBack="true" SkinID="CustomWidthDropDownList"
                                                                        class="form-control" OnSelectedIndexChanged="OrganizationDropDownList_OnSelectedIndexChanged">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="BatchLable" Text="Batch" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList ID="BatchDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                        onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" class="form-control"
                                                                        AutoPostBack="true" OnSelectedIndexChanged="BatchDropDownList_OnSelectedIndexChanged">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="AdmissionCategoryLabel" runat="server" Text="Fees Category" SkinID="MandatoryLabel"> </asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList runat="server" ID="AdmissionCategoryDropDownList" SkinID="CustomWidthDropDownList"
                                                                        onmouseleave="showHideTooltip()" class="form-control" onmouseenter="showHideTooltip()"
                                                                        AutoPostBack="true" OnSelectedIndexChanged="AdmissionCategoryDropDownList_SelectedIndexChanged">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="ClassLabel" runat="server" SkinID="MandatoryLabel" Text="Class"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList runat="server" ID="ClassDropDownList" SkinID="CustomWidthDropDownList"
                                                                        AutoPostBack="true" onmouseleave="showHideTooltip()" class="form-control" onmouseenter="showHideTooltip()"
                                                                        OnSelectedIndexChanged="ClassDropDownList_SelectedIndexChanged">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="ReceiptBookLabel" runat="server" Text="Receipt Book" meta:resourcekey="ReceiptBookLabelResource1"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList runat="server" ID="ReceiptBookDropDownList" SkinID="CustomWidthDropDownList"
                                                                        class="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                        OnSelectedIndexChanged="ReceiptBookDropDownList_SelectedIndexChanged" AutoPostBack="true">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div runat="server" id="PayTypeDiv" visible="true">
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="PayTypeLabel" runat="server" Text="Pay Type"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:DropDownList ID="PayTypeDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList" OnSelectedIndexChanged="PayTypeDropDownList_SelectedIndexChanged"
                                                                            AutoPostBack="true" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" />
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="FeeHeadLabel" runat="server" Text="Fee Head"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList ID="FeeHeadDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList" OnSelectedIndexChanged="FeeHeadDropDownList_SelectedIndexChanged"
                                                                        AutoPostBack="true" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" />
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="FeeMasterLabel" runat="server" Text="Fee"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList ID="FeeMasterDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                                        OnSelectedIndexChanged="FeeMasterDropDownList_SelectedIndexChanged" AutoPostBack="true" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" />
                                                                </div>
                                                            </div>
                                                            <div class="cBoth">
                                                            </div>
                                                            <br />
                                                            <div id="AccountMappingDetailDiv" runat="server" visible="false" class="">
                                                                <div class="himssuHeader6WireBox box-body box-solid  ">
                                                                    <div class="himsBoxHeader " id="GridViewPagerDiv" runat="server" visible="false">
                                                                        <div class="leftdiv">
                                                                        </div>
                                                                        <div class="himsBoxTitle">
                                                                            <%--   <div class="gridHeaderText">
                                                    <header>
                                                        <asp:Label ID="GridViewLabel" Text="List" runat="server" />
                                                    </header>
                                                </div>--%>
                                                                            <div class="pull-right mt-27 display-flex pt-1">
                                                                                <asp:DropDownList ID="ApplyDropDownList" runat="server" SkinID="CustomWidthDropDownList"
                                                                                    class="form-control">
                                                                                </asp:DropDownList>
                                                                                &nbsp;&nbsp;&nbsp;&nbsp;
                                                    <asp:TextBox ID="ApplyAllTextBox" runat="server" SkinID="CustomWidthTextBox" Style="padding-bottom: 5px;"></asp:TextBox>
                                                                                &nbsp;&nbsp;&nbsp;&nbsp;
                                                    <asp:Button ID="ApplyAllButton" runat="server" OnClick="ApplyAllButton_Click"
                                                        Text="Apply All" SkinID="0" CssClass="btn btn-apply fas" />
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div>
                                                                    </div>
                                                                    <div class="col-md-12 pTop5 pb15 display-flex">
                                                                        <table>
                                                                            <tr>
                                                                                <td style="padding: 2px 0px 0px 2px">Pay Type
                                                                                </td>
                                                                                <td style="padding: 2px 0px 0px 2px">Account
                                                                                </td>
                                                                                <td style="padding: 2px 0px 0px 2px">Accounting Year
                                                                                </td>
                                                                                <td style="padding: 2px 0px 0px 2px">Credit Ledger
                                                                                </td>
                                                                                <td style="padding: 2px 0px 0px 2px">Debit Ledger
                                                                                </td>
                                                                                <td></td>
                                                                            </tr>
                                                                            <tr>
                                                                                <td style="padding: 2px 0px 0px 2px">
                                                                                    <asp:DropDownList ID="A_PayTypeDropDownList" runat="server" SkinID="CustomWidthDropDownList"
                                                                                        CssClass="form-control" />
                                                                                </td>
                                                                                <td style="padding: 2px 0px 0px 2px">
                                                                                    <asp:DropDownList ID="A_AccountDropDownListDropDownList" runat="server" SkinID="CustomWidthDropDownList"
                                                                                        CssClass="form-control" OnSelectedIndexChanged="A_AccountDropDownListDropDownList_SelectedIndexChanged"
                                                                                        AutoPostBack="true" />
                                                                                </td>
                                                                                <td style="padding: 2px 0px 0px 2px">
                                                                                    <asp:DropDownList ID="A_AccountingYearDropDownListDropDownList" runat="server" SkinID="CustomWidthDropDownList"
                                                                                        CssClass="form-control" OnSelectedIndexChanged="A_AccountingYearDropDownListDropDownList_SelectedIndexChanged"
                                                                                        AutoPostBack="true" />
                                                                                </td>
                                                                                <td style="padding: 2px 0px 0px 2px">
                                                                                    <asp:DropDownList ID="A_CreditLedgerDropDownListDropDownList" runat="server" SkinID="CustomWidthDropDownList"
                                                                                        CssClass="form-control" />
                                                                                </td>
                                                                                <td style="padding: 2px 0px 0px 2px">
                                                                                    <asp:DropDownList ID="A_DebitLedgerDropDownListDropDownList" runat="server" SkinID="CustomWidthDropDownList"
                                                                                        CssClass="form-control" />
                                                                                </td>
                                                                                <td style="padding: 2px 0px 0px 2px">
                                                                                    <asp:Button ID="ApplyAllBasedOnPayTypeButton" runat="server" OnClick="ApplyAllBasedOnPayTypeButton_Click"
                                                                                        Text="Apply All Based On Pay Type" SkinID="0" CssClass="btn btn-apply fas" />
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="fLeft pTop5">
                                                                            <asp:CheckBox ID="ApplyToOtherClassCheckBox" runat="server" OnCheckedChanged="ApplyToOtherClassCheckBox_CheckedChanged" Text="Apply To Other Class"
                                                                                AutoPostBack="true" />
                                                                        </div>
                                                                    </div>
                                                                    <div id="DivClassCheckBoxList" class="outerBox11 pTop5  col-md-6" runat="server" visible="false">
                                                                        <div class="col-md-6 ">
                                                                            <div class="select">
                                                                                <asp:CheckBox ID="ClassCheckBox" runat="server" AutoPostBack="True" OnCheckedChanged="ClassCheckBox_CheckedChanged" Text="Select All" />
                                                                            </div>
                                                                            <div id="ClassDivisionDiv" runat="server" class="fLeft pRight5 chck-dropdown-onclick bg-lghtgrey outerBox11 col-md-12 overflow-x-hidden padd-0">
                                                                                <asp:CheckBoxList ID="ClassDivisionCheckBoxList" runat="server">
                                                                                </asp:CheckBoxList>
                                                                            </div>
                                                                        </div>
                                                                        <div class="col-md-6 ">
                                                                            <asp:Button ID="ApplyForSelectClassButton" runat="server" SkinID="0" OnClick="ApplyForSelectClassButton_Click"
                                                                                Text="Apply For Select Class" CssClass="btn btn-apply" />
                                                                        </div>
                                                                        <div class="col-md-6 "></div>
                                                                        <div class="col-md-6 "></div>
                                                                        <div class="col-md-6 "></div>
                                                                        <div class="col-md-6 ">
                                                                        </div>
                                                                    </div>
                                                                    <div class="himsBoxContent pTop15 gridviewfont">
                                                                        <div id="Div5" runat="server" visible="true">
                                                                            <asp:GridView ID="AccountMappingGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                EmptyDataText="No Records Found !!" AllowPaging="False" OnRowDataBound="AccountMappingGridView_RowDataBound"
                                                                                DataKeyNames="FeeSetupId,AMFeeSetupId,PayTypeId,AMPayTypeId,FeeTitle,PayTypeName,FeeId" ShowHeader="True"
                                                                                ShowFooter="false" CssClass="table table-striped table-bordered">
                                                                                <Columns>
                                                                                    <asp:TemplateField HeaderText="Select" HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="5%"
                                                                                        ItemStyle-Wrap="true">
                                                                                        <HeaderTemplate>
                                                                                            <label class="rt-chkbox rt-chkbox-outline">
                                                                                                <asp:CheckBox ID="HeaderSelectCheckBox" runat="server" Enabled="true" AutoPostBack="true"
                                                                                                    Visible="true" OnCheckedChanged="HeaderSelectCheckBox_checked" />
                                                                                                <span></span>
                                                                                            </label>
                                                                                        </HeaderTemplate>
                                                                                        <ItemStyle HorizontalAlign="Center" />
                                                                                        <ItemTemplate>
                                                                                            <label class="rt-chkbox rt-chkbox-outline">
                                                                                                <asp:CheckBox ID="SelectCheckBox" AutoPostBack="true" OnCheckedChanged="SelectCheckBox_Checked"
                                                                                                    runat="server" />
                                                                                                <span></span>
                                                                                            </label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:BoundField DataField="FeeTitle" HeaderText="Fee" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                                    <asp:BoundField DataField="FeeHeadName" HeaderText="Fee Head" ItemStyle-Width="15%"
                                                                                        HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                                    <asp:BoundField DataField="ReceiptBookTitle" HeaderText="Receipt Book" ItemStyle-Width="15%"
                                                                                        HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                                    <asp:BoundField DataField="PayTypeName" HeaderText="Pay Type" ItemStyle-Width="10%"
                                                                                        HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                                    <asp:TemplateField HeaderText="Account" HeaderStyle-HorizontalAlign="Left" ItemStyle-Width="10%"
                                                                                        ItemStyle-Wrap="true">
                                                                                        <ItemStyle HorizontalAlign="Left" />
                                                                                        <ItemTemplate>
                                                                                            <asp:DropDownList runat="server" ID="AccountDropDownList" onmouseleave="showHideTooltip()"
                                                                                                onmouseenter="showHideTooltip()" Enabled="false" OnSelectedIndexChanged="AccountDropDownList_SelectedIndexChanged"
                                                                                                AutoPostBack="true" CssClass="form-control">
                                                                                            </asp:DropDownList>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Accounting Year" HeaderStyle-HorizontalAlign="Left"
                                                                                        ItemStyle-Width="10%" ItemStyle-Wrap="true">
                                                                                        <ItemStyle HorizontalAlign="Left" />
                                                                                        <ItemTemplate>
                                                                                            <asp:DropDownList runat="server" ID="AccountingYearDropDownList" onmouseleave="showHideTooltip()"
                                                                                                onmouseenter="showHideTooltip()" Enabled="false" OnSelectedIndexChanged="AccountingYearDropDownList_SelectedIndexChanged"
                                                                                                AutoPostBack="true" CssClass="form-control">
                                                                                            </asp:DropDownList>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Credit Ledger" HeaderStyle-HorizontalAlign="Left"
                                                                                        ItemStyle-Width="10%" ItemStyle-Wrap="true">
                                                                                        <ItemStyle HorizontalAlign="Left" />
                                                                                        <ItemTemplate>
                                                                                            <asp:DropDownList runat="server" ID="CreditLedgerDropDownList" onmouseleave="showHideTooltip()"
                                                                                                onmouseenter="showHideTooltip()" Enabled="false" CssClass="form-control">
                                                                                            </asp:DropDownList>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Debit Ledger" HeaderStyle-HorizontalAlign="Left" ItemStyle-Width="10%"
                                                                                        ItemStyle-Wrap="true">
                                                                                        <ItemStyle HorizontalAlign="Left" />
                                                                                        <ItemTemplate>
                                                                                            <asp:DropDownList runat="server" ID="DebitLedgerDropDownList" onmouseleave="showHideTooltip()"
                                                                                                onmouseenter="showHideTooltip()" Enabled="false" CssClass="form-control">
                                                                                            </asp:DropDownList>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                </Columns>
                                                                                <PagerSettings Visible="False" />
                                                                            </asp:GridView>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </asp:Panel>
                                                </ContentTemplate>
                                            </cc1:TabPanel>
                                            <cc1:TabPanel Width="100%" ID="RefundAccountMappingTabPanel" runat="server" HeaderText="Refund Account Mapping">
                                                <HeaderTemplate>
                                                    <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                        <li class="fancyTab"><a><i class="fas fa-money-bill-alt"></i>&nbsp;Refund Account Mapping</a></li>
                                                    </ul>
                                                </HeaderTemplate>
                                                <ContentTemplate>
                                                    <asp:Panel ID="RefundPanel" runat="Server">
                                                        <div class="contentHolder">
                                                            <div class="cBoth">
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="RefundOrganizationLabel" Text="Organization" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList ID="RefundOrganizationDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                        onmouseenter="showHideTooltip()" AutoPostBack="true" SkinID="CustomWidthDropDownList" class="form-control"
                                                                        OnSelectedIndexChanged="RefundOrganizationDropDownList_SelectedIndexChanged">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>

                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="RefundBatchLabel" Text="Batch" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList ID="RefundBatchDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                        onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" class="form-control"
                                                                        AutoPostBack="true" OnSelectedIndexChanged="RefundBatchDropDownList_SelectedIndexChanged">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>

                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="RefundAdmissionCategoryLabel" runat="server" Text="Fees Category" SkinID="MandatoryLabel"> </asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList runat="server" ID="RefundAdmissionCategoryDropDownList" SkinID="CustomWidthDropDownList" AutoPostBack="true"
                                                                        onmouseleave="showHideTooltip()" class="form-control" onmouseenter="showHideTooltip()" OnSelectedIndexChanged="RefundAdmissionCategoryDropDownList_SelectedIndexChanged">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>

                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="RefundClassLabel" runat="server" SkinID="MandatoryLabel" Text="Class"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList runat="server" ID="RefundClassDropDownList" SkinID="CustomWidthDropDownList"
                                                                        AutoPostBack="true" onmouseleave="showHideTooltip()" class="form-control" onmouseenter="showHideTooltip()"
                                                                        OnSelectedIndexChanged="RefundClassDropDownList_SelectedIndexChanged">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>

                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="RefundReceiptBookLabel" runat="server" Text="Receipt Book" meta:resourcekey="ReceiptBookLabelResource1"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList runat="server" ID="RefundReceiptBookDropDownList" SkinID="CustomWidthDropDownList"
                                                                        class="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                        AutoPostBack="true" OnSelectedIndexChanged="RefundReceiptBookDropDownList_SelectedIndexChanged">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>

                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="RefundPayTypeLabel" runat="server" Text="Pay Type"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList ID="RefundPayTypeDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                                        AutoPostBack="true" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" OnSelectedIndexChanged="RefundPayTypeDropDownList_SelectedIndexChanged" />
                                                                </div>
                                                            </div>

                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="RefundFeeHeadLabel" runat="server" Text="Fee Head"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList ID="RefundFeeHeadDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                                        AutoPostBack="true" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" OnSelectedIndexChanged="RefundFeeHeadDropDownList_SelectedIndexChanged" />
                                                                </div>
                                                            </div>

                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="RefundFeeMasterLabel" runat="server" Text="Fee"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList ID="RefundFeeMasterDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" AutoPostBack="true"
                                                                        OnSelectedIndexChanged="RefundFeeMasterDropDownList_SelectedIndexChanged" />
                                                                </div>
                                                            </div>

                                                            <div class="cBoth">
                                                            </div>
                                                            </br>
                                                            <div id="RefundAccountMappingDetailDiv" runat="server" visible="false" class="">
                                                                <div class="himssuHeader6WireBox box-body box-solid">
                                                                    <div class="himsBoxHeader " id="RefundGridViewPagerDiv" runat="server" visible="false">
                                                                        <div class="leftdiv">
                                                                        </div>
                                                                        <div class="himsBoxTitle">
                                                                            <div class="pull-right mt-27 display-flex pt-1">
                                                                                <asp:DropDownList ID="RefundApplyDropDownList" runat="server" SkinID="CustomWidthDropDownList" class="form-control">
                                                                                </asp:DropDownList>
                                                                                &nbsp;&nbsp;&nbsp;&nbsp;
                                                                                <asp:TextBox ID="RefundApplyTextBox" runat="server" SkinID="CustomWidthTextBox" Style="padding-bottom: 5px;"></asp:TextBox>
                                                                                &nbsp;&nbsp;&nbsp;&nbsp;
                                                                                <asp:Button ID="RefundApplyButton" runat="server" Text="Apply All" SkinID="0" CssClass="btn btn-apply fas" OnClick="RefundApplyButton_Click" />
                                                                            </div>
                                                                        </div>
                                                                    </div>

                                                                    <div class="col-md-12 pTop5 pb15 display-flex">
                                                                        <table>
                                                                            <tr>
                                                                                <td style="padding: 2px 0px 0px 2px">Pay Type
                                                                                </td>
                                                                                <td style="padding: 2px 0px 0px 2px">Account
                                                                                </td>
                                                                                <td style="padding: 2px 0px 0px 2px">Accounting Year
                                                                                </td>
                                                                                <td style="padding: 2px 0px 0px 2px">Credit Ledger
                                                                                </td>
                                                                                <td style="padding: 2px 0px 0px 2px">Debit Ledger
                                                                                </td>
                                                                                <td></td>
                                                                            </tr>
                                                                            <tr>
                                                                                <td style="padding: 2px 0px 0px 2px">
                                                                                    <asp:DropDownList ID="R_PayTypeDropDownList" runat="server" SkinID="CustomWidthDropDownList"
                                                                                        CssClass="form-control" />
                                                                                </td>
                                                                                <td style="padding: 2px 0px 0px 2px">
                                                                                    <asp:DropDownList ID="R_AccountDropDownListDropDownList" runat="server" SkinID="CustomWidthDropDownList"
                                                                                        CssClass="form-control" AutoPostBack="true" OnSelectedIndexChanged="R_AccountDropDownListDropDownList_SelectedIndexChanged" />
                                                                                </td>
                                                                                <td style="padding: 2px 0px 0px 2px">
                                                                                    <asp:DropDownList ID="R_AccountingYearDropDownListDropDownList" runat="server" SkinID="CustomWidthDropDownList"
                                                                                        CssClass="form-control" AutoPostBack="true" OnSelectedIndexChanged="R_AccountingYearDropDownListDropDownList_SelectedIndexChanged" />
                                                                                </td>
                                                                                <td style="padding: 2px 0px 0px 2px">
                                                                                    <asp:DropDownList ID="R_CreditLedgerDropDownListDropDownList" runat="server" SkinID="CustomWidthDropDownList"
                                                                                        CssClass="form-control" />
                                                                                </td>
                                                                                <td style="padding: 2px 0px 0px 2px">
                                                                                    <asp:DropDownList ID="R_DebitLedgerDropDownListDropDownList" runat="server" SkinID="CustomWidthDropDownList"
                                                                                        CssClass="form-control" />
                                                                                </td>
                                                                                <td style="padding: 2px 0px 0px 2px">
                                                                                    <asp:Button ID="RefundApplyAllBasedOnPayTypeButton" runat="server" Text="Apply All Based On Pay Type" SkinID="0"
                                                                                        CssClass="btn btn-apply fas" OnClick="RefundApplyAllBasedOnPayTypeButton_Click" />
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </div>

                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="fLeft pTop5">
                                                                            <asp:CheckBox ID="RefundApplyToOtherClassCheckBox" runat="server" Text="Apply To Other Class" AutoPostBack="true" OnCheckedChanged="RefundApplyToOtherClassCheckBox_CheckedChanged" />
                                                                        </div>
                                                                    </div>

                                                                    <div id="RefundDivClassCheckBoxList" class="outerBox11 pTop5  col-md-6" runat="server" visible="false">
                                                                        <div class="col-md-6 ">
                                                                            <div class="select">
                                                                                <asp:CheckBox ID="RefundClassCheckBox" runat="server" AutoPostBack="True" Text="Select All" OnCheckedChanged="RefundClassCheckBox_CheckedChanged" />
                                                                            </div>
                                                                            <div id="RefundClassDivisionDiv" runat="server" class="fLeft pRight5 chck-dropdown-onclick bg-lghtgrey outerBox11 col-md-12 overflow-x-hidden padd-0">
                                                                                <asp:CheckBoxList ID="RefundClassDivisionCheckBoxList" runat="server">
                                                                                </asp:CheckBoxList>
                                                                            </div>
                                                                        </div>
                                                                        <div class="col-md-6 ">
                                                                            <asp:Button ID="RefundApplyForSelectClassButton" runat="server" SkinID="0" Text="Apply For Select Class"
                                                                                CssClass="btn btn-apply" OnClick="RefundApplyForSelectClassButton_Click" />
                                                                        </div>
                                                                        <div class="col-md-6 "></div>
                                                                        <div class="col-md-6 "></div>
                                                                        <div class="col-md-6 "></div>
                                                                        <div class="col-md-6 ">
                                                                        </div>
                                                                    </div>

                                                                    <div class="himsBoxContent pTop15 gridviewfont">
                                                                        <div id="RefundDiv" runat="server" visible="true">
                                                                            <asp:GridView ID="RefundAccountMappingGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                EmptyDataText="No Records Found !!" AllowPaging="False" OnRowDataBound="RefundAccountMappingGridView_RowDataBound"
                                                                                DataKeyNames="FeeSetupId,AMFeeSetupId,PayTypeId,AMPayTypeId,FeeTitle,PayTypeName,FeeId" ShowHeader="True"
                                                                                ShowFooter="false" CssClass="table table-striped table-bordered">
                                                                                <Columns>
                                                                                    <asp:TemplateField HeaderText="Select" HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="5%"
                                                                                        ItemStyle-Wrap="true">
                                                                                        <HeaderTemplate>
                                                                                            <label class="rt-chkbox rt-chkbox-outline">
                                                                                                <asp:CheckBox ID="RefundHeaderSelectCheckBox" runat="server" Enabled="true" AutoPostBack="true"
                                                                                                    Visible="true" OnCheckedChanged="RefundHeaderSelectCheckBox_CheckedChanged" />
                                                                                                <span></span>
                                                                                            </label>
                                                                                        </HeaderTemplate>
                                                                                        <ItemStyle HorizontalAlign="Center" />
                                                                                        <ItemTemplate>
                                                                                            <label class="rt-chkbox rt-chkbox-outline">
                                                                                                <asp:CheckBox ID="RefundSelectCheckBox" AutoPostBack="true" runat="server" OnCheckedChanged="RefundSelectCheckBox_CheckedChanged" />
                                                                                                <span></span>
                                                                                            </label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:BoundField DataField="FeeTitle" HeaderText="Fee" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                                    <asp:BoundField DataField="FeeHeadName" HeaderText="Fee Head" ItemStyle-Width="15%"
                                                                                        HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                                    <asp:BoundField DataField="ReceiptBookTitle" HeaderText="Receipt Book" ItemStyle-Width="15%"
                                                                                        HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                                    <asp:BoundField DataField="PayTypeName" HeaderText="Pay Type" ItemStyle-Width="10%"
                                                                                        HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                                    <asp:TemplateField HeaderText="Account" HeaderStyle-HorizontalAlign="Left" ItemStyle-Width="10%"
                                                                                        ItemStyle-Wrap="true">
                                                                                        <ItemStyle HorizontalAlign="Left" />
                                                                                        <ItemTemplate>
                                                                                            <asp:DropDownList runat="server" ID="RefundAccountDropDownList" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                                Enabled="false" AutoPostBack="true" CssClass="form-control" OnSelectedIndexChanged="RefundAccountDropDownList_SelectedIndexChanged">
                                                                                            </asp:DropDownList>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Accounting Year" HeaderStyle-HorizontalAlign="Left"
                                                                                        ItemStyle-Width="10%" ItemStyle-Wrap="true">
                                                                                        <ItemStyle HorizontalAlign="Left" />
                                                                                        <ItemTemplate>
                                                                                            <asp:DropDownList runat="server" ID="RefundAccountingYearDropDownList" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                                Enabled="false" AutoPostBack="true" CssClass="form-control" OnSelectedIndexChanged="RefundAccountingYearDropDownList_SelectedIndexChanged">
                                                                                            </asp:DropDownList>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Refund Credit Ledger" HeaderStyle-HorizontalAlign="Left"
                                                                                        ItemStyle-Width="10%" ItemStyle-Wrap="true">
                                                                                        <ItemStyle HorizontalAlign="Left" />
                                                                                        <ItemTemplate>
                                                                                            <asp:DropDownList runat="server" ID="RefundCreditLedgerDropDownList" onmouseleave="showHideTooltip()"
                                                                                                onmouseenter="showHideTooltip()" Enabled="false" CssClass="form-control">
                                                                                            </asp:DropDownList>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Refund Debit Ledger" HeaderStyle-HorizontalAlign="Left" ItemStyle-Width="10%"
                                                                                        ItemStyle-Wrap="true">
                                                                                        <ItemStyle HorizontalAlign="Left" />
                                                                                        <ItemTemplate>
                                                                                            <asp:DropDownList runat="server" ID="RefundDebitLedgerDropDownList" onmouseleave="showHideTooltip()"
                                                                                                onmouseenter="showHideTooltip()" Enabled="false" CssClass="form-control">
                                                                                            </asp:DropDownList>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                </Columns>
                                                                                <PagerSettings Visible="False" />
                                                                            </asp:GridView>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </asp:Panel>
                                                </ContentTemplate>
                                            </cc1:TabPanel>
                                        </cc1:TabContainer>
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                    </div>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%-- <script data-main="../../JavaScript/rjs/encrypt/account-mapping-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/account-mapping")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
