?? myvieworder.jsp.svn-base
字號:
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<html>
<head>
<title>128kc</title>
<%@ include file="meta.jsp" %>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<script>home();</script>
<%@ include file="incSearchBar.jsp" %>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center">
<table width="778" border="0" align="center" cellpadding="0"
cellspacing="0">
<tr>
<td>
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td valign="top">
<div id="order">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<table width="100%" border="0" cellpadding="0" cellspacing="1">
<tr>
<td height="25"><b>訂單時間:</b>${order.orderDate} <b>訂單號:</b>128kc-${order.id}</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#12740A">
<table width="100%" border="0" cellpadding="0" cellspacing="1">
<tr bgcolor="#FFFFFF" align="center">
<th height="25" style="color:#477904">菜 名</th>
<th style="color:#477904">價 格</th>
<th style="color:#477904">份 數</th>
<th style="color:#477904">小 計</th>
</tr>
<c:forEach var="lineItem" items="${order.lineItems}">
<tr bgcolor="#FFFFFF">
<td height="30"> <img src="<c:url value="/images/icon_arrow_r.gif"/>" border="0"><a href="<c:url value="/viewDish.jspx"/>?dishId=${lineItem.dish.id}" target="_blank">${lineItem.dish.name}</a></td>
<td width="15%" class="price_normal" align="right"><fmt:formatNumber value="${lineItem.unitprice}" pattern="¥#,##0.00" /> </td>
<td align="center" width="15%">${lineItem.quantity}</td>
<td width="20%" class="price_normal" align="right"><fmt:formatNumber value="${lineItem.totalPrice}" pattern="¥#,##0.00" /> </td>
</tr>
<c:set var="totalPrice" value="${lineItem.totalPrice+totalPrice}" scope="page"/>
</c:forEach>
<tr bgcolor="#FFFFFF">
<td height="30" colspan="4" class="price_normal" align="right">總消費:<fmt:formatNumber value="${totalPrice}" pattern="¥#,##0.00" /> </td>
</tr>
</table></td>
</tr>
</table>
<table width="100%"><tr><td height="10"></td></table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<table width="100%" border="0" cellpadding="0" cellspacing="1">
<tr>
<td height="25"><b>送餐地址信息:</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#12740A">
<tr bgcolor="#FFFFFF">
<td width="18%" height="25" align="right" class="fieldname1"> 姓 名:</td>
<td width="82%"> ${order.newname}</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="18%" height="25" align="right" class="fieldname1"> 公司名稱:</td>
<td width="82%"> ${order.newcompany}</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="18%" height="25" align="right" class="fieldname1"> 送餐地址:</td>
<td width="82%"> ${order.newaddress}</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="18%" height="25" align="right" class="fieldname1"> E-mail地址:</td>
<td width="82%"> ${order.newemail}</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="18%" height="25" align="right"class="fieldname1"> 電 話:</td>
<td width="82%"> ${order.newtel}</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="18%" height="25" align="right" class="fieldname1"> 手 機:</td>
<td width="82%"> ${order.newhandset}</td>
</tr>
</table>
<table width="100%"><tr><td height="10"></td></table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<table width="100%" border="0" cellpadding="0" cellspacing="1">
<tr>
<td height="25"><b>會員信息:</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#12740A">
<tr bgcolor="#FFFFFF">
<td width="18%" height="25" align="right" class="fieldname1"> 姓 名:</td>
<td width="82%"> ${order.member.name}</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="18%" height="25" align="right" class="fieldname1"> 公司名稱:</td>
<td width="82%"> ${order.member.company}</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="18%" height="25" align="right" class="fieldname1"> 送餐地址:</td>
<td width="82%"> ${order.member.address}</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="18%" height="25" align="right" class="fieldname1"> E-mail地址:</td>
<td width="82%"> ${order.member.email}</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="18%" height="25" align="right"class="fieldname1"> 電 話:</td>
<td width="82%"> ${order.member.tel}</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="18%" height="25" align="right" class="fieldname1"> 手 機:</td>
<td width="82%"> ${order.member.handset}</td>
</tr>
</table>
</div>
<table width="100%"><tr><td height="10"></td></table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<table width="100%" border="0" cellpadding="0" cellspacing="1">
<tr>
<td height="25" align="right"><img src="images/print_bt.gif" width="44" height="20" onmouseover="this.src='images/print_bt_over.gif'" onmouseout="this.src='images/print_bt.gif'" class="image_button" onClick="window.print();"> <img src="images/goback_bt.gif" width="44" height="20" onmouseover="this.src='images/goback_bt_over.gif'" onmouseout="this.src='images/goback_bt.gif'" class="image_button" onClick="history.go(-1)"></td>
</tr>
</table>
</td>
</tr>
</table>
<table width="100%"><tr><td height="10"></td></table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<%@ include file="incCopyright.jsp" %>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -