[ofbiz-plugins] branch trunk updated: Fixed: User is unable to create return. (OFBIZ-10850) Thanks, Ashish and Ankush Upadhyay for your contribution.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ofbiz-plugins] branch trunk updated: Fixed: User is unable to create return. (OFBIZ-10850) Thanks, Ashish and Ankush Upadhyay for your contribution.

akashjain
This is an automated email from the ASF dual-hosted git repository.

akashjain pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 61ad771  Fixed: User is unable to create return. (OFBIZ-10850) Thanks, Ashish and Ankush Upadhyay for your contribution.
61ad771 is described below

commit 61ad77166b636ff818670e0b56c1c1e30ec71a31
Author: akash <[hidden email]>
AuthorDate: Sat Jan 25 18:31:23 2020 +0530

    Fixed: User is unable to create return.
    (OFBIZ-10850)
    Thanks, Ashish and Ankush Upadhyay for your contribution.
---
 ecommerce/template/order/RequestReturn.ftl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ecommerce/template/order/RequestReturn.ftl b/ecommerce/template/order/RequestReturn.ftl
index f1571d2..9d7b067 100644
--- a/ecommerce/template/order/RequestReturn.ftl
+++ b/ecommerce/template/order/RequestReturn.ftl
@@ -57,7 +57,7 @@ under the License.
             <#if returnableItems?has_content>
               <#assign rowCount = 0>
               <#list returnableItems.keySet() as orderItem>
-              <#if !orderItem.orderAdjustmentId?has_content>    <#-- filter orderAdjustments -->
+              <#if "OrderAdjustment" != orderItem.getEntityName()>    <#-- filter orderAdjustments -->
                 <input type="hidden" name="orderId_o_${rowCount}" value="${orderItem.orderId}"/>
                 <input type="hidden" name="orderItemSeqId_o_${rowCount}" value="${orderItem.orderItemSeqId}"/>
                 <input type="hidden" name="description_o_${rowCount}" value="${orderItem.itemDescription!}"/>