<%@ page language="C#" autoeventwireup="true" inherits="Pages_MaterialManagement_Procurement_ReportCriteria_GoodsReturnNoteListingCriteria, App_Web_d21dmpa3" 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/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" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    
    <asp:UpdatePanel ID="GoodsReturnNoteListingReportUpdatePanel" runat="server">
        <ContentTemplate>
            <Common:CommonSearchUserControl ID="CommonSearchControl" runat="server" Visible="false" />
            <div id="divContentPage" class="divcontentpagemargin">
                <!-- ContentPlaceHolder Box Starts -->
                <div style="width: 100%; padding: 2px; margin: 2px">
                    <table width="100%" border="0" style="vertical-align: top; margin-top: -1px" cellpadding="0"
                        cellspacing="0">
                        <tr>
                            <td 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>
                            </td>
                            <td style="vertical-align: top;" width="100%">
                                <div class="himssuHeader1WireBox whitebox">
                                    <div class="himsBoxHeader note note1 box box-danger">
                                        <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">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="StartDateLabel" CssClass="mandatory" runat="server"
                                                        Text="Start Date" meta:resourcekey="StartDateLabelResource1"></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="EndDateLabel" CssClass="mandatory" runat="server"
                                                        Text="End Date" meta:resourcekey="EndDateLabelResource1"></asp:Label>
                                                </div>
                                                <div class="fLeft">
                                                    <HIMS:DataPickerControl ID="EndDatePicker" AutoCompleteType="Disabled" DisplayDatePicker="true"
                                                        runat="server" />
                                                </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="120px" onmouseleave="showHideTooltip()"
                                                        onmouseenter="showHideTooltip()"
                                                        meta:resourcekey="DepartmentDropDownListResource1">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="VendorLabel" runat="server" Text="Vendor"
                                                        meta:resourcekey="VendorLabelResource1"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <acc:AutoCompleteControl ID="VendorAutoCompleteControl" runat="server" MinimumPrefixLength="2"
                                                        Width="100px" ContextKey="Procurement.VendorName" AutoPostBack="true" DisplayLoadingStatus="true"
                                                        FirstRowSelected="false" MaxLength="20" ValidateOnTextChanged="false"
                                                        OnTextChanged="VendorAutoCompleteControl_TextChanged" IsCacheEnabled="false" />
                                                    <asp:ImageButton ID="VendorSearchImageButton" ToolTip="Vendor Search" SkinID="FindImage"
                                                        OnClick="VendorSearchImageButton_Click" runat="server"
                                                        meta:resourcekey="VendorSearchImageButtonResource1" />
                                                </div>
                                            </div>
                                            <%-- <div class="cBoth">
                        </div>
                        <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                <asp:Label ID="CreditRecvdLabel" runat="server" Text="Credit Recvd." 
                                    meta:resourcekey="CreditRecvdLabelResource1"></asp:Label>
                            </div>
                            <div class="fLeft">
                                <asp:DropDownList ID="CreditRecvdDropDownList" runat="server" Width="120px" onmouseleave="showHideTooltip()"
                                    onmouseenter="showHideTooltip()" 
                                    meta:resourcekey="CreditRecvdDropDownListResource1">
                                    <asp:ListItem Selected="True" Text="All" Value="0" 
                                        meta:resourcekey="ListItemResource1"></asp:ListItem>
                                    <asp:ListItem Text="Yes" Value="1" meta:resourcekey="ListItemResource2"></asp:ListItem>
                                    <asp:ListItem Text="No" Value="2" meta:resourcekey="ListItemResource3"></asp:ListItem>
                                </asp:DropDownList>
                            </div>
                        </div>
                        <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                
                            </div>
                            <div class="fLeft">
                                
                            </div>
                        </div>--%>
                                            <div class="cBoth">
                                            </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="120px" onmouseleave="showHideTooltip()"
                                                        onmouseenter="showHideTooltip()"
                                                        meta:resourcekey="ReportTypeDropDownListResource1">
                                                        <asp:ListItem Selected="True" Text="Summary" Value="0"
                                                            meta:resourcekey="ListItemResource7"></asp:ListItem>
                                                        <asp:ListItem Text="Detail" Value="1" meta:resourcekey="ListItemResource8"></asp:ListItem>
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="cBoth">
                                            </div>
                                            <div class="alignCenter pTop5">
                                                <asp:Button ID="CriteriaPrintButton" runat="server" OnClick="PrintButton_Click"
                                                    meta:resourcekey="CriteriaPrintButtonResource1" SkinID="0" CssClass="PrimaryButton" />
                                                <asp:Button ID="CriteriaClearButton" Text="Clear" runat="server"
                                                    OnClick="ClearButton_Click" meta:resourcekey="CriteriaClearButtonResource1" />
                                            </div>
                                            <div class="cBoth">
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </td>
                        </tr>
                    </table>
                    <%--HEDP History Ends Here--%>
                </div>
            </div>
            <div class="spacer">
                <img src="../../../../Images/spacer.gif" />
            </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>