Author: sichen Date: Wed Nov 15 10:40:01 2006 New Revision: 475351 URL: http://svn.apache.org/viewvc?view=rev&rev=475351 Log: made refund the default option when creating return items from order. If anybody doesn't like this let me know...
Modified: incubator/ofbiz/trunk/applications/order/webapp/ordermgr/return/returnItemInc.ftl Modified: incubator/ofbiz/trunk/applications/order/webapp/ordermgr/return/returnItemInc.ftl URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/order/webapp/ordermgr/return/returnItemInc.ftl?view=diff&rev=475351&r1=475350&r2=475351 ============================================================================== --- incubator/ofbiz/trunk/applications/order/webapp/ordermgr/return/returnItemInc.ftl (original) +++ incubator/ofbiz/trunk/applications/order/webapp/ordermgr/return/returnItemInc.ftl Wed Nov 15 10:40:01 2006 @@ -103,7 +103,7 @@ <td> <select name="returnTypeId_o_${rowCount}" class="selectBox"> <#list returnTypes as type> - <option value="${type.returnTypeId}">${type.get("description",locale)?default(type.returnTypeId)}</option> + <option value="${type.returnTypeId}" <#if type.returnTypeId=="RTN_REFUND">selected</#if>>${type.get("description",locale)?default(type.returnTypeId)}</option> </#list> </select> </td> @@ -159,7 +159,7 @@ <td> <select name="returnTypeId_o_${rowCount}" class="selectBox"> <#list returnTypes as type> - <option value="${type.returnTypeId}">${type.get("description",locale)?default(type.returnTypeId)}</option> + <option value="${type.returnTypeId}" <#if type.returnTypeId == "RTN_REFUND">selected</#if>>${type.get("description",locale)?default(type.returnTypeId)}</option> </#list> </select> </td>