Files
CRM/layouts/vlayout/modules/Leads/DetailViewHeaderTitle.tpl
BACHIR SOULDI 2794e62571 first commit
2025-09-28 08:49:37 +01:00

40 lines
1.9 KiB
Smarty

{*<!--
/*********************************************************************************
** The contents of this file are subject to the vtiger CRM Public License Version 1.0
* ("License"); You may not use this file except in compliance with the License
* The Original Code is: vtiger CRM Open Source
* The Initial Developer of the Original Code is vtiger.
* Portions created by vtiger are Copyright (C) vtiger.
* All Rights Reserved.
*
********************************************************************************/
-->*}
{strip}
<span class="span2">
<img src="{vimage_path('summary_Leads.png')}" class="summaryImg" />
</span>
<span class="span8 margin0px">
<span class="row-fluid">
<h4 class="recordLabel pushDown" title="{$RECORD->getDisplayValue('salutationtype')}&nbsp;{$RECORD->getName()}"> &nbsp;
{if $RECORD->getDisplayValue('salutationtype')}
<span class="salutation">{$RECORD->getDisplayValue('salutationtype')}</span>&nbsp;
{/if}
{assign var=COUNTER value=0}
{foreach item=NAME_FIELD from=$MODULE_MODEL->getNameFields()}
{assign var=FIELD_MODEL value=$MODULE_MODEL->getField($NAME_FIELD)}
{if $FIELD_MODEL->getPermissions()}
<span class="{$NAME_FIELD}">{$RECORD->get($NAME_FIELD)}</span>
{if $COUNTER eq 0 && ($RECORD->get($NAME_FIELD))}&nbsp;{assign var=COUNTER value=$COUNTER+1}{/if}
{/if}
{/foreach}
</h4>
</span>
<span class="row-fluid">
<span class="designation_label">&nbsp;{$RECORD->getDisplayValue('designation')}</span>
{if $RECORD->getDisplayValue('designation') && $RECORD->getDisplayValue('company')}
&nbsp;{vtranslate('LBL_AT')}&nbsp;
{/if}
<span class="company_label">{$RECORD->get('company')}</span>
</span>
</span>
{/strip}