Author: sichen
Date: Wed May 23 11:48:38 2007
New Revision: 541024
URL:
http://svn.apache.org/viewvc?view=rev&rev=541024Log:
Fix bug where edit credit card page crashes when address has no postalCode (non-US, for instance)
Modified:
ofbiz/trunk/applications/party/webapp/partymgr/party/editcreditcard.ftl
Modified: ofbiz/trunk/applications/party/webapp/partymgr/party/editcreditcard.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/party/editcreditcard.ftl?view=diff&rev=541024&r1=541023&r2=541024==============================================================================
--- ofbiz/trunk/applications/party/webapp/partymgr/party/editcreditcard.ftl (original)
+++ ofbiz/trunk/applications/party/webapp/partymgr/party/editcreditcard.ftl Wed May 23 11:48:38 2007
@@ -226,7 +226,7 @@
<#if postalAddress.attnName?exists><p><b>${uiLabelMap.PartyAddrAttnName}:</b> ${postalAddress.attnName}</p></#if>
<#if postalAddress.address1?exists><p>${postalAddress.address1}</p></#if>
<#if postalAddress.address2?exists><p>${postalAddress.address2}</p></#if>
- <p>${postalAddress.city}<#if postalAddress.stateProvinceGeoId?has_content>, ${postalAddress.stateProvinceGeoId}</#if> ${postalAddress.postalCode}</p>
+ <p>${postalAddress.city}<#if postalAddress.stateProvinceGeoId?has_content>, ${postalAddress.stateProvinceGeoId}</#if> ${postalAddress.postalCode?if_exists}</p>
<#if postalAddress.countryGeoId?exists><p>${postalAddress.countryGeoId}</p></#if>
<p>(${uiLabelMap.CommonUpdated}: ${(partyContactMech.fromDate.toString())?if_exists})</p>
<#if partyContactMech.thruDate?exists><p><b>${uiLabelMap.CommonDelete}: ${partyContactMech.thruDate.toString()}</b></p></#if>