Author: jleroux
Date: Sat Aug 4 04:15:14 2007
New Revision: 562693
URL:
http://svn.apache.org/viewvc?view=rev&rev=562693Log:
A patch from Bilgin Ibryam "POS order status error" (
https://issues.apache.org/jira/browse/OFBIZ-1176)
Modified:
ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/event/PaymentEvents.java
Modified: ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/event/PaymentEvents.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/event/PaymentEvents.java?view=diff&rev=562693&r1=562692&r2=562693==============================================================================
--- ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/event/PaymentEvents.java (original)
+++ ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/event/PaymentEvents.java Sat Aug 4 04:15:14 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) {