Author: deepak
Date: Sat Oct 3 12:55:18 2015
New Revision: 1706569
URL:
http://svn.apache.org/viewvc?rev=1706569&view=revLog:
(OFBIZ-6663) Fixed broken "Print Deposit Slip" pdf rendering. Thanks Paveen Patil for the patch.
Modified:
ofbiz/trunk/applications/accounting/webapp/accounting/reports/DepositSlip.fo.ftl
Modified: ofbiz/trunk/applications/accounting/webapp/accounting/reports/DepositSlip.fo.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/reports/DepositSlip.fo.ftl?rev=1706569&r1=1706568&r2=1706569&view=diff==============================================================================
--- ofbiz/trunk/applications/accounting/webapp/accounting/reports/DepositSlip.fo.ftl (original)
+++ ofbiz/trunk/applications/accounting/webapp/accounting/reports/DepositSlip.fo.ftl Sat Oct 3 12:55:18 2015
@@ -85,7 +85,6 @@ under the License.
</fo:table-cell>
<fo:table-cell padding="2pt" border="1pt solid" border-width=".1mm">
<fo:block text-align="right">${paymentMethodType.description!} <#if creditCard?has_content && creditCard??>(${creditCard.cardType!})</#if></fo:block>
- <#assign creditCard = null/>
</fo:table-cell>
<fo:table-cell padding="2pt" border="1pt solid" border-width=".1mm">
<fo:block text-align="right">
@@ -108,7 +107,7 @@ under the License.
</fo:table-row>
</#list>
<fo:table-row>
- <fo:table-cell number-columns-spanned="3"/>
+ <fo:table-cell number-columns-spanned="3"><fo:block/></fo:table-cell>
<fo:table-cell padding="4pt" background-color="#D4D0C8" font-weight="bold">
<fo:block text-align="right">
${uiLabelMap.FormFieldTitle_totalAmount}
@@ -122,11 +121,11 @@ under the License.
</fo:table-row>
<#else>
<fo:table-row>
- <fo:table-cell number-columns-spanned="2"/>
+ <fo:table-cell number-columns-spanned="2"><fo:block/></fo:table-cell>
<fo:table-cell padding="2pt">
<fo:block>${uiLabelMap.CommonNoRecordFound}</fo:block>
</fo:table-cell>
- <fo:table-cell number-columns-spanned="2"/>
+ <fo:table-cell number-columns-spanned="2"><fo:block/></fo:table-cell>
</fo:table-row>
</#if>
</fo:table-body>