Author: lektran
Date: Sun May 20 03:30:18 2007
New Revision: 539860
URL:
http://svn.apache.org/viewvc?view=rev&rev=539860Log:
Applied fix from trunk for revision: 537828
Modified:
ofbiz/branches/release4.0/applications/product/webapp/facility/shipment/PackingSlip.fo.ftl
Modified: ofbiz/branches/release4.0/applications/product/webapp/facility/shipment/PackingSlip.fo.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release4.0/applications/product/webapp/facility/shipment/PackingSlip.fo.ftl?view=diff&rev=539860&r1=539859&r2=539860==============================================================================
--- ofbiz/branches/release4.0/applications/product/webapp/facility/shipment/PackingSlip.fo.ftl (original)
+++ ofbiz/branches/release4.0/applications/product/webapp/facility/shipment/PackingSlip.fo.ftl Sun May 20 03:30:18 2007
@@ -35,7 +35,7 @@
<#assign carrier = (shipGroup.carrierPartyId)?default("N/A")>
<fo:page-sequence master-reference="main">
<fo:flow flow-name="xsl-region-body" font-family="Helvetica">
-
+ <#if packages?has_content>
<#list packages as package>
<fo:block>
@@ -179,6 +179,11 @@
<#if package_has_next><fo:block break-before="page"/></#if>
</#list> <#-- packages -->
+ <#else>
+ <fo:block font-size="14pt">
+ ${uiLabelMap.ProductErrorNoPackagesFoundForShipment}
+ </fo:block>
+ </#if>
</fo:flow>
</fo:page-sequence>