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
This commit is contained in:
Joseph Eckard
2010-04-16 18:26:30 +00:00
parent 6a089b7509
commit 465e40ade2
@@ -48,7 +48,9 @@ under the License.
<fo:table-row>
<fo:table-cell>
<fo:block>
<#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}