Author: ashish
Date: Thu May 21 05:46:14 2009
New Revision: 776957
URL:
http://svn.apache.org/viewvc?rev=776957&view=revLog:
Applied fix from trunk for revision: 776956
For more details please refer Jira issue OFBIZ-2500 (paymentMethodId drop-down on ReturnHeader screen is broken)
Contribution from MP (Not "Madhya Pradesh" ....... Its Mridul Pathak :-) ).
Thanks Mridul for your contribution.
Modified:
ofbiz/branches/release09.04/applications/order/webapp/ordermgr/return/ReturnForms.xml
Modified: ofbiz/branches/release09.04/applications/order/webapp/ordermgr/return/ReturnForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release09.04/applications/order/webapp/ordermgr/return/ReturnForms.xml?rev=776957&r1=776956&r2=776957&view=diff==============================================================================
--- ofbiz/branches/release09.04/applications/order/webapp/ordermgr/return/ReturnForms.xml (original)
+++ ofbiz/branches/release09.04/applications/order/webapp/ordermgr/return/ReturnForms.xml Thu May 21 05:46:14 2009
@@ -90,7 +90,7 @@
</field>
<field name="paymentMethodId" use-when="creditCardList!=null&&creditCardList.size()>0">
<drop-down allow-empty="true">
- <list-options key-name="paymentMethodId" list-name="creditCardList" list-entry-name="creditCardPm" description="${bsh:org.ofbiz.party.contact.ContactHelper.formatCreditCard(creditCardPm.getRelatedOne("CreditCard"))}"/>
+ <list-options list-name="creditCardList" list-entry-name="creditCardPm" key-name="creditCardPm.paymentMethodId" description="${bsh:org.ofbiz.party.contact.ContactHelper.formatCreditCard(creditCardPm.getRelatedOne("CreditCard"))}"/>
</drop-down>
</field>
<field name="newCreditCard" widget-style="buttontext" use-when="returnHeader!=null&&returnHeader.getString("fromPartyId")!=null">