svn commit: r663508 - /ofbiz/trunk/applications/order/webapp/ordermgr/return/returnReportBody.fo.ftl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r663508 - /ofbiz/trunk/applications/order/webapp/ordermgr/return/returnReportBody.fo.ftl

jacopoc
Author: jacopoc
Date: Thu Jun  5 02:21:17 2008
New Revision: 663508

URL: http://svn.apache.org/viewvc?rev=663508&view=rev
Log:
Fix for NPE.

Modified:
    ofbiz/trunk/applications/order/webapp/ordermgr/return/returnReportBody.fo.ftl

Modified: ofbiz/trunk/applications/order/webapp/ordermgr/return/returnReportBody.fo.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/return/returnReportBody.fo.ftl?rev=663508&r1=663507&r2=663508&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/return/returnReportBody.fo.ftl (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/return/returnReportBody.fo.ftl Thu Jun  5 02:21:17 2008
@@ -67,7 +67,7 @@
                     <#if returnItem.orderItemSeqId?exists>${returnItem.getRelatedOne("OrderItem").getString("productId")}</#if>
                   </fo:block>
                 </fo:table-cell>
-                <fo:table-cell padding="1mm"><fo:block wrap-option="wrap">${returnItem.description}</fo:block></fo:table-cell>
+                <fo:table-cell padding="1mm"><fo:block wrap-option="wrap">${returnItem.description?if_exists}</fo:block></fo:table-cell>
                 <fo:table-cell padding="1mm" text-align="right"><fo:block>${returnItem.returnQuantity}</fo:block></fo:table-cell>
                 <fo:table-cell padding="1mm" text-align="right"><fo:block><@ofbizCurrency amount=returnItem.returnPrice isoCode=returnHeader.currencyUomId/></fo:block></fo:table-cell>
                 <fo:table-cell padding="1mm" text-align="right"><fo:block><@ofbizCurrency amount=(returnItem.returnPrice * returnItem.returnQuantity) isoCode=returnHeader.currencyUomId/></fo:block></fo:table-cell>