svn commit: r833632 - /ofbiz/trunk/applications/accounting/webapp/accounting/reports/DepositSlip.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: r833632 - /ofbiz/trunk/applications/accounting/webapp/accounting/reports/DepositSlip.fo.ftl

apatel-2
Author: apatel
Date: Sat Nov  7 05:31:05 2009
New Revision: 833632

URL: http://svn.apache.org/viewvc?rev=833632&view=rev
Log:
[OFBIZ-3172] Patch to fix description in PaymentMethod field. Thanks Sumit for help.

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=833632&r1=833631&r2=833632&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/webapp/accounting/reports/DepositSlip.fo.ftl (original)
+++ ofbiz/trunk/applications/accounting/webapp/accounting/reports/DepositSlip.fo.ftl Sat Nov  7 05:31:05 2009
@@ -84,7 +84,8 @@
                                 </fo:block>
                             </fo:table-cell>
                             <fo:table-cell padding="2pt" border="1pt solid" border-width=".1mm">
-                                <fo:block text-align="right">${paymentMethodType.description?if_exists} <#if creditCard?has_content>(${creditCard.cardType?if_exists})</#if></fo:block>
+                                <fo:block text-align="right">${paymentMethodType.description?if_exists} <#if creditCard?has_content && creditCard!= null>(${creditCard.cardType?if_exists})</#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">