svn commit: r739905 - /ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceWorker.java

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

svn commit: r739905 - /ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceWorker.java

hansbak-2
Author: hansbak
Date: Mon Feb  2 02:26:11 2009
New Revision: 739905

URL: http://svn.apache.org/viewvc?rev=739905&view=rev
Log:
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;
     }
 
     /**