Author: jleroux
Date: Sat Jan 31 14:06:51 2009
New Revision: 739559
URL:
http://svn.apache.org/viewvc?rev=739559&view=revLog:
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)) {