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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/AutoComplete/AutoCompleteControl.ascx" TagName="AutoCompleteControl" TagPrefix="acc" %>
<%@ Register Src="~/UserControls/Common/CommonSearch/CommonSearch.ascx" TagName="CommonSearchUserControl" TagPrefix="Common" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl" TagPrefix="Date" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl" TagPrefix="ScreenGroup" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="FeeSearchUpdatePanel" runat="server">
        <ContentTemplate>
            <Common:CommonSearchUserControl ID="CommonSearchControl" runat="server" Visible="false" />
            <div id="divContentPage">
                <div style="width: 100%; padding: 2px; margin: 2px">
                    <table width="100%" border="0" style="vertical-align: top; margin-top: -1px" cellpadding="0" cellspacing="0">
                        <tr>
                            <td class="dashBoardLeftCont" valign="top">
                                <div class="himssuHeader3WireBox">
                                    <table width="0px" cellpadding="0" cellspacing="0">
                                        <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>
                            </td>
                            <td style="vertical-align: top" width="100%" class="whiteboxpaddingleft">
                                <div class="himssuHeader1WireBox whitebox">
                                    <div class="himsBoxHeader note note1 box box-danger" id="Div6" runat="server" visible="True">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText fLeft">
                                                <asp:Label ID="Label2" Text="Maintainance" runat="server" />
                                            </div>
                                        </div>
                                    </div>
                                    <div class="himsBoxContent">
                                        <asp:Panel ID="Panel3" runat="Server">
                                            <div class="contentHolder">
                                                <div class="tableContainer">
                                                    <cc1:TabContainer Width="100%" ID="FeeCustomSearchTabContainer" runat="server" CssClass="ajax__myTab"
                                                        AutoPostBack="true" meta:resourcekey="FeeCustomSearchTabContainerResource1" ActiveTabIndex="0"
                                                        OnActiveTabChanged="FeeCustomSearchTabContainer_OnActiveTabChanged">
                                                        <cc1:TabPanel Width="100%" ID="FeeCustomSearch" runat="server" HeaderText="Fee Custom Search">
                                                            <HeaderTemplate>
                                                                <ul class="nav nav-tabs ajaxnavtabs">
                                                                    <li>
                                                                        <a style="padding: 10px 15px !important;">Fee Custom Search
                                                                        </a>
                                                                    </li>
                                                                </ul>
                                                            </HeaderTemplate>
                                                            <ContentTemplate>
                                                                <div class="contentHolder">
                                                                    <div class="himssuHeader1WireBox">
                                                                        <asp:Panel ID="SearchDetailPanel" runat="server" meta:resourcekey="SearchDetailPanelResource1">
                                                                            <div class="contentHolder">
                                                                                <div class="outerBox11 pTop5">
                                                                                    <div class="controlLabelWidth">
                                                                                        <asp:Label ID="OrganizationGroupBatchLabel" runat="server" Text="Group Batch"
                                                                                            SkinID="MandatoryLabel"></asp:Label>
                                                                                    </div>
                                                                                    <div class="fLeft pRight5">
                                                                                        <asp:DropDownList runat="server" ID="OrganizationGroupBatchDropDownList" SkinID="CustomWidthDropDownList"
                                                                                            AutoPostBack="True" Width="154px" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                            OnSelectedIndexChanged="OrganizationGroupBatchDropDownList_OnSelectedIndexChanged">
                                                                                        </asp:DropDownList>
                                                                                    </div>
                                                                                </div>
                                                                                <div class="outerBox11 pTop5">
                                                                                    <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="True" SkinID="CustomWidthDropDownList"
                                                                                            Width="154px" OnSelectedIndexChanged="OrganizationDropDownList_OnSelectedIndexChanged">
                                                                                        </asp:DropDownList>
                                                                                    </div>
                                                                                </div>
                                                                                <div class="outerBox11 pTop5">
                                                                                    <div class="controlLabelWidth">
                                                                                        <asp:Label ID="BatchLable" Text="Batch" runat="server"></asp:Label>
                                                                                    </div>
                                                                                    <div class="fLeft pRight5">
                                                                                        <asp:DropDownList ID="BatchDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                                            onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" Width="154px"
                                                                                            AutoPostBack="True" OnSelectedIndexChanged="BatchDropDownList_OnSelectedIndexChanged">
                                                                                        </asp:DropDownList>
                                                                                    </div>
                                                                                </div>
                                                                                <div class="outerBox11 pTop5">
                                                                                    <div class="controlLabelWidth">
                                                                                        <asp:Label ID="ReceiptBookLabel1" runat="server" Text="Receipt Book" meta:resourcekey="ReceiptBookLabelResource1"></asp:Label>
                                                                                    </div>
                                                                                    <div class="fLeft pRight5">
                                                                                        <asp:DropDownList runat="server" ID="ReceiptBookDropDownList" SkinID="CustomWidthDropDownList"
                                                                                            Width="154px" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                                                        </asp:DropDownList>
                                                                                    </div>
                                                                                </div>
                                                                                <div class="cBoth">
                                                                                </div>
                                                                                <div class="outerBox11 pTop5">
                                                                                    <div class="controlLabelWidth">
                                                                                        <asp:Label ID="DepartmentLabel" runat="server" Text="Department"></asp:Label>
                                                                                    </div>
                                                                                    <div class="fLeft pRight5">
                                                                                        <asp:DropDownList runat="server" ID="DepartmentDropDownList" SkinID="CustomWidthDropDownList"
                                                                                            AutoPostBack="True" onmouseleave="showHideTooltip()" Width="154px" onmouseenter="showHideTooltip()"
                                                                                            OnSelectedIndexChanged="DepartmentDropDownList_SelectedIndexChanged">
                                                                                        </asp:DropDownList>
                                                                                    </div>
                                                                                </div>
                                                                                <div class="outerBox11 pTop5">
                                                                                    <div class="controlLabelWidth">
                                                                                        <asp:Label ID="ClassIdLabel" runat="server" Text="Class"></asp:Label>
                                                                                    </div>
                                                                                    <div class="fLeft pRight5">
                                                                                        <asp:DropDownList runat="server" ID="ClassIdDropDownList" SkinID="CustomWidthDropDownList"
                                                                                            AutoPostBack="True" onmouseleave="showHideTooltip()" Width="154px" onmouseenter="showHideTooltip()"
                                                                                            OnSelectedIndexChanged="ClassIdDropDownList_SelectedIndexChanged">
                                                                                        </asp:DropDownList>
                                                                                    </div>
                                                                                </div>
                                                                                <div class="outerBox11 pTop5">
                                                                                    <div class="controlLabelWidth">
                                                                                        <asp:Label ID="DivisionIdLabel" runat="server" Text="Division"></asp:Label>
                                                                                    </div>
                                                                                    <div class="fLeft pRight5">
                                                                                        <asp:DropDownList runat="server" ID="DivisionIdDropDownList" SkinID="CustomWidthDropDownList"
                                                                                            onmouseleave="showHideTooltip()" Width="154px" onmouseenter="showHideTooltip()">
                                                                                        </asp:DropDownList>
                                                                                    </div>
                                                                                </div>
                                                                                <div class="outerBox11 pTop5">
                                                                                    <div class="controlLabelWidth">
                                                                                        <asp:Label ID="SearchStatusLabel1" runat="server" Text="Status"></asp:Label>
                                                                                    </div>
                                                                                    <asp:DropDownList ID="SearchStatusDropDownList" runat="server" Width="154px" SkinID="CustomWidthDropDownList"
                                                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" />
                                                                                </div>
                                                                                <div class="cBoth">
                                                                                </div>
                                                                                <div class="cBoth">
                                                                                </div>
                                                                                <div class="outerBox11 pTop5" id="UserSearchPanel" runat="server">
                                                                                    <div class="controlLabelWidth">
                                                                                        <asp:Label ID="UserSearchLabel" runat="server" Text="User" meta:resourcekey="Label7Resource1"></asp:Label>
                                                                                    </div>
                                                                                    <div class="fLeft pRight5">
                                                                                        <acc:AutoCompleteControl ID="UserTextBox" runat="server" MinimumPrefixLength="2"
                                                                                            MaxLength="50" ContextKey="Common.EmployeeUserWithAdmin" AutoPostBack="true"
                                                                                            DisplayLoadingStatus="true" SkinID="CustomWidthTextBox" Width="154px" ValidateOnTextChanged="false" />
                                                                                        <asp:ImageButton SkinID="FindImage" ToolTip="Search" ID="UserImageButton" runat="server"
                                                                                            OnClick="UserImageButton_Click" ImageUrl="../../Images/icons/icon_find.gif" />
                                                                                        <asp:HiddenField runat="server" ID="UserIdHiddenField" />
                                                                                    </div>
                                                                                </div>
                                                                                <div class="outerBox11 pTop5">
                                                                                    <div class="controlLabelWidth">
                                                                                        <asp:Label ID="CodeSearchLabel" runat="server" Text="ID No" meta:resourcekey="CodeSearchLabelResource1"></asp:Label>
                                                                                    </div>
                                                                                    <div class="fLeft pRight5">
                                                                                        <asp:TextBox ID="CodeSearchTextBox" runat="server" onmouseleave="showHideTooltip()"
                                                                                            SkinID="CustomWidthTextBox" Width="150px" onmouseenter="showHideTooltip()" meta:resourcekey="CodeSearchTextBoxResource1"
                                                                                            MaxLength="20"></asp:TextBox>
                                                                                    </div>
                                                                                </div>
                                                                                <div class="outerBox11 pTop5">
                                                                                    <div class="controlLabelWidth">
                                                                                        <asp:Label ID="FirstNameSearchLabel" runat="server" Text="First Name" meta:resourcekey="FirstNameSearchLabelResource1"></asp:Label>
                                                                                    </div>
                                                                                    <div class="fLeft pRight5">
                                                                                        <asp:TextBox ID="FirstNameSearchTextBox" SkinID="CustomWidthTextBox" Width="150px"
                                                                                            runat="server" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                            meta:resourcekey="FirstNameSearchTextBoxResource1" MaxLength="50"></asp:TextBox>
                                                                                    </div>
                                                                                </div>
                                                                                <div class="outerBox11 pTop5">
                                                                                    <div class="controlLabelWidth">
                                                                                        <asp:Label ID="LastNameLabel" runat="server" Text="Last Name"></asp:Label>
                                                                                    </div>
                                                                                    <div class="fLeft pRight5">
                                                                                        <asp:TextBox ID="LastNameSearchTextBox" SkinID="CustomWidthTextBox" Width="150px"
                                                                                            runat="server" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                            meta:resourcekey="LastNameSearchTextBoxResource1" MaxLength="50"></asp:TextBox>
                                                                                    </div>
                                                                                </div>
                                                                                <div class="cBoth">
                                                                                </div>
                                                                                <div class="outerBox11 pTop5">
                                                                                    <div class="controlLabelWidth">
                                                                                        <asp:Label ID="FromReceiptDateLabel" runat="server" Text="From Receipt Date" meta:resourcekey="FromReceiptDateLabelResource1"></asp:Label>
                                                                                    </div>
                                                                                    <div class="fLeft pRight5">
                                                                                        <Date:DatePickerControl DisplayDatePicker="true" ID="FromReceiptDateTextBox" runat="server" />
                                                                                    </div>
                                                                                </div>
                                                                                <div class="outerBox11 pTop5">
                                                                                    <div class="controlLabelWidth">
                                                                                        <asp:Label ID="ToReceiptDateLabel" runat="server" Text="To Receipt Date" meta:resourcekey="ToReceiptDateLabelResource1"></asp:Label>
                                                                                    </div>
                                                                                    <div class="fLeft pRight5">
                                                                                        <Date:DatePickerControl DisplayDatePicker="true" ID="ToReceiptDateTextBox" runat="server" />
                                                                                    </div>
                                                                                </div>
                                                                                <div class="outerBox11 pTop5">
                                                                                    <div class="controlLabelWidth">
                                                                                        <asp:Label ID="FromReceiptNoLabel" runat="server" Text="From Receipt No"></asp:Label>
                                                                                    </div>
                                                                                    <div class="fLeft pRight5">
                                                                                        <asp:TextBox ID="FromReceiptNoTextBox" runat="server" Width="150px" SkinID="CustomWidthTextBox"
                                                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" onkeypress="return isNumberKey(event)" />
                                                                                    </div>
                                                                                </div>
                                                                                <div class="outerBox11 pTop5">
                                                                                    <div class="controlLabelWidth">
                                                                                        <asp:Label ID="ToReceiptNoLabel" runat="server" Text="To Receipt No"></asp:Label>
                                                                                    </div>
                                                                                    <div class="fLeft pRight5">
                                                                                        <asp:TextBox ID="ToReceiptNoTextBox" runat="server" Width="150px" SkinID="CustomWidthTextBox"
                                                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" onkeypress="return isNumberKey(event)" />
                                                                                    </div>
                                                                                </div>
                                                                                <div class="cBoth">
                                                                                </div>
                                                                                <div class="outerBox11 pTop5">
                                                                                    <div class="controlLabelWidth">
                                                                                        <asp:CheckBox ID="ClassCheckBox" runat="server" AutoPostBack="True" OnCheckedChanged="ClassCheckBox_OnCheckedChanged" />
                                                                                        <asp:Label ID="ClassDivisionLabel" runat="server" Text="Class"></asp:Label>
                                                                                    </div>
                                                                                    <div id="ClassDivisionDiv" runat="server" visible="False" class="fLeft pRight5" style="overflow: auto; height: 100px; width: 150px; border-color: Silver; border-width: thin; border-style: ridge">
                                                                                        <asp:CheckBoxList ID="ClassDivisionCheckBoxList" runat="server">
                                                                                        </asp:CheckBoxList>
                                                                                    </div>
                                                                                </div>
                                                                                <div class="outerBox11 pTop5">
                                                                                    <div class="controlLabelWidth">
                                                                                        <asp:CheckBox ID="ReceiptBookCheckBox" runat="server" AutoPostBack="True" OnCheckedChanged="ReceiptBookCheckBox_OnCheckedChanged" />
                                                                                        <asp:Label ID="ReceiptBookLabel" runat="server" Text="Receipt Book"></asp:Label>
                                                                                    </div>
                                                                                    <div id="ReceiptBookDiv" runat="server" visible="False" class="fLeft pRight5" style="overflow: auto; height: 100px; width: 150px; border-color: Silver; border-width: thin; border-style: ridge">
                                                                                        <asp:CheckBoxList ID="ReceiptBookCheckBoxList" runat="server">
                                                                                        </asp:CheckBoxList>
                                                                                    </div>
                                                                                </div>
                                                                                <div class="outerBox11 pTop5">
                                                                                    <div class="controlLabelWidth">
                                                                                        <asp:CheckBox ID="IsObsoleteCheckBox" runat="server" />
                                                                                        <asp:Label ID="IsObsoleteLabel" runat="server" Text="Cancel"></asp:Label>
                                                                                    </div>
                                                                                </div>
                                                                                <div class="cBoth">
                                                                                </div>
                                                                                <div class="outerBox11 pTop5">
                                                                                    <div class="controlLabelWidth">
                                                                                        <asp:CheckBox ID="SaveReportCheckBox" runat="server" AutoPostBack="True" OnCheckedChanged="SaveReportCheckBox_OnCheckedChanged" />
                                                                                        <asp:Label ID="SaveReportLabel" runat="server" Text="Save Report"></asp:Label>
                                                                                    </div>
                                                                                </div>
                                                                                <div id="SaveReportDiv" runat="server" visible="False" class="fLeft pRight5">
                                                                                    <div class="outerBox11 pTop5">
                                                                                        <div class="controlLabelWidth">
                                                                                            <asp:Label ID="TitleLabel" runat="server" Text="Report Name" meta:resourcekey="TitleLabelResource1"></asp:Label>
                                                                                        </div>
                                                                                        <div class="fLeft pRight5">
                                                                                            <asp:TextBox ID="TitleTextBox" SkinID="CustomWidthTextBox" Width="150px" runat="server"
                                                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" meta:resourcekey="TitleTextBoxResource1"
                                                                                                MaxLength="50"></asp:TextBox>
                                                                                        </div>
                                                                                    </div>
                                                                                    <div class="outerBox11 pTop5">
                                                                                        <div class="controlLabelWidth">
                                                                                            <asp:CheckBox ID="IsCommonCheckBox" runat="server" />
                                                                                            <asp:Label ID="IsCommonLabel" runat="server" Text="IsCommon"></asp:Label>
                                                                                        </div>
                                                                                    </div>
                                                                                </div>
                                                                                <div class="cBoth">
                                                                                </div>
                                                                            </div>
                                                                        </asp:Panel>
                                                                    </div>
                                                                </div>
                                                            </ContentTemplate>
                                                        </cc1:TabPanel>
                                                        <cc1:TabPanel Width="100%" ID="CustomField" ClientIDMode="Static" runat="server"
                                                            HeaderText="Custom Field">
                                                            <HeaderTemplate>
                                                                <ul class="nav nav-tabs ajaxnavtabs">
                                                                    <li>
                                                                        <a style="padding: 10px 15px !important;">Custom Field
                                                                        </a>
                                                                    </li>
                                                                </ul>
                                                            </HeaderTemplate>
                                                            <ContentTemplate>
                                                                <div class="contentHolder">
                                                                    <div class="himssuHeader1WireBox">
                                                                        <div class="contentHolder" style="height: 400px">
                                                                            <table style="margin-left: 10px">
                                                                                <tr>
                                                                                    <td></td>
                                                                                    <td>
                                                                                        <asp:Label ID="CFAvailableFieldLabel" runat="server" Text="Available Fields" meta:resourcekey="CFAvailableFieldLabelResource1"></asp:Label>
                                                                                    </td>
                                                                                    <td></td>
                                                                                    <td>
                                                                                        <asp:Label ID="CFSelectedFieldLabel" runat="server" Text="Selected Field(s)" meta:resourcekey="CFSelectedFieldLabelResource1"></asp:Label>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td rowspan="2"></td>
                                                                                    <td rowspan="2">
                                                                                        <asp:ListBox ID="CFAvailableFieldListBox" DataTextField="ColumnName" DataValueField="ColumnName"
                                                                                            runat="server" SelectionMode="Multiple" Height="350px" Width="150px" TabIndex="1"
                                                                                            meta:resourcekey="CFAvailableFieldListBoxResource1"></asp:ListBox>
                                                                                    </td>
                                                                                    <td>&nbsp;<asp:LinkButton ID="CFAddButton" runat="server" meta:resourcekey="CFAddButtonResource1"
                                                                                        OnClick="CFAddButton_OnClick">
                                                                                            <i class="fa fa-toggle-right fa-2x" style="color:black"></i>
                                                                                    </asp:LinkButton>
                                                                                        <br />
                                                                                        <br />
                                                                                        &nbsp;<asp:LinkButton ID="CFRemoveButton" runat="server" meta:resourcekey="CFRemoveButtonResource1"
                                                                                            OnClick="CFRemoveButton_OnClick">
                                                                                              <i class="fa fa-toggle-left fa-2x" style="color:black"></i>
                                                                                        </asp:LinkButton>
                                                                                    </td>
                                                                                    <td rowspan="2">
                                                                                        <asp:ListBox ID="CFSelectedFieldListBox" runat="server" SelectionMode="Multiple"
                                                                                            Height="350px" Width="150px" TabIndex="2" meta:resourcekey="CFSelectedFieldListBoxResource1"></asp:ListBox>
                                                                                        <asp:HiddenField runat="server" ID="CFSelectedColumnNameHiddenField" />
                                                                                    </td>
                                                                                    <td>&nbsp;<asp:LinkButton ID="CFUpButton" runat="server" meta:resourcekey="CFAddButtonResource1" OnClick="CFUpButton_OnClick">
                                                                                         <i class="fa fa-toggle-up fa-2x" style="color:black"></i>
                                                                                    </asp:LinkButton>
                                                                                        <br />
                                                                                        <br />
                                                                                        &nbsp;<asp:LinkButton ID="CFDownButton" runat="server" meta:resourcekey="CFAddButtonResource1" OnClick="CFDownButton_OnClick">
                                                                                            <i class="fa fa-toggle-down fa-2x" style="color:black"></i>
                                                                                        </asp:LinkButton>
                                                                                    </td>
                                                                                </tr>

                                                                            </table>
                                                                            <div class="helppadding">
                                                                                <div class="help help-info">
                                                                                    Press ctrl key for multiple selection
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </ContentTemplate>
                                                        </cc1:TabPanel>
                                                        <cc1:TabPanel Width="100%" ID="OrderBy" ClientIDMode="Static" runat="server" HeaderText="Order By">
                                                            <HeaderTemplate>
                                                                <ul class="nav nav-tabs ajaxnavtabs">
                                                                    <li>
                                                                        <a style="padding: 10px 15px !important;">Order By
                                                                        </a>
                                                                    </li>
                                                                </ul>
                                                            </HeaderTemplate>
                                                            <ContentTemplate>
                                                                <div class="contentHolder">
                                                                    <div class="himssuHeader1WireBox">
                                                                        <div class="contentHolder" style="height: 400px">
                                                                            <table style="margin-left: 10px">
                                                                                <tr>
                                                                                    <td></td>
                                                                                    <td>
                                                                                        <asp:Label ID="OBAvailableFieldLabel" runat="server" Text="Available Fields" meta:resourcekey="OBAvailableFieldLabelResource1"></asp:Label>
                                                                                    </td>
                                                                                    <td></td>
                                                                                    <td>
                                                                                        <asp:Label ID="OBSelectedFieldLabel" runat="server" Text="Selected Field(s)" meta:resourcekey="OBSelectedFieldLabelResource1"></asp:Label>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td rowspan="2"></td>
                                                                                    <td rowspan="2">
                                                                                        <asp:ListBox ID="OBAvailableFieldListBox" DataTextField="ColumnName" DataValueField="ColumnName"
                                                                                            runat="server" SelectionMode="Multiple" Height="350px" Width="150px" TabIndex="1"
                                                                                            meta:resourcekey="OBAvailableFieldListBoxResource1"></asp:ListBox>
                                                                                    </td>
                                                                                    <td>&nbsp;<asp:LinkButton ID="OBAddButton" runat="server" meta:resourcekey="OBAddButtonResource1"
                                                                                        OnClick="OBAddButton_OnClick">
                                                                                            <i class="fa fa-toggle-right fa-2x" style="color:black"></i>
                                                                                    </asp:LinkButton>
                                                                                        <br />
                                                                                        <br />
                                                                                        &nbsp;<asp:LinkButton ID="OBRemoveButton" runat="server" meta:resourcekey="OBRemoveButtonResource1"
                                                                                            OnClick="OBRemoveButton_OnClick">
                                                                                             <i class="fa fa-toggle-left fa-2x" style="color:black"></i>
                                                                                        </asp:LinkButton>
                                                                                    </td>
                                                                                    <td rowspan="2">
                                                                                        <asp:ListBox ID="OBSelectedFieldListBox" runat="server" SelectionMode="Multiple"
                                                                                            Height="350px" Width="150px" TabIndex="2" meta:resourcekey="OBSelectedFieldListBoxResource1"></asp:ListBox>
                                                                                        <asp:HiddenField runat="server" ID="OBSelectedColumnNameHiddenField" />
                                                                                    </td>
                                                                                    <td>&nbsp;<asp:LinkButton ID="OBUpButton" runat="server" meta:resourcekey="OBAddButtonResource1" OnClick="OBUpButton_OnClick">
                                                                                    <i class="fa fa-toggle-up fa-2x" style="color:black"></i>    
                                                                                    </asp:LinkButton>
                                                                                        <br />
                                                                                        <br />

                                                                                        &nbsp;<asp:LinkButton ID="OBDownButton" runat="server" meta:resourcekey="OBDownButtonResource1" OnClick="OBDownButton_OnClick">
                                                                                            <i class="fa fa-toggle-down fa-2x" style="color:black"></i>
                                                                                        </asp:LinkButton>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td></td>
                                                                                    <td></td>
                                                                                </tr>
                                                                            </table>
                                                                            <div class="helppadding">
                                                                                <div class="help help-info">
                                                                                    Press ctrl key for multiple selection
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </ContentTemplate>
                                                        </cc1:TabPanel>
                                                        <cc1:TabPanel Width="100%" ID="ReportList" ClientIDMode="Static" runat="server" HeaderText="Report List">
                                                            <HeaderTemplate>
                                                                <ul class="nav nav-tabs ajaxnavtabs">
                                                                    <li>
                                                                        <a style="padding: 10px 15px !important;">Report List
                                                                        </a>
                                                                    </li>
                                                                </ul>
                                                            </HeaderTemplate>
                                                            <ContentTemplate>
                                                                <div class="contentHolder" style="height: 300px">
                                                                    <asp:HiddenField ID="IdHiddenField" runat="server" />
                                                                    <div id="ReportListGridDiv" runat="server" class="box-body box-solid gridviewfont">
                                                                        <div class="himssuHeader1WireBox">
                                                                            <div id="ReportListGridViewPagerDiv" runat="server" visible="False">
                                                                                <div class="leftdiv">
                                                                                </div>
                                                                                <div class="himsBoxTitle">
                                                                                    <div class="gridHeaderText fLeft">
                                                                                    </div>
                                                                                    <div class="">
                                                                                        <uc1:GridViewPager ID="ReportListGridViewPager" ParentGridView="ReportListGridView"
                                                                                            runat="server" OnFirstRecordClick="ReportListGridViewPager_FirstRecordClick"
                                                                                            OnLastRecordClick="ReportListGridViewPager_LastRecordClick" OnNextRecordClick="ReportListGridViewPager_NextRecordClick"
                                                                                            OnPrevRecordClick="ReportListGridViewPager_PrevRecordClick" OnTextBoxValueChange="ReportListGridViewPager_TextBoxValueChange" />
                                                                                    </div>
                                                                                </div>
                                                                            </div>
                                                                            <div class="himsBoxContent">
                                                                                <asp:GridView runat="server" ID="ReportListGridView" Width="100%" AutoGenerateColumns="False"
                                                                                    EmptyDataText="No records available for the seacrh criteria!" OnRowDataBound="ReportListGridView_RowDataBound"
                                                                                    DataKeyNames="Id,Title" AllowPaging="True" meta:resourcekey="ReportListGridViewResource1" CssClass="table table-striped table-bordered">
                                                                                    <Columns>
                                                                                        <asp:BoundField DataField="Title" HeaderText="Name">
                                                                                            <HeaderStyle HorizontalAlign="Left" />
                                                                                            <ItemStyle Width="19%" />
                                                                                        </asp:BoundField>
                                                                                        <asp:TemplateField HeaderText="Column Name">
                                                                                            <ItemTemplate>
                                                                                                <asp:Label ID="ColumnNameLabel" runat="server" Text='<%# Eval("ColumnName") %>' ToolTip='<%# Eval("ColumnName") %>'
                                                                                                    Width="840px"></asp:Label>
                                                                                            </ItemTemplate>
                                                                                            <HeaderStyle HorizontalAlign="Left" />
                                                                                            <ItemStyle Width="67%" />
                                                                                        </asp:TemplateField>
                                                                                        <asp:TemplateField>
                                                                                            <ItemTemplate>
                                                                                                <asp:LinkButton ID="ViewLinkButton" runat="server" CommandName="Select" OnClick="ViewLinkButton_Click"
                                                                                                    Text="View" CausesValidation="false"></asp:LinkButton>
                                                                                            </ItemTemplate>
                                                                                            <ItemStyle HorizontalAlign="Center" Width="3%" Wrap="True" />
                                                                                        </asp:TemplateField>
                                                                                        <asp:BoundField DataField="CreatedUserName" HeaderText="Created UserName">
                                                                                            <HeaderStyle HorizontalAlign="Left" />
                                                                                            <ItemStyle Width="8%" />
                                                                                        </asp:BoundField>
                                                                                        <asp:TemplateField HeaderText="Delete">
                                                                                            <ItemTemplate>
                                                                                                <asp:ImageButton SkinID="DeleteImage" ID="DeleteImageButton" runat="server" OnClick="DeleteImageButton_Click"
                                                                                                    ToolTip="Delete" Enabled='<%# DataBinder.Eval(Container.DataItem,"IsDelete") %>' />
                                                                                            </ItemTemplate>
                                                                                            <ItemStyle HorizontalAlign="Center" Width="3%" />
                                                                                        </asp:TemplateField>
                                                                                    </Columns>
                                                                                    <PagerSettings Visible="False" />
                                                                                </asp:GridView>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </ContentTemplate>
                                                        </cc1:TabPanel>
                                                    </cc1:TabContainer>
                                                </div>
                                                <div class="alignCenter pTop5">
                                                    <asp:Button ID="SearchButton" runat="server" Text="Search" OnClick="SearchButton_Click"
                                                        SkinID="0" CssClass="btn-primary-search" />
                                                    <asp:Button ID="ClearButton" runat="server" Text="Reset" OnClick="ClearSearchControls_Click" />
                                                    <asp:Button ID="GenerateReportButton" runat="server" Text="Generate Report" SkinID="CustomWidthButton"
                                                        Width="120px" OnClick="GenerateReportButton_Click" Enabled="false" />
                                                </div>
                                                <div class="cBoth">
                                                </div>
                                                <br />
                                                <div id="FeeGridDiv" runat="server">
                                                    <div class="spacer">
                                                        <asp:Image ID="Image6" runat="server" ImageUrl="~/Images/spacer.gif" meta:resourcekey="Image6Resource1" />
                                                    </div>
                                                    <div class="himssuHeader6WireBox box-body box-solid gridviewfont">
                                                        <div class="himsBoxHeader" id="FeeGridViewPagerDiv" runat="server" visible="False">
                                                            <div class="leftdiv">
                                                            </div>
                                                            <div class="himsBoxTitle">
                                                                <div class="gridHeaderText ">
                                                                    <asp:Label ID="GridViewLabel" Text="List" runat="server" Font-Bold="True" meta:resourcekey="GridViewLabelResource1"
                                                                        ForeColor="White" />
                                                                </div>
                                                                <div class="">
                                                                    <uc1:GridViewPager ID="FeeGridViewPager" ParentGridView="FeeGridView" runat="server"
                                                                        OnFirstRecordClick="FeeGridViewPager_FirstRecordClick" OnLastRecordClick="FeeGridViewPager_LastRecordClick"
                                                                        OnNextRecordClick="FeeGridViewPager_NextRecordClick" OnPrevRecordClick="FeeGridViewPager_PrevRecordClick"
                                                                        OnTextBoxValueChange="FeeGridViewPager_TextBoxValueChange" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="himsBoxContent">
                                                            <asp:GridView runat="server" ID="FeeGridView" Width="100%" AutoGenerateColumns="False"
                                                                EmptyDataText="No records available for the seacrh criteria!" OnRowDataBound="FeeGridView_RowDataBound"
                                                                DataKeyNames="ReceiptNumber,BatchId,OrgId" AllowPaging="True" PageSize="10" OnSelectedIndexChanged="FeeGridView_SelectedIndexChanged"
                                                                ShowHeader="True" meta:resourcekey="FeeGridViewResource1" CssClass="table table-striped table-bordered">
                                                                <Columns>
                                                                    <asp:CommandField ShowSelectButton="True" meta:resourcekey="CommandFieldResource1">
                                                                        <ItemStyle HorizontalAlign="Center" ForeColor="Blue" Width="5%" />
                                                                    </asp:CommandField>
                                                                    <asp:TemplateField HeaderText="ID No" ItemStyle-Width="8%" >
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="IDnoCodeLabel" runat="server" Text='<%#Eval("Code") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                     <asp:BoundField DataField="Name" HeaderText="Name" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                    <asp:BoundField DataField="ReceiptNumber" HeaderText="Receipt Number" ItemStyle-Width="8%"
                                                                        HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                    <asp:TemplateField HeaderText="Receipt Date" ItemStyle-Width="7%" SortExpression="ReceiptDate"
                                                                        ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="ReceiptDateLabel" CssClass="boxEllips" ToolTip='<%# Bind("ReceiptDate") %>'
                                                                                runat="server" Text='<%# Bind("ReceiptDate","{0:dd/MM/yyyy}") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:BoundField DataField="ReceiptAmount" HeaderText="Receipt Amount" ItemStyle-Width="8%"
                                                                        HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                    <asp:BoundField DataField="PayType" HeaderText="Pay Type" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                    <asp:BoundField DataField="ChequeNo" HeaderText="Cheque Number" ItemStyle-Width="8%"
                                                                        HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                    <asp:BoundField DataField="BankName" HeaderText="Bank Name" ItemStyle-Width="10%"
                                                                        HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                    <asp:BoundField DataField="ReceiptBookName" HeaderText="Receipt Book" ItemStyle-Width="15%"
                                                                        HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                    <asp:BoundField DataField="Remark" HeaderText="Remark" ItemStyle-Width="16%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                </Columns>
                                                                <PagerSettings Visible="False" />
                                                            </asp:GridView>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </div>
                                </div>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
            <div class="spacer">
                <img src="../../Images/spacer.gif" />
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
  <%--  <script data-main="../../JavaScript/rjs/encrypt/assign-organization-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
      <script data-main='<%=ResolveUrl("~/JavaScript/rjs/assign-organization")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>