<%@ page language="C#" autoeventwireup="true" inherits="Pages_MaterialManagement_Procurement_ReportCriteria_PurchaseOrderListingCriteria, 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="PurchaseReturnCreditNoteItemReportUpdatePanel" 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="PurchaseReturnCreditNoteItemReportLabel" runat="server"
                                                    Text="Criteria" meta:resourcekey="PurchaseReturnCreditNoteItemReportLabelResource1"></asp:Label>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="himsBoxContent">
                                        <div class="contentHolder">
                                            <div class="outerBox pTop5">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="FromDateLabel" runat="server" Text="From Date" meta:resourcekey="FromDateLabelResource1"></asp:Label>
                                                </div>
                                                <div class="fLeft">
                                                    <hims:datapickercontrol id="FromDatePicker" ontextchanged="FromDateTextBox_TextChanged"
                                                        displaydatepicker="true" runat="server" />
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="ToDateLabel" runat="server" Text="To Date" meta:resourcekey="ToDateLabelResource1"></asp:Label>
                                                </div>
                                                <div class="fLeft">
                                                    <hims:datapickercontrol id="ToDatePicker" 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="DeptDropDownList" SkinID="CustomWidthDropDownList" Width="104px"
                                                        runat="server" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        meta:resourcekey="DeptDropDownListResource1">
                                                    </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="true" 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="Label1" runat="server" Text="PO Status" meta:resourcekey="Label1Resource1"></asp:Label>
                                                </div>
                                                <div class="fLeft">
                                                    <asp:DropDownList ID="POStatusDropDownList" SkinID="CustomWidthDropDownList" Width="104px"
                                                        runat="server" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        meta:resourcekey="POStatusDropDownListResource1">
                                                        <asp:ListItem Selected="True" Value="0" Text="All" meta:resourcekey="ListItemResource1" />
                                                        <asp:ListItem Value="1" Text="Pending" meta:resourcekey="ListItemResource2" />
                                                        <asp:ListItem Value="2" Text="Completed" meta:resourcekey="ListItemResource3" />
                                                        <asp:ListItem Value="3" Text="Partial" meta:resourcekey="ListItemResource4" />
                                                    </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="Label3" runat="server" Text="Report Type" meta:resourcekey="Label3Resource1"></asp:Label>
                                                </div>
                                                <div class="fLeft">
                                                    <asp:DropDownList ID="ReportTypeDropDownList" SkinID="CustomWidthDropDownList" Width="104px"
                                                        runat="server" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        meta:resourcekey="ReportTypeDropDownListResource1">
                                                        <asp:ListItem Selected="True" Value="0" Text="Summary" meta:resourcekey="ListItemResource8" />
                                                        <asp:ListItem Value="1" Text="Details" meta:resourcekey="ListItemResource9" />
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="cBoth">
                                            </div>
                                            <div class="alignCenter pTop5">
                                                <asp:Button ID="CriteriaPrintButton" Text="Print" 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/assign-organization-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/assign-organization")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>    
</asp:Content>