You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ha...@apache.org on 2013/06/21 05:19:32 UTC
svn commit: r1495277 -
/ofbiz/trunk/applications/accounting/widget/InvoiceForms.xml
Author: hansbak
Date: Fri Jun 21 03:19:32 2013
New Revision: 1495277
URL: http://svn.apache.org/r1495277
Log:
another bsh scriplet causing a logerror, change to groovy solved it
Modified:
ofbiz/trunk/applications/accounting/widget/InvoiceForms.xml
Modified: ofbiz/trunk/applications/accounting/widget/InvoiceForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/InvoiceForms.xml?rev=1495277&r1=1495276&r2=1495277&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/widget/InvoiceForms.xml (original)
+++ ofbiz/trunk/applications/accounting/widget/InvoiceForms.xml Fri Jun 21 03:19:32 2013
@@ -141,7 +141,7 @@ under the License.
<form name="invoiceItems" list-name="invoiceItems" target="" title="" type="list" separate-columns="true" paginate-target="invoiceOverview" odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<row-actions>
- <set field="total" value="${bsh:
+ <set field="total" value="${groovy:
import java.math.BigDecimal;
if(quantity==null) quantity = BigDecimal.ONE;
if(amount==null) amount = BigDecimal.ZERO;