<%@ Page language="c#" Codebehind="FinanceDetailSearch.aspx.cs" AutoEventWireup="true" Inherits="XpShop.Supplier.FinanceDetailSearch" %>
<%@ Register TagPrefix="uc1" TagName="Header" Src="Modules/Header.ascx" %>
<%@ Register TagPrefix="uc1" TagName="SupplierMenu" Src="Modules/SupplierMenu.ascx" %>
<%@	Register TagPrefix="ftb" Namespace="FreeTextBoxControls" Assembly="FreeTextBox"	%>
<%@ Register TagPrefix="uc1" TagName="Helper" Src="Modules/Helper.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Footer" Src="Modules/Footer.ascx" %>
<!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>
		<!--#include file="inc/head.inc"-->
		<title>商家中心 <%=config.SiteTitle%></title>
        <script type="text/javascript" src="inc/commond.js"></script>
		<script src="inc/ui.datepicker.cn.js" type="text/javascript"></script>
		<link type="text/css" rel="stylesheet" href="style/ui.datepicker.css" />
		<link type="text/css" rel="stylesheet" href="style/main.css" />	</head>
	<body>

			<uc1:Header id="Header1" runat="server"></uc1:Header>
			 <!--位置导航开始-->
			 <div class="path"><a href="<%=webSite %>supplier/default.<%=config.html%>"> 商家桌面</a> > 资金管理 >
                 <asp:Label ID="lblTitleInfo" runat="server" Text="账户明细查询"></asp:Label></div>
			<!--位置导航结束-->
			<div class="xp-w clear">
				<div class="content-left">
					<!--会员中心导航开始-->
					<uc1:SupplierMenu id="SupplierMenu1" runat="server"></uc1:SupplierMenu>
					<!--会员中心导航结束-->
				</div>
				<div class="content-middle">	
	                <div class="rframe">
	                    <div class="tm">账户明细查询</div>
	                    <div class="mm clear">
	                        <div>
						    <asp:DataList id="dlBalanceDetail" CellPadding="4" RepeatColumns="1" 
                                    RepeatDirection="Horizontal" Width="100%" runat="server" ForeColor="#333333" BorderWidth="1" BorderColor="#c8dcf4">
								    <AlternatingItemStyle BackColor="White" ForeColor="#284775" />
                                    <ItemStyle BackColor="#F7F6F3" ForeColor="#333333" />
                                    <SelectedItemStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                                    <ItemStyle CssClass="datagrid-item"></ItemStyle>
			                        <HeaderStyle CssClass="datagrid-header"></HeaderStyle>
								    <HeaderTemplate>								
                                        <ItemTemplate>													
									        <table cellpadding="3" cellspacing="0" width="100%">
										        <tr>
                                                    <td width="15%">
                                                        结款状态
											        </td>
                                                    <td width="15%">
                                                        订单总额
											        </td>
                                                    <td width="10%">
                                                        退款总额
											        </td>
                                                    <td width="10%">
                                                        佣金
											        </td>										
                                                    <td width="10%">
                                                        实付金额
											        </td>
                                                    <td width="10%">
                                                        操作
											        </td>
										        </tr>
									        </table>
								        </ItemTemplate>								
								    </HeaderTemplate>
								    <ItemTemplate>													
									    <table cellpadding="3" cellspacing="0" width="100%">
										    <tr>
                                                <td width="15%">
                                                    <%# GetStatus(int.Parse(DataBinder.Eval(Container.DataItem, "Status").ToString()))%>
											    </td>
                                                <td width="15%">
                                                    <%#DataBinder.Eval(Container.DataItem, "Amount", "{0:f}")%>
											    </td>
                                                <td width="10%">
                                                    <%#DataBinder.Eval(Container.DataItem, "TuiKuan", "{0:f}")%>
											    </td>
                                                <td width="10%">
                                                    <%#DataBinder.Eval(Container.DataItem, "YongJin", "{0:f}")%>
											    </td>										
                                                <td width="10%">
                                                    <%#DataBinder.Eval(Container.DataItem, "ShiFu", "{0:f}")%>
											    </td>
                                                <td width="10%">
                                                    <a href='FinanceDetailList.aspx?status=<%#DataBinder.Eval(Container.DataItem,"status")%>'>查看</a>
											    </td>
										    </tr>
									    </table>
								    </ItemTemplate>
							    </asp:DataList>
						    </div>
	                    </div>
	                </div>
		        </div>
			</div>
		<uc1:Helper id="Helper" runat="server"></uc1:Helper>
		<uc1:Footer id="Footer" runat="server"></uc1:Footer>

	</body>
</html>