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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl" TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/Common/Canteen/CanteenDetailBoxControl.ascx" TagName="CanteenControl" TagPrefix="Canteen" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="OTQueueListingUpdatePanel" runat="server">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">

                <div class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox">

                        <div class="himsBoxContent">
                            <div class="leftUlMenu">
                                <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="226"
                                    Visible="true" runat="server" />
                            </div>
                        </div>

                    </div>
                </div>
                <div class="whiteboxpaddingleft">
                    <Canteen:CanteenControl ID="CanteenUserControl" runat="server" Visible="true" />
                    <div class="himssuHeader5WireBox  card card-box" id="SearchDiv" runat="server">
                        <%-- <div class="himsBoxHeader note note1 box box-danger">
                                        <asp:Panel ID="Panel1" runat="server">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <asp:Label ID="Label3" runat="server" Text="Search"></asp:Label>
                                                </div>
                                                <div class="fRight" style="margin-top: -20px">

                                                    <asp:Button ID="AddNewButtonID" runat="server" OnClick="AddNewButton_Click" SkinID="0" CssClass="AddButton" Text="Add" />
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </div>--%>
                        <div class="himsBoxContent card-body">
                            <asp:Panel ID="SearchPanel" runat="Server">
                                <div class="contentHolder">

                                    <div class="outerBox pTop5 col-md-3" id="OrgnaizationDiv" runat="server">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="OrganizationLabel" runat="server" Text="BreakType" CssClass="mandatory"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList runat="server" ID="BreakTypeDropDownList" SkinID="CustomWidthDropDownList"
                                                class="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                            </asp:DropDownList>
                                        </div>
                                    </div>


                                    <div class="outerBox pTop5 col-md-12 bg-lghtgrey radiobtn ">
                                        <div class="fLeft pRight5">
                                            <asp:RadioButtonList ID="ReaderSourceTypeRadioButtonList" runat="server" RepeatDirection="Horizontal"
                                                OnSelectedIndexChanged="ReaderSourceTypeRadioButtonList_OnSelectedIndexChanged"
                                                AutoPostBack="true">
                                                <asp:ListItem Text="Student" Value="2003" Selected="True"></asp:ListItem>
                                                <asp:ListItem Text="Employee" Value="95"></asp:ListItem>
                                                <%--   <asp:ListItem Text="Other" Value="1"></asp:ListItem>--%>
                                            </asp:RadioButtonList>
                                        </div>
                                    </div>



                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="Label1" 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" id="ClassDiv" runat="server">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="ClassLabel" runat="server" Text="Class"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList ID="ClassDropDownList" runat="server" class="form-control" SkinID="CustomWidthDropDownList"
                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" meta:resourcekey="ClassDropDownListResource"
                                                AutoPostBack="true" OnSelectedIndexChanged="ClassDropDownList_SelectedIndexChanged" />
                                        </div>
                                    </div>

                                    <div class="outerBox pTop5 col-md-3" id="Divisiondiv" runat="server">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="DivisionLabel" runat="server" Text="Division"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList runat="server" ID="DivisionDropDownList" SkinID="CustomWidthDropDownList"
                                                class="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                            </asp:DropDownList>
                                        </div>
                                    </div>

                                    <div class="alignCenter pTop5 col-md-12">
                                        <asp:Button ID="SearchButton" Text="&#xf002; Search" runat="Server" OnClick="SearchButton_Click" SkinID="0" class="btn-search btn fas" />
                                        <asp:Button ID="ResetButton" runat="server" Text="&#xf0e2; Reset" class="btn-reset btn fas" SkinID="0" OnClick="ResetButton_Click" />
                                        <asp:Button ID="PrintButton" runat="server" Text="&#xf15b; Print" OnClick="PrintButton_Click" SkinID="0" CssClass="btn btn-edit fas" />
                                        <asp:Button ID="ExportExcelButton" Text="&#xf093; Export To Excel" SkinID="0" CssClass="btn-examcommon btn fas" runat="server" CausesValidation="false" Visible="false" OnClick="ExportExcelButton_Click"></asp:Button>
                                    </div>
                                    <div id="Div2" class="himssuHeader7WireBox col-md-12 pb5 mt2" runat="server">
                                        <div id="FoodItemMasterListDetailDiv" runat="server" visible="false">

                                            <div class="himsBoxHeader" id="FoodItemMasterListDiv" visible="false" runat="server">
                                                <div class="leftdiv">
                                                </div>
                                                <div class="himsBoxTitle">
                                                    <div class="fRight mt-27" runat="server" visible="false">
                                                        <uc1:GridViewPager ID="CanteenMasterGridViewPager" runat="server" ParentGridView="CanteenMasterGridView" />
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="himsBoxContent">
                                                <div id="Div5" runat="server" visible="false">
                                                    <div class="table-responsive">
                                                        <asp:GridView ID="FoodItemMasterGridView" runat="server" AutoGenerateColumns="False"
                                                            CssClass="table table-striped table-bordered table-hover" AllowPaging="false" SkinID="" PagerSettings-Visible="false" EmptyDataText="No Records Found !!"
                                                            DataKeyNames="SourceTypeId,SourceId" OnRowDataBound="FoodItemMasterGridView_RowDataBound" OnPageIndexChanging="FoodItemMasterGridView_PageIndexChanging">
                                                            <Columns>
                                                                <asp:TemplateField HeaderText="Select" HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="4%"
                                                                    ItemStyle-Wrap="true">
                                                                    <HeaderTemplate>
                                                                        <label class="rt-chkbox rt-chkbox-outline">
                                                                            <asp:CheckBox ID="HeaderSelectCheckBox" runat="server" Enabled="true" AutoPostBack="true"
                                                                                Visible="true" OnCheckedChanged="HeaderSelectCheckBox_CheckedChanged" />
                                                                            <span></span>
                                                                        </label>
                                                                    </HeaderTemplate>
                                                                    <ItemStyle HorizontalAlign="Center" />
                                                                    <ItemTemplate>
                                                                        <label class="rt-chkbox rt-chkbox-outline">
                                                                            <asp:CheckBox ID="SelectCheckBox" runat="server" Enabled="true" AutoPostBack="true" Visible="true" OnCheckedChanged="SelectCheckBox_CheckedChanged" />
                                                                            <span></span>
                                                                        </label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:BoundField DataField="Id" HeaderText="Id" ItemStyle-Width="7%" Visible="false" HeaderStyle-HorizontalAlign="Left" />
                                                                <asp:BoundField DataField="Code" HeaderText="Code" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left" />
                                                                <%--<asp:BoundField DataField="ItemPrice" HeaderText="Item Price" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left" />--%>
                                                                <asp:BoundField DataField="Name" HeaderText="Name" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left" />
                                                                <asp:BoundField DataField="Department" HeaderText="Department Name" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left" />
                                                                <asp:BoundField DataField="ClassDiv" HeaderText="Class" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left" />
                                                                <asp:BoundField DataField="BreakType" HeaderText="Break Type" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left" />




                                                            </Columns>
                                                        </asp:GridView>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                    </div>
                    <div class="himssuHeader1WireBox" id="DetailDiv" runat="server" visible="false">
                    </div>


                </div>

            </div>
            </div>
            
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--    <script data-main="../../JavaScript/rjs/builtjs/fooditem-master-built" src="../../JavaScript/rjs/require.js"></script>--%>
    <%-- <script data-main="../../JavaScript/rjs/encrypt/fooditem-master-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/fooditem-master")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
