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

129 lines
6.8 KiB
PHP

<?php /* Smarty version Smarty-3.1.7, created on 2019-09-09 16:37:28
compiled from "C:\wamp64\www\sophalcrm\includes\runtime/../../layouts/v7\modules\Leads\dashboards\LeadsByStatus.tpl" */ ?>
<?php /*%%SmartyHeaderCode:38945d767fc8cdfc66-88035980%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'c7a5990768e48a5449399e60f1ddb7fb490001be' =>
array (
0 => 'C:\\wamp64\\www\\sophalcrm\\includes\\runtime/../../layouts/v7\\modules\\Leads\\dashboards\\LeadsByStatus.tpl',
1 => 1520586670,
2 => 'file',
),
),
'nocache_hash' => '38945d767fc8cdfc66-88035980',
'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_5d767fc8e4901',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5d767fc8e4901')) {function content_5d767fc8e4901($_smarty_tpl) {?>
<script type="text/javascript">
Vtiger_Barchat_Widget_Js('Vtiger_LeadsByStatus_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 }} ?>