Author: sichen Date: Wed Sep 27 12:18:03 2006 New Revision: 450548 URL: http://svn.apache.org/viewvc?view=rev&rev=450548 Log: Fixed bug in sales by store report pdf when internalName is null.
Modified: incubator/ofbiz/trunk/applications/order/webapp/ordermgr/reports/SalesByStoreReport.fo.ftl Modified: incubator/ofbiz/trunk/applications/order/webapp/ordermgr/reports/SalesByStoreReport.fo.ftl URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/order/webapp/ordermgr/reports/SalesByStoreReport.fo.ftl?view=diff&rev=450548&r1=450547&r2=450548 ============================================================================== --- incubator/ofbiz/trunk/applications/order/webapp/ordermgr/reports/SalesByStoreReport.fo.ftl (original) +++ incubator/ofbiz/trunk/applications/order/webapp/ordermgr/reports/SalesByStoreReport.fo.ftl Wed Sep 27 12:18:03 2006 @@ -70,7 +70,7 @@ </fo:table-cell> </#if> <fo:table-cell padding="2pt" background-color="${rowColor}"> - <fo:block>${productReport.internalName?xml?if_exists} (${productReport.productId?if_exists})</fo:block> + <fo:block>${productReport.internalName?default("")?xml} (${productReport.productId?if_exists})</fo:block> </fo:table-cell> <fo:table-cell padding="2pt" background-color="${rowColor}"> <fo:block>${productReport.quantity?if_exists}</fo:block>