<%@ page title="" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Canteen_ReportCriteria_CanteenReportCriteria, App_Web_4qqs1z4q" uiculture="auto" meta:resourcekey="PageResource1" 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/Canteen/CanteenDetailBoxControl.ascx" TagName="CanteenControl" TagPrefix="Canteen" %>
<%@ Register Src="~/UserControls/Common/CommonSearch/AlphabetSearchCommonControl.ascx" TagName="AlphabetSearchCommonControl" TagPrefix="ACS" %>
<%@ Register Src="~/UserControls/AutoComplete/AutoCompleteControl.ascx" TagName="AutoCompleteControl" TagPrefix="acc" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="StudentReportUpdatePanel"
        runat="server">
        <ContentTemplate>
            <Common:CommonSearchUserControl ID="CommonSearchControl" runat="server" Visible="false" />
            <ACS:AlphabetSearchCommonControl ID="AlphabetCommonSearch" runat="server" Visible="false" />
           <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="226"
                                                            Visible="true" runat="server" />
                                                    </div>
                                                </div>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </div>
                            <div class="whiteboxpaddingleft row">
                                <Canteen:CanteenControl ID="CanteenUserControl" runat="server" Visible="true" />
                                <div class="himssuHeader2WireBox col-md-12 pb5 mt2 ">
                                    <div class="contentHolder" >
                                        <div class="himssuHeader1WireBox card card-box">
                                            <div class="himsBoxHeader card-head">
                                                <div class="leftdiv">
                                                </div>
                                                <div class="himsBoxTitle">
                                                    <div class="headerText">
                                                        <header>
                                                            <i class="fas fa-asterisk"></i>  Criteria
                                                        </header>
                                                      
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="himsBoxContent card-body">
                                                <div class="contentHolder">
                                                    <asp:Panel ID="StudentReportListDiv" runat="server" meta:resourcekey="SkillDivResource1">
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="">
                                                                <asp:Label ID="ReportLabel" runat="server" Text="Report" SkinID="MandatoryLabel" Font-Bold="true"></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"
                                                                    class="form-control"  SkinID="CustomWidthDropDownList" AutoPostBack="true" onmouseleave="showHideTooltip()"
                                                                    onmouseenter="showHideTooltip()" 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" class="form-control" SkinID="CustomWidthDropDownList"
                                                                    onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" meta:resourcekey="ViewModeDropDownListResource" />
                                                            </div>
                                                        </div>

                                                        <div id="FoodItemListDiv" runat="server" >
                                                            <div class="outerBox pTop5 col-md-3  ">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="ItemCodeLabel" runat="server" Text="Item Code"
                                                                        meta:resourcekey="ItemCodeLabelResource1"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5 display-flex">
                                                                    <acc:AutoCompleteControl ID="ItemCodeTextBox" runat="server" OnTextChanged="ItemCodeTextBox_TextChanged"
                                                                        IsCacheEnabled="false" AutoPostBack="true" MinimumPrefixLength="2" ContextKey="Canteen.FoodItemMasterCode"
                                                                        DisplayLoadingStatus="true" ValidateOnTextChanged="false" MaxLength="20" />
                                                                    <asp:ImageButton ID="ItemCodeSearchButton" runat="server" SkinID="FindImage" ToolTip="Item Code Search"
                                                                        OnClick="ItemCodeSearchButton_OnClick"
                                                                        meta:resourcekey="ItemCodeSearchButtonResource1" />
                                                                </div>
                                                            </div>
                                                           

                                                            <div class="outerBox pTop5 col-md-3" id="FromdateDiv" runat="server" visible="false">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="FromDateLabel" runat="server" Text="From Date" Visible="true"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <Date:DatePickerControl DisplayDatePicker="true" ID="FromDatePickerControl" Visible="true"
                                                                        runat="server" />
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3" id="TodateDiv" runat="server" visible="false">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="ToDateLabel" runat="server" Text="To Date" Visible="true"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <Date:DatePickerControl DisplayDatePicker="true" ID="ToDatePickerControl" Visible="true"
                                                                        runat="server" />
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3 ">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="ItemNameLabel" runat="server" Text="Item Name"
                                                                        meta:resourcekey="ItemNameLabelResource1"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:TextBox ID="ItemNameTextBox" runat="server" SkinID="CustomWidthTextbox"
                                                                        AutoPostBack="True" MaxLength="12" AutoCompleteType="Disabled" Style="text-align: right;"
                                                                        onmouseleave="showHideTooltip()"
                                                                        onmouseenter="showHideTooltip()"
                                                                        meta:resourcekey="ItemNameTextBoxResource1" Enabled="false"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>

                                                         <div id="AttendanceForDiv" runat="server" visible="false">

                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="Label1" runat="server" Text="Break Type"></asp:Label>
                                                                    
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList runat="server" ID="SearchBreakTypeDropDownList" SkinID="CustomWidthDropDownList"
                                                                        Width="154px" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" class="form-control"
                                                                        AutoPostBack="false">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                         </div>
                                                        <%--start : mantis : 0046342--%>
                                                        <div runat="server" id="ClassDivisionDiv" visible="false"> 
                                                            <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 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>
                                                        <%--end : mantis : 0046342--%>
                                                    </asp:Panel>
                                                </div>

                                                <div class="alignCenter col-md-12 pTop5">
                                                    <asp:Button ID="PrintButton" Text="&#xf15b; View Report" runat="server"
                                                        OnClick="PrintButton_Click" meta:resourcekey="PrintButtonResource1" SkinID="0" class="btn btn-report fas" />
                                                    <asp:Button ID="ClearButton"  Text="&#xf0e2; Clear" runat="server"
                                                        OnClick="ClearButton_Click" meta:resourcekey="ClearButtonResource1" SkinID="0" class="btn-clear btn fas"/>
                                                </div>
                                                
                                            </div>
                                        </div>
                                    </div>
                                </div>
                </div>
                
                              
            </div>
          
         
        </ContentTemplate>
    </asp:UpdatePanel>
 <%--   <script data-main="../../../JavaScript/rjs/encrypt/canteen-reportcriteria-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
      <script data-main='<%=ResolveUrl("~/JavaScript/rjs/canteen-reportcriteria")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
