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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager"
    TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="HostelFeeUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">

                <div class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox">
                        <table>
                            <tr>
                                <td>
                                    <div class="himsBoxContent">
                                        <div class="leftUlMenu">
                                            <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="107"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="whiteboxpaddingleft row">
                    <div class="himssuHeader2WireBox ">
                        <div class="contentHolder" style="padding-top: 0px; padding-left: 0px; padding-right: 0px">
                            <div class="himssuHeader1WireBox card card-box">
                                <div class="himsBoxHeader card-head">
                                    <div class="leftdiv">
                                    </div>
                                    <div class="himsBoxTitle">
                                        <div class="headerText">
                                            <header>
                                                <i class="far fa-edit"></i>
                                                <asp:Label ID="Label1" runat="server" Text="Update Hostel Fee"></asp:Label>
                                            </header>
                                        </div>
                                    </div>
                                    <div class="fRight mt-27 pagination display-flex">
                                        <asp:Button ID="BackButton" runat="Server" SkinID="0" CssClass="btn btn-back fas" Text="&#xf30a;  back" OnClick="BackButton_Click" Visible="false" />
                                    </div>
                                </div>
                                <div class="himsBoxContent card-body">
                                    <asp:Panel ID="DetailPanel" runat="Server">
                                        <div class="contentHolder">
                                            <asp:Panel ID="SearchCriteriaPanel" runat="Server">
                                                <div id="ExtraDiv" runat="server" visible="false">
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="ClassLabel" Visible="false" runat="server" Text="Class" SkinID="MandatoryLabel"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList runat="server" Visible="false" ID="ClassDropDownList" SkinID="CustomWidthDropDownList"
                                                                CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                            </asp:DropDownList>
                                                            <asp:HiddenField runat="server" ID="ButtonIdHiddenField" />
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="FeeHeadLabel" Visible="false" runat="server" Text="Fee Head" SkinID="MandatoryLabel"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList runat="server" Visible="false" ID="FeeHeadDropDownList" SkinID="CustomWidthDropDownList"
                                                                CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>

                                                </div>
                                                <div id="RoomwiseDiv" runat="server" visible="false">
                                                    <div class="alignCenter pTop5 col-md-12">
                                                        <asp:CheckBox ID="IsUpdateCheckBox" runat="Server" Text="Is Update" />
                                                        &nbsp;
                                                                    <asp:Button ID="UpdateButton" Text="&#xf044; Update" Visible="false" runat="Server" OnClick="UpdateButton_Click"
                                                                        SkinID="0" CssClass="btn btn-edit fas" />
                                                        <asp:Button ID="UpdateAllButton" Text="&#xf044; Roomwise Update" runat="Server" OnClick="UpdateAllButton_Click"
                                                            SkinID="0" CssClass="btn btn-edit fas" />
                                                    </div>

                                                    <div class="alert alert-info col-md-12">
                                                        <asp:Label ID="RoomwiseUpdateLabel" runat="server" Text="For Roomwise Update : <br/> Hostel fee head must have number as 1002 <br/>Hostel fee must be marked as variable and optional in fee setup <br/>Applicable to Students to whom assigned room"></asp:Label>
                                                    </div>
                                                </div>
                                                <div id="ClasswiseDiv" runat="server" visible="false">
                                                    <div class="alignCenter pTop5">
                                                        <asp:Button ID="ClasswiseUpdateButton" Text="Classwise Update" runat="Server" OnClick="ClasswiseUpdateButton_Click"
                                                            SkinID="0" CssClass="btn-primary" />
                                                    </div>
                                                    <div class="cBoth pTop5">
                                                    </div>
                                                    <div class="help help-info">
                                                        <asp:Label ID="ClasswiseUpdateLabel" runat="server" Text="For Classwise Update : <br/> Hostel fee head must have number as 1002 <br/>Hostel fee must be marked as optional in fee setup <br/>Applicable to Students to whom assigned room"></asp:Label>
                                                    </div>
                                                </div>
                                            </asp:Panel>
                                        </div>
                                    </asp:Panel>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="spacer">
                        <asp:Image ID="Image4" runat="server" ImageUrl="~/Images/spacer.gif" />
                    </div>
                </div>
                </tr>
                    </table>
            </div>
            </div>
            <div class="spacer">
                <img src="../../Images/spacer.gif" />
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../JavaScript/rjs/encrypt/update-hostelfee-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/update-hostelfee")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
