From f7195ddfd3a6f2db07a5c3f861dfaee26fcae3b0 Mon Sep 17 00:00:00 2001 From: Jacques Le Roux Date: Sun, 18 Sep 2016 08:56:07 +0000 Subject: [PATCH] Fixes: Bursted Layout in screen "orderstatus" of ecommerce (OFBIZ-8265) Reverts r1761305, after testing more I found you can no longer submit an order. I have an idea of the problem but I prefer to revert all for now git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761308 13f79535-47bb-0310-9956-ffa450edef68 --- specialpurpose/ecommerce/template/order/OrderHeader.ftl | 9 +++++++-- specialpurpose/ecommerce/template/order/OrderItems.ftl | 6 +----- specialpurpose/ecommerce/template/order/OrderStatus.ftl | 4 ++++ 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/specialpurpose/ecommerce/template/order/OrderHeader.ftl b/specialpurpose/ecommerce/template/order/OrderHeader.ftl index b9b23ec40b..de1bbb083d 100644 --- a/specialpurpose/ecommerce/template/order/OrderHeader.ftl +++ b/specialpurpose/ecommerce/template/order/OrderHeader.ftl @@ -24,6 +24,9 @@ under the License. <#assign externalOrder = "(" + orderHeader.externalId + ")"/> +
+<#-- left side --> +

<#if maySelectItems?default("N") == "Y" && returnLink?default("N") == "Y" && (orderHeader.statusId)! == "ORDER_COMPLETED" && roleTypeId! == "PLACING_CUSTOMER"> @@ -234,9 +237,9 @@ under the License.

- +
<#-- right side --> -
+
<#if orderItemShipGroups?has_content>

${uiLabelMap.OrderShippingInformation}

<#-- shipping address --> @@ -371,3 +374,5 @@ under the License.
+
+
diff --git a/specialpurpose/ecommerce/template/order/OrderItems.ftl b/specialpurpose/ecommerce/template/order/OrderItems.ftl index 62c50a47cf..b0bc8769e4 100644 --- a/specialpurpose/ecommerce/template/order/OrderItems.ftl +++ b/specialpurpose/ecommerce/template/order/OrderItems.ftl @@ -21,12 +21,8 @@ under the License. <#-- the "urlPrefix" value will be prepended to URLs by the ofbizUrl transform if/when there is no "request" object in the context --> <#if baseEcommerceSecureUrl??><#assign urlPrefix = baseEcommerceSecureUrl/>
-
- -

<#assign numColumns = 8> - ${uiLabelMap.OrderOrderItems} <#if maySelectItems?default("N") == "Y" && roleTypeId! == "PLACING_CUSTOMER"> <#assign numColumns = 11> createShoppingListFromOrder?orderId=${orderHeader.orderId}&frequency=6&intervalNumber=1&shoppingListTypeId=SLT_AUTO_REODR" class="submenutextright">${uiLabelMap.OrderSendMeThisEveryMonth} + ${uiLabelMap.OrderOrderItems}

@@ -340,5 +337,4 @@ under the License.
-
diff --git a/specialpurpose/ecommerce/template/order/OrderStatus.ftl b/specialpurpose/ecommerce/template/order/OrderStatus.ftl index c1b25521a2..2a025766cb 100644 --- a/specialpurpose/ecommerce/template/order/OrderStatus.ftl +++ b/specialpurpose/ecommerce/template/order/OrderStatus.ftl @@ -17,9 +17,13 @@ specific language governing permissions and limitations under the License. --> <#if orderHeader?has_content> +
+ + ${screens.render("component://ecommerce/widget/OrderScreens.xml#orderheader")}
${screens.render("component://ecommerce/widget/OrderScreens.xml#orderitems")} +
<#else>

${uiLabelMap.OrderSpecifiedNotFound}.