<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/ViewMasterPageSub.Master"
	Inherits="System.Web.Mvc.ViewPage<MvcEnterprise.Models.DataSet1+OrderRow>" %>

<asp:Content ID="Content2" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="LeftContent" runat="server">
	<div class="Item">
		<div class="LeftNavTitle"><%= Language.Context.User.LabelNavTitle %></div>
		<div>
			<%Html.RenderPartial("partial_LeftNav_User");%></div>
	</div>
</asp:Content>

<asp:Content ID="Content1" ContentPlaceHolderID="RightContent" runat="server">
	<div class="Item">
		<div class="Location">
			<%= Html.ActionLink(Language.Context.Global.HomePage, "Index")%> <%= Html.ActionLink(Language.Context.Order.MyOrderList,"MyOrderList") %>
			<%= Language.Context.Order.Details %>
		</div>
		<div class="WebContent">
			<table class="table1">
				<tr><td style="width:100px;text-align:center"><%= Html.LabelFor(m=>m.OrderNo) %></td><td style="text-align:left"><%= Model.OrderNo%></td></tr>
				<tr><td style="width:100px;text-align:center"><%= Html.LabelFor(m=>m.ProductName) %></td><td style="text-align:left"><%= Model.ProductName %></td></tr>
				<tr><td style="width:100px;text-align:center"><%= Html.LabelFor(m=>m.Amount) %></td><td style="text-align:left"><%= Model.Amount%></td></tr>
				<tr><td style="width:100px;text-align:center"><%= Html.LabelFor(m=>m.OrderMoney) %></td><td style="text-align:left"><%= Model.OrderMoney%></td></tr>
				<tr><td style="width:100px;text-align:center"><%= Html.LabelFor(m => m.IsPay)%></td><td style="text-align:left"><%= Model.IsPay ? "<span class='red'>"+Language.Context.Order.IsPayTrue+"</sapan>" : Language.Context.Order.IsPayFalse%></td></tr>
				<tr><td style="width:100px;text-align:center"><%= Html.LabelFor(m=>m.Linkman) %></td><td style="text-align:left"><%= Model.Linkman %></td></tr>
				<tr><td style="width:100px;text-align:center"><%= Html.LabelFor(m=>m.Mobile) %></td><td style="text-align:left"><%= Model.Mobile %></td></tr>
				<tr><td style="width:100px;text-align:center"><%= Html.LabelFor(m=>m.Telephone) %></td><td style="text-align:left"><%= Model.Telephone %></td></tr>
				<tr><td style="width:100px;text-align:center"><%= Html.LabelFor(m=>m.Address) %></td><td style="text-align:left"><%= Model.Address %></td></tr>
				<tr><td style="width:100px;text-align:center"><%= Html.LabelFor(m=>m.Remark) %></td><td style="text-align:left"><%= Model.Remark %></td></tr>
				<tr><td style="width:100px;text-align:center"><%= Html.LabelFor(m=>m.AddTime) %></td><td style="text-align:left"><%= Model.AddTime %></td></tr>
				<tr><td style="width:100px;text-align:center"><%= Html.LabelFor(m => m.OrderType)%></td><td style="text-align:left"><%= Model.OrderType %></td></tr>
				<tr><td style="width:100px;text-align:center"><%= Html.LabelFor(m=>m.ReplyTime) %></td><td style="text-align:left"><%= Model.ReplyTime.Year<1900 ? "<span class='red'>"+Language.Context.Order.WaitProcess+"</span>":string.Format("{0:g}",Model.ReplyTime)%></td></tr>
				<tr><td style="width:100px;text-align:center"><%= Html.LabelFor(m=>m.ReplyContent) %></td><td style="text-align:left"><%= Model.ReplyContent %></td></tr>
			</table>
		</div>
		<script src="../../Scripts/print.js" type="text/javascript"></script>
		<div style="text-align:center"><input type="button" class="btn w50" value="<%= Language.Context.Global.InputValuePrint %>" onclick="doPrint($('.WebContent').html())" /></div>
	</div>
</asp:Content>

