Author: doogie
Date: Wed Dec 16 18:54:51 2009
New Revision: 891378
URL:
http://svn.apache.org/viewvc?rev=891378&view=revLog:
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("locale")).format(org.ofbiz.accounting.invoice.InvoiceWorker.getInvoiceNotApplied(delegator,invoiceId)));}"/>