Author: sichen
Date: Tue Jan 2 20:49:42 2007
New Revision: 492040
URL:
http://svn.apache.org/viewvc?view=rev&rev=492040Log:
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">