Files
CRM/test/templates_c/v7/979b2fab19cbffbca3e487269693618d4a67e044.file.LeadsByIndustry.tpl.php
BACHIR SOULDI 2794e62571 first commit
2025-09-28 08:49:37 +01:00

128 lines
6.8 KiB
PHP

<?php /* Smarty version Smarty-3.1.7, created on 2020-03-04 08:21:29
compiled from "/home/sophalnexs/www/sophalcrm/includes/runtime/../../layouts/v7/modules/Leads/dashboards/LeadsByIndustry.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1148169585e5f6509861106-16876324%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'979b2fab19cbffbca3e487269693618d4a67e044' =>
array (
0 => '/home/sophalnexs/www/sophalcrm/includes/runtime/../../layouts/v7/modules/Leads/dashboards/LeadsByIndustry.tpl',
1 => 1583050793,
2 => 'file',
),
),
'nocache_hash' => '1148169585e5f6509861106-16876324',
'function' =>
array (
),
'variables' =>
array (
'MODULE_NAME' => 0,
'CURRENTUSER' => 0,
'CURRENT_USER_ID' => 0,
'ALL_ACTIVEUSER_LIST' => 0,
'OWNER_ID' => 0,
'OWNER_NAME' => 0,
'ALL_ACTIVEGROUP_LIST' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_5e5f650995772',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5e5f650995772')) {function content_5e5f650995772($_smarty_tpl) {?>
<script type="text/javascript">
Vtiger_Barchat_Widget_Js('Vtiger_LeadsByIndustry_Widget_Js',{},{});
</script>
<div class="dashboardWidgetHeader">
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("dashboards/WidgetHeader.tpl",$_smarty_tpl->tpl_vars['MODULE_NAME']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('SETTING_EXIST'=>true), 0);?>
</div>
<div class="dashboardWidgetContent">
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("dashboards/DashBoardWidgetContents.tpl",$_smarty_tpl->tpl_vars['MODULE_NAME']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
</div>
<div class="widgeticons dashBoardWidgetFooter">
<div class="filterContainer">
<div class="row">
<div class="col-sm-12">
<span class="col-lg-4">
<span>
<strong><?php echo vtranslate('Created Time',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
&nbsp; <?php echo vtranslate('LBL_BETWEEN',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
</strong>
</span>
</span>
<div class="col-lg-7">
<div class="input-daterange input-group dateRange widgetFilter" id="datepicker" name="createdtime">
<input type="text" class="input-sm form-control" name="start" style="height:30px;"/>
<span class="input-group-addon">to</span>
<input type="text" class="input-sm form-control" name="end" style="height:30px;"/>
</div>
</div>
</div>
</div>
<br>
<div class="row">
<div class="col-sm-12">
<span class="col-lg-4">
<span>
<strong><?php echo vtranslate('Assigned To',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
</strong>
</span>
</span>
<span class="col-lg-7">
<?php $_smarty_tpl->tpl_vars['CURRENT_USER_ID'] = new Smarty_variable($_smarty_tpl->tpl_vars['CURRENTUSER']->value->getId(), null, 0);?>
<select class="select2 col-sm-12 widgetFilter reloadOnChange" name="smownerid">
<option value="<?php echo $_smarty_tpl->tpl_vars['CURRENT_USER_ID']->value;?>
"><?php echo vtranslate('LBL_MINE');?>
</option>
<option value=""><?php echo vtranslate('LBL_ALL',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
</option>
<?php $_smarty_tpl->tpl_vars['ALL_ACTIVEUSER_LIST'] = new Smarty_variable($_smarty_tpl->tpl_vars['CURRENTUSER']->value->getAccessibleUsers(), null, 0);?>
<?php if (count($_smarty_tpl->tpl_vars['ALL_ACTIVEUSER_LIST']->value)>1){?>
<optgroup label="<?php echo vtranslate('LBL_USERS');?>
">
<?php $_smarty_tpl->tpl_vars['OWNER_NAME'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['OWNER_NAME']->_loop = false;
$_smarty_tpl->tpl_vars['OWNER_ID'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['ALL_ACTIVEUSER_LIST']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['OWNER_NAME']->key => $_smarty_tpl->tpl_vars['OWNER_NAME']->value){
$_smarty_tpl->tpl_vars['OWNER_NAME']->_loop = true;
$_smarty_tpl->tpl_vars['OWNER_ID']->value = $_smarty_tpl->tpl_vars['OWNER_NAME']->key;
?>
<?php if ($_smarty_tpl->tpl_vars['OWNER_ID']->value!=$_smarty_tpl->tpl_vars['CURRENT_USER_ID']->value){?>
<option value="<?php echo $_smarty_tpl->tpl_vars['OWNER_ID']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['OWNER_NAME']->value;?>
</option>
<?php }?>
<?php } ?>
</optgroup>
<?php }?>
<?php $_smarty_tpl->tpl_vars['ALL_ACTIVEGROUP_LIST'] = new Smarty_variable($_smarty_tpl->tpl_vars['CURRENTUSER']->value->getAccessibleGroups(), null, 0);?>
<?php if (!empty($_smarty_tpl->tpl_vars['ALL_ACTIVEGROUP_LIST']->value)){?>
<optgroup label="<?php echo vtranslate('LBL_GROUPS');?>
">
<?php $_smarty_tpl->tpl_vars['OWNER_NAME'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['OWNER_NAME']->_loop = false;
$_smarty_tpl->tpl_vars['OWNER_ID'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['ALL_ACTIVEGROUP_LIST']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['OWNER_NAME']->key => $_smarty_tpl->tpl_vars['OWNER_NAME']->value){
$_smarty_tpl->tpl_vars['OWNER_NAME']->_loop = true;
$_smarty_tpl->tpl_vars['OWNER_ID']->value = $_smarty_tpl->tpl_vars['OWNER_NAME']->key;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['OWNER_ID']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['OWNER_NAME']->value;?>
</option>
<?php } ?>
</optgroup>
<?php }?>
</select>
</span>
</div>
</div>
</div>
<div class="footerIcons pull-right">
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("dashboards/DashboardFooterIcons.tpl",$_smarty_tpl->tpl_vars['MODULE_NAME']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('SETTING_EXIST'=>true), 0);?>
</div>
</div><?php }} ?>