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

📄 viewprofile.ftl

📁 Sequoia ERP是一个真正的企业级开源ERP解决方案。它提供的模块包括:电子商务应用(e-commerce), POS系统(point of sales),知识管理,存货与仓库管理
💻 FTL
📖 第 1 页 / 共 3 页
字号:
<#-- *  Copyright (c) 2003-2006 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     David E. Jones (jonesde@ofbiz.org)  *@version    $Rev: 7168 $ *@since      2.1--><#if party?exists><#-- Main Heading --><table width="100%" cellpadding="0" cellspacing="0" border="0">  <tr>    <td align="left">      <div class="head1">${uiLabelMap.PartyTheProfileOf}        <#if person?exists>          ${person.personalTitle?if_exists}          ${person.firstName?if_exists}          ${person.middleName?if_exists}          ${person.lastName?if_exists}          ${person.suffix?if_exists}        <#else>          "${uiLabelMap.PartyNewUser}"        </#if>      </div>    </td>    <td align="right">      <#if showOld>        <a href="<@ofbizUrl>viewprofile</@ofbizUrl>" class="buttontext">${uiLabelMap.PartyHideOld}</a>&nbsp;&nbsp;      <#else>        <a href="<@ofbizUrl>viewprofile?SHOW_OLD=true</@ofbizUrl>" class="buttontext">${uiLabelMap.PartyShowOld}</a>&nbsp;&nbsp;      </#if>      <#if (productStore.enableDigProdUpload)?if_exists == "Y">      &nbsp;<a href="<@ofbizUrl>digitalproductlist</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonDigitalProductUpload}</a>      </#if>    </td>  </tr></table><br/><div class="screenlet">    <div class="screenlet-header">        <div style="float: right;">            <a href="<@ofbizUrl>editperson</@ofbizUrl>" class="submenutextright">            <#if person?exists>${uiLabelMap.CommonUpdate}<#else>${uiLabelMap.CommonCreate}</#if></a>        </div>        <div class="boxhead">&nbsp;${uiLabelMap.PartyPersonalInformation}</div>    </div>    <div class="screenlet-body"><#if person?exists><div>  <table width="100%" border="0" cellpadding="0" cellspacing="0">    <tr>      <td align="right" width="10%"><div class="tabletext"><b>${uiLabelMap.PartyName}</b></div></td>      <td width="5">&nbsp;</td>      <td align="left" width="90%">        <div class="tabletext">          ${person.personalTitle?if_exists}          ${person.firstName?if_exists}          ${person.middleName?if_exists}          ${person.lastName?if_exists}          ${person.suffix?if_exists}        </div>      </td>    </tr>    <#if person.nickname?has_content><tr><td align="right" nowrap><div class="tabletext"><b>${uiLabelMap.PartyNickName}</b></div></td><td>&nbsp;</td><td align="left"><div class="tabletext">${person.nickname}</div></td></tr></#if>    <#if person.gender?has_content><tr><td align="right" nowrap><div class="tabletext"><b>${uiLabelMap.PartyGender}</b></div></td><td>&nbsp;</td><td align="left"><div class="tabletext">${person.gender}</div></td></tr></#if>    <#if person.birthDate?exists><tr><td align="right" nowrap><div class="tabletext"><b>${uiLabelMap.PartyBirthDate}</b></div></td><td>&nbsp;</td><td align="left"><div class="tabletext">${person.birthDate.toString()}</div></td></tr></#if>    <#if person.height?exists><tr><td align="right" nowrap><div class="tabletext"><b>${uiLabelMap.PartyHeight}</b></div></td><td>&nbsp;</td><td align="left"><div class="tabletext">${person.height}</div></td></tr></#if>    <#if person.weight?exists><tr><td align="right" nowrap><div class="tabletext"><b>${uiLabelMap.PartyWeight}</b></div></td><td>&nbsp;</td><td align="left"><div class="tabletext">${person.weight}</div></td></tr></#if>    <#if person.mothersMaidenName?has_content><tr><td align="right" nowrap><div class="tabletext"><b>${uiLabelMap.PartyMaidenName}</b></div></td><td>&nbsp;</td><td align="left"><div class="tabletext">${person.mothersMaidenName}</div></td></tr></#if>    <#if person.maritalStatus?has_content><tr><td align="right" nowrap><div class="tabletext"><b>${uiLabelMap.PartyMaritalStatus}</b></div></td><td>&nbsp;</td><td align="left"><div class="tabletext">${person.maritalStatus}</div></td></tr></#if>    <#if person.socialSecurityNumber?has_content><tr><td align="right" nowrap><div class="tabletext"><b>${uiLabelMap.PartySocialSecurityNumber}</b></div></td><td>&nbsp;</td><td align="left"><div class="tabletext">${person.socialSecurityNumber}</div></td></tr></#if>    <#if person.passportNumber?has_content><tr><td align="right" nowrap><div class="tabletext"><b>${uiLabelMap.PartyPassportNumber}</b></div></td><td>&nbsp;</td><td align="left"><div class="tabletext">${person.passportNumber}</div></td></tr></#if>    <#if person.passportExpireDate?exists><tr><td align="right" nowrap><div class="tabletext"><b>${uiLabelMap.PartyPassportExpireDate}</b></div></td><td>&nbsp;</td><td align="left"><div class="tabletext">${person.passportExpireDate.toString()}</div></td></tr></#if>    <#if person.totalYearsWorkExperience?exists><tr><td align="right" nowrap><div class="tabletext"><b>${uiLabelMap.PartyYearsWork}</b></div></td><td>&nbsp;</td><td align="left"><div class="tabletext">${person.totalYearsWorkExperience}</div></td></tr></#if>    <#if person.comments?has_content><tr><td align="right" nowrap><div class="tabletext"><b>${uiLabelMap.CommonComments}</b></div></td><td>&nbsp;</td><td align="left"><div class="tabletext">${person.comments}</div></td></tr></#if>  </table></div><#else><div class="tabletext">${uiLabelMap.PartyPersonalInformationNotFound}</div></#if>    </div></div><#-- ============================================================= --><#if monthsToInclude?exists && totalSubRemainingAmount?exists && totalOrders?exists><div class="screenlet">    <div class="screenlet-header">        <div class="boxhead">&nbsp;${uiLabelMap.EcommerceLoyaltyPoints}</div>    </div>    <div class="screenlet-body">        <div class="tabletext">${uiLabelMap.EcommerceYouHave} ${totalSubRemainingAmount} ${uiLabelMap.EcommercePointsFrom} ${totalOrders} ${uiLabelMap.EcommerceOrderInLast} ${monthsToInclude} ${uiLabelMap.EcommerceMonths}</div>    </div></div></#if><#-- ============================================================= --><div class="screenlet">    <div class="screenlet-header">        <div style="float: right;">            <a href="<@ofbizUrl>editcontactmech</@ofbizUrl>" class="submenutextright">${uiLabelMap.CommonCreateNew}</a>        </div>        <div class="boxhead">&nbsp;${uiLabelMap.PartyContactInformation}</div>    </div>    <div class="screenlet-body">  <#if partyContactMechValueMaps?has_content>    <table width="100%" border="0" cellpadding="0">      <tr align="left" valign="bottom">        <th class="tableheadtext">${uiLabelMap.PartyContactType}</th>        <th class="tableheadtext" width="5">&nbsp;</th>        <th class="tableheadtext">${uiLabelMap.CommonInformation}</th>        <th class="tableheadtext" colspan="2">${uiLabelMap.PartySolicitingOk}?</th>        <th class="tableheadtext">&nbsp;</th>        <th class="tableheadtext">&nbsp;</th>        <th class="tableheadtext">&nbsp;</th>      </tr>      <#list partyContactMechValueMaps as partyContactMechValueMap>        <#assign contactMech = partyContactMechValueMap.contactMech?if_exists>        <#assign contactMechType = partyContactMechValueMap.contactMechType?if_exists>        <#assign partyContactMech = partyContactMechValueMap.partyContactMech?if_exists>          <tr><td colspan="7"><hr class="sepbar"/></td></tr>          <tr>            <td align="right" valign="top" width="10%">              <div class="tabletext">&nbsp;<b>${contactMechType.description}</b></div>            </td>            <td width="5">&nbsp;</td>            <td align="left" valign="top" width="80%">              <#list partyContactMechValueMap.partyContactMechPurposes?if_exists as partyContactMechPurpose>                   <#assign contactMechPurposeType = partyContactMechPurpose.getRelatedOneCache("ContactMechPurposeType")>                    <div class="tabletext">                      <#if contactMechPurposeType?exists>                        <b>${contactMechPurposeType.description}</b>                        <#if contactMechPurposeType.contactMechPurposeTypeId == "SHIPPING_LOCATION" && (profiledefs.defaultShipAddr)?default("") == contactMech.contactMechId>                          <span class="buttontextdisabled">${uiLabelMap.EcommerceIsDefault}</span>                        <#elseif contactMechPurposeType.contactMechPurposeTypeId == "SHIPPING_LOCATION">                          <a href="<@ofbizUrl>setprofiledefault/viewprofile?productStoreId=${productStoreId}&defaultShipAddr=${contactMech.contactMechId}&partyId=${party.partyId}</@ofbizUrl>" class="buttontext">${uiLabelMap.EcommerceSetDefault}</a>                        </#if>                      <#else>                        <b>${uiLabelMap.PartyPurposeTypeNotFound}: "${partyContactMechPurpose.contactMechPurposeTypeId}"</b>                      </#if>                      <#if partyContactMechPurpose.thruDate?exists>(${uiLabelMap.CommonExpire}:${partyContactMechPurpose.thruDate.toString()})</#if>                    </div>              </#list>              <#if contactMech.contactMechTypeId?if_exists = "POSTAL_ADDRESS">                  <#assign postalAddress = partyContactMechValueMap.postalAddress?if_exists>                  <div class="tabletext">                  <#if postalAddress?exists>                    <#if postalAddress.toName?has_content><b>${uiLabelMap.CommonTo}:</b> ${postalAddress.toName}<br/></#if>                    <#if postalAddress.attnName?has_content><b>${uiLabelMap.PartyAddrAttnName}:</b> ${postalAddress.attnName}<br/></#if>                    ${postalAddress.address1}<br/>                    <#if postalAddress.address2?has_content>${postalAddress.address2}<br/></#if>                    ${postalAddress.city}<#if postalAddress.stateProvinceGeoId?has_content>,&nbsp;${postalAddress.stateProvinceGeoId}</#if>&nbsp;${postalAddress.postalCode?if_exists}                    <#if postalAddress.countryGeoId?has_content><br/>${postalAddress.countryGeoId}</#if>                    <#if (!postalAddress.countryGeoId?has_content || postalAddress.countryGeoId?if_exists = "USA")>                      <#assign addr1 = postalAddress.address1?if_exists>                      <#if (addr1.indexOf(" ") > 0)>                        <#assign addressNum = addr1.substring(0, addr1.indexOf(" "))>                        <#assign addressOther = addr1.substring(addr1.indexOf(" ")+1)>                        <a target="_blank" href="${uiLabelMap.EcommerceLookupWhitepagesLink}" class="linktext">(${uiLabelMap.EcommerceLookupWhitepages})</a>                      </#if>                    </#if>                  <#else>                    ${uiLabelMap.PartyPostalInformationNotFound}.                  </#if>                  </div>              <#elseif contactMech.contactMechTypeId?if_exists = "TELECOM_NUMBER">                  <#assign telecomNumber = partyContactMechValueMap.telecomNumber?if_exists>                  <div class="tabletext">                  <#if telecomNumber?exists>                    ${telecomNumber.countryCode?if_exists}                    <#if telecomNumber.areaCode?has_content>${telecomNumber.areaCode}-</#if>${telecomNumber.contactNumber?if_exists}                    <#if partyContactMech.extension?has_content>ext&nbsp;${partyContactMech.extension}</#if>                    <#if (!telecomNumber.countryCode?has_content || telecomNumber.countryCode = "011")>                      <a target="_blank" href="http://www.anywho.com/qry/wp_rl?npa=${telecomNumber.areaCode?if_exists}&telephone=${telecomNumber.contactNumber?if_exists}&btnsubmit.x=20&btnsubmit.y=8" class="linktext">(lookup:anywho.com)</a>

⌨️ 快捷键说明

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