Login  Register

svn commit: r425616 - /incubator/ofbiz/trunk/applications/accounting/webapp/accounting/invoice/viewInvoice.fo.ftl

Posted by hansbak-2 on Jul 26, 2006; 5:38am
URL: http://ofbiz.116.s1.nabble.com/svn-commit-r425616-incubator-ofbiz-trunk-applications-accounting-webapp-accounting-invoice-viewInvoil-tp208647.html

Author: hansbak
Date: Tue Jul 25 21:38:18 2006
New Revision: 425616

URL: http://svn.apache.org/viewvc?rev=425616&view=rev
Log:
fixed: if taxrate missing invoice did not display

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

Modified: incubator/ofbiz/trunk/applications/accounting/webapp/accounting/invoice/viewInvoice.fo.ftl
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/accounting/webapp/accounting/invoice/viewInvoice.fo.ftl?rev=425616&r1=425615&r2=425616&view=diff
==============================================================================
--- incubator/ofbiz/trunk/applications/accounting/webapp/accounting/invoice/viewInvoice.fo.ftl (original)
+++ incubator/ofbiz/trunk/applications/accounting/webapp/accounting/invoice/viewInvoice.fo.ftl Tue Jul 25 21:38:18 2006
@@ -189,7 +189,7 @@
                     </#if>
                     <#if invoiceItem.description?has_content>
                         <#assign description=invoiceItem.description>
-                    <#elseif taxRate?exists & taxRate.get("description",locale)?has_content>
+                    <#elseif taxRate?has_content & taxRate.get("description",locale)?has_content>
                         <#assign description=taxRate.get("description",locale)>
                     <#elseif itemType.get("description",locale)?has_content>
                         <#assign description=itemType.get("description",locale)>