From 2550ad614b8a0f15ca4eb8f1df1da100ea8ed2e9 Mon Sep 17 00:00:00 2001 From: Jacques Le Roux Date: Sat, 17 Dec 2011 23:02:01 +0000 Subject: [PATCH] A patch from Sergei Biletnikov "Shipping group Instructions and gift messages can not be changed/set if there are several shipping groups" https://issues.apache.org/jira/browse/OFBIZ-4609 Just add more than 1 shipping group for an order, and you notice that it is not possible to set or edit the shipping instructions and gift messages, because the code ignores multiple shipping groups and the html have the same DOM id elements, so only first shipping group can be edited. Of course, it is just a development issue. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1220298 13f79535-47bb-0310-9956-ffa450edef68 --- .../ordermgr/order/ordershippinginfo.ftl | 64 +++++++++---------- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/applications/order/webapp/ordermgr/order/ordershippinginfo.ftl b/applications/order/webapp/ordermgr/order/ordershippinginfo.ftl index a0971586c4..7e4b999c2c 100644 --- a/applications/order/webapp/ordermgr/order/ordershippinginfo.ftl +++ b/applications/order/webapp/ordermgr/order/ordershippinginfo.ftl @@ -18,33 +18,33 @@ under the License. --> @@ -491,7 +491,7 @@ under the License.   <#if (!orderHeader.statusId.equals("ORDER_COMPLETED")) && !(orderHeader.statusId.equals("ORDER_REJECTED")) && !(orderHeader.statusId.equals("ORDER_CANCELLED"))> -
+ <#if shipGroup.shippingInstructions?has_content> @@ -501,15 +501,15 @@ under the License. - ${uiLabelMap.CommonEdit} + ${uiLabelMap.CommonEdit} <#else> - ${uiLabelMap.CommonAdd} + ${uiLabelMap.CommonAdd} - - + +
<#else> <#if shipGroup.shippingInstructions?has_content> @@ -529,17 +529,17 @@ under the License.   -
+ <#if shipGroup.giftMessage?has_content> - ${uiLabelMap.CommonEdit} + ${uiLabelMap.CommonEdit} <#else> - ${uiLabelMap.CommonAdd} + ${uiLabelMap.CommonAdd} - - + +