<#-- 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. --> <#assign extInfo = parameters.extInfo?default("N")> <#if roleTypeId=="LEAD"> <#assign currentUrl="FindLead"/> <#assign title="${uiLabelMap.SfaFindLeads}"> <#assign currentUrl="FindLeads"/> <#assign title="${uiLabelMap.SfaFindLeads}"/> <#elseif roleTypeId=="CONTACT"> <#assign currentUrl="FindContacts"/> <#assign title="${uiLabelMap.SfaFindContacts}"/> <#if roleTypeId == "ACCOUNT"> <#assign currentUrl = "FindAccounts"/> <#assign title = "${uiLabelMap.MarketingFindAccounts}">


<#if parameters.hideFields?default("N") != "Y">
<#-- NOTE: this form is setup to allow a search by partial partyId or userLoginId; to change it to go directly to the viewprofile page when these are entered add the follow attribute to the form element: onsubmit="javascript:lookupParty('<@ofbizUrl>viewprofile');" -->
<#if roleTypeId != "ACCOUNT"> <#if roleTypeId != "CONTACT"> <#if extInfo == "P"> <#if extInfo == "T"> <#if extInfo == "O">
${uiLabelMap.PartyContactInformation} checked="checked"/>${uiLabelMap.CommonNone}  checked="checked"/>${uiLabelMap.PartyPostal}  checked="checked"/>${uiLabelMap.PartyTelecom}  checked="checked"/>${uiLabelMap.CommonOther} 
${uiLabelMap.PartyPartyId}
${uiLabelMap.PartyLastName}
${uiLabelMap.PartyFirstName}
${uiLabelMap.PartyPartyGroupName}

${uiLabelMap.CommonAddress1}
${uiLabelMap.CommonAddress2}
${uiLabelMap.CommonCity}
${uiLabelMap.CommonStateProvince}
${uiLabelMap.PartyPostalCode}

${uiLabelMap.PartyCountryCode}
${uiLabelMap.PartyAreaCode}
${uiLabelMap.PartyContactNumber}

${uiLabelMap.PartyContactInformation}

 
<#if parameters.hideFields?default("N") != "Y">