svn commit: r935031 - /ofbiz/trunk/applications/order/webapp/ordermgr/order/orderitems.ftl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r935031 - /ofbiz/trunk/applications/order/webapp/ordermgr/order/orderitems.ftl

eckardjf
Author: eckardjf
Date: Fri Apr 16 18:26:58 2010
New Revision: 935031

URL: http://svn.apache.org/viewvc?rev=935031&view=rev
Log:
if the supplierProductId is present (purchase orders) display that instead of productId

Modified:
    ofbiz/trunk/applications/order/webapp/ordermgr/order/orderitems.ftl

Modified: ofbiz/trunk/applications/order/webapp/ordermgr/order/orderitems.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/order/orderitems.ftl?rev=935031&r1=935030&r2=935031&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/order/orderitems.ftl (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/order/orderitems.ftl Fri Apr 16 18:26:58 2010
@@ -56,7 +56,9 @@ under the License.
                             <#else>
                                 <td colspan="7">
                                     <div class="order-item-description">
-                                        <#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}
                                             <#if (product.salesDiscontinuationDate)?exists && Static["org.ofbiz.base.util.UtilDateTime"].nowTimestamp().after(product.salesDiscontinuationDate)>
                                                 <br />