svn commit: r424531 - /incubator/ofbiz/trunk/applications/ecommerce/webapp/ecommerce/customer/customertaxinfo.ftl

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

svn commit: r424531 - /incubator/ofbiz/trunk/applications/ecommerce/webapp/ecommerce/customer/customertaxinfo.ftl

jacopoc
Author: jacopoc
Date: Sat Jul 22 00:20:20 2006
New Revision: 424531

URL: http://svn.apache.org/viewvc?rev=424531&view=rev
Log:
Added check to prevent a NPE as suggested by Chris Howe in Apache OFBIZ-69.

Modified:
    incubator/ofbiz/trunk/applications/ecommerce/webapp/ecommerce/customer/customertaxinfo.ftl

Modified: incubator/ofbiz/trunk/applications/ecommerce/webapp/ecommerce/customer/customertaxinfo.ftl
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/ecommerce/webapp/ecommerce/customer/customertaxinfo.ftl?rev=424531&r1=424530&r2=424531&view=diff
==============================================================================
--- incubator/ofbiz/trunk/applications/ecommerce/webapp/ecommerce/customer/customertaxinfo.ftl (original)
+++ incubator/ofbiz/trunk/applications/ecommerce/webapp/ecommerce/customer/customertaxinfo.ftl Sat Jul 22 00:20:20 2006
@@ -18,7 +18,7 @@
     <#list partyTaxAuthInfoAndDetailList as partyTaxAuthInfoAndDetail>
         <div class="tabletext">
             <a href="<@ofbizUrl>deleteCustomerTaxAuthInfo?partyId=${partyId}&amp;taxAuthPartyId=${partyTaxAuthInfoAndDetail.taxAuthPartyId}&amp;taxAuthGeoId=${partyTaxAuthInfoAndDetail.taxAuthGeoId}&amp;fromDate=${partyTaxAuthInfoAndDetail.fromDate}</@ofbizUrl>" class="buttontext">X</a>
-            [${partyTaxAuthInfoAndDetail.geoCode}] ${partyTaxAuthInfoAndDetail.geoName} (${partyTaxAuthInfoAndDetail.groupName}): ${uiLabelMap.PartyTaxId} [${partyTaxAuthInfoAndDetail.partyTaxId?default("N/A")}], ${uiLabelMap.PartyTaxIsExempt} [${partyTaxAuthInfoAndDetail.isExempt?default("N")}]
+            [${partyTaxAuthInfoAndDetail.geoCode}] ${partyTaxAuthInfoAndDetail.geoName} (${partyTaxAuthInfoAndDetail.groupName?if_exists}): ${uiLabelMap.PartyTaxId} [${partyTaxAuthInfoAndDetail.partyTaxId?default("N/A")}], ${uiLabelMap.PartyTaxIsExempt} [${partyTaxAuthInfoAndDetail.isExempt?default("N")}]
         </div>
     </#list>
     <div>