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
This commit is contained in:
Jacques Le Roux
2016-09-18 08:56:07 +00:00
parent b485b1001e
commit f7195ddfd3
3 changed files with 12 additions and 7 deletions
@@ -24,6 +24,9 @@ under the License.
<#assign externalOrder = "(" + orderHeader.externalId + ")"/>
</#if>
<div id="orderHeader">
<#-- left side -->
<div class="columnLeft">
<div class="screenlet">
<h3>
<#if maySelectItems?default("N") == "Y" && returnLink?default("N") == "Y" && (orderHeader.statusId)! == "ORDER_COMPLETED" && roleTypeId! == "PLACING_CUSTOMER">
@@ -234,9 +237,9 @@ under the License.
</ul>
</#if>
</div>
</div>
<#-- right side -->
<div class="screenlet">
<div class="screenlet columnRight">
<#if orderItemShipGroups?has_content>
<h3>${uiLabelMap.OrderShippingInformation}</h3>
<#-- shipping address -->
@@ -371,3 +374,5 @@ under the License.
</#if>
</div>
<div class="clearBoth"></div>
</div>
@@ -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/></#if>
<div class="screenlet">
<form name="addCommonToCartForm" action="<@ofbizUrl>addordertocart/orderstatus</@ofbizUrl>" method="post">
<input type="hidden" name="add_all" value="false" />
<input type="hidden" name="orderId" value="${orderHeader.orderId}" />
<h3>
<#assign numColumns = 8>
${uiLabelMap.OrderOrderItems}
<#if maySelectItems?default("N") == "Y" && roleTypeId! == "PLACING_CUSTOMER">
<#assign numColumns = 11>
<a href="javascript:document.addCommonToCartForm.add_all.value='true';document.addCommonToCartForm.submit()"
@@ -36,6 +32,7 @@ under the License.
<a href="<@ofbizUrl fullPath="true">createShoppingListFromOrder?orderId=${orderHeader.orderId}&amp;frequency=6&amp;intervalNumber=1&amp;shoppingListTypeId=SLT_AUTO_REODR</@ofbizUrl>"
class="submenutextright">${uiLabelMap.OrderSendMeThisEveryMonth}</a>
</#if>
${uiLabelMap.OrderOrderItems}
</h3>
<table>
<thead>
@@ -340,5 +337,4 @@ under the License.
</tr>
</tbody>
</table>
</form>
</div>
@@ -17,9 +17,13 @@ specific language governing permissions and limitations
under the License.
-->
<#if orderHeader?has_content>
<form name="addCommonToCartForm" action="<@ofbizUrl>addordertocart/orderstatus</@ofbizUrl>" method="post">
<input type="hidden" name="add_all" value="false" />
<input type="hidden" name="orderId" value="${orderHeader.orderId}" />
${screens.render("component://ecommerce/widget/OrderScreens.xml#orderheader")}
<br />
${screens.render("component://ecommerce/widget/OrderScreens.xml#orderitems")}
</form>
<#else>
<h3>${uiLabelMap.OrderSpecifiedNotFound}.</h3>
</#if>