svn commit: r607136 - /ofbiz/trunk/applications/accounting/webapp/accounting/invoice/invoiceReportItems.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: r607136 - /ofbiz/trunk/applications/accounting/webapp/accounting/invoice/invoiceReportItems.fo.ftl

adrianc
Author: adrianc
Date: Thu Dec 27 15:06:47 2007
New Revision: 607136

URL: http://svn.apache.org/viewvc?rev=607136&view=rev
Log:
Invoice PDF rendering fix for https://issues.apache.org/jira/browse/OFBIZ-1549. For some reason FOP doesn't like empty <fo:table-cell> elements.

Modified:
    ofbiz/trunk/applications/accounting/webapp/accounting/invoice/invoiceReportItems.fo.ftl

Modified: ofbiz/trunk/applications/accounting/webapp/accounting/invoice/invoiceReportItems.fo.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/invoice/invoiceReportItems.fo.ftl?rev=607136&r1=607135&r2=607136&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/webapp/accounting/invoice/invoiceReportItems.fo.ftl (original)
+++ ofbiz/trunk/applications/accounting/webapp/accounting/invoice/invoiceReportItems.fo.ftl Thu Dec 27 15:06:47 2007
@@ -100,7 +100,7 @@
                 -->
                 <fo:table-row height="14px">
                     <fo:table-cell number-columns-spanned="6">
-                            <fo:block><#-- blank line --></fo:block>
+                            <fo:block></fo:block>
                        </fo:table-cell>
                 </fo:table-row>
                 <fo:table-row height="14px">
@@ -112,7 +112,7 @@
             </#if>
                 <fo:table-row height="7px">
                     <fo:table-cell number-columns-spanned="6">
-                        <fo:block><#-- blank line --></fo:block>
+                        <fo:block></fo:block>
                     </fo:table-cell>
                 </fo:table-row>
                 <fo:table-row height="14px" space-start=".15in">
@@ -145,6 +145,7 @@
         <#-- the grand total -->
         <fo:table-row>
            <fo:table-cell number-columns-spanned="3">
+              <fo:block/>
            </fo:table-cell>
            <fo:table-cell>
               <fo:block font-weight="bold">${uiLabelMap.AccountingTotalCapital}</fo:block>
@@ -155,10 +156,12 @@
         </fo:table-row>
         <fo:table-row height="7px">
            <fo:table-cell>
+              <fo:block/>
            </fo:table-cell>
         </fo:table-row>
         <fo:table-row height="14px">
            <fo:table-cell number-columns-spanned="3">
+              <fo:block/>
            </fo:table-cell>
            <fo:table-cell number-columns-spanned="2">
               <fo:block>${uiLabelMap.AccountingTotalExclTax}</fo:block>
@@ -172,7 +175,7 @@
     </fo:table-body>        
  </fo:table>
 
- <!-- a block with the invoice message-->
+ <#-- a block with the invoice message-->
  <#if invoice.invoiceMessage?has_content><fo:block>${invoice.invoiceMessage}</fo:block></#if>
  <fo:block></fo:block>
  <fo:block id="theEnd"/>  <#-- marks the end of the pages and used to identify page-number at the end -->