ofbiz-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hans...@apache.org
Subject svn commit: r739905 - /ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceWorker.java
Date Mon, 02 Feb 2009 02:26:12 GMT
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;
     }
 
     /**



Mime
View raw message