You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by si...@apache.org on 2007/01/03 05:49:43 UTC

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

Author: sichen
Date: Tue Jan  2 20:49:42 2007
New Revision: 492040

URL: http://svn.apache.org/viewvc?view=rev&rev=492040
Log:
fix bug where a null adj.amount could crash the return items screen

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?view=diff&rev=492040&r1=492039&r2=492040
==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/return/returnItemInc.ftl (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/return/returnItemInc.ftl Tue Jan  2 20:49:42 2007
@@ -154,7 +154,7 @@
                     </div>
                   </td>                                     
                   <td>
-                    <input type="text" class="inputBox" size="8" name="amount_o_${rowCount}" value="${adj.amount?string("##0.00")}"/>
+                    <input type="text" class="inputBox" size="8" name="amount_o_${rowCount}" <#if adj.amount?has_content>value="${adj.amount?string("##0.00")}"</#if>/>
                   </td>
                   <td>
                     <select name="returnTypeId_o_${rowCount}" class="selectBox">