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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="HREmployeeMasterSearchUpdatePanel" 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="himssuHeader5WireBox card card-box">
                        <div class="himsBoxHeader card-head">
                            <asp:Panel ID="VehicleAlertPanel" runat="server" meta:resourcekey="VehicleAlertPanelResource1">
                                <div class="leftdiv">
                                </div>
                                <div class="himsBoxTitle">
                                    <div class="headerText">
                                        <header>
                                            <asp:Label ID="FeeSummaryLabel" runat="server" Text="Fee Summary"></asp:Label>
                                        </header>
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                        <asp:Panel ID="SearchDetailPanel" runat="server" meta:resourcekey="SearchDetailPanelResource1">
                            <div class="himsBoxContent card-body">
                                <div class="contentHolder">
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="ReceiptBookLabel" runat="server" Text="Receipt Book" SkinID="MandatoryLabel"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList runat="server" ID="ReceiptBookDropDownList" SkinID="CustomWidthDropDownList"
                                                class="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                AutoPostBack="true" OnSelectedIndexChanged="ReceiptBookDropDownList_SelectedIndexChanged">
                                            </asp:DropDownList>
                                            <asp:HiddenField ID="MonthHiddenField" runat="server" />
                                        </div>
                                    </div>
                                    <div class="cBoth">
                                    </div>
                                    <div class="outerBox  col-md-12 bg-lghtgrey radiobtn">
                                        <div class="fLeft pRight5">
                                            <asp:RadioButtonList runat="server" ID="ViewModeRadioButtonList" RepeatDirection="Horizontal"
                                                AutoPostBack="true" OnSelectedIndexChanged="AlertModeRadioButtonList_OnSelectedIndexChanged">
                                                <asp:ListItem Text="Date" Value="1" Selected="True"></asp:ListItem>
                                                <asp:ListItem Text="Fee Head" Value="2"></asp:ListItem>
                                            </asp:RadioButtonList>
                                        </div>
                                    </div>
                                    <div class="cBoth">
                                    </div>
                                    <div id="MonthwiseFeeDiv" runat="server" visible="false">
                                        <div class="himssuHeader1WireBox box-body box-solid gridviewfont">
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <header>
                                                        <asp:Label ID="MonthwiseLabel" runat="server" Text="Monthwise" Font-Bold="true"></asp:Label>
                                                    </header>
                                                </div>
                                            </div>
                                            <div class="cBoth">
                                            </div>
                                            <div class="himsBoxContent table-responsive">
                                                <asp:GridView runat="server" ID="MonthwiseFeeGridView" Width="100%" AutoGenerateColumns="False"
                                                    EmptyDataText="No Records Found !!" AllowPaging="false" CssClass="table table-striped table-bordered table-hover"
                                                    ShowHeader="True" ShowFooter="true" DataKeyNames="Month">
                                                    <Columns>
                                                        <asp:TemplateField ItemStyle-Width="20%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left"
                                                            HeaderText="Month">
                                                            <ItemTemplate>
                                                                <asp:LinkButton ID="MonthLinkButton" SkinID="CustomWidthLabel" runat="server" Width="75px"
                                                                    Text='<%# Bind("Month") %>' OnClick="MonthLinkButton_Click"></asp:LinkButton>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:BoundField DataField="MonthName" HeaderText="Month Name" ItemStyle-Width="20%"
                                                            HeaderStyle-HorizontalAlign="Left" />
                                                        <asp:BoundField DataField="Amount" HeaderText="Fee Amount" ItemStyle-Width="60%"
                                                            HeaderStyle-HorizontalAlign="Left" />
                                                    </Columns>
                                                    <PagerSettings Visible="False" />
                                                </asp:GridView>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="cBoth">
                                    </div>
                                    <div id="DatewiseFeeDiv" runat="server" visible="false">
                                        <div class="himssuHeader1WireBox box-body box-solid gridviewfont">
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <header>
                                                        <asp:Label ID="DatewiseLabel" runat="server" Text="Datewise" Font-Bold="true"></asp:Label>
                                                    </header>
                                                </div>
                                            </div>
                                            <div class="cBoth">
                                            </div>
                                            <div class="himsBoxContent table-responsive">
                                                <asp:GridView runat="server" ID="DatewiseFeeGridView" Width="100%" AutoGenerateColumns="False"
                                                    EmptyDataText="No Records Found !!" AllowPaging="false" CssClass="table table-striped table-bordered table-hover"
                                                    ShowHeader="True" DataKeyNames="Day">
                                                    <Columns>
                                                        <asp:TemplateField ItemStyle-Width="20%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left"
                                                            HeaderText="Day">
                                                            <ItemTemplate>
                                                                <asp:LinkButton ID="DayLinkButton" SkinID="CustomWidthLabel" runat="server" Width="100%"
                                                                    Text='<%# Bind("Day") %>' OnClick="DayLinkButton_Click"></asp:LinkButton>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:BoundField DataField="Amount" HeaderText="Fee Amount" ItemStyle-Width="80%"
                                                            HeaderStyle-HorizontalAlign="Left" />
                                                    </Columns>
                                                    <PagerSettings Visible="False" />
                                                </asp:GridView>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="cBoth">
                                    </div>
                                    <div id="FeeHeadDiv" runat="server" visible="false">
                                        <div class="himssuHeader1WireBox box-body box-solid gridviewfont">
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <header>
                                                        <asp:Label ID="FeeHeadLabel" runat="server" Text="Fee Head" Font-Bold="true"></asp:Label>
                                                    </header>
                                                </div>
                                            </div>
                                            <div class="cBoth">
                                            </div>
                                            <div class="himsBoxContent table-responsive">
                                                <asp:GridView runat="server" ID="FeeHeadGridView" Width="100%" AutoGenerateColumns="False"
                                                    EmptyDataText="No Records Found !!" AllowPaging="false" CssClass="table table-striped table-bordered table-hover"
                                                    ShowHeader="True" ShowFooter="true" DataKeyNames="FeeHeadId">
                                                    <Columns>
                                                        <asp:TemplateField ItemStyle-Width="60%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left"
                                                            HeaderText="Fee Head">
                                                            <ItemTemplate>
                                                                <asp:LinkButton ID="FeeHeadLinkButton" SkinID="CustomWidthLabel" runat="server" Width="100%"
                                                                    Text='<%# Bind("FeeHead") %>' OnClick="FeeHeadLinkButton_Click"></asp:LinkButton>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:BoundField DataField="Amount" HeaderText="Fee Amount" ItemStyle-Width="20%"
                                                            HeaderStyle-HorizontalAlign="Left" />
                                                        <asp:BoundField DataField="StudentCount" HeaderText="Student Allocated Count" ItemStyle-Width="20%"
                                                            HeaderStyle-HorizontalAlign="Left" />
                                                    </Columns>
                                                    <PagerSettings Visible="False" />
                                                </asp:GridView>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="cBoth">
                                    </div>
                                    <div id="FeeDiv" runat="server" visible="false">
                                        <div class="himssuHeader1WireBox box-body box-solid gridviewfont">
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <header>
                                                        <asp:Label ID="FeeLabel" runat="server" Text="Fee" Font-Bold="true"></asp:Label>
                                                    </header>
                                                </div>
                                            </div>
                                            <div class="cBoth">
                                            </div>
                                            <div class="himsBoxContent table-responsive">
                                                <asp:GridView runat="server" ID="FeeGridView" Width="100%" AutoGenerateColumns="False"
                                                    EmptyDataText="No Records Found !!" AllowPaging="false" CssClass="table table-striped table-bordered table-hover"
                                                    ShowHeader="True" DataKeyNames="FeeId">
                                                    <Columns>
                                                        <asp:TemplateField ItemStyle-Width="60%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left"
                                                            HeaderText="Fee">
                                                            <ItemTemplate>
                                                                <asp:LinkButton ID="FeeLinkButton" SkinID="CustomWidthLabel" runat="server" Width="100%"
                                                                    Text='<%# Bind("Fee") %>' OnClick="FeeLinkButton_Click"></asp:LinkButton>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:BoundField DataField="Amount" HeaderText="Fee Amount" ItemStyle-Width="40%"
                                                            HeaderStyle-HorizontalAlign="Left" />
                                                    </Columns>
                                                    <PagerSettings Visible="False" />
                                                </asp:GridView>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="cBoth">
                                    </div>
                                    <div id="StudentFeeDiv" runat="server" visible="false">
                                        <div class="himssuHeader1WireBox box-body box-solid gridviewfont">
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <header>
                                                        <asp:Label ID="StudentLabel" runat="server" Text="Student" Font-Bold="true"></asp:Label>
                                                    </header>
                                                </div>
                                            </div>
                                            <div class="cBoth">
                                            </div>
                                            <div class="himsBoxContent table-responsive">
                                                <asp:GridView runat="server" ID="StudentFeeGridView" Width="100%" AutoGenerateColumns="False"
                                                    EmptyDataText="No Records Found !!" AllowPaging="false" CssClass="table table-striped table-bordered table-hover"
                                                    ShowHeader="True">
                                                    <Columns>
                                                        <asp:BoundField DataField="Class" HeaderText="Class" ItemStyle-Width="20%" HeaderStyle-HorizontalAlign="Left" />
                                                        <asp:BoundField DataField="RollNo" HeaderText="Roll No" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left" />
                                                        <asp:BoundField DataField="Code" ItemStyle-Width="20%" HeaderStyle-HorizontalAlign="Left" />
                                                        <asp:BoundField DataField="Student" HeaderText="Student" ItemStyle-Width="40%" HeaderStyle-HorizontalAlign="Left" />
                                                        <asp:BoundField DataField="Amount" HeaderText="Amount" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left" />
                                                    </Columns>
                                                    <PagerSettings Visible="False" />
                                                </asp:GridView>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </asp:Panel>
                    </div>
                </div>
            </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>
