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

<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl"
    TagPrefix="Date" %>
<%@ Register Src="~/UserControls/Common/CommonSearch/CommonSearch.ascx" TagName="CommonSearchUserControl"
    TagPrefix="Common" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/Common/StudentSearch/StudentSearch.ascx" TagName="StudentSearch"
    TagPrefix="Std" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="AttendanceReportUpdatePanel"
        runat="server">
        <ContentTemplate>
            <Common:CommonSearchUserControl ID="CommonSearchControl" runat="server" Visible="false" />
            <Std:StudentSearch ID="StudentSearch" Visible="false" runat="server" />
            <div id="divContentPage" class="divcontentpagemargin">
                <!-- ContentPlaceHolder Box Starts -->

                <div class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox">
                        <table>
                            <tr>
                                <td>
                                    <div class="himsBoxContent">
                                        <div class="leftUlMenu">
                                            <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="110"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="row whiteboxpaddingleft">
                    <div class="himssuHeader5WireBox card card-box">
                        <div class="himsBoxHeader card-head">
                            <div class="leftdiv">
                            </div>
                            <div class="himsBoxTitle">
                                <div class="headerText">
                                    <header>
                                        <i class="fas fa-search"></i>
                                        Criteria
                                    </header>
                                </div>
                            </div>
                        </div>
                        <div class="himsBoxContent card-body">
                            <div class="contentHolder">
                                <asp:Panel ID="AttendanceReportListDiv" runat="server" meta:resourcekey="SkillDivResource1">
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="">
                                            <asp:Label ID="ReportLabel" runat="server" Text="Report" Font-Bold="true" SkinID="MandatoryLabel"></asp:Label>
                                            &nbsp;<asp:Label ID="ClientSpecificReportLabel" runat="server" ForeColor="BlueViolet" Text=" (CS)" Visible="false"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList ID="ReportDropDownList" runat="server" DataTextField="Name" DataValueField="Id"
                                                CssClass="form-control" SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()"
                                                onmouseenter="showHideTooltip()" AutoPostBack="true" OnSelectedIndexChanged="ReportDropDownList_OnSelectedIndexChanged">
                                            </asp:DropDownList>
                                        </div>
                                    </div>

                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="ViewModeLabel" runat="server" Text="View Mode"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList ID="ViewModeDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" meta:resourcekey="ViewModeDropDownListResource" />
                                        </div>
                                    </div>
                                    <div runat="server" id="AttendanceTypeDiv" visible="false">
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="AttendanceTypeLabel" runat="server" Text="AttendanceType" SkinID="MandatoryLabel"></asp:Label>
                                                <asp:Label ID="AttendanceTypeLabel2" runat="server" Text="AttendanceType" Visible="false"></asp:Label>
                                            </div>
                                            <asp:DropDownList ID="AttendanceTypeDropDownList" runat="server"
                                                CssClass="form-control" SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()"
                                                onmouseenter="showHideTooltip()" AutoPostBack="true"
                                                OnSelectedIndexChanged="AttendanceTypeDropDownList_OnSelectedIndexChanged" />
                                        </div>
                                    </div>

                                    <div runat="server" id="FeesCategaryDiv">
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="FeesCategaryLabel" runat="server" Text="Fee Categary"></asp:Label>
                                            </div>
                                            <asp:DropDownList ID="FeesCategaryDropDownList" runat="server"
                                                CssClass="form-control" SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()"
                                                onmouseenter="showHideTooltip()" AutoPostBack="true" />
                                        </div>
                                    </div>

                                    <div runat="server" id="ClassDivisionDiv" visible="true">
                                        <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 ID="DepartmentDropDownList" runat="server" DataTextField="Name" DataValueField="Id"
                                                    CssClass="form-control" SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()"
                                                    onmouseenter="showHideTooltip()" AutoPostBack="True" OnSelectedIndexChanged="DepartmentDropDownList_OnSelectedIndexChanged">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ClassLabelM" runat="server" Text="Class" Visible="false" SkinID="MandatoryLabel"></asp:Label>
                                                <asp:Label ID="ClassLabel" runat="server" Text="Class" Visible="true"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="ClassDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()"
                                                    onmouseenter="showHideTooltip()" meta:resourcekey="ClassDropDownListResource" AutoPostBack="true"
                                                    OnSelectedIndexChanged="ClassDropDownList_OnSelectedIndexChanged" Visible="true" />
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="DivisionLabelM" runat="server" Text="Division" Visible="false" SkinID="MandatoryLabel"></asp:Label>
                                                <asp:Label ID="DivisionLabel" runat="server" Text="Division"></asp:Label>
                                            </div>
                                            <asp:DropDownList ID="DivisionDropDownList" runat="server"
                                                CssClass="form-control" SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()"
                                                onmouseenter="showHideTooltip()" />
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3" id="datadiv" runat="server">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="DateLabel" runat="server" Text="Date" SkinID="MandatoryLabel"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <Date:DatePickerControl DisplayDatePicker="true" ID="AttendanceDatePickerControl" runat="server" />
                                        </div>
                                    </div>


                                    <div class="outerBox pTop5 col-md-3" id="uptodatediv" runat="server" visible="false">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="UptoDateLabel" runat="server" Text="Upto Date"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <Date:DatePickerControl DisplayDatePicker="true" ID="AttendanceUptoDatePickerControl" runat="server" />
                                        </div>
                                    </div>



                                    <div runat="server" id="SubjectDiv" visible="false">
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SubjectLabel" runat="server" Text="Subject" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="SubjectDropDownList" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" onmouseleave="showHideTooltip()" AutoPostBack="false" onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                    </div>
                                    <div id="DateDiv" runat="server" visible="false">
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="FromDateLabel" runat="server" Text="From Date" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <Date:DatePickerControl DisplayDatePicker="true" ID="FromDatePickerControl" runat="server" />
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ToDateLabel" runat="server" Text="To Date" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <Date:DatePickerControl DisplayDatePicker="true" ID="ToDatePickerControl" runat="server" />
                                            </div>
                                        </div>
                                    </div>
                                    <div id="MonthYearDiv" runat="server" visible="false">
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ForYearLabel" runat="server" Text="For Year" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="ForYearDropDownList" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" AutoPostBack="true"
                                                    OnSelectedIndexChanged="ForYearDropDownList_OnSelectedIndexChanged">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ForMonthLabel" runat="server" Text="For Month" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">

                                                <asp:DropDownList runat="server" ID="ForMonthDropDownList" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3" runat="server" visible="false" id="statusiddiv">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="Status_Label" runat="server" Text="Status"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList ID="Status_DropDownList" runat="server" CssClass="form-control"></asp:DropDownList>
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-6" runat="server" id="FromAveragediv">
                                        <div class="outerBox pTop5 col-md-6">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="FromAverageLabel" runat="server" Text="From Average"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="FromAverageTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    SkinID="CustomWidthTextBox" runat="server" MaxLength="100"> </asp:TextBox>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-6">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ToAverageLabel" runat="server" Text="To Average"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="ToAverageTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    SkinID="CustomWidthTextBox" runat="server" MaxLength="100"> </asp:TextBox>
                                            </div>
                                        </div>
                                    </div>
                                    <asp:Panel ID="StudentSearchPanel" runat="server">
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="StudentIdNoLabel" runat="server" Text="Id No"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5 display-flex">
                                                <asp:TextBox ID="StudentIdNoTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    SkinID="CustomWidthTextBox" runat="server" MaxLength="200" AutoPostBack="true">
                                                </asp:TextBox>
                                                <asp:ImageButton SkinID="FindImage" ToolTip="Student Search" ID="StudentIdNoImageButton"
                                                    runat="server" ImageUrl="../../../../Images/icons/icon_find.gif" />
                                                <asp:HiddenField ID="SourceIdHiddenField" runat="server" />
                                            </div>
                                        </div>
                                    </asp:Panel>
                                    <div id="WithAbsentRemarkDiv" runat="server" visible="false">
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:CheckBox ID="WithAbsentRemarkCheckbox" runat="server" Text="With Absent Remark" />
                                                <%--                                                  <asp:Label ID="IsAbsentRemark" runat="server" Text="With Absent Remark"></asp:Label>--%>
                                            </div>
                                        </div>
                                    </div>



                                    <div class="outerBox pTop5 col-md-3" runat="server" visible="false" id="OrderDiv">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="OrderLabel" runat="server" Text="Order By"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList ID="OrderDropDownList" runat="server" CssClass="form-control"></asp:DropDownList>
                                        </div>
                                    </div>

                                    <div id="ChkBox" runat="server" visible="false">
                                        <div class="outerBox pTop5 col-md-3">
                                            <asp:CheckBox ID="ClassCheckBox" runat="server" AutoPostBack="false" class="pLeft5" Text="Show With Details" />
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <asp:CheckBox ID="DetailCheckBox" runat="server" AutoPostBack="false" class="pLeft5" Text="Show With Sub Details" />
                                        </div>
                                    </div>
                                    <div id="GroupDiv" visible="false" runat="server" style="padding-left: 10px; font-weight: bold;">
                                        <div class="outerBox pTop5 col-md-3">
                                            <asp:Label ID="Label1" runat="server" Text="Group By"></asp:Label>
                                            <br />
                                            <asp:CheckBox ID="DivisionCheckBox" runat="server" Text="Division" />
                                        </div>
                                    </div>
                                    <div id="DetailDiv" runat="server" visible="false">
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:CheckBox ID="IsDetailCheckBox" runat="server" Text="With Detail" />
                                                <%--   <asp:Label ID="IsDetailLabel" runat="server" Text="With Detail"></asp:Label>--%>
                                            </div>
                                        </div>
                                    </div>
                                    <div runat="server" id="AttendanceTagDiv" visible="false">
                                        <div class="outerBox pTop5 col-md-3">
                                            <asp:Label ID="Attendance" runat="server" Text="Attendance"></asp:Label>
                                            <asp:DropDownList runat="server" ID="AttendanceTagDropDownList" SkinID="CustomWidthDropDownList"
                                                CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                    <div id="IsHolidayAndWeekoffDiv" runat="server" visible="false">
                                        <div class="outerBox pTop5 col-md-3 ">
                                            <div class="controlLabelWidth">
                                                <asp:CheckBox ID="IsHolidayAndWeekoffCheckBox" runat="server" Text="Is Holiday And Weekoff" />
                                            </div>
                                        </div>
                                    </div>
                                    <div runat="server" id="AbsentDaysDiv" visible="false">
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="AbsentDaysLabel" runat="server" Text="Days" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="AbsentDaysTextBox" runat="server" onkeypress="javascript:return isNumberKey(this)"></asp:TextBox>
                                            </div>
                                        </div>
                                    </div>
                                    <%--add for mantis : 0043320--%>
                                    <div class="outerBox pTop5 col-md-3" id="StudentGroupDiv" visible="false" runat="server">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="Label5" runat="server" Text="Student Group">
                                            </asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList runat="server" ID="StudentGroupDropDownList" SkinID="CustomWidthDropDownList"
                                                onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()"
                                                AutoPostBack="false">
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                    <%--add for mantis : 0043320--%>
                                </asp:Panel>
                            </div>
                            <div class="alignCenter col-md-12 pTop5 pb5">
                                <asp:Button ID="PrintButton" Text="&#xf15b; View Report" runat="server"
                                    OnClick="PrintButton_Click" meta:resourcekey="PrintButtonResource1" SkinID="0" CssClass="btn btn-print fas btnfill" />
                                <asp:Button ID="ClearButton" Text="&#xf12d; Clear" runat="server" CssClass="btn btn-clear fas" SkinID="0"
                                    OnClick="ClearButton_Click" meta:resourcekey="ClearButtonResource1" />
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <%--HEDP History Ends Here--%>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--  <script data-main="../../../JavaScript/rjs/encrypt/attendance-reportcriteria-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/attendance-reportcriteria")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>

