Author: mor
Date: Sat Nov 28 14:17:50 2009
New Revision: 885094
URL: http://svn.apache.org/viewvc?rev=885094&view=rev
Log:
Its better to show description instead of ID.
Modified:
ofbiz/trunk/applications/order/webapp/ordermgr/order/orderReportContactMechs.fo.ftl
Modified:
ofbiz/trunk/applications/order/webapp/ordermgr/order/orderReportContactMechs.fo.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/order/orderReportContactMechs.fo.ftl?rev=885094&r1=885093&r2=885094&view=diff
==============================================================================
---
ofbiz/trunk/applications/order/webapp/ordermgr/order/orderReportContactMechs.fo.ftl
(original)
+++
ofbiz/trunk/applications/order/webapp/ordermgr/order/orderReportContactMechs.fo.ftl
Sat Nov 28 14:17:50 2009
@@ -116,7 +116,9 @@
<#list shipGroups as shipGroup>
<#-- TODO: List all full details of each ship group here -->
<fo:block>
- ${shipGroup.shipmentMethodTypeId?if_exists}
+ <#if (shipGroup.shipmentMethodTypeId)?exists>
+
${(shipGroup.getRelatedOne("ShipmentMethodType").get("description",
locale))?default(shipGroup.shipmentMethodTypeId)}
+ </#if>
</fo:block>
</#list>
</#if>