📄 orderheader.ftl
字号:
<#--
* Copyright (c) 2001, 2002 The Open For Business Project - www.ofbiz.org
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
* OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
* THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
*@author Andy Zeneski (jaz@ofbiz.org)
*@version $Revision: 1.1 $
*@since 2.1
-->
<table border=0 width='100%' cellspacing='0' cellpadding='0' class='boxoutside'>
<tr>
<td width='100%'>
<table width='100%' border='0' cellspacing='0' cellpadding='0' class='boxtop'>
<tr>
<td valign="middle" align="left">
<div class="boxhead"> Order Confirmation<#if orderHeader?exists> #<a href="<@ofbizUrl>/orderview?order_id=${orderHeader.orderId}</@ofbizUrl>" class="lightbuttontext">${orderHeader.orderId}</a></#if></div>
</td>
<#if !orderHeader?exists>
<td align="right">
<div class="tabletext">
<a href="<@ofbizUrl>/orderentry</@ofbizUrl>" class="submenutext">Items</a><#if cart?has_content && cart.getOrderType() != "PURCHASE_ORDER"><a href="<@ofbizUrl>/setShipping</@ofbizUrl>" class="submenutext">Shipping</a><a href="<@ofbizUrl>/setOptions</@ofbizUrl>" class="submenutext">Options</a><a href="<@ofbizUrl>/setBilling</@ofbizUrl>" class="submenutext">Payment</a></#if><a href="<@ofbizUrl>/processorder</@ofbizUrl>" class="submenutextright">Create Order</a>
</div>
</td>
</#if>
</tr>
</table>
</td>
</tr>
<#-- shipping address -->
<tr>
<td width='100%'>
<table width='100%' border='0' cellspacing='0' cellpadding='0' class='boxbottom'>
<tr>
<td>
<table width="100%" border="0" cellpadding="1">
<#if shippingAddress?has_content>
<tr>
<td align="right" valign="top" width="15%">
<div class="tabletext"> <b>Destination</b></div>
</td>
<td width="5"> </td>
<td align="left" valign="top" width="80%">
<div class="tabletext">
<#if shippingAddress.toName?has_content><b>To:</b> ${shippingAddress.toName}<br></#if>
<#if shippingAddress.attnName?has_content><b>Attn:</b> ${shippingAddress.attnName}<br></#if>
${shippingAddress.address1}<br>
<#if shippingAddress.address2?has_content>${shippingAddress.address2}<br></#if>
${shippingAddress.city}<#if shippingAddress.stateProvinceGeoId?has_content>, ${shippingAddress.stateProvinceGeoId} </#if>
${shippingAddress.postalCode}<br>
${shippingAddress.countryGeoId}
</div>
</td>
</tr>
<tr><td colspan="7"><hr class='sepbar'></td></tr>
</#if>
<tr>
<td align="right" valign="top" width="15%">
<div class="tabletext"> <b>Method</b></div>
</td>
<td width="5"> </td>
<td align="left" valign="top" width="80%">
<div class="tabletext">
<#if carrierPartyId?exists && carrierPartyId != "_NA_">${carrierPartyId?if_exists}</#if>
${shipMethDescription?if_exists}
<#if shippingAccount?exists><br>Use Account: ${shippingAccount}</#if>
</div>
</td>
</tr>
<#-- tracking number -->
<#if trackingNumber?has_content>
<tr><td colspan="7"><hr class='sepbar'></td></tr>
<tr>
<td align="right" valign="top" width="15%">
<div class="tabletext"> <b>Tracking Number</b></div>
</td>
<td width="5"> </td>
<td align="left" valign="top" width="80%">
<#-- TODO: add links to UPS/FEDEX/etc based on carrier partyId -->
<div class="tabletext">${trackingNumber}</div>
</td>
</tr>
</#if>
<tr><td colspan="7"><hr class='sepbar'></td></tr>
<#-- splitting preference -->
<tr>
<td align="right" valign="top" width="15%">
<div class="tabletext"> <b>Splitting Preference</b></div>
</td>
<td width="5"> </td>
<td align="left" valign="top" width="80%">
<div class="tabletext">
<#if !maySplit?default(false)>Please wait until the entire order is ready before shipping.</#if>
<#if maySplit?default(false)>Please ship items I ordered as they become available (may incur additional shipping charges).</#if>
</div>
</td>
</tr>
<#-- shipping instructions -->
<#if shippingInstructions?has_content>
<tr><td colspan="7"><hr class='sepbar'></td></tr>
<tr>
<td align="right" valign="top" width="15%">
<div class="tabletext"> <b>Instructions</b></div>
</td>
<td width="5"> </td>
<td align="left" valign="top" width="80%">
<div class="tabletext">${shippingInstructions}</div>
</td>
</tr>
</#if>
<tr><td colspan="7"><hr class='sepbar'></td></tr>
<#-- gift settings -->
<tr>
<td align="right" valign="top" width="15%">
<div class="tabletext"> <b>Gift?</b></div>
</td>
<td width="5"> </td>
<td align="left" valign="top" width="80%">
<div class="tabletext">
<#if !isGift?default(false)>This order is not a gift.</#if>
<#if isGift?default(false)>This order is a gift.</#if>
</div>
</td>
</tr>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -