⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 viewprofile.ftl

📁 Sequoia ERP是一个真正的企业级开源ERP解决方案。它提供的模块包括:电子商务应用(e-commerce), POS系统(point of sales),知识管理,存货与仓库管理
💻 FTL
字号:
<#-- * Copyright (C) 2006  Open Source Strategies, Inc. *  * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. *  * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the * GNU General Public License for more details. *  * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA--><#-- Copyright (c) 2005-2006 Open Source Strategies, Inc. --><#-- *  Copyright (c) 2002-2005 The Open For Business Project - www.ofbiz.org * *  Permission is hereby granted, free of charge, to any person obtaining a *  copy of this software and associated documentation files (the "Software"), *  to deal in the Software without restriction, including without limitation *  the rights to use, copy, modify, merge, publish, distribute, sublicense, *  and/or sell copies of the Software, and to permit persons to whom the *  Software is furnished to do so, subject to the following conditions: * *  The above copyright notice and this permission notice shall be included *  in all copies or substantial portions of the Software. * *  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS *  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. *  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY *  CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT *  OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR *  THE USE OR OTHER DEALINGS IN THE SOFTWARE. * * @author     Johan Isacsson * @author     David E. Jones * @author     Andy Zeneski * @author     Olivier Heintz (olivier.heintz@nereide.biz) * @created    May 26 2003 */--><#-- ============================================================= --><#-- This assignment allows the editcontactmech page to go to the donePage --><#-- TODO: try do do this with only screen widgets or in the beanshell --><#if parameters.partyId?exists><#assign donePageEscaped = donePage + "?partyId%3d" + parameters.partyId></#if><div class="subSectionHeader">  <div class="subSectionTitle">${uiLabelMap.PartyContactInformation}</div>  <#if hasUpdatePermission?exists>  <#-- these have to be on one line to avoid space issues -->  <div class="subMenuBar"><a href="<@ofbizUrl>${editContactMechPage}?partyId=${partySummary.partyId}&amp;preContactMechTypeId=POSTAL_ADDRESS&amp;DONE_PAGE=${donePageEscaped}</@ofbizUrl>" class="subMenuButton">${uiLabelMap.CrmCreateAddress}</a><a href="<@ofbizUrl>${editContactMechPage}?partyId=${partySummary.partyId}&amp;preContactMechTypeId=TELECOM_NUMBER&amp;DONE_PAGE=${donePageEscaped}</@ofbizUrl>" class="subMenuButton">${uiLabelMap.CrmCreatePhoneNumber}</a><a href="<@ofbizUrl>${editContactMechPage}?partyId=${partySummary.partyId}&amp;preContactMechTypeId=EMAIL_ADDRESS&amp;DONE_PAGE=${donePageEscaped}</@ofbizUrl>" class="subMenuButton">${uiLabelMap.CrmCreateEmail}</a><a href="<@ofbizUrl>${editContactMechPage}?partyId=${partySummary.partyId}&amp;preContactMechTypeId=WEB_ADDRESS&amp;DONE_PAGE=${donePageEscaped}</@ofbizUrl>" class="subMenuButton">${uiLabelMap.CrmCreateWebUrl}</a></div>  </#if></div><div class="form">  <#if contactMeches?has_content>    <table class="contactTable">      <tr>        <th><span class="tableheadtext">${uiLabelMap.PartyContactType}</span></th>        <th><span class="tableheadtext">${uiLabelMap.PartyContactInformation}</span></th>        <th><span class="tableheadtext">${uiLabelMap.CommonPurpose}</span></th>        <th><span class="tableheadtext">${uiLabelMap.PartyContactSolicitingOk}</span></th>        <#if hasUpdatePermission?exists>        <th><span class="tableheadtext">${uiLabelMap.CommonOptions}</span></th>        </#if>      </tr>      <#list contactMeches as contactMechMap>          <#assign contactMech = contactMechMap.contactMech>          <#assign partyContactMech = contactMechMap.partyContactMech>          <tr>            <#-- contact type -->            <td>              <div class="tabletext"><b>${contactMechMap.contactMechType.description}</b>              </div>            </td>            <#-- contact information -->            <td>              <#if "POSTAL_ADDRESS" = contactMech.contactMechTypeId>                  <#assign postalAddress = contactMechMap.postalAddress>                  <div class="tabletext">                    <#if postalAddress.toName?has_content><b>${uiLabelMap.PartyAddrToName}:</b> ${postalAddress.toName}<br/></#if>                    <#if postalAddress.attnName?has_content><b>${uiLabelMap.PartyAddrAttnName}:</b> ${postalAddress.attnName}<br/></#if>                    ${postalAddress.address1?if_exists}<br/>                    <#if postalAddress.address2?has_content>${postalAddress.address2}<br/></#if>                    ${postalAddress.city?if_exists},                    ${postalAddress.stateProvinceGeoId?if_exists}                    ${postalAddress.postalCode?if_exists}                    <#if postalAddress.countryGeoId?has_content><br/>${postalAddress.countryGeoId}</#if>                  </div>              <#elseif "TELECOM_NUMBER" = contactMech.contactMechTypeId>                  <#assign telecomNumber = contactMechMap.telecomNumber>                  <div class="tabletext">                    ${telecomNumber.countryCode?if_exists}                    <#if telecomNumber.areaCode?has_content>${telecomNumber.areaCode?default("000")}-</#if>${telecomNumber.contactNumber?default("000-0000")}                    <#if partyContactMech.extension?has_content>${uiLabelMap.PartyContactExt}&nbsp;${partyContactMech.extension}</#if>                  </div>                  <#if telecomNumber.askForName?has_content>                  <div class="tabletext"><span class="tableheadtext">${uiLabelMap.CrmPhoneAskForName}:</span> ${telecomNumber.askForName}</div>                  </#if>              <#elseif "EMAIL_ADDRESS" = contactMech.contactMechTypeId>                  <div class="tabletext">                    <a href="<@ofbizUrl>writeEmail?contactMechIdTo=${contactMech.contactMechId}&internalPartyId=${parameters.partyId?if_exists}&donePage=${donePage?if_exists}</@ofbizUrl>" class="linktext">${contactMech.infoString?if_exists}</a>&nbsp;                    </div>                  </div>              <#elseif "WEB_ADDRESS" = contactMech.contactMechTypeId>                  <div class="tabletext">                    <#assign openAddress = contactMech.infoString?default("")>                    <#if !openAddress?starts_with("http") && !openAddress?starts_with("HTTP")><#assign openAddress = "http://" + openAddress></#if>                    <a target="_blank" href="${openAddress}" class="linktext">${contactMech.infoString?if_exists}</a>                  </div>              <#else>                  <div class="tabletext">                    ${contactMech.infoString?if_exists}                  </div>              </#if>              <div class="tabletext">(${uiLabelMap.CommonUpdated}:&nbsp;${partyContactMech.fromDate.toString()})</div>              <#if partyContactMech.thruDate?has_content><div class="tabletext"><b>${uiLabelMap.PartyContactEffectiveThru}:&nbsp;${partyContactMech.thruDate.toString()}</b></div></#if>            </td>            <#-- purposes -->            <td>              <#list contactMechMap.partyContactMechPurposes as partyContactMechPurpose>                  <#assign contactMechPurposeType = partyContactMechPurpose.getRelatedOneCache("ContactMechPurposeType")>                    <div class="tabletext">                      <#if contactMechPurposeType?has_content>                        ${contactMechPurposeType.description}                      <#else>                        ${uiLabelMap.PartyMechPurposeTypeNotFound}: "${partyContactMechPurpose.contactMechPurposeTypeId}"                      </#if>                      <#if partyContactMechPurpose.thruDate?has_content>                      (${uiLabelMap.CommonExpire}: ${partyContactMechPurpose.thruDate.toString()})                      </#if>                    </div>              </#list>            </td>            <#assign solicit = "">            <#if (partyContactMech.allowSolicitation?default("") == "Y")><#assign solicit = uiLabelMap.CommonYes></#if>            <#if (partyContactMech.allowSolicitation?default("") == "N")><#assign solicit = uiLabelMap.CommonNo></#if>                        <td class="contactTableCenter"><div class="tabletext">${solicit}</div></td>            <#if hasUpdatePermission?exists>            <td>                  <a href="<@ofbizUrl>${editContactMechPage}?partyId=${partySummary.partyId}&contactMechId=${contactMech.contactMechId}&DONE_PAGE=${donePageEscaped}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonUpdate}</a>&nbsp;                  <a href="<@ofbizUrl>deleteContactMech/${donePage}?partyId=${partySummary.partyId}&contactMechId=${contactMech.contactMechId}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonExpire}</a>&nbsp;&nbsp;            </td>            </#if>          </tr>      </#list>    </table>  <#else>    <div class="tabletext">${uiLabelMap.PartyNoContactInformation}</div>  </#if></div>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -