Author: jacopoc
Date: Thu Dec 27 03:25:41 2007
New Revision: 607040
URL:
http://svn.apache.org/viewvc?rev=607040&view=revLog:
Added information about the order type at the top of the order view screen.
Modified:
ofbiz/trunk/applications/order/webapp/ordermgr/order/orderinfo.ftl
Modified: ofbiz/trunk/applications/order/webapp/ordermgr/order/orderinfo.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/order/orderinfo.ftl?rev=607040&r1=607039&r2=607040&view=diff==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/order/orderinfo.ftl (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/order/orderinfo.ftl Thu Dec 27 03:25:41 2007
@@ -23,7 +23,8 @@
<#if orderHeader.externalId?has_content>
<#assign externalOrder = "(" + orderHeader.externalId + ")"/>
</#if>
- <li class="head3"> ${uiLabelMap.OrderOrder} #<a href="<@ofbizUrl>/orderview?orderId=${orderId}</@ofbizUrl>">${orderId}</a> ${externalOrder?if_exists} ${uiLabelMap.CommonInformation} [ <a href="<@ofbizUrl>order.pdf?orderId=${orderId}</@ofbizUrl>" target="_blank">PDF</a> ]</li>
+ <#assign orderType = orderHeader.getRelatedOne("OrderType")/>
+ <li class="head3"> ${orderType?if_exists.get("description", locale)?default(uiLabelMap.OrderOrder)} #<a href="<@ofbizUrl>/orderview?orderId=${orderId}</@ofbizUrl>">${orderId}</a> ${externalOrder?if_exists} [ <a href="<@ofbizUrl>order.pdf?orderId=${orderId}</@ofbizUrl>" target="_blank">PDF</a> ]</li>
<#if currentStatus.statusId == "ORDER_CREATED" || currentStatus.statusId == "ORDER_PROCESSING">
<li><a href="<@ofbizUrl>changeOrderStatus/orderview?statusId=ORDER_APPROVED&setItemStatus=Y&${paramString}</@ofbizUrl>">${uiLabelMap.OrderApproveOrder}</a></li>