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

35 lines
1.5 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_Oppurtunities.png')}" class="summaryImg" />
</span>
<span class="span8 margin0px">
<span class="row-fluid">
<h4 class="recordLabel pushDown" title="{$RECORD->getName()}">
{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>&nbsp;
{/if}
{/foreach}
</h4>
</span>
{assign var=RELATED_TO value=$RECORD->get('related_to')}
{if !empty($RELATED_TO)}
<span class="row-fluid">
<span class="muted">{vtranslate('Related to',$MODULE_NAME)} - </span>
{$RECORD->getDisplayValue('related_to')}
</span>
{/if}
</span>
{/strip}