You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jo...@apache.org on 2007/03/20 10:22:29 UTC
svn commit: r520343 -
/ofbiz/trunk/applications/product/webapp/catalog/product/EditVirtualProductInventory.ftl
Author: jonesde
Date: Tue Mar 20 02:22:28 2007
New Revision: 520343
URL: http://svn.apache.org/viewvc?view=rev&rev=520343
Log:
Changed feature type description to default to ID when there is no description in virtual product inventory summary
Modified:
ofbiz/trunk/applications/product/webapp/catalog/product/EditVirtualProductInventory.ftl
Modified: ofbiz/trunk/applications/product/webapp/catalog/product/EditVirtualProductInventory.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/product/EditVirtualProductInventory.ftl?view=diff&rev=520343&r1=520342&r2=520343
==============================================================================
--- ofbiz/trunk/applications/product/webapp/catalog/product/EditVirtualProductInventory.ftl (original)
+++ ofbiz/trunk/applications/product/webapp/catalog/product/EditVirtualProductInventory.ftl Tue Mar 20 02:22:28 2007
@@ -21,7 +21,7 @@
<td><div class="tableheadtext">${uiLabelMap.ProductProductId}</div></td>
<#list featureTypeIds as featureTypeId>
<#assign featureType = delegator.findByPrimaryKey("ProductFeatureType", Static["org.ofbiz.base.util.UtilMisc"].toMap("productFeatureTypeId", featureTypeId))>
- <td><div class="tableheadtext">${featureType.description}</div></td>
+ <td><div class="tableheadtext">${featureType.description} </div></td>
</#list>
<td><div class="tableheadtext">${uiLabelMap.ProductQoh}</div></td>
<td><div class="tableheadtext">${uiLabelMap.ProductAtp}</div></td>
@@ -30,7 +30,7 @@
<tr>
<td><a href="/catalog/control/EditProductInventoryItems?productId=${variantSummary.productId}" class="buttontext">${variantSummary.productId}</a></td>
<#list featureTypeIds as featureTypeId>
- <td><div class="tabletext">${variantSummary[featureTypeId].description}</div></td>
+ <td><div class="tabletext">${(variantSummary[featureTypeId].description)?default(featureTypeId)}</div></td>
</#list>
<td><div class="tabletext">${variantSummary.quantityOnHandTotal}</div></td>
<td><div class="tabletext">${variantSummary.availableToPromiseTotal}</div></td>