<%@ Control Language="C#" AutoEventWireup="true" Inherits="NopSolutions.NopCommerce.Web.Administration.Modules.CustomerOrdersControl"
    CodeBehind="CustomerOrders.ascx.cs" %>
<asp:Repeater ID="rptrOrders" runat="server">
    <ItemTemplate>
        <div>
            <p>
                <strong>Order number:
                    <%#Eval("OrderID")%>
                </strong>
            </p>
            Date:
            <%#DateTimeHelper.ConvertToUserTime((DateTime)Eval("CreatedOn")).ToString()%>
            <br />
            Order Status:
            <%#OrderManager.GetOrderStatusName(Convert.ToInt32(Eval("OrderStatusID")))%>
            <br />
            Payment Status:
            <%#PaymentStatusManager.GetPaymentStatusName(Convert.ToInt32(Eval("PaymentStatusID")))%>
            <br />
            Shipping Status:
            <%#ShippingStatusManager.GetShippingStatusName(Convert.ToInt32(Eval("ShippingStatusID")))%>
            <br />
            Order total:
            <%#Server.HtmlEncode(PriceHelper.FormatPrice(Convert.ToDecimal(Eval("OrderTotal")), true, false))%>
            <p>
                <a href="OrderDetails.aspx?OrderID=<%#Eval("OrderID")%>">Details</a>
            </p>
        </div>
    </ItemTemplate>
    <SeparatorTemplate>
        <hr />
    </SeparatorTemplate>
</asp:Repeater>
