<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Canteen_CanteenIssue, App_Web_5czj5ree" uiculture="auto" meta:resourcekey="PageResource1" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Src="~/UserControls/AutoComplete/AutoCompleteControl.ascx" TagName="AutoCompleteControl" TagPrefix="acc" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/Common/CommonSearch/CommonSearch.ascx" TagName="CommonSearchUserControl" TagPrefix="Common" %>
<%@ Register Src="~/UserControls/Common/CommonSearch/AlphabetSearchCommonControl.ascx" TagName="AlphabetSearchCommonControl" TagPrefix="ACS" %>
<%@ 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/EmployeeSearch/EmployeeSearch.ascx" TagName="EmployeeSearchControl" TagPrefix="hims" %>
<%@ Register Src="~/UserControls/Common/StudentSearch/StudentSearch.ascx" TagName="StudentSearch" TagPrefix="Std" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl" TagPrefix="Date" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="StockIssueRequestUpnl" runat="server">
        <ContentTemplate>
            <Common:CommonSearchUserControl ID="CommonSearchControl" runat="server" Visible="false" />
            <ACS:AlphabetSearchCommonControl ID="AlphabetCommonSearch" runat="server" Visible="false" />
            <Std:StudentSearch ID="StudentSearch" Visible="false" runat="server" />
            <hims:EmployeeSearchControl ID="EmployeeSearch" Visible="false" runat="server" />
            <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 row">
                    <Canteen:CanteenControl ID="CanteenUserControl" runat="server" Visible="true" />
                    <div class="himssuHeader5WireBox  card card-box" id="SearchDiv" runat="server">
                        <div class="himsBoxHeader card-head">
                            <asp:Panel ID="Panel1" runat="server">
                                <div class="leftdiv">
                                </div>
                                <div class="himsBoxTitle">
                                    <div class="headerText">
                                        <header>
                                            <i class="fas fa-search"></i>
                                            <asp:Label ID="Label3" runat="server" Text="Search"></asp:Label>
                                        </header>
                                    </div>
                                    <div class="fRight mt-27">
                                        <asp:Button ID="AddNewButtonID" runat="server" OnClick="AddNewButton_Click" SkinID="0" class="btn btn-add fas" Text="&#xf067; Add" />
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                        <div class="himsBoxContent card-body">
                            <asp:Panel ID="Panel2" runat="Server">
                                <div class="contentHolder">

                                    <div class="outerBox pTop5 col-md-3">
                                        <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">
                                        <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" id="SearchSuid" runat="server">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="SearchSuidLabel" runat="server" Text="SUID"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="SearchSuidTextBOx" runat="server"></asp:TextBox>
                                        </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" />
                                    </div>

                                    <div id="Div2" class="himssuHeader7WireBox col-md-12 pb5 mt2" runat="server">
                                        <div id="CanteenIssueListDetailDiv" runat="server" visible="false">
                                            <div class="himsBoxHeader" id="CanteenIssueListDiv" visible="false" runat="server">
                                                <div class="leftdiv">
                                                </div>
                                                <div class="himsBoxTitle">
                                                    <div class="fRight mt-27">
                                                        <uc1:GridViewPager ID="CanteenIssueMasterGridViewPager" runat="server" ParentGridView="CanteenIssueMasterGridView"
                                                            OnFirstRecordClick="CanteenIssueMasterGridViewPager_FirstRecordClick" OnLastRecordClick="CanteenIssueMasterGridViewPager_LastRecordClick"
                                                            OnNextRecordClick="CanteenIssueMasterGridViewPager_NextRecordClick" OnPrevRecordClick="CanteenIssueMasterGridViewPager_PrevRecordClick"
                                                            OnTextBoxValueChange="CanteenIssueMasterGridViewPager_TextBoxValueChange" />
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="himsBoxContent">
                                                <div id="Div5" runat="server" visible="false">
                                                    <div class="table-responsive">
                                                        <asp:GridView ID="CanteenIssueMasterGridView" runat="server" AutoGenerateColumns="False"
                                                            CssClass="table table-striped table-bordered table-hover" AllowPaging="false" SkinID="" PagerSettings-Visible="false" EmptyDataText="No Records Found !!"
                                                            DataKeyNames="Id" OnRowDataBound="CanteenIssueMasterGridView_RowDataBound" OnPageIndexChanging="CanteenIssueMasterGridView_PageIndexChanging">
                                                            <Columns>
                                                                <asp:TemplateField ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true"
                                                                    HeaderText="">
                                                                    <ItemTemplate>
                                                                        <asp:LinkButton ID="SelectLinkButton" runat="server" CommandName="Select" Text="Select"
                                                                            CausesValidation="false" OnClick="SelectLinkButton_Click"></asp:LinkButton>
                                                                    </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%" />
                                                                <asp:BoundField DataField="Name" HeaderText="Name" ItemStyle-Width="15%" />
                                                                <asp:BoundField DataField="SUId" HeaderText="SUId" ItemStyle-Width="15%" />
                                                                <asp:TemplateField HeaderText="Issue Date" ItemStyle-Width="10%"
                                                                    HeaderStyle-HorizontalAlign="Left" ItemStyle-Wrap="true">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="LabelFoundDate" runat="server" Text='<%# Bind("IssueDate","{0:dd/MM/yyyy}") %>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                            </Columns>
                                                        </asp:GridView>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                    </div>
                    <div class="himssuHeader1WireBox card card-box" id="DetailDiv" runat="server" visible="false">
                        <div class="himsBoxHeader card-head" id="Div6" runat="server" visible="True">
                            <div class="leftdiv">
                            </div>
                            <div class="himsBoxTitle">
                                <div class="headerText fLeft">
                                    <header>
                                        <i class="fas fa-utensils"></i>
                                        <asp:Label ID="Label2" Text="Canteen Issue Master" runat="server" />
                                    </header>
                                </div>
                            </div>
                            <div class="fRight mt-27 pagination display-flex">
                                <table>
                                    <tr>
                                        <td class="formLabel">
                                            <div id="NumberOfRecordDiv" class="display-flex" runat="server" visible="true">
                                                <asp:LinkButton AlternateText="First page" ToolTip="First page" ID="FirstRecordImageButton"
                                                    runat="server" ImageUrl="~/Images/arrowLlast.gif" CommandName="Page" CommandArgument="First"
                                                    OnClick="FirstRecordImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                        <i class="fa fa-fast-backward"></i>
                                                </asp:LinkButton>
                                                <asp:LinkButton AlternateText="Previous page" ToolTip="Previous page" ID="PreviousImageButton"
                                                    runat="server" ImageUrl="~/Images/arrowLeft.gif" CommandName="Page" CommandArgument="Prev"
                                                    OnClick="PreviousImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                                <i class="fa fa-play fa-rotate-180"></i>
                                                </asp:LinkButton>
                                                &nbsp; &nbsp;
                                                <asp:Label ID="LabelPage" runat="server" Text="Record " AssociatedControlID="ReCordNumber" />
                                                <asp:Label ID="ReCordNumber" Font-Bold="true" SkinID="Dummy" runat="server"></asp:Label>
                                                <asp:Label ID="ofLabel" Text="of" runat="server" />
                                                <asp:Label ID="TotalRecord" runat="server" />
                                                &nbsp; &nbsp;
                                                <asp:LinkButton AlternateText="Next page" ToolTip="Next page" ID="NextImageButtom"
                                                    runat="server" ImageUrl="~/Images/arrowRight.gif" CommandName="Page" CommandArgument="Next"
                                                    OnClick="NextImageButtom_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                    <i class="fa fa-play"></i>
                                                </asp:LinkButton>
                                                <asp:LinkButton AlternateText="Last page" ToolTip="Last page" ID="LastRecordImageButton"
                                                    runat="server" ImageUrl="~/Images/arrowRLast.gif" CommandName="Page" CommandArgument="Last"
                                                    OnClick="LastRecordImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                                <i class="fa fa-fast-forward"></i>
                                                </asp:LinkButton>&nbsp; &nbsp;
                                            </div>
                                        </td>
                                        <td>
                                            <asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0"
                                                class="btn btn-back fas" Text="&#xf30a; Back" />
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </div>
                        <div class="himsBoxContent card-body">
                            <asp:Panel ID="Panel3" runat="Server">
                                <div class="himssuHeader1WireBox col-md-12">
                                    <div class="himsBoxContent">
                                        <div class="contentHolder">
                                            <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 id="SUIdDiv" class="outerBox pTop5 col-md-3" runat="server" visible="false">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="SUIdLabel" runat="server" Text="SU Id"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="SUIdTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                        AutoPostBack="true" MaxLength="50" OnTextChanged="SUIdTextBox_TextChanged" Enabled="false"></asp:TextBox>
                                                </div>
                                            </div>


                                            <div class="outerBox pTop5 col-md-3" id="OrgnaizationDiv" runat="server">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="OrganizationLabel" runat="server" Text="Organization" CssClass="mandatory"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList runat="server" ID="OrganizationDropDownList" SkinID="CustomWidthDropDownList"
                                                        class="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                    </asp:DropDownList>
                                                </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" CssClass="mandatory"></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"
                                                            OnTextChanged="StudentIdNoTextBox_TextChanged">
                                                        </asp:TextBox>
                                                        <asp:ImageButton SkinID="FindImage" ToolTip="Student Search" ID="StudentIdNoImageButton"
                                                            runat="server" />
                                                        <asp:HiddenField ID="ReaderSourceIdHiddenField" runat="server" />
                                                        <asp:HiddenField ID="SourceIdHiddenField" runat="server" />
                                                        <asp:HiddenField ID="StudentIdHiddenField" runat="server" />
                                                        <asp:HiddenField ID="TotalAmountHiddenField" runat="server" />
                                                        <asp:HiddenField ID="ConfirmationTypeHiddenField" runat="server" />
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="StudentNameLabel" runat="server" Text="Name"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:TextBox ID="StudentNameTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                            SkinID="CustomWidthTextBox" runat="server" MaxLength="200"> </asp:TextBox>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="ClassLabel" runat="server" Text="Class"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:TextBox ID="ClassTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                            SkinID="CustomWidthTextBox" runat="server" MaxLength="200"> </asp:TextBox>
                                                    </div>
                                                </div>
                                            </asp:Panel>
                                            <asp:Panel ID="EmployeeSearchPanel" runat="server" Visible="false">
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="EmployeeIdNoLabel" runat="server" Text="Code" CssClass="mandatory"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5 display-flex">
                                                        <asp:TextBox ID="EmployeeIdNoTextBox" SkinID="CustomWidthTextBox" runat="server"
                                                            MaxLength="200" AutoPostBack="true" OnTextChanged="EmployeeIdNoTextBox_TextChanged">
                                                        </asp:TextBox>
                                                        <asp:ImageButton SkinID="FindImage" ToolTip="Employee Search" ID="EmployeeIdNoImageButton"
                                                            runat="server" />
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="EmployeeNameLabel" runat="server" Text="Name"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:TextBox ID="EmployeeNameTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                            SkinID="CustomWidthTextBox" runat="server" MaxLength="200"> </asp:TextBox>
                                                    </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:TextBox ID="DepartmentTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                            SkinID="CustomWidthTextBox" runat="server" MaxLength="200"> </asp:TextBox>
                                                    </div>
                                                </div>
                                            </asp:Panel>
                                            <asp:Panel ID="OtherDetailPanel" runat="server" Visible="false">
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="Label1" Text="Other Name" runat="server"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:TextBox ID="OtherNameTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                            SkinID="CustomWidthTextBox" runat="Server" MaxLength="100"></asp:TextBox>
                                                    </div>
                                                </div>
                                            </asp:Panel>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="IssueDateLabel" runat="server" Text="Issue Date" SkinID="MandatoryLabel" Visible="True"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <Date:DatePickerControl DisplayDatePicker="true" ID="IssueDatepickerDetail"
                                                        Visible="True" runat="server" />
                                                </div>
                                            </div>
                                            <div id="SelectableDiv" runat="server">
                                                <div class="outerBox pTop5 col-md-12 bg-lghtgrey radiobtn ">
                                                    <div class="fLeft pRight5">
                                                        <%--Change For 25772 Mantis--%>
                                                        <asp:RadioButtonList ID="SelectableRadioButtonList" runat="server" RepeatDirection="Horizontal"
                                                            AutoPostBack="true" OnSelectedIndexChanged="SelectableRadioButtonList_SelectedIndexChanged">
                                                            <asp:ListItem Text="Pay On Counter" Value="2003" Selected="True"></asp:ListItem>
                                                            <asp:ListItem Text="Deposit" Value="95"></asp:ListItem>

                                                        </asp:RadioButtonList>
                                                    </div>
                                                </div>
                                            </div>
                                            <asp:Panel ID="CanttenissueDetailPanel" runat="Server">
                                                <div class="himssuHeader1WireBox col-md-12 pb5 mt2">
                                                    <div class="himsBoxHeader card-head inner">
                                                        <div class="headerText">
                                                            <header>
                                                                Canteen Issue Details
                                                            </header>
                                                        </div>
                                                        <div class="leftdiv">
                                                        </div>
                                                        <div class="himsBoxTitle">
                                                            <div class="headerText">
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="himsBoxContent ">
                                                        <div class="contentHolder">
                                                            <div class="outerBox pTop5 col-md-3 ">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="ItemCodeLabel" runat="server" Text="Item Code"
                                                                        CssClass="mandatory" 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 ">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="ItemNameLabel" runat="server" Text="Item Name" CssClass="mandatory"
                                                                        meta:resourcekey="ItemNameLabelResource1"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5 display-flex">
                                                                    <acc:AutoCompleteControl ID="ItemNameTextBox" runat="server" OnTextChanged="ItemNameTextBox_TextChanged"
                                                                        IsCacheEnabled="false" AutoPostBack="true" MinimumPrefixLength="2" ContextKey="Canteen.FoodItemMasterTitle"
                                                                        DisplayLoadingStatus="true" ValidateOnTextChanged="false" MaxLength="100"
                                                                        Width="150px" />

                                                                    <asp:ImageButton ID="ItemNameSearchImageButton" runat="server" SkinID="FindImage"
                                                                        ToolTip="Item Name Search" OnClick="ItemNameSearchButton_OnClick"
                                                                        meta:resourcekey="ItemNameSearchImageButtonResource1" />
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3 ">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="ItemPriceLabel" runat="server" Text="ItemPrice"
                                                                        CssClass="mandatory" meta:resourcekey="ItemPriceLabelResource1"></asp:Label>
                                                                </div>
                                                                <div class="fLeft">
                                                                    <asp:TextBox ID="ItemPriceTextBox" runat="server" SkinID="CustomWidthTextbox"
                                                                        AutoPostBack="True" MaxLength="12" AutoCompleteType="Disabled" Style="text-align: right;"
                                                                        onKeypress="javascript:return MaskDecimal(event,10,2)"
                                                                        onBlur="javascript:return fnValidateDecimal(this,10,2)" onmouseleave="showHideTooltip()"
                                                                        onmouseenter="showHideTooltip()"
                                                                        meta:resourcekey="ItemPriceTextBoxResource1" OnTextChanged="ItemPriceTextBox_TextChanged"></asp:TextBox>
                                                                </div>
                                                                <asp:HiddenField ID="IdHiddenField" runat="server" />
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3 ">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="QtyLabel" runat="server" Text="Quantity"
                                                                        CssClass="mandatory" meta:resourcekey="QuantityLabelResource1"></asp:Label>
                                                                </div>
                                                                <div class="fLeft">
                                                                    <asp:TextBox ID="QuantityTextBox" runat="server" SkinID="CustomWidthTextbox"
                                                                        AutoPostBack="True" MaxLength="12" AutoCompleteType="Disabled" Style="text-align: right;"
                                                                        OnTextChanged="QuantityTextBox_TexChange" onKeypress="javascript:return MaskDecimal(event,10,2)"
                                                                        onBlur="javascript:return fnValidateDecimal(this,10,2)" onmouseleave="showHideTooltip()"
                                                                        onmouseenter="showHideTooltip()"
                                                                        meta:resourcekey="QuantityTextBoxResource1"></asp:TextBox>
                                                                </div>
                                                            </div>

                                                            <div class=" alignCenter pTop5 col-md-12">
                                                                <asp:Button ID="AddButton" runat="server" class="btn btn-add fas" Text="&#xf067; Add" SkinID="0" TabIndex="15"
                                                                    OnClick="AddButton_Click" meta:resourcekey="AddButtonResource1" />
                                                                <asp:Button ID="ClearDetailButton" runat="server" Text="&#xf0e2; Reset" class="btn-reset btn fas" SkinID="0"
                                                                    OnClick="ClearDetail_Click" meta:resourcekey="ClearButtonResource1" />
                                                            </div>

                                                            <div id="CanteenIssueRequestDetailsDiv" class="himssuHeader7WireBox col-md-12 pb5 mt2" runat="server">
                                                                <div class="himsBoxHeader">
                                                                    <div class="leftdiv">
                                                                    </div>
                                                                    <div class="himsBoxTitle">
                                                                        <div class="headerText">
                                                                            <div class="fLeft">
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="himsBoxContent">
                                                                    <div class="table-responsive">
                                                                        <asp:GridView ID="CanteenIssueRequestDetailsGridView" runat="server" SkinID=""
                                                                            AutoGenerateColumns="False" ShowHeader="True" DataKeyNames="FoodItemId"
                                                                            OnDataBound="CanteenIssueRequestDetailsGridView_DataBound" OnRowDataBound="CanteenIssueRequestDetailsGridView_RowDataBound"
                                                                            EmptyDataText="No Records Found"
                                                                            meta:resourcekey="CanteenIssueRequestDetailsGridViewResource1"
                                                                            CssClass="table table-bordered table-striped table-hover">
                                                                            <Columns>
                                                                                <asp:BoundField DataField="FoodItemId" Visible="false" />
                                                                                <asp:TemplateField HeaderText="Item Code" HeaderStyle-HorizontalAlign="Left"
                                                                                    meta:resourcekey="TemplateFieldResource1">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label Text='<%# DataBinder.Eval(Container.DataItem, "ItemCode") %>' ID="ItemCodeLabel"
                                                                                            runat="server" meta:resourcekey="ItemCodeLabelResource2"></asp:Label>
                                                                                    </ItemTemplate>
                                                                                    <HeaderStyle Width="20%" />
                                                                                    <ItemStyle Width="20%" />
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Item Name" HeaderStyle-HorizontalAlign="Left"
                                                                                    meta:resourcekey="TemplateFieldResource2">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label Text='<%# DataBinder.Eval(Container.DataItem, "ItemTitle") %>' ID="ItemNameLabel"
                                                                                            runat="server" meta:resourcekey="ItemNameLabelResource2"></asp:Label>
                                                                                    </ItemTemplate>
                                                                                    <HeaderStyle Width="30%" />
                                                                                    <ItemStyle Width="30%" />
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Item Price" meta:resourcekey="TemplateFieldResource3" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label Text='<%# DataBinder.Eval(Container.DataItem, "ItemPrice") %>' ID="ItemPriceLabel"
                                                                                            runat="server" meta:resourcekey="ItemPriceResource2"></asp:Label>
                                                                                    </ItemTemplate>
                                                                                    <HeaderStyle Width="20%" />
                                                                                    <ItemStyle Width="20%" />
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Quantity" HeaderStyle-HorizontalAlign="Left"
                                                                                    meta:resourcekey="TemplateFieldResource4">
                                                                                    <HeaderStyle HorizontalAlign="Left" Width="15%" />
                                                                                    <ItemStyle HorizontalAlign="Left" Width="15%" />
                                                                                    <ItemTemplate>
                                                                                        <asp:TextBox ID="QuantityLabel" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Quantity") %>'
                                                                                            Style="text-align: Left; border-style: none; background-color: Transparent;"
                                                                                            ReadOnly="True" meta:resourcekey="QuantityLabelResource2"></asp:TextBox>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Amount" HeaderStyle-HorizontalAlign="Left"
                                                                                    meta:resourcekey="TemplateFieldResource4">
                                                                                    <HeaderStyle HorizontalAlign="Left" Width="25%" />
                                                                                    <ItemStyle HorizontalAlign="Left" Width="25%" />
                                                                                    <ItemTemplate>
                                                                                        <asp:TextBox ID="AmountLabel" runat="server"
                                                                                            Style="text-align: Left; border-style: none; background-color: Transparent;"
                                                                                            ReadOnly="True" meta:resourcekey="AmountLabelResource2"></asp:TextBox>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Delete"
                                                                                    meta:resourcekey="TemplateFieldResource5" HeaderStyle-HorizontalAlign="Center">
                                                                                    <HeaderStyle HorizontalAlign="Center" Width="5%" />
                                                                                    <ItemStyle HorizontalAlign="Center" />
                                                                                    <ItemTemplate>
                                                                                        <asp:ImageButton ID="DeleteImageButton" SkinID="DeleteImage" ToolTip="Delete" runat="server"
                                                                                            OnClick="DeleteImageButton_OnClick"
                                                                                            meta:resourcekey="DeleteImageButtonResource1"></asp:ImageButton>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>

                                                                            </Columns>
                                                                        </asp:GridView>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <table class="col-md-12">
                                                                <tr>
                                                                    <td>
                                                                        <asp:Label ID="lblTotal" runat="server" Text="Total :" Font-Bold="true"></asp:Label>
                                                                    </td>
                                                                    <td>
                                                                        <asp:Label ID="LabelTotal" runat="server" Text=""></asp:Label>
                                                                    </td>
                                                                </tr>
                                                            </table>

                                                        </div>
                                                    </div>

                                                </div>
                                                <%--add by dhruvik for 25772 mantis issue--%>
                                                <div class="himssuHeader1WireBox col-md-12 pb5" id="PaymentOptionDiv" runat="server" visible="true">
                                                    <div class="himsBoxHeader card-head inner">
                                                        <div class="headerText">
                                                            <header>
                                                                Payment Option
                                                            </header>
                                                        </div>
                                                        <div class="leftdiv">
                                                        </div>
                                                        <div class="himsBoxTitle">
                                                            <div class="headerText">
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="himsBoxContent ">
                                                        <div class="contentHolder">
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="PayTypeLabel" runat="server" Text="Pay Type"
                                                                        meta:resourcekey="PayTypeLabelResource1"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList runat="server" ID="PayTypeDropDownList" SkinID="CustomWidthDropDownList"
                                                                        CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                        OnSelectedIndexChanged="PayTypeDropDownList_SelectedIndexChanged" AutoPostBack="true">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="ChequeNoLabel" runat="server" Text="Cheque No / Reference No"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:TextBox ID="ChequeNoTextBox" SkinID="CustomWidthTextBox" runat="server"
                                                                        MaxLength="40">
                                                                    </asp:TextBox>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="BankNameLabel" runat="server" Text="Bank Name"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <acc:AutoCompleteControl ID="BankNameTextBox" runat="server" MinimumPrefixLength="2"
                                                                        MaxLength="50" ContextKey="sFinanceCommon.Bank" DisplayLoadingStatus="true" SkinID="CustomWidthTextBox"
                                                                        CssClass="form-control" ValidateOnTextChanged="false" />
                                                                    <asp:HiddenField ID="BankIdHiddenField" runat="server" />
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="ChequeDateLabelM" runat="server" Text="Cheque Date" SkinID="MandatoryLabel" Visible="false"></asp:Label>
                                                                    <asp:Label ID="ChequeDateLabel" runat="server" Text="Cheque Date"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <Date:DatePickerControl DisplayDatePicker="true" ID="ChequeDateDatePickerControl"
                                                                        runat="server" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>

                                            </asp:Panel>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                    </div>

                </div>

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