78 lines
3.0 KiB
PHP
78 lines
3.0 KiB
PHP
<?php /* Smarty version Smarty-3.1.7, created on 2020-01-29 15:50:31
|
|
compiled from "C:\inetpub\wwwroot\sophalcrm\includes\runtime/../../layouts/v7\modules\Potentials\dashboards\TopPotentialsContents.tpl" */ ?>
|
|
<?php /*%%SmartyHeaderCode:8499113475e31a9c7443d67-56017090%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
$_valid = $_smarty_tpl->decodeProperties(array (
|
|
'file_dependency' =>
|
|
array (
|
|
'a5187d2e36eed065ea475d8562ce55ce5be0fe68' =>
|
|
array (
|
|
0 => 'C:\\inetpub\\wwwroot\\sophalcrm\\includes\\runtime/../../layouts/v7\\modules\\Potentials\\dashboards\\TopPotentialsContents.tpl',
|
|
1 => 1520586670,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'nocache_hash' => '8499113475e31a9c7443d67-56017090',
|
|
'function' =>
|
|
array (
|
|
),
|
|
'variables' =>
|
|
array (
|
|
'MODELS' => 0,
|
|
'MODULE_NAME' => 0,
|
|
'MODEL' => 0,
|
|
'USER_CURRENCY_SYMBOL' => 0,
|
|
),
|
|
'has_nocache_code' => false,
|
|
'version' => 'Smarty-3.1.7',
|
|
'unifunc' => 'content_5e31a9c746bfe',
|
|
),false); /*/%%SmartyHeaderCode%%*/?>
|
|
<?php if ($_valid && !is_callable('content_5e31a9c746bfe')) {function content_5e31a9c746bfe($_smarty_tpl) {?>
|
|
<div style='padding:5px'>
|
|
<?php if (count($_smarty_tpl->tpl_vars['MODELS']->value)>0){?>
|
|
<div>
|
|
<div class='row'>
|
|
<div class='col-lg-4'>
|
|
<b><?php echo vtranslate('Potential Name',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
|
</b>
|
|
</div>
|
|
<div class='col-lg-4'>
|
|
<b><?php echo vtranslate('Amount',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
|
</b>
|
|
</div>
|
|
<div class='col-lg-4'>
|
|
<b><?php echo vtranslate('Related To',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
|
</b>
|
|
</div>
|
|
</div>
|
|
<hr>
|
|
<?php $_smarty_tpl->tpl_vars['MODEL'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['MODEL']->_loop = false;
|
|
$_from = $_smarty_tpl->tpl_vars['MODELS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|
foreach ($_from as $_smarty_tpl->tpl_vars['MODEL']->key => $_smarty_tpl->tpl_vars['MODEL']->value){
|
|
$_smarty_tpl->tpl_vars['MODEL']->_loop = true;
|
|
?>
|
|
<div class='row'>
|
|
<div class='col-lg-4'>
|
|
<a href="<?php echo $_smarty_tpl->tpl_vars['MODEL']->value->getDetailViewUrl();?>
|
|
"><?php echo $_smarty_tpl->tpl_vars['MODEL']->value->getName();?>
|
|
</a>
|
|
</div>
|
|
<div class='col-lg-4'>
|
|
<?php echo CurrencyField::appendCurrencySymbol($_smarty_tpl->tpl_vars['MODEL']->value->getDisplayValue('amount'),$_smarty_tpl->tpl_vars['USER_CURRENCY_SYMBOL']->value);?>
|
|
|
|
</div>
|
|
<div class='col-lg-4'>
|
|
<?php echo $_smarty_tpl->tpl_vars['MODEL']->value->getDisplayValue('related_to');?>
|
|
|
|
</div>
|
|
</div>
|
|
<?php } ?>
|
|
</div>
|
|
<?php }else{ ?>
|
|
<span class="noDataMsg">
|
|
<?php echo vtranslate('LBL_NO');?>
|
|
<?php echo vtranslate($_smarty_tpl->tpl_vars['MODULE_NAME']->value,$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
|
<?php echo vtranslate('LBL_MATCHED_THIS_CRITERIA');?>
|
|
|
|
</span>
|
|
<?php }?>
|
|
</div><?php }} ?>
|