From 99fd294fbbd50197fda9f9702707f8978fc0bbd8 Mon Sep 17 00:00:00 2001 From: Adam Heath Date: Tue, 9 Mar 2010 21:40:17 +0000 Subject: [PATCH] Add screenlet wrapper around embedded block infos for each order item. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@921140 13f79535-47bb-0310-9956-ffa450edef68 --- .../order/webapp/ordermgr/order/orderitems.ftl | 10 ++++++---- themes/tomahawk/webapp/tomahawk/css/style.css | 6 ++++++ 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/applications/order/webapp/ordermgr/order/orderitems.ftl b/applications/order/webapp/ordermgr/order/orderitems.ftl index 24478379db..14330cc9cc 100644 --- a/applications/order/webapp/ordermgr/order/orderitems.ftl +++ b/applications/order/webapp/ordermgr/order/orderitems.ftl @@ -95,7 +95,7 @@ under the License. <#assign inProductionQuantity = productionProductQuantityMap.get(productId)?default(0)> <#assign unplannedQuantity = requiredQuantity - qohQuantity - inProductionQuantity - onOrderQuantity - mktgPkgQOH> <#if unplannedQuantity < 0><#assign unplannedQuantity = 0> -
+
${uiLabelMap.ProductInventory} @@ -121,7 +121,7 @@ under the License.
${uiLabelMap.OrderUnplanned} ${unplannedQuantity}
-
+
@@ -129,6 +129,7 @@ under the License. <#-- now show status details per line item --> <#assign currentItemStatus = orderItem.getRelatedOne("StatusItem")> +
${uiLabelMap.CommonCurrent} ${currentItemStatus.get("description",locale)?default(currentItemStatus.statusId)}
<#assign orderItemStatuses = orderReadHelper.getOrderItemStatuses(orderItem)> <#list orderItemStatuses as orderItemStatus> @@ -137,6 +138,7 @@ under the License. ${(orderItemStatus.statusDatetime.toString())?if_exists}  ${loopStatusItem.get("description",locale)?default(orderItemStatus.statusId)}
+
<#assign returns = orderItem.getRelated("ReturnItem")?if_exists> <#if returns?has_content> <#list returns as returnItem> @@ -151,7 +153,7 @@ under the License. <#-- QUANTITY --> - +
<#assign shippedQuantity = orderReadHelper.getItemShippedQuantity(orderItem)> <#assign shipmentReceipts = delegator.findByAnd("ShipmentReceipt", {"orderId" : orderHeader.getString("orderId"), "orderItemSeqId" : orderItem.orderItemSeqId})/> @@ -230,7 +232,7 @@ under the License. -
${returnQuantityMap.get(orderItem.orderItemSeqId)?default(0)}
+ diff --git a/themes/tomahawk/webapp/tomahawk/css/style.css b/themes/tomahawk/webapp/tomahawk/css/style.css index 081ee94588..c35d98ebce 100644 --- a/themes/tomahawk/webapp/tomahawk/css/style.css +++ b/themes/tomahawk/webapp/tomahawk/css/style.css @@ -2466,3 +2466,9 @@ background-color:#D4D0C8; display:inline; font-size:145%; } +.basic-table.order-items .screenlet-body { + background-color:#dfdfdf; +} +.basic-table.order-items .alternate-row .screenlet-body { + background-color:#bfbfbf; +}