<%@ Page Title="" Language="C#" MasterPageFile="SiteAdmin.Master" AutoEventWireup="true" CodeBehind="report_details.aspx.cs" Inherits="FanXian.Web.admin.report_details" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>报表详情</h2>
    <table width="100%" cellpadding="6" cellspacing="0" border="1" bordercolor="#CCC" style="border-collapse:collapse;">
        <tr bgcolor="#F8F8F8">
            <td><b>ID</b></td>
            <td><b>用户号</b></td>
            <td><b>交易编号</b></td>
            <td><b>付款时间</b></td>
            <td><b>付款总金额</b></td>
            <td><b>商品标题</b></td>
        </tr>
        <tr>
            <td>{item:id}</td>
            <td><a href="user_details.aspx?id={item:outer_code}">{item:outer_code}</a></td>
            <td>{item:trade_id}</td>
            <td>{item:pay_time}</td>
            <td>{item:pay_price}</td>
            <td><a href="../search.aspx?q=%3Fid%3D{item:num_iid}" target="_blank" title="{item:item_title}">{item:item_title}</a></td>
        </tr>
    </table>
    <br />
    <table width="100%" cellpadding="6" cellspacing="0" border="1" bordercolor="#CCC" style="border-collapse:collapse;">
        <tr bgcolor="#F8F8F8">
            <td><b>购买数量</b></td>
            <td><b>商品分类</b></td>
            <td><b>店家</b></td>
            <td><b>卖家</b></td>
            <td><b>返现比例</b></td>
            <td><b>返现金额</b></td>
        </tr>
        <tr>
            <td>{item:item_num}</td>
            <td>{item:category_name}</td>
            <td>{item:shop_title}</td>
            <td>{item:seller_nick}</td>
            <td>{item:commission_rate}</td>
            <td>{item:commission}</td>
        </tr>
    </table>
    <br />
    <table width="100%" cellpadding="6" cellspacing="0" border="1" bordercolor="#CCC" style="border-collapse:collapse;">
        <tr bgcolor="#F8F8F8">
            <td><b>返现比例(商城)</b></td>
            <td><b>返现金额(商城)</b></td>
            <td><b>实际返现比例</b></td>
            <td><b>实际返现金额</b></td>
            <td><b>状态</b></td>
            <td><b>认领时间</b></td>
        </tr>
        <tr>
            <td>{item:bonus_percentage}</td>
            <td>{item:bonus}</td>
            <td>{item:fact_commission_rate}</td>
            <td>{item:fact_commission}</td>
            <td>{item:status_text}</td>
            <td>{item:claim_time}</td>
        </tr>
    </table>
    <br />
    <table width="100%" cellpadding="6" cellspacing="0" border="1" bordercolor="#CCC" style="border-collapse:collapse;">
        <tr bgcolor="#F8F8F8">
            <td><b>支付宝</b></td>
            <td><b>支付宝姓名</b></td>
            <td><b>认领者IP</b></td>
            <td><b></b></td>
            <td><b></b></td>
            <td><b></b></td>
        </tr>
        <tr>
            <td>{item:alipay}</td>
            <td>{item:alipay_name}</td>
            <td>{item:ip}</td>
            <td><b></b></td>
            <td><b></b></td>
            <td><b></b></td>
        </tr>
    </table>
    <br />
    <asp:DropDownList ID="ddl_status" runat="server">
        <asp:ListItem Value="0">等待认领</asp:ListItem>
        <asp:ListItem Value="1">认领成功，等待支付</asp:ListItem>
        <asp:ListItem Value="2">支付成功</asp:ListItem>
    </asp:DropDownList>
    <asp:Button ID="btn1" Text="更新状态" runat="server" onclick="btn1_Click" />
    <asp:Label ID="msg" ForeColor="Red" runat="server" />
    <h2><a href="report.aspx">返回列表</a></h2>
</asp:Content>
