svn commit: r891378 - /ofbiz/trunk/applications/accounting/widget/BillingAccountForms.xml

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

svn commit: r891378 - /ofbiz/trunk/applications/accounting/widget/BillingAccountForms.xml

doogie-3
Author: doogie
Date: Wed Dec 16 18:54:51 2009
New Revision: 891378

URL: http://svn.apache.org/viewvc?rev=891378&view=rev
Log:
Applied patch from OFBIZ-3358, form ListBillingAccountInvoices had an
error when calculating whether paidInvoice was true; namely, BigDecimal
wasn't imported or fully specified, so bsh complained that it couldn't
find the class or variable.

Modified:
    ofbiz/trunk/applications/accounting/widget/BillingAccountForms.xml

Modified: ofbiz/trunk/applications/accounting/widget/BillingAccountForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/BillingAccountForms.xml?rev=891378&r1=891377&r2=891378&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/widget/BillingAccountForms.xml (original)
+++ ofbiz/trunk/applications/accounting/widget/BillingAccountForms.xml Wed Dec 16 18:54:51 2009
@@ -84,7 +84,7 @@
                 <field-map field-name="compareDate" from-field="invoiceDate"/>
                 <field-map field-name="lastNameFirst" value="Y"/>
             </service>
-            <set field="paidInvoice" value="${bsh: org.ofbiz.accounting.invoice.InvoiceWorker.getInvoiceNotApplied(delegator,invoiceId).compareTo(BigDecimal.ZERO)==0}" type="Boolean"/>
+            <set field="paidInvoice" value="${bsh: org.ofbiz.accounting.invoice.InvoiceWorker.getInvoiceNotApplied(delegator,invoiceId).compareTo(java.math.BigDecimal.ZERO)==0}" type="Boolean"/>
             <set field="amountToApply" value="${bsh:
                 import java.text.NumberFormat;
                 return(NumberFormat.getNumberInstance(context.get(&quot;locale&quot;)).format(org.ofbiz.accounting.invoice.InvoiceWorker.getInvoiceNotApplied(delegator,invoiceId)));}"/>