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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager"
    TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/AutoComplete/AutoCompleteControl.ascx" TagName="AutoCompleteControl"
    TagPrefix="acc" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DataPickerControl"
    TagPrefix="HIMS" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/Common/CommonSearch/AlphabetSearchCommonControl.ascx" TagName="AlphabetSearchCommonControl"
    TagPrefix="ACS" %>
<%@ Register Src="~/UserControls/Common/Stock/StockDetailBoxControl.ascx" TagName="StockControl" TagPrefix="Stock" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">

    <asp:UpdatePanel ID="ResonMasterUpdatePanel" runat="server">
        <ContentTemplate>
            <ACS:AlphabetSearchCommonControl ID="AlphabetCommonSearch" runat="server" Visible="false" />
            <!-- Sub Container Box1 Start -->

            <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>
                <div class="whiteboxpaddingleft row">
                    <Stock:StockControl ID="StockUserControl" runat="server" Visible="true" />
                    <div class="himssuHeader1WireBox card card-box">
                        <div class="himsBoxHeader card-head">
                            <asp:Panel ID="Panel1" runat="server" meta:resourcekey="Panel1Resource1">
                                <div class="leftdiv">
                                </div>
                                <div class="himsBoxTitle">
                                    <div class="headerText">
                                        <header>
                                            <i class="fas fa-asterisk"></i>
                                            <asp:Label ID="Label3" runat="server" Text="Criteria"
                                                meta:resourcekey="Label3Resource1"></asp:Label>
                                        </header>
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                        <div class="himsBoxContent card-body">
                            <asp:Panel ID="DetailPanel" runat="server"
                                meta:resourcekey="DetailPanelResource1">
                                <div class="contentHolder">
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="">
                                            <asp:Label ID="LocationLabel" runat="server" Text="Report"
                                                SkinID="MandatoryLabel" meta:resourcekey="LocationLabelResource1" 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" SkinID="CustomWidthDropDownList" DataTextField="Name" DataValueField="Id"
                                                AutoPostBack="True" CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                OnSelectedIndexChanged="ReportDropDownList_SelectedIndexChanged"
                                                meta:resourcekey="ReportDropDownListResource1">
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                    <div class="cBoth"></div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="ViewModeLabel" runat="server" Text="View Mode"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList ID="ViewModeDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" meta:resourcekey="ViewModeDropDownListResource" />
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3" runat="server" id="filterdiv">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="filterLabel8" runat="server" Text="Filter"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList ID="FilterDownList" runat="server"
                                                CssClass="form-control" SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()"
                                                onmouseenter="showHideTooltip()"
                                                meta:resourcekey="BirthdayMonthDropDownListResource1" />
                                        </div>
                                    </div>


                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="ItemMainCategoryLabel" runat="server" Text="Item Main Category"
                                                meta:resourcekey="ItemMainCategoryLabelResource1"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList ID="MainGroupDropDownList2" runat="server" SkinID="CustomWidthDropDownList" AutoPostBack="true"
                                                CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" OnSelectedIndexChanged="MainGroupDropDownList2_SelectedIndexChanged">
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="SubGroupLabel3" runat="server" Text="Sub Group"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList ID="SubGroupDropDownList3" runat="server"
                                                CssClass="form-control" SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()"
                                                onmouseenter="showHideTooltip()" />
                                        </div>
                                    </div>
                                    <div class="cBoth">
                                    </div>
                                    <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="ItemCodeAutoCompleteControl" runat="server" MinimumPrefixLength="2"
                                                IsCacheEnabled="false" ContextKey="Ip.StockItemMasterCode"
                                                AutoPostBack="true" DisplayLoadingStatus="true"
                                                FirstRowSelected="true" MaxLength="20" ValidateOnTextChanged="false"
                                                OnTextChanged="ItemCodeAutoCompleteControl_TextChanged" />
                                            <asp:ImageButton ID="ItemCodeSearchImageButton" ToolTip="Item Code Search" SkinID="FindImage"
                                                OnClick="ItemCodeSearchImageButton_Click" runat="server"
                                                meta:resourcekey="ItemCodeSearchImageButtonResource1" />
                                        </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 display-flex">
                                            <acc:AutoCompleteControl ID="ItemNameAutoCompleteControl" runat="server" MinimumPrefixLength="2"
                                                IsCacheEnabled="false" ContextKey="InventoryPlanning.ItemTitleAll" AutoPostBack="true"
                                                DisplayLoadingStatus="true" FirstRowSelected="true" MaxLength="20" ValidateOnTextChanged="false"
                                                OnTextChanged="ItemNameAutoCompleteControl_TextChanged" />
                                            <asp:ImageButton ID="ItemNameSearchImageButton" ToolTip="Item Name Search" SkinID="FindImage"
                                                OnClick="ItemNameSearchImageButton_Click" runat="server"
                                                meta:resourcekey="ItemNameSearchImageButtonResource1" />
                                        </div>
                                    </div>

                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="FromDateLabel" runat="server" SkinID="MandatoryLabel"
                                                Text="From Date" meta:resourcekey="FromDateLabelResource1"></asp:Label>
                                        </div>
                                        <div class="fLeft">
                                            <HIMS:DataPickerControl ID="FromDateTextBox" DisplayDatePicker="true" runat="server" />
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="Label1" runat="server" Text="To Date" SkinID="MandatoryLabel"
                                                meta:resourcekey="Label1Resource1"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <HIMS:DataPickerControl ID="ToDateTextBox" DisplayDatePicker="true" runat="server" />
                                        </div>
                                    </div>

                                    <%-- mantis : 0040056 : By Krunal K Patel  -- Added Filter From Issue Date & To Issue Date.--%>
                                    <div runat="server" id="StockIssueDateDiv">
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="FromIssueDateLabel" runat="server" Text="From Issue Date"></asp:Label>
                                            </div>
                                            <HIMS:DataPickerControl DisplayDatePicker="true" ID="FromIssueDatePickerControl"
                                                Visible="True" runat="Server"></HIMS:DataPickerControl>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ToIssueDateLabel" runat="server" Text="To Issue Date"></asp:Label>
                                            </div>
                                            <HIMS:DataPickerControl DisplayDatePicker="true" ID="ToIssueDatePickerControl"
                                                Visible="True" runat="Server"></HIMS:DataPickerControl>
                                        </div>
                                    </div>
                                    <%--End Code mantis : 0040056--%>
                                    <div class="cBoth">
                                    </div>
                                </div>
                            </asp:Panel>
                            <div class=" alignCenter pTop5">
                                <asp:Button ID="PrintButton" Text="&#xf06e; View Report" runat="server" SkinID="0"
                                    OnClick="PrintButton_Click" meta:resourcekey="PrintButtonResource1" CssClass="btn btn-report fas" />
                                <asp:Button ID="ClearButton" Text="&#xf12d; Clear" CssClass="btn btn-clear fas" SkinID="0" runat="server"
                                    OnClick="ClearButton_Click" meta:resourcekey="ClearButtonResource1" />
                            </div>
                            <div class="spacer">
                                <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/spacer.gif"
                                    meta:resourcekey="Image1Resource1" />
                            </div>
                        </div>
                        <!-- Sub Container Box1 Ends -->
                        <!-- Sub Container Box2 Start -->
                    </div>
                </div>

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