<%@ Page Language="C#" AutoEventWireup="false" %>
<%@ Register TagPrefix="Hishop" Namespace="Hishop.Web.Controls" Assembly="Hishop.Web.Controls" %>
<%@ Register TagPrefix="Hishop" Namespace="Hishop.Web.Management" Assembly="Hishop.Web.Management" %>
<%@ Register TagPrefix="UI" Namespace="ASPNET.WebControls" Assembly="ASPNET.WebControls" %>
<%@ Register TagPrefix="Hishop" Namespace="Hishop.Web.Validator" Assembly="Hishop.Web.Validator" %>
<%@ Import Namespace="Hishop.SystemServices" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <Hishop:HeadContainer ID="HeadContainer1" runat="server" />
    <Hishop:PageTitle ID="PageTitle1" runat="server" />
    <link rel="stylesheet" href="../../utility/validate/pagevalidator.css" type="text/css" />
    <link rel="stylesheet" href="../css/Hishopv5.css" type="text/css" />
    <script type="text/javascript" src="../../utility/jquery-1.3.2.min.js"></script>
    <script type="text/javascript" src="../../utility/validate/pagevalidator.js"></script>
    
    <script type="text/javascript" src="../js/Hishopv5.js"></script>
</head>
<body>
    <form id="form1" runat="server">

        <div>        

            <div class="PageTitleArea">
                <div class="PageTitle">
                    <asp:Literal ID="lblPageTitle" runat="server" Text="<%$ Resources:DeductRequestDetails,IDS_PageTitle %>"></asp:Literal>
                </div>
                <div style="width: 80%;">
                    <asp:Literal ID="lblPageDesc" runat="server" Text="<%$ Resources:DeductRequestDetails,IDS_PageDesc %>"></asp:Literal>
                </div>
            </div>
                 <Hishop:DeductRequestDetails ID="DeductRqustDetails" runat="server">
                    <SkinTemplate>
                      <fieldset class="AdminSearchform">
                        <legend><asp:Literal ID="litSearchTitle" Text="<%$ Resources:DeductRequestDetails,IDS_Literal_SearchTitle %>" runat="server"></asp:Literal></legend>
                        <table width="55%" border="0" cellspacing="0" cellpadding="0" style="margin-left:18px">
                            <tr>
                                <td class="searchTableLeftTD">
                                    <nobr><asp:Label ID="lblFromDate" runat="server" Text="<%$ Resources:DeductRequestDetails,IDS_Literal_FromDate %>"></asp:Label></nobr>：</td>
                                <td class="searchTableControlTD">
                                    <Hishop:WebCalendar ID="calendarStart" runat="server" CalendarType="StartDate" />
                                </td>
                                <td class="searchTableLeftTD">
                                    <nobr><asp:Label ID="lblToDate" runat="server" Text="<%$ Resources:DeductRequestDetails,IDS_Literal_ToDate %>"></asp:Label></nobr>：</td>
                                <td class="searchTableControlTD">
                                    <Hishop:WebCalendar ID="calendarEnd" runat="server" CalendarType="EndDate" />
                                </td>
                               <td ><asp:Button ID="btnQueryDeductDetails" CssClass="inp_L1" runat="server" Text="<%$ Resources:DeductRequestDetails,IDS_Button_Search %>" /></td>
                            </tr>
                        </table>
                      </fieldset>
                      <div class="grdGroupFormList">     

                            <div class="grdGroupList">          			
                                <div class="grdGroupListLi">
                                  <Hishop:CustomGridView ID="grdDeductDetails" runat="server" AutoGenerateColumns="false" CssClass="GridViewStyle" GridLines="None" ShowHeader="true" AllowSorting="true" RowStyle-CssClass="grdrow" HeaderStyle-CssClass="GridViewHeaderStyle" SortOrder="DESC">
                                    <Columns>
                                        <asp:BoundField HeaderText="<%$ Resources:DeductRequestDetails,IDS_Header_JournalNumber %>" DataField="DeductId" />
                                        <asp:BoundField HeaderText="<%$ Resources:ManageOrder,IDS_grdOrderId %>" DataField="OrderId" />
                                        <asp:BoundField HeaderText="<%$ Resources:DeductRequestDetails,IDS_Header_UserNames %>" DataField="UserName" />			                		    			      
			                            <Hishop:MoneyColumnForAdmin HeaderText="<%$ Resources:DeductRequestDetails,IDS_Header_DudectValues %>" DataField="DeductValues"/>	
			                            <asp:TemplateField HeaderText="<%$ Resources:DeductRequestDetails,IDS_Header_DedcutDate %>">
                                            <ItemTemplate>
                                                <Hishop:FormatedTimeLabel ID="lblTradeDate" Time='<%#Eval("DeductDate")%>' runat="server" />
                                            </ItemTemplate>
                                        </asp:TemplateField>        			      	        
	                                </Columns> 
	                              </Hishop:CustomGridView>			    
                              </div>
                          </div>
                          <!--翻页-->
                          <div class="grdGroupTabhead">
                             <UI:Pager runat="server" ListToPaging="grdDeductDetails" ID="pager" />
                          </div>
                          <div style="float:right;padding-right:10px;">
                                <div class="return_inp">        
                                    <a href='<%= Globals.GetSiteUrls().UrlData.FormatUrl("admin_ManageAgents")%>'>
                                    <asp:Literal ID="lblReturn" runat="server" Text="<%$ Resources:DeductRequestDetails, IDS_Button_Back %>"></asp:Literal></a>
                                </div>	
                          </div>

                    </div> 
                    </SkinTemplate>
                 </Hishop:DeductRequestDetails>
            </div>
        <br />
        <div class="botCopyInfo">
            <hr style="width:500px;" />
            <Hishop:SiteCopyright ID="SiteCopyright1" runat="server" />
        </div>
        <br />
        <Hishop:ValidatorContainer runat="server" ID="ValidatorContainer" />
    </form>
</body>
</html>