Author: ashish
Date: Thu May 21 05:40:12 2009
New Revision: 776956
URL:
http://svn.apache.org/viewvc?rev=776956&view=revLog:
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/trunk/applications/order/webapp/ordermgr/return/ReturnForms.xml
Modified: ofbiz/trunk/applications/order/webapp/ordermgr/return/ReturnForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/return/ReturnForms.xml?rev=776956&r1=776955&r2=776956&view=diff==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/return/ReturnForms.xml (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/return/ReturnForms.xml Thu May 21 05:40:12 2009
@@ -89,7 +89,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">