You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by si...@apache.org on 2007/03/21 20:31:48 UTC

svn commit: r520980 - /ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/orderview.bsh

Author: sichen
Date: Wed Mar 21 12:31:47 2007
New Revision: 520980

URL: http://svn.apache.org/viewvc?view=rev&rev=520980
Log:
Fix bug where in some cases the payment methods for the order party was missing, preventing new payment methods from being added to order.

Modified:
    ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/orderview.bsh

Modified: ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/orderview.bsh
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/orderview.bsh?view=diff&rev=520980&r1=520979&r2=520980
==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/orderview.bsh (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/orderview.bsh Wed Mar 21 12:31:47 2007
@@ -361,7 +361,7 @@
 }
 
 if (displayParty != null) { 
-    List paymentMethodValueMaps = PaymentWorker.getPartyPaymentMethodValueMaps(delegator, assignPartyId, false);
+    List paymentMethodValueMaps = PaymentWorker.getPartyPaymentMethodValueMaps(delegator, displayParty.getString("partyId"), false);
     context.put("paymentMethodValueMaps", paymentMethodValueMaps);
 }