| <#-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| |
| <#if fulfillContactMech?has_content> |
| |
| <#if "POSTAL_ADDRESS" == fulfillContactMech.contactMechTypeId> |
| <#assign label = uiLabelMap.PartyAddressMailingShipping> |
| <#assign postalAddress = fulfillContactMech.getRelatedOne("PostalAddress", true)!> |
| <#elseif "EMAIL_ADDRESS" == fulfillContactMech.contactMechTypeId> |
| <#assign label = uiLabelMap.PartyToEmailAddress> |
| <#assign emailAddress = fulfillContactMech.infoString!> |
| <#elseif "TELECOM_NUMBER" == fulfillContactMech.contactMechTypeId> |
| <#assign label = uiLabelMap.PartyPhoneNumber> |
| <#assign telecomNumber = fulfillContactMech.getRelatedOne("TelecomNumber", true)!> |
| </#if> |
| |
| <div class="screenlet"> |
| <div class="screenlet-title-bar"> |
| <div class="h3">${uiLabelMap.PartyContactInformation}</div> |
| </div> |
| <div class="screenlet-body"> |
| <table cellspacing="0" class="basic-table"> |
| <tr> |
| <td align="right" valign="top" width="25%" class="label"> |
| ${label?default(uiLabelMap.PartyUnknown)} |
| </td> |
| <td width="5%"> </td> |
| <td valign="top" width="70%"> |
| <div> |
| <#if emailAddress?has_content>${emailAddress}</#if> |
| |
| <#if postalAddress?has_content> |
| <#if postalAddress.toName?has_content><span class="label">${uiLabelMap.PartyAddrToName}</span> ${postalAddress.toName}<br /></#if> |
| <#if postalAddress.attnName?has_content><span class="label">${uiLabelMap.PartyAddrAttnName}</span> ${postalAddress.attnName}<br /></#if> |
| ${postalAddress.address1!}<br /> |
| <#if postalAddress.address2?has_content>${postalAddress.address2}<br /></#if> |
| ${postalAddress.city!}, |
| <#if postalAddress.stateProvinceGeoId?has_content> |
| <#assign stateProvince = postalAddress.getRelatedOne("StateProvinceGeo", true)> |
| ${stateProvince.abbreviation?default(stateProvince.geoId)} |
| </#if> |
| ${postalAddress.postalCode!} |
| <#if postalAddress.countryGeoId?has_content><br /> |
| <#assign country = postalAddress.getRelatedOne("CountryGeo", true)> |
| ${country.geoName?default(country.geoId)} |
| </#if> |
| </#if> |
| |
| <#if telecomNumber?has_content> |
| ${telecomNumber.countryCode!} |
| <#if telecomNumber.areaCode?has_content>${telecomNumber.areaCode?default("000")}-</#if>${telecomNumber.contactNumber?default("000-0000")} |
| <#if (telecomNumber?has_content && !telecomNumber.countryCode?has_content) || telecomNumber.countryCode = "011"> |
| <a target="_blank" href="${uiLabelMap.CommonLookupAnywhoLink}" class="buttontext">${uiLabelMap.CommonLookupAnywho}</a> |
| <a target="_blank" href="${uiLabelMap.CommonLookupWhitepagesTelNumberLink}" class="buttontext">${uiLabelMap.CommonLookupWhitepages}</a> |
| </#if> |
| </#if> |
| </div> |
| </td> |
| </tr> |
| </table> |
| </div> |
| </div> |
| </#if> |