You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by si...@apache.org on 2007/10/27 03:19:34 UTC
svn commit: r588864 -
/ofbiz/trunk/applications/product/webapp/catalog/product/EditProductInventoryItems.ftl
Author: sichen
Date: Fri Oct 26 18:19:34 2007
New Revision: 588864
URL: http://svn.apache.org/viewvc?rev=588864&view=rev
Log:
Fix potential null exception
Modified:
ofbiz/trunk/applications/product/webapp/catalog/product/EditProductInventoryItems.ftl
Modified: ofbiz/trunk/applications/product/webapp/catalog/product/EditProductInventoryItems.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/product/EditProductInventoryItems.ftl?rev=588864&r1=588863&r2=588864&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/webapp/catalog/product/EditProductInventoryItems.ftl (original)
+++ ofbiz/trunk/applications/product/webapp/catalog/product/EditProductInventoryItems.ftl Fri Oct 26 18:19:34 2007
@@ -78,7 +78,7 @@
<td>
<#if outgoingProductionRunList?has_content>
<#list outgoingProductionRunList as outgoingProductionRun>
- <div class="tabletext">${outgoingProductionRun.workEffortParentId}:${outgoingProductionRun.workEffortId}-${(outgoingProductionRun.estimatedStartDate.toString())?if_exists}-<#if outgoingProductionRun.estimatedQuantity?exists>${outgoingProductionRun.estimatedQuantity?string.number}<#else>[${uiLabelMap.ProductQuantityNotSet}]</#if></div>
+ <div class="tabletext">${outgoingProductionRun.workEffortParentId?default("")}:${outgoingProductionRun.workEffortId}-${(outgoingProductionRun.estimatedStartDate.toString())?if_exists}-<#if outgoingProductionRun.estimatedQuantity?exists>${outgoingProductionRun.estimatedQuantity?string.number}<#else>[${uiLabelMap.ProductQuantityNotSet}]</#if></div>
</#list>
<div class="tabletext"><b>${uiLabelMap.CommonTotal}: ${outgoingQuantityTotal?if_exists}</b></div>
<#else>