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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager"
    TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/Common/ColorLegend/ColorLegendControl.ascx" TagName="ColorLegend"
    TagPrefix="cl" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/Common/Stock/StockDetailBoxControl.ascx" TagName="StockControl" TagPrefix="Stock" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">

    <asp:UpdatePanel ID="HREmployeeMasterSearchUpdatePanel" runat="server">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">
                <!-- ContentPlaceHolder Box Starts -->

                <div class="dashBoardLeftCont" valign="top">
                    <div class="himssuHeader3WireBox">
                        <%-- <div class="himsBoxHeader">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                            <asp:Label runat="server" ID="ScreenGroupNameLabel"></asp:Label>    
                                            </div>
                                        </div>
                                    </div>--%>
                        <table width="0px" cellpadding="0" cellspacing="0">
                            <tr>
                                <td>
                                    <div class="himsBoxContent">
                                        <div class="leftUlMenu">
                                            <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="160"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <Stock:StockControl ID="StockUserControl" runat="server" Visible="true" />
                <div class="whiteboxpaddingleft row">

                    <div class="himssuHeader1WireBox card card-box" id="Div1" runat="server">

                        <div class="himsBoxHeader card-head">
                            <div class="leftdiv">
                            </div>

                            <div class="himsBoxTitle">
                                <div class="headerText">
                                    <div class="fLeft">
                                        <header>
                                           <i class="fas fa-exclamation-circle"></i>
                                            <asp:Label ID="Label2" Text="Stock Alert" runat="server"
                                                Font-Bold="True" meta:resourcekey="GridViewLabelResource1" />
                                        </header>
                                    </div>
                                </div>

                            </div>
                        </div>
                        <div class="himsBoxContent card-body">

                            <div class="contentHolder">
                                <div class="himssuHeader6WireBox" id="TemplateResultEntryGridViewDiv" runat="server" visible="false">
                                    <%--     <div class="himsBoxHeader">
                                        <div class="leftdiv">
                                        </div>
                 
                                        <div class="himsBoxTitle" style="width: 99%">
                                            <div class="headerText">
                                                <div class="fLeft">
                                                    <asp:Label ID="Label1" Text="" runat="server"
                                                        Font-Bold="True" meta:resourcekey="GridViewLabelResource1" />
                                                </div>
                                            </div>
     
                                        </div>
                                    </div>--%>
                                    <div class="himsBoxContent col-md-12">

                                        <div id="Div2" runat="server" class="table-responsive">

                                            <asp:GridView ID="StockAlertGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                OnPageIndexChanging="StockAlertGridView_PageIndexChanging"
                                                AllowPaging="false"
                                                PagerSettings-Visible="false" EmptyDataText="No Such Record Found."
                                                CssClass="table table-striped table-bordered table-hover">
                                                <PagerSettings Visible="False"></PagerSettings>
                                                <Columns>
                                                    <asp:BoundField DataField="Id" HeaderText="ExamiantionId" Visible="false" ItemStyle-Width="100px" />
                                                    <asp:BoundField DataField="Code" HeaderText="Item Code" ItemStyle-Width="100px" HeaderStyle-HorizontalAlign="Left" />
                                                    <asp:BoundField DataField="PatentDrugName" HeaderText="Item Name" ItemStyle-Width="100px" HeaderStyle-HorizontalAlign="Left" />
                                                    <asp:BoundField DataField="Quantity" HeaderText="Quantity" ItemStyle-Width="100px" HeaderStyle-HorizontalAlign="Left" />
                                                    <asp:BoundField DataField="ReOrderPoint" HeaderText="Reorder Level" ItemStyle-Width="100px" HeaderStyle-HorizontalAlign="Left" />


                                                </Columns>
                                            </asp:GridView>
                                        </div>

                                    </div>

                                </div>
                            </div>
                        </div>
                    </div>

                </div>
              
                  
            </div>
            <div class="spacer">
                <img src="../../../Images/spacer.gif" />
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../../JavaScript/rjs/encrypt/assignment-view-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/assignment-view")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>    
</asp:Content>
