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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DataPickerControl"
    TagPrefix="HIMS" %>
<%@ Register Src="~/UserControls/AutoComplete/AutoCompleteControl.ascx" TagName="AutoCompleteControl"
    TagPrefix="acc" %>
<%@ Register Src="~/UserControls/Common/CommonSearch/CommonSearch.ascx" TagName="CommonSearchUserControl"
TagPrefix="Common" %> 
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    
    <asp:UpdatePanel ID="GoodsReturnNoteListingReportUpdatePanel" runat="server">
        <ContentTemplate>
        <Common:CommonSearchUserControl ID="CommonSearchControl" runat ="server" Visible="false"/>
            <div class="contentHolder">
                <!-- Sub Container1 Box Start -->
                <div class="himssuHeader1WireBox">
                    <div class="himsBoxHeader">
                        <div class="leftdiv">
                        </div>
                        <div class="himsBoxTitle">
                            <div class="headerText">
                                <asp:Label Width="100%" ID="GoodsReturnNoteListingReportLabel" runat="server" 
                                    Text="Criteria" meta:resourcekey="GoodsReturnNoteListingReportLabelResource1"></asp:Label>
                            </div>
                        </div>
                    </div>
                    <div class="himsBoxContent">
                        <div class="contentHolder">
                        <div class="outerBox pTop5">
                            <asp:Label ID="ReportOptionLabel" runat="server" Text="Report Option" 
                                meta:resourcekey="ReportOptionLabelResource1"></asp:Label>
                        </div>
                        <div class="cBoth"></div>
                        <div class="outerBox pTop5">
                            <div class="fLeft">
                                <asp:RadioButton ID="ItemRadioButton" runat="server" AutoPostBack="True" OnCheckedChanged="ItemRadioButton_OnCheckedChanged" 
                                    GroupName="ItemRadio" meta:resourcekey="ItemRadioButtonResource1" />
                            </div>
                            <div class="fLeft pLeft5 pTop5">
                                <asp:Label ID="Label6" runat="server" Text="Item Wise" 
                                    meta:resourcekey="Label6Resource1"></asp:Label>
                            </div>
                            <div class="fLeft pLeft10">
                                <asp:RadioButton ID="TransactionRadioButton" runat="server" OnCheckedChanged="TransactionRadioButton_OnCheckedChanged"
                                    AutoPostBack="True" GroupName="ItemRadio" 
                                    meta:resourcekey="GroupRadioButtonResource1" />
                            </div>
                            <div class="fLeft pLeft5 pTop5">
                                <asp:Label ID="Label5" runat="server" Text="Transaction Wise" 
                                    meta:resourcekey="Label5Resource1"></asp:Label>
                            </div>
                        </div>

                         <div class="cBoth">
                         </div>

                          <div class="outerBox pTop5">
                                <div class="controlLabelWidth">
                                    <asp:Label ID="TransactionTypeLabel" runat="server" Text="Transaction Type"  SkinID="MandatoryLabel"
                                        meta:resourcekey="TransactionTypeLabelResource1"></asp:Label>
                                </div>
                                <div class="fLeft pRight5">
                                    <asp:DropDownList ID="TransactionTypeDropDownList" runat="server" Width="133px" OnSelectedIndexChanged="TransactionTypeDropDownList_SelectedIndexChanged"
                                        SkinID="CustomWidthDropDownList" onmouseleave="showHideTooltip()" 
                                        onmouseenter="showHideTooltip()" AutoPostBack="true"
                                        meta:resourcekey="TransactionTypeDropDownListResource1" Height="21px">
                                    </asp:DropDownList>
                                </div>
                            </div>
                          <div class="outerBox pTop5">
                                <div class="controlLabelWidth">
                                    <asp:Label ID="ReportTypeLabel" runat="server" Text="Report Type" 
                                        meta:resourcekey="ReportTypeLabelResource1"></asp:Label>
                                </div>
                                <div class="fLeft">
                                    <asp:DropDownList ID="ReportTypeDropDownList" runat="server" Width="104px" onmouseleave="showHideTooltip()"
                                        SkinID="CustomWidthDropDownList" onmouseenter="showHideTooltip()" 
                                        meta:resourcekey="ReportTypeDropDownListResource1">
                                        <asp:ListItem Selected="True" Text="Summary" Value="0" 
                                            meta:resourcekey="ListItemResource1"></asp:ListItem>
                                        <asp:ListItem Text="Detail" Value="1" meta:resourcekey="ListItemResource2"></asp:ListItem>
                                    </asp:DropDownList>
                                </div>
                            </div>
                           
                            <div class="cBoth">
                                </div>
                                  <div class="outerBox pTop5">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="ItemCodeLabel" runat="server" Text="Item Code" 
                                            meta:resourcekey="ItemCodeLabelResource1"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <acc:AutoCompleteControl ID="ItemCodeAutoCompleteControl" runat="server" MinimumPrefixLength="2"
                                          IsCacheEnabled="false"  Width="100px" 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">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="ItemNameLabel" runat="server" Text="Item Name" 
                                                meta:resourcekey="ItemNameLabelResource1"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <acc:AutoCompleteControl ID="ItemNameAutoCompleteControl" runat="server" MinimumPrefixLength="2"
                                               IsCacheEnabled="false" Width="100px" 
                                                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="cBoth">
                                </div>
                            <div class="outerBox pTop5">
                                <div class="controlLabelWidth">
                                    <asp:Label ID="DepartmentLabel" runat="server" Text="Department" 
                                        meta:resourcekey="DepartmentLabelResource1"></asp:Label>
                                </div>
                                <div class="fLeft">
                                    <asp:DropDownList ID="DepartmentDropDownList" runat="server" Width="104px" onmouseleave="showHideTooltip()"
                                        SkinID="CustomWidthDropDownList" onmouseenter="showHideTooltip()" 
                                        OnSelectedIndexChanged="DepartmentDropDownList_SelectedIndexChanged" 
                                        meta:resourcekey="DepartmentDropDownListResource1">
                                    </asp:DropDownList>
                                </div>
                            </div>
                            
                             
                            <div class="outerBox pTop5">
                                <div class="controlLabelWidth">
                                    <asp:Label ID="FromLocationLabel" runat="server" Text="Sub Location" 
                                        meta:resourcekey="FromLocationLabelResource1"></asp:Label>
                                </div>
                                <div class="fLeft">
                                    <asp:DropDownList ID="FromLocationDropDownList" runat="server" Width="104px" onmouseleave="showHideTooltip()"
                                        SkinID="CustomWidthDropDownList" onmouseenter="showHideTooltip()" 
                                        OnSelectedIndexChanged="FromLocationDropDownList_SelectedIndexChanged" 
                                        meta:resourcekey="FromLocationDropDownListResource1">
                                    </asp:DropDownList>
                                </div>
                            </div>

                            <div class="cBoth">
                            </div>

                           
                            <div class="outerBox pTop5">
                                <div class="controlLabelWidth">
                                    <asp:Label ID="FromDateLabel" CssClass="mandatory" runat="server" 
                                        Text="From Date" meta:resourcekey="FromDateLabelResource1"></asp:Label>
                                </div>
                                <div class="fLeft">
                                    <HIMS:DataPickerControl ID="StartDatePicker" AutoCompleteType="Disabled" DisplayDatePicker="true"
                                        runat="server" />
                                </div>
                            </div>
                            
                            
                            <div class="outerBox pTop5">
                                <div class="controlLabelWidth">
                                    <asp:Label ID="ToDateLabel" CssClass="mandatory" runat="server" Text="To Date" 
                                        meta:resourcekey="ToDateLabelResource1"></asp:Label>
                                </div>
                                <div class="fLeft pRight5">
                                    <HIMS:DataPickerControl ID="EndDatePicker" AutoCompleteType="Disabled" DisplayDatePicker="true"
                                        runat="server" />
                                </div>
                            </div>
                            
                            

                            <div class="cBoth">
                            </div>
                            
                            
                            <div class="cBoth">
                            </div>
                            <div class="alignCenter pTop5">
                                <asp:Button ID="CriteriaPrintButton" Text="Print" runat="server" 
                                    OnClick="PrintButton_Click" meta:resourcekey="CriteriaPrintButtonResource1" />
                                <asp:Button ID="CriteriaClearButton" Text="Clear" runat="server" 
                                    OnClick="ClearButton_Click" meta:resourcekey="CriteriaClearButtonResource1" />
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            </div>
           
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../../../JavaScript/rjs/encrypt/goods-return-criteria-encrypt" src="../../../../JavaScript/rjs/require.js"></script>--%>   
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/goods-return-criteria")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>    
</asp:Content>