{layout:simple} {class:Shop.Admin.product.product_freeze_window}
<lbbody>
<table class="datalist">
    <tr class="title">
        <th style="width: 150px">
            <%=Tag("订购日期")%>
        </th>
        <th style="width: 120px">
            <%=Tag("订单编号")%>
        </th>
        <th style="width: 120px">
            <%=Tag("商品编号")%>
        </th>
        <th style="width: 80px">
            <%=Tag("冻结数量")%>
        </th>
        <th style="width: 100px">
            <%=Tag("单价")%>
        </th>
        <th style="width: 100px">
            <%=Tag("小计")%>
        </th>
    </tr>
    <%
        int count_freeze = 0; decimal price = 0; decimal money = 0;
        foreach (DB.LebiShop.Lebi_Order_Product pro in pros){
        count_freeze = count_freeze + (pro.Count - pro.Count_Shipped);
        price = price + pro.Price;
        money = money + pro.Money;
    %>
    <tr class="list">
        <td >
            <%=pro.Time_Add%>
        </td>
        <td>
            <%=pro.Order_Code%>
        </td>
        <td>
            <%=pro.Product_Number%>
        </td>
        <td>
            <%=pro.Count - pro.Count_Shipped%>
        </td>
        <td>
            <%=FormatMoney(pro.Price)%>
        </td>
        <td>
            <%=FormatMoney(pro.Money)%>
        </td>
    </tr>
    <%} %>
    <tr class="list">
        <td>
            <%=Tag("合计")%>
        </td>
        <td>
            &nbsp;
        </td>
        <td>
            &nbsp;
        </td>
        <td>
            <strong><%=count_freeze%></strong>
        </td>
        <td>
            <strong><%=FormatMoney(price)%></strong>
        </td>
        <td>
            <strong><%=FormatMoney(money)%></strong>
        </td>
    </tr>
</table>
</lbbody>