Author: jleroux
Date: Sat Aug 4 04:16:35 2007
New Revision: 562694
URL:
http://svn.apache.org/viewvc?view=rev&rev=562694Log:
Applied fix from trunk for revision: 562693
Modified:
ofbiz/branches/release4.0/specialpurpose/pos/src/org/ofbiz/pos/event/PaymentEvents.java
Modified: ofbiz/branches/release4.0/specialpurpose/pos/src/org/ofbiz/pos/event/PaymentEvents.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release4.0/specialpurpose/pos/src/org/ofbiz/pos/event/PaymentEvents.java?view=diff&rev=562694&r1=562693&r2=562694==============================================================================
--- ofbiz/branches/release4.0/specialpurpose/pos/src/org/ofbiz/pos/event/PaymentEvents.java (original)
+++ ofbiz/branches/release4.0/specialpurpose/pos/src/org/ofbiz/pos/event/PaymentEvents.java Sat Aug 4 04:16:35 2007
@@ -6,9 +6,9 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
*
http://www.apache.org/licenses/LICENSE-2.0- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
@@ -43,7 +43,7 @@
Debug.log("Processing [Cash] Amount : " + amount, module);
// add the payment
- trans.addPayment("CASH", amount);
+ trans.addPayment("CASH", amount, "N/A", null);
} catch (GeneralException e) {
// errors handled
}
@@ -184,7 +184,7 @@
break;
}
}
- }
+ }
}
private static void processNoPayment(PosScreen pos, String paymentMethodTypeId) {