Author: jacopoc
Date: Fri Feb 23 01:56:53 2007
New Revision: 510893
URL:
http://svn.apache.org/viewvc?view=rev&rev=510893Log:
Ooooopss... reverted my previous commit: sorry this was not really meant to be committed here. I definitely need some rest.
Modified:
ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/CheckOutEvents.java
Modified: ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/CheckOutEvents.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/CheckOutEvents.java?view=diff&rev=510893&r1=510892&r2=510893==============================================================================
--- ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/CheckOutEvents.java (original)
+++ ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/CheckOutEvents.java Fri Feb 23 01:56:53 2007
@@ -656,22 +656,6 @@
// ====================================================================================
if (mode != null && (mode.equals("ship") || mode.equals("options"))) {
- String internalNote = request.getParameter("internalNote");
- String publicNote = request.getParameter("note");
- String correspondingPoId = request.getParameter("corresponding_po_id");
- if (UtilValidate.isNotEmpty(internalNote)) {
- cart.getInternalOrderNotes().clear();
- cart.addInternalOrderNote(internalNote);
- }
- if (UtilValidate.isNotEmpty(publicNote)) {
- cart.getOrderNotes().clear();
- cart.addOrderNote(publicNote);
- }
- if (UtilValidate.isNotEmpty(correspondingPoId)) {
- cart.setPoNumber(correspondingPoId);
- } else {
- cart.setPoNumber(null);
- }
Map callResult = ServiceUtil.returnSuccess();
List errorMessages = new ArrayList();
Map errorMaps = new HashMap();