Author: sichen
Date: Wed Mar 21 12:31:47 2007
New Revision: 520980
URL:
http://svn.apache.org/viewvc?view=rev&rev=520980Log:
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);
}