You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2006/10/14 21:35:29 UTC
svn commit: r463998 -
/incubator/ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/orderview.bsh
Author: jleroux
Date: Sat Oct 14 12:35:28 2006
New Revision: 463998
URL: http://svn.apache.org/viewvc?view=rev&rev=463998
Log:
Corrects a bug which appeared while searching for a wrong order ID (no check on partyId was done).
This does not resolves all the problem : the screen after is not complete but most better than a bug.
Modified:
incubator/ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/orderview.bsh
Modified: incubator/ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/orderview.bsh
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/orderview.bsh?view=diff&rev=463998&r1=463997&r2=463998
==============================================================================
--- incubator/ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/orderview.bsh (original)
+++ incubator/ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/orderview.bsh Sat Oct 14 12:35:28 2006
@@ -358,5 +358,7 @@
context.put("returnableItems", returnableItems);
}
-List paymentMethodValueMaps = PaymentWorker.getPartyPaymentMethodValueMaps(delegator, partyId, false);
-context.put("paymentMethodValueMaps", paymentMethodValueMaps);
+if (displayParty != null) {
+ List paymentMethodValueMaps = PaymentWorker.getPartyPaymentMethodValueMaps(delegator, assignPartyId, false);
+ context.put("paymentMethodValueMaps", paymentMethodValueMaps);
+}
\ No newline at end of file