svn commit: r569385 - /ofbiz/trunk/applications/order/webapp/ordermgr/return/returnItemInc.ftl

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

svn commit: r569385 - /ofbiz/trunk/applications/order/webapp/ordermgr/return/returnItemInc.ftl

jonesde
Author: jonesde
Date: Fri Aug 24 06:46:21 2007
New Revision: 569385

URL: http://svn.apache.org/viewvc?rev=569385&view=rev
Log:
Small fix for certain funny orders with minimal item information

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

Modified: ofbiz/trunk/applications/order/webapp/ordermgr/return/returnItemInc.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/return/returnItemInc.ftl?rev=569385&r1=569384&r2=569385&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/return/returnItemInc.ftl (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/return/returnItemInc.ftl Fri Aug 24 06:46:21 2007
@@ -92,7 +92,7 @@
                     </tr>
                 <#else>
                     <#-- this is an order item -->
-                    <#assign returnItemType = returnItemTypeMap.get(returnableItems.get(orderItem).get("itemTypeKey"))/>
+                    <#assign returnItemType = (returnItemTypeMap.get(returnableItems.get(orderItem).get("itemTypeKey")))?if_exists/>
                     <input type="hidden" name="returnItemTypeId_o_${rowCount}" value="${returnItemType}"/>
                     <input type="hidden" name="orderId_o_${rowCount}" value="${orderItem.orderId}"/>
                     <input type="hidden" name="orderItemSeqId_o_${rowCount}" value="${orderItem.orderItemSeqId}"/>