Author: hansbak
Date: Mon Feb 2 02:26:11 2009
New Revision: 739905
URL:
http://svn.apache.org/viewvc?rev=739905&view=revLog:
issue OFBIZ-2160 taxtotal added twice
Modified:
ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceWorker.java
Modified: ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceWorker.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceWorker.java?rev=739905&r1=739904&r2=739905&view=diff==============================================================================
--- ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceWorker.java (original)
+++ ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceWorker.java Mon Feb 2 02:26:11 2009
@@ -182,7 +182,7 @@
if (UtilValidate.isNotEmpty(invoiceTotal) && !actualCurrency) {
invoiceTotal = invoiceTotal.multiply(getInvoiceCurrencyConversionRate(invoice)).setScale(decimals,rounding);
}
- return invoiceTotal.add(invoiceTaxTotal).setScale(decimals, rounding);
+ return invoiceTotal;
}
/**