From 465e40ade258573ce5cf51188fc13e1be57fca6e Mon Sep 17 00:00:00 2001 From: Joseph Eckard Date: Fri, 16 Apr 2010 18:26:30 +0000 Subject: [PATCH] if the supplierProductId is present (purchase orders) display that instead of productId git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935026 13f79535-47bb-0310-9956-ffa450edef68 --- .../order/webapp/ordermgr/order/orderReportBody.fo.ftl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/applications/order/webapp/ordermgr/order/orderReportBody.fo.ftl b/applications/order/webapp/ordermgr/order/orderReportBody.fo.ftl index aca764932e..fe4bf676ba 100644 --- a/applications/order/webapp/ordermgr/order/orderReportBody.fo.ftl +++ b/applications/order/webapp/ordermgr/order/orderReportBody.fo.ftl @@ -48,7 +48,9 @@ under the License. - <#if productId?exists> + <#if orderItem.supplierProductId?has_content> + ${orderItem.supplierProductId} - ${orderItem.itemDescription?if_exists} + <#elseif productId?exists> ${orderItem.productId?default("N/A")} - ${orderItem.itemDescription?if_exists} <#elseif orderItemType?exists> ${orderItemType.get("description",locale)} - ${orderItem.itemDescription?if_exists}