Author: mor
Date: Mon Jan 31 07:36:14 2011 New Revision: 1065501 URL: http://svn.apache.org/viewvc?rev=1065501&view=rev Log: Merged from trunk r1065498. Log: Formatting fixes for last commit. Also include some additional formatting fixes that I found in the same method createExchangeOrderAssoc. Modified: ofbiz/branches/release10.04/applications/order/script/org/ofbiz/order/order/OrderReturnServices.xml Modified: ofbiz/branches/release10.04/applications/order/script/org/ofbiz/order/order/OrderReturnServices.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/release10.04/applications/order/script/org/ofbiz/order/order/OrderReturnServices.xml?rev=1065501&r1=1065500&r2=1065501&view=diff ============================================================================== --- ofbiz/branches/release10.04/applications/order/script/org/ofbiz/order/order/OrderReturnServices.xml (original) +++ ofbiz/branches/release10.04/applications/order/script/org/ofbiz/order/order/OrderReturnServices.xml Mon Jan 31 07:36:14 2011 @@ -971,13 +971,13 @@ under the License. <set field="orderItemAssocMap.toOrderItemSeqId" from-field="orderItem.orderItemSeqId"/> </then> <else-if> - <condition> - <if-compare-field field="returnItemCounter" operator="greater" to-field="orderItemSize" type="Long"/> - </condition> - <then> - <set field="orderItemAssocMap.toOrderId" from-field="parameters.orderId"/> - <set field="orderItemAssocMap.toOrderItemSeqId" from-field="orderItem.orderItemSeqId"/> - </then> + <condition> + <if-compare-field field="returnItemCounter" operator="greater" to-field="orderItemSize" type="Long"/> + </condition> + <then> + <set field="orderItemAssocMap.toOrderId" from-field="parameters.orderId"/> + <set field="orderItemAssocMap.toOrderItemSeqId" from-field="orderItem.orderItemSeqId"/> + </then> </else-if> </if> <set field="orderItemCounter" value="${orderItemCounter+1}" type="Long"/> @@ -989,8 +989,8 @@ under the License. <set-pk-fields map="orderItemAssocMap" value-field="orderItemAssoc"/> <find-by-primary-key entity-name="OrderItemAssoc" map="orderItemAssoc" value-field="orderItemAssocValue"/> <if-empty field="orderItemAssocValue"> - <create-value value-field="orderItemAssoc"/> - <clear-field field="orderItemAssoc"/> + <create-value value-field="orderItemAssoc"/> + <clear-field field="orderItemAssoc"/> </if-empty> <set field="returnItemCounter" value="${returnItemCounter+1}" type="Long"/> </iterate> @@ -1011,13 +1011,13 @@ under the License. <set field="orderItemAssocMap.orderItemSeqId" from-field="returnItem.orderItemSeqId"/> </then> <else-if> - <condition> - <if-compare-field field="orderItemCounter" operator="greater" to-field="returnItemSize" type="Long"/> - </condition> - <then> - <set field="orderItemAssocMap.orderId" from-field="parameters.originOrderId"/> - <set field="orderItemAssocMap.orderItemSeqId" from-field="returnItem.orderItemSeqId"/> - </then> + <condition> + <if-compare-field field="orderItemCounter" operator="greater" to-field="returnItemSize" type="Long"/> + </condition> + <then> + <set field="orderItemAssocMap.orderId" from-field="parameters.originOrderId"/> + <set field="orderItemAssocMap.orderItemSeqId" from-field="returnItem.orderItemSeqId"/> + </then> </else-if> </if> <set field="returnItemCounter" value="${returnItemCounter+1}" type="Long"/> @@ -1029,8 +1029,8 @@ under the License. <set-pk-fields map="orderItemAssocMap" value-field="orderItemAssoc"/> <find-by-primary-key entity-name="OrderItemAssoc" map="orderItemAssoc" value-field="orderItemAssocValue"/> <if-empty field="orderItemAssocValue"> - <create-value value-field="orderItemAssoc"/> - <clear-field field="orderItemAssocMap"/> + <create-value value-field="orderItemAssoc"/> + <clear-field field="orderItemAssocMap"/> </if-empty> <set field="orderItemCounter" value="${orderItemCounter+1}" type="Long"/> </iterate> |
Free forum by Nabble | Edit this page |