<%@ page language="C#" autoeventwireup="true" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" inherits="Pages_FeeManagement_DepositTransaction, App_Web_5bdgwwvd" 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" %>
<%@ Register Src="~/UserControls/Common/StudentSearch/StudentSearch.ascx" TagName="StudentSearch" TagPrefix="Std" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="OTQueueListingUpdatePanel" runat="server">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">
                  <Std:StudentSearch ID="StudentSearch" Visible="false" runat="server" />
                <div class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox">
                        <table>
                            <tr>
                                <td>
                                    <div class="himsBoxContent">
                                        <div class="leftUlMenu">
                                            <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="210"
                                                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="Deposit Transaction"></asp:Label>
                                    </header>
                                </div>
                            </div>
                        </div>
                        <div class="himsBoxContent card-body">
                            <div class="contentHolder">
                                <div class="cBoth">
                                </div>
                                        <div class="outerBox pTop5 col-md-3" runat="server" id="DepositHeadDiv">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="SearchDepositHeadLabel" Text="Deposit Head" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList ID="SearchDepositHeadIdDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                            onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" class="form-control"  OnSelectedIndexChanged="SearchDepositHeadIdDropDownList_SelectedIndexChanged">
                                                        </asp:DropDownList>
                                                        <asp:HiddenField ID="DetailHiddenField" runat="server" />
                                                    </div>
                                                </div>
                                         <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="OrganizationLabel2" runat="server" Text="Organization"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList runat="server" ID="OrganizationDropDownList" SkinID="CustomWidthDropDownList"
                                                                    onmouseleave="showHideTooltip()" class="form-control" onmouseenter="showHideTooltip()" AutoPostBack="true"
                                                                   OnSelectedIndexChanged="OrganizationDropDownList_SelectedIndexChanged">
                                                                </asp:DropDownList>
                                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                                <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"
                                                        class="form-control" onmouseleave="showHideTooltip()" AutoPostBack="true" onmouseenter="showHideTooltip()"
                                                        OnSelectedIndexChanged="DepartmentDropDownList_SelectedIndexChanged">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="ClassLable" runat="server" Text="Class"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList runat="server" ID="ClassDropDownList" SkinID="CustomWidthDropDownList"
                                                        onmouseleave="showHideTooltip()" class="form-control" onmouseenter="showHideTooltip()"
                                                        OnSelectedIndexChanged="ClassDropDownList_SelectedIndexChange" AutoPostBack="true">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="DivisionLabel" runat="server" Text="Division"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList runat="server" ID="DivisionStatusDropDownList1" SkinID="CustomWidthDropDownList"
                                                        onmouseleave="showHideTooltip()" class="form-control" onmouseenter="showHideTooltip()"
                                                        AutoPostBack="false">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="StudentSearchIdNoLabel" runat="server"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5 display-flex">
                                                    <asp:TextBox ID="StudentSearchIdNoTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        SkinID="CustomWidthTextBox" class="form-control" runat="server" MaxLength="150" AutoPostBack="true" OnTextChanged="StudentSearchIdNoTextBox_TextChanged">
                                                    </asp:TextBox>
                                                    <asp:ImageButton SkinID="FindImage" ToolTip="Student Search" ID="StudentSearchIdNoImageButton"
                                                        ImageUrl="~/Images/icons/icon_find.gif" runat="server" OnClick="StudentIdNoImageButton_Click" />
                                                    <asp:HiddenField ID="StudentSearchIdHiddenField" runat="server" />
                                                </div>
                                            </div>
                                          <%--  <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="Label1" runat="server" Text="SR No"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="SrNoTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        SkinID="CustomWidthTextBox"  runat="server" MaxLength="150"> </asp:TextBox>
                                                </div>
                                            </div>--%>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="StudentSearchNameLable" runat="server" Text="Name"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="StudentSearchNameTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        SkinID="CustomWidthTextBox"  runat="server" MaxLength="150"> </asp:TextBox>
                                                </div>
                                            </div>
                                          
                                            <div class="outerBox pTop5 col-md-3" runat="server" id="FromDiv">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="SearchFromDepositDateLabel" runat="server" Text="From  Date"
                                                        Visible="True"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <Date:DatePickerControl DisplayDatePicker="true" ID="SearchFromDepositDatePickerControl"
                                                        Visible="True" runat="server" />
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3" runat="server" id="ToDiv">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="SearchToDepositDateLabel" runat="server" Text="To Date" Visible="True"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <Date:DatePickerControl DisplayDatePicker="true" ID="SearchToDepositDatePickerControl"
                                                        Visible="True" runat="server" />
                                                </div>
                                            </div>
                                           

                                <div class="alignCenter col-md-12 pTop15 pb5">
                                    <asp:Button ID="SearchButton" runat="Server" OnClick="SearchButton_Click" Text="&#xf002; Search" SkinID="0" CssClass="btn-search btn fas" />
                                     <asp:Button ID="ExportButton" runat="server" Text="&#xf093; Export" SkinID="0" CssClass="btn-examcommon btn fas" OnClick="ExportButton_Click" />
                                     <asp:Button ID="ClearButton" Text="&#xf0e2; Clear" runat="server" OnClick="ClearButton_Click"
                                            SkinID="0" CssClass="btn btn-clear fas" />
                                    <%--<asp:Button ID="ResetButton" runat="server" OnClick="ResetButton_Click" Text="&#xf0e2; Reset" SkinID="0" CssClass="btn-reset btn fas" />--%>
                                </div>
                    
                                <div id="ChargePostingDetailDiv" runat="server" visible="false" class="pTop5">
                                    <div class="himssuHeader6WireBox">
                                        <div class="himsBoxContent box-body box-solid gridviewfont">
                                            <div id="Div2" runat="server" visible="true">
                                                <asp:GridView ID="DepositTransactionDetailGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                    EmptyDataText="No Records Found !!" AllowPaging="False" ShowHeader="True" ShowFooter="false"
                                                    CssClass="table table-striped table-bordered" OnRowDataBound="StudentLedgerGridView_RowDataBound">
                                                  <%--  <Columns>--%>
                                                        <%--<asp:BoundField DataField="DepositHeadName" HeaderText="Deposit Name" ItemStyle-Width="8%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                        <asp:BoundField DataField="OrganizationName" HeaderText="Organization" ItemStyle-Width="8%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                        <asp:BoundField DataField="DepartmentName" HeaderText="Department" ItemStyle-Width="8%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                        <asp:BoundField DataField="ClassDivision" HeaderText="Class Division" ItemStyle-Width="8%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                        <asp:BoundField DataField="Code" ItemStyle-Width="8%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                        <asp:BoundField DataField="StudentName" HeaderText="Student Name" ItemStyle-Width="8%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                        <asp:BoundField DataField="TransactionType" HeaderText="Transaction Type" ItemStyle-Width="8%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                        <asp:BoundField DataField="TransactionDate" HeaderText="Transaction Date" ItemStyle-Width="8%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                        <asp:BoundField DataField="TransactionAmount" HeaderText="TransactionAmount" ItemStyle-Width="8%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                        <asp:BoundField DataField="Adjustment" HeaderText="Adjustment" ItemStyle-Width="8%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                        <asp:BoundField DataField="RefundDate" HeaderText="Refund Date" DataFormatString = "{0:dd/MM/yyyy}" ItemStyle-Width="8%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                        <asp:BoundField DataField="Refund" HeaderText="Refund" ItemStyle-Width="8%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                        <asp:BoundField DataField="Pending" HeaderText="Pending" ItemStyle-Width="8%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                    <Columns>
                                                        <asp:BoundField DataField="DepositHeadName" HeaderText="Deposit Name" ItemStyle-Width="8%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                        <asp:BoundField DataField="OrganizationName" HeaderText="Organization" ItemStyle-Width="8%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                        <asp:BoundField DataField="DepartmentName" HeaderText="Department" ItemStyle-Width="8%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                        <asp:BoundField DataField="ClassDivision" HeaderText="Class Division" ItemStyle-Width="8%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                        <asp:BoundField DataField="Code" ItemStyle-Width="8%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                        <asp:BoundField DataField="StudentName" HeaderText="Student Name" ItemStyle-Width="8%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                        <asp:BoundField DataField="TransactionType" HeaderText="Transaction Type" ItemStyle-Width="8%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                        <asp:BoundField DataField="TransactionDate" HeaderText="Transaction Date" DataFormatString = "{0:dd/MM/yyyy}" ItemStyle-Width="8%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                        <asp:BoundField DataField="TransactionAmount" HeaderText="Transaction Amount" ItemStyle-Width="8%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                        <%--<asp:BoundField DataField="Pending" HeaderText="Balance" ItemStyle-Width="8%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                           <asp:TemplateField HeaderText="Credit" ItemStyle-Width="20%" SortExpression="Credit" HeaderStyle-HorizontalAlign="Left"
                                                                        ItemStyle-Wrap="true" Visible="false">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="DepositCreditLable" runat="server" Text='<%# Bind("Credit") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Debit" ItemStyle-Width="14%" SortExpression="Debit" HeaderStyle-HorizontalAlign="Left"
                                                                        ItemStyle-Wrap="true" Visible="false">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="DepositDebitLable" runat="server" Text='<%# Bind("Debit") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Balance" ItemStyle-Width="14%" SortExpression="Balance" HeaderStyle-HorizontalAlign="Left"
                                                                        ItemStyle-Wrap="true" Visible="false">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="DepositBalanceLable" runat="server" Text=""></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                    </Columns>
                                                 <%--   </Columns>--%>
                                                    <PagerSettings Visible="False" />
                                                </asp:GridView>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
   <%-- <script data-main="../../JavaScript/rjs/encrypt/fee-posting-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
      <script data-main='<%=ResolveUrl("~/JavaScript/rjs/fee-posting")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
