svn commit: r739559 - /ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceServices.java

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

svn commit: r739559 - /ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceServices.java

jleroux@apache.org
Author: jleroux
Date: Sat Jan 31 14:06:51 2009
New Revision: 739559

URL: http://svn.apache.org/viewvc?rev=739559&view=rev
Log:
Fix a bug creating (paying) a sale in POS

Modified:
    ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceServices.java

Modified: ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceServices.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceServices.java?rev=739559&r1=739558&r2=739559&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceServices.java (original)
+++ ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceServices.java Sat Jan 31 14:06:51 2009
@@ -784,7 +784,7 @@
                         appl.put("paymentId", payment.get("paymentId"));
                         appl.put("invoiceId", invoiceId);
                         appl.put("billingAccountId", billingAccountId);
-                        appl.put("amountApplied", new Double(notApplied.doubleValue()));
+                        appl.put("amountApplied", notApplied);
                         appl.put("userLogin", userLogin);
                         Map createPayApplResult = dispatcher.runSync("createPaymentApplication", appl);
                         if (ServiceUtil.isError(createPayApplResult)) {