svn commit: r990728 - /ofbiz/branches/release10.04/applications/manufacturing/webapp/manufacturing/jobshopmgt/ProductionRun.fo.ftl

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

svn commit: r990728 - /ofbiz/branches/release10.04/applications/manufacturing/webapp/manufacturing/jobshopmgt/ProductionRun.fo.ftl

jacopoc
Author: jacopoc
Date: Mon Aug 30 08:26:41 2010
New Revision: 990728

URL: http://svn.apache.org/viewvc?rev=990728&view=rev
Log:
Backported rev. 990726: "Fixed a fop runtime error happening when no materials or no tasks were defined."

Modified:
    ofbiz/branches/release10.04/applications/manufacturing/webapp/manufacturing/jobshopmgt/ProductionRun.fo.ftl

Modified: ofbiz/branches/release10.04/applications/manufacturing/webapp/manufacturing/jobshopmgt/ProductionRun.fo.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/release10.04/applications/manufacturing/webapp/manufacturing/jobshopmgt/ProductionRun.fo.ftl?rev=990728&r1=990727&r2=990728&view=diff
==============================================================================
--- ofbiz/branches/release10.04/applications/manufacturing/webapp/manufacturing/jobshopmgt/ProductionRun.fo.ftl (original)
+++ ofbiz/branches/release10.04/applications/manufacturing/webapp/manufacturing/jobshopmgt/ProductionRun.fo.ftl Mon Aug 30 08:26:41 2010
@@ -80,6 +80,7 @@ under the License.
             <fo:block space-after.optimum="0.3cm"><fo:leader leader-length="100%" leader-pattern="rule" rule-style="solid" rule-thickness="0.1mm" color="black"/></fo:block>
 
             <#-- Components   -->
+            <#if productionRunComponentsData?has_content>
             <fo:table width="22cm">
               <fo:table-column column-width="20%"/>
               <fo:table-column column-width="40%"/>
@@ -120,9 +121,11 @@ under the License.
                     </#list>
                 </fo:table-body>
             </fo:table>
+            </#if>
             <fo:block space-after.optimum="0.3cm"><fo:leader leader-length="100%" leader-pattern="rule" rule-style="solid" rule-thickness="0.1mm" color="black"/></fo:block>
 
             <#-- Tasks   -->
+            <#if productionRunRoutingTasks?has_content>
             <fo:table width="100%">
               <fo:table-column column-width="20%"/>
               <fo:table-column column-width="30%"/>
@@ -160,6 +163,7 @@ under the License.
                     </#list>
                 </fo:table-body>
             </fo:table>
+            </#if>
             <fo:block space-after.optimum="0.3cm"><fo:leader leader-length="100%" leader-pattern="rule" rule-style="solid" rule-thickness="0.1mm" color="black"/></fo:block>
 
             <#if productionRunContents?has_content>