svn commit: r541026 - /ofbiz/branches/release4.0/applications/party/webapp/partymgr/party/editcreditcard.ftl

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

svn commit: r541026 - /ofbiz/branches/release4.0/applications/party/webapp/partymgr/party/editcreditcard.ftl

sichen
Author: sichen
Date: Wed May 23 11:49:03 2007
New Revision: 541026

URL: http://svn.apache.org/viewvc?view=rev&rev=541026
Log:
Fix bug where edit credit card page crashes when address has no postalCode (non-US, for instance)

Modified:
    ofbiz/branches/release4.0/applications/party/webapp/partymgr/party/editcreditcard.ftl

Modified: ofbiz/branches/release4.0/applications/party/webapp/partymgr/party/editcreditcard.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/release4.0/applications/party/webapp/partymgr/party/editcreditcard.ftl?view=diff&rev=541026&r1=541025&r2=541026
==============================================================================
--- ofbiz/branches/release4.0/applications/party/webapp/partymgr/party/editcreditcard.ftl (original)
+++ ofbiz/branches/release4.0/applications/party/webapp/partymgr/party/editcreditcard.ftl Wed May 23 11:49:03 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>,&nbsp;${postalAddress.stateProvinceGeoId}</#if>&nbsp;${postalAddress.postalCode}</p>
+                <p>${postalAddress.city}<#if postalAddress.stateProvinceGeoId?has_content>,&nbsp;${postalAddress.stateProvinceGeoId}</#if>&nbsp;${postalAddress.postalCode?if_exists}</p>
                 <#if postalAddress.countryGeoId?exists><p>${postalAddress.countryGeoId}</p></#if>
                 <p>(${uiLabelMap.CommonUpdated}:&nbsp;${(partyContactMech.fromDate.toString())?if_exists})</p>
                 <#if partyContactMech.thruDate?exists><p><b>${uiLabelMap.CommonDelete}:&nbsp;${partyContactMech.thruDate.toString()}</b></p></#if>