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

534 lines
30 KiB
PHP
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-11 09:02:41
compiled from "/home/sophalnexs/www/sophalcrm/includes/runtime/../../layouts/v7/modules/Vtiger/partials/SidebarAppMenu.tpl" */ ?>
<?php /*%%SmartyHeaderCode:10596030275e5b89ca273986-40288221%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'2d679262877963e1afda6de182b16632f23c5a1a' =>
array (
0 => '/home/sophalnexs/www/sophalcrm/includes/runtime/../../layouts/v7/modules/Vtiger/partials/SidebarAppMenu.tpl',
1 => 1757581358,
2 => 'file',
),
),
'nocache_hash' => '10596030275e5b89ca273986-40288221',
'function' =>
array (
),
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_5e5b89ca33eaa',
'variables' =>
array (
'USER_MODEL' => 0,
'DASHBOARD_MODULE_MODEL' => 0,
'USER_PRIVILEGES_MODEL' => 0,
'HOME_MODULE_MODEL' => 0,
'MODULE' => 0,
'APP_LIST' => 0,
'foo' => 0,
'APP_NAME' => 0,
'APP_GROUPED_MENU' => 0,
'APP_MENU_MODEL' => 0,
'APP_IMAGE_MAP' => 0,
'moduleModel' => 0,
'moduleName' => 0,
'translatedModuleLabel' => 0,
'roleid' => 0,
'IS_ADMIN_NDF' => 0,
'CALENDAR_MODULE_MODEL' => 0,
'MAILMANAGER_MODULE_MODEL' => 0,
'DOCUMENTS_MODULE_MODEL' => 0,
),
'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5e5b89ca33eaa')) {function content_5e5b89ca33eaa($_smarty_tpl) {?>
<div class="vertical-menu" id="vertical-scrollbar" >
<div class="container-fluid">
<?php $_smarty_tpl->tpl_vars["roleid"] = new Smarty_variable($_smarty_tpl->tpl_vars['USER_MODEL']->value->get('roleid'), null, 0);?>
<?php $_smarty_tpl->tpl_vars['USER_PRIVILEGES_MODEL'] = new Smarty_variable(Users_Privileges_Model::getCurrentUserPrivilegesModel(), null, 0);?>
<?php $_smarty_tpl->tpl_vars['HOME_MODULE_MODEL'] = new Smarty_variable(Vtiger_Module_Model::getInstance('Home'), null, 0);?>
<?php $_smarty_tpl->tpl_vars['DASHBOARD_MODULE_MODEL'] = new Smarty_variable(Vtiger_Module_Model::getInstance('Dashboard'), null, 0);?>
<?php $_smarty_tpl->tpl_vars['IS_ADMIN_NDF'] = new Smarty_variable(isAdminNdf($_smarty_tpl->tpl_vars['USER_MODEL']->value->get('id')), null, 0);?>
<div class="app-list row">
<?php if ($_smarty_tpl->tpl_vars['USER_PRIVILEGES_MODEL']->value->hasModulePermission($_smarty_tpl->tpl_vars['DASHBOARD_MODULE_MODEL']->value->getId())){?>
<!--<div class="menu-item app-item dropdown-toggle" data-default-url="<?php echo $_smarty_tpl->tpl_vars['HOME_MODULE_MODEL']->value->getDefaultUrl();?>
"> -->
<div class="menu-item app-item dropdown-toggle" data-default-url="?module=DashBoardAll&view=DashBoardAll">
<div class="menu-items-wrapper">
<span class="app-icon-list fa fa-dashboard"></span>
<span class="app-name textOverflowEllipsis"> <?php echo vtranslate('LBL_DASHBOARD',$_smarty_tpl->tpl_vars['MODULE']->value);?>
</span>
</div>
</div>
<?php }?>
<?php $_smarty_tpl->tpl_vars['APP_GROUPED_MENU'] = new Smarty_variable(Settings_MenuEditor_Module_Model::getAllVisibleModules(), null, 0);?>
<?php $_smarty_tpl->tpl_vars['APP_LIST'] = new Smarty_variable(Vtiger_MenuStructure_Model::getAppMenuList(), null, 0);?>
<?php $_smarty_tpl->tpl_vars['foo'] = new Smarty_variable(0, null, 0);?>
<?php $_smarty_tpl->tpl_vars['APP_NAME'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['APP_NAME']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['APP_LIST']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['APP_NAME']->key => $_smarty_tpl->tpl_vars['APP_NAME']->value){
$_smarty_tpl->tpl_vars['APP_NAME']->_loop = true;
?>
<?php $_smarty_tpl->tpl_vars['foo'] = new Smarty_variable($_smarty_tpl->tpl_vars['foo']->value+1, null, 0);?>
<?php if ($_smarty_tpl->tpl_vars['APP_NAME']->value=='ANALYTICS'){?> <?php continue 1?><?php }?>
<?php if (count($_smarty_tpl->tpl_vars['APP_GROUPED_MENU']->value[$_smarty_tpl->tpl_vars['APP_NAME']->value])>0){?>
<div class="dropdown app-modules-dropdown-container">
<?php $_smarty_tpl->tpl_vars['APP_MENU_MODEL'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['APP_MENU_MODEL']->_loop = false;
$_from = $_smarty_tpl->tpl_vars['APP_GROUPED_MENU']->value[$_smarty_tpl->tpl_vars['APP_NAME']->value]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['APP_MENU_MODEL']->key => $_smarty_tpl->tpl_vars['APP_MENU_MODEL']->value){
$_smarty_tpl->tpl_vars['APP_MENU_MODEL']->_loop = true;
?>
<?php $_smarty_tpl->tpl_vars['FIRST_MENU_MODEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['APP_MENU_MODEL']->value, null, 0);?>
<?php if ($_smarty_tpl->tpl_vars['APP_MENU_MODEL']->value){?>
<?php break 1?>
<?php }?>
<?php } ?>
<div class="menu-item app-item dropdown-toggle app-item-color-<?php echo $_smarty_tpl->tpl_vars['APP_NAME']->value;?>
" data-app-name="<?php echo $_smarty_tpl->tpl_vars['APP_NAME']->value;?>
" id="<?php echo $_smarty_tpl->tpl_vars['APP_NAME']->value;?>
_modules_dropdownMenu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" ">
<div class="menu-items-wrapper app-menu-items-wrapper" data-toggle="collapse" data-target="#<?php echo $_smarty_tpl->tpl_vars['APP_LIST']->value[$_smarty_tpl->tpl_vars['foo']->value];?>
<?php echo $_smarty_tpl->tpl_vars['foo']->value;?>
" aria-expanded="true" >
<span class="app-icon-list fa <?php echo $_smarty_tpl->tpl_vars['APP_IMAGE_MAP']->value[$_smarty_tpl->tpl_vars['APP_NAME']->value];?>
"></span>
<span class="app-name textOverflowEllipsis"> <?php echo vtranslate("LBL_".($_smarty_tpl->tpl_vars['APP_NAME']->value));?>
</span>
<span class="fa fa-chevron-down pull-right"></span>
</div>
</div>
<ul class="collapse" style=" list-style-type: none;" aria-labelledby="<?php echo $_smarty_tpl->tpl_vars['APP_NAME']->value;?>
_modules_dropdownMenu" id="<?php echo $_smarty_tpl->tpl_vars['APP_LIST']->value[$_smarty_tpl->tpl_vars['foo']->value];?>
<?php echo $_smarty_tpl->tpl_vars['foo']->value;?>
" aria-labelledby="<?php echo $_smarty_tpl->tpl_vars['APP_NAME']->value;?>
_modules_dropdownMenu" >
<?php $_smarty_tpl->tpl_vars['moduleModel'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['moduleModel']->_loop = false;
$_smarty_tpl->tpl_vars['moduleName'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['APP_GROUPED_MENU']->value[$_smarty_tpl->tpl_vars['APP_NAME']->value]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['moduleModel']->key => $_smarty_tpl->tpl_vars['moduleModel']->value){
$_smarty_tpl->tpl_vars['moduleModel']->_loop = true;
$_smarty_tpl->tpl_vars['moduleName']->value = $_smarty_tpl->tpl_vars['moduleModel']->key;
?>
<?php $_smarty_tpl->tpl_vars['translatedModuleLabel'] = new Smarty_variable(vtranslate($_smarty_tpl->tpl_vars['moduleModel']->value->get('label'),$_smarty_tpl->tpl_vars['moduleName']->value), null, 0);?>
<li style=" padding: 2.5% 2% !important;">
<a style=" font-size: 13px; color:#ffffff; text-shadow: 0 0 1px #000;" href="<?php echo $_smarty_tpl->tpl_vars['moduleModel']->value->getDefaultUrl();?>
&app=<?php echo $_smarty_tpl->tpl_vars['APP_NAME']->value;?>
" title="<?php echo $_smarty_tpl->tpl_vars['translatedModuleLabel']->value;?>
">
<!-- <span class="module-icon"><?php echo $_smarty_tpl->tpl_vars['moduleModel']->value->getModuleIcon();?>
</span> -->
<span style=" padding-top:0px;" class="module-name textOverflowEllipsis"> <?php echo $_smarty_tpl->tpl_vars['translatedModuleLabel']->value;?>
</span>
</a>
</li>
<?php } ?>
<!--Sophal-->
<?php if ($_smarty_tpl->tpl_vars['roleid']->value=='H2'){?>
<li style=" padding: 2.5% 2% !important;">
<a style=" color:#ffffff; " href="?module=TransfertPF&view=TransfertPF">
<!--<span class="fa fa-cog module-icon"></span>-->
<span style="font-size: 10pt" class="module-name textOverflowEllipsis">Transfert Porte Feuille </span>
</a>
</li>
<?php }?>
<?php if (isDG($_smarty_tpl->tpl_vars['roleid']->value)){?>
<?php if ($_smarty_tpl->tpl_vars['APP_NAME']->value=='INVENTORY'){?>
<li style=" padding: 2.5% 2% !important;">
<a style=" color:#ffffff; " href="?module=QuestionnaireList&view=QuestionnaireList&IDproduit=0">
<!--<span class="fa fa-cog module-icon"></span>-->
<span style="font-size: 10pt" class="module-name textOverflowEllipsis">Questionnaires</span>
</a>
</li>
<?php if ($_smarty_tpl->tpl_vars['USER_MODEL']->value->isAdminUser()){?>
<li style=" padding: 2.5% 2% !important;">
<a style=" color:#ffffff; " href="?module=TransfertPF&view=TransfertPF">
<!--<span class="fa fa-cog module-icon"></span>-->
<span style="font-size: 10pt" class="module-name textOverflowEllipsis">Transfert Porte Feuille </span>
</a>
</li>
<?php }?>
<li style=" padding: 2.5% 2% !important;">
<a style=" color:#ffffff; " href="?module=SplashScreenListe&view=QuestionnaireList">
<!--<span class="fa fa-cog module-icon"></span>-->
<span style="font-size: 10pt" class="module-name textOverflowEllipsis">Splash Screen</span>
</a>
</li>
<li style=" padding: 2.5% 2% !important;">
<a style=" color:#ffffff; " href="?module=map&view=map">
<!--<span class="fa fa-cog module-icon"></span>-->
<span style="font-size: 10pt" class="module-name textOverflowEllipsis">carte</span>
</a>
</li>
<?php }?>
<?php }?>
<?php if (isGro($_smarty_tpl->tpl_vars['roleid']->value)||isDG($_smarty_tpl->tpl_vars['roleid']->value)||$_smarty_tpl->tpl_vars['roleid']->value=='H34'||$_smarty_tpl->tpl_vars['roleid']->value=='H36'||$_smarty_tpl->tpl_vars['roleid']->value=='H38'||$_smarty_tpl->tpl_vars['roleid']->value=='H42'||$_smarty_tpl->tpl_vars['roleid']->value=='H44'){?>
<?php if ($_smarty_tpl->tpl_vars['APP_NAME']->value=='INVENTORY'){?>
<li style=" padding: 2.5% 2% !important;">
<a style=" color:#ffffff; " href="?module=EtatStockList&view=EtatStockList">
<!--<span class="fa fa-cog module-icon"></span>-->
<span style="font-size: 10pt" class="module-name textOverflowEllipsis">Stocks</span>
</a>
</li>
<?php }?>
<?php }?>
</ul>
</div>
<?php }?>
<?php } ?>
<?php if (isGro($_smarty_tpl->tpl_vars['roleid']->value)||isDG($_smarty_tpl->tpl_vars['roleid']->value)){?>
<div class="dropdown app-modules-dropdown-container dropdown-compact">
<div class="menu-item app-item dropdown-toggle app-item-misc" data-app-name="RECOUVREMENT " id="RECOUVEREMENT_modules_dropdownMenu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" >
<div data-toggle="collapse" data-target="#RECOUVREMENT" class="menu-items-wrapper app-menu-items-wrapper">
<span class="app-icon-list vicon-potentials"></span>
<span class="app-name textOverflowEllipsis"> RECOUVREMENT </span>
<span class="fa fa-chevron-down pull-right"></span>
</div>
</div>
<ul id="RECOUVREMENT" class="collapse" style=" list-style-type: none;" aria-labelledby="RECOUVREMENT_modules_dropdownMenu" data-height="0.27">
<li style=" padding: 2.5% 2% !important;">
<a style=" color:#ffffff; " href="?module=Encaissement&view=Encaissement">
<!--<span class="fa fa-cog module-icon"></span>-->
<span style="font-size: 10pt" class="module-name textOverflowEllipsis"> Encaissements</span>
</a>
</li>
<li style=" padding: 2.5% 2% !important;">
<a style=" color:#ffffff; " href="?module=Invoice&view=List&app=SALES">
<!--<span class="fa fa-cog module-icon"></span>-->
<span style="font-size: 10pt" class="module-name textOverflowEllipsis"> Echéancier</span>
</a>
</li>
<li style=" padding: 2.5% 2% !important;">
<a style=" color:#ffffff; " href="?module=EncaissementBalance&view=EncaissementBalance">
<!--<span class="fa fa-cog module-icon"></span>-->
<span style="font-size: 10pt" class="module-name textOverflowEllipsis"> Balance</span>
</a>
</li>
</ul>
</div>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['roleid']->value=='H200'){?>
<div class="dropdown app-modules-dropdown-container dropdown-compact">
<div class="menu-item app-item dropdown-toggle app-item-misc" data-app-name="Note_de_frais " id="Note_de_frais_modules_dropdownMenu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" >
<div data-toggle="collapse" data-target="#Note_de_frais" class="menu-items-wrapper app-menu-items-wrapper">
<span class="fa fa-building-o fa-3"></span>
<span class="app-name textOverflowEllipsis">&nbsp;&nbsp;Note de frais </span>
<span class="fa fa-chevron-down pull-right"></span>
</div>
</div>
<ul id="Note_de_frais" class="collapse" style=" list-style-type: none;" aria-labelledby="Note_de_frais_modules_dropdownMenu" data-height="0.27">
<li style=" padding: 2.5% 2% !important;">
<a style=" color:#ffffff; " href="?module=NoteDeFraisList&view=NoteDeFraisList">
<!--<span class="fa fa-cog module-icon"></span>-->
<span style="font-size: 10pt" class="module-name textOverflowEllipsis">Note de frais</span>
</a>
</li>
<?php if ($_smarty_tpl->tpl_vars['IS_ADMIN_NDF']->value==true){?>
<li style=" padding: 2.5% 2% !important;">
<a style=" color:#ffffff; " href="?module=NoteDeFraisParametrage&view=NoteDeFraisParametrage">
<!--<span class="fa fa-cog module-icon"></span>-->
<span style="font-size: 10pt" class="module-name textOverflowEllipsis">Paramétrage</span>
</a>
</li>
<?php }?>
</ul>
</div>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['roleid']->value=='H33'){?>
<li style=" padding: 2.5% 2% !important;">
<a style=" color:#ffffff; " href="?module=QuestionnaireList&view=QuestionnaireList&IDproduit=0">
<!--<span class="fa fa-cog module-icon"></span>-->
<span style="font-size: 10pt" class="module-name textOverflowEllipsis">Questionnaires</span>
</a>
</li>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['roleid']->value!='H33'){?>
<div class="dropdown app-modules-dropdown-container dropdown-compact">
<div class="menu-item app-item dropdown-toggle app-item-misc" data-app-name="TOURNEE" id="TOURNEE_modules_dropdownMenu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" >
<div data-toggle="collapse" data-target="#tournee" class="menu-items-wrapper app-menu-items-wrapper">
<span class="app-icon-list fa fa-dot-circle-o"></span>
<span class="app-name textOverflowEllipsis"> MES TOURNEES </span>
<span class="fa fa-chevron-down pull-right"></span>
</div>
</div>
<ul id="tournee" class="collapse" style=" list-style-type: none;" aria-labelledby="TOURNEE_modules_dropdownMenu" data-height="0.27">
<?php if (isDRMedical($_smarty_tpl->tpl_vars['roleid']->value)||isDG($_smarty_tpl->tpl_vars['roleid']->value)){?>
<li style=" padding: 2.5% 2% !important;">
<a style=" color:#ffffff; " href="?module=PlanificationDR&view=PlanificationDR">
<!--<span class="fa fa-cog module-icon"></span>-->
<span style="font-size: 10pt" class="module-name textOverflowEllipsis"> Planification </span>
</a>
</li>
<?php }?>
<li style=" padding: 2.5% 2% !important;">
<a style=" color:#ffffff; " href="?module=PTGeneration&view=PTGeneration">
<!--<span class="fa fa-cog module-icon"></span>-->
<span style="font-size: 10pt" class="module-name textOverflowEllipsis"> Génération</span>
</a>
</li>
<li style=" padding: 2.5% 2% !important;">
<a style=" color:#ffffff; " href="?module=MyPT&view=MyPT">
<!--<span class="fa fa-user module-icon"></span>-->
<span style="font-size: 10pt" class="module-name textOverflowEllipsis"> Ma Tournée</span>
</a>
</li>
<li style=" padding: 2.5% 2% !important;">
<a style=" color:#ffffff; " href="?module=Calendar&parent=&page=&view=List&viewname=65&orderby=&sortorder=&app=MARKETING&tag_params=%5B%5D&nolistcache=0&list_headers=&tag=">
<!--<span class="fa fa-user module-icon"></span>-->
<span style="font-size: 10pt" class="module-name textOverflowEllipsis"> Retards</span>
</a>
</li>
<li style=" padding: 2.5% 2% !important;">
<a style=" color:#ffffff; " href="?module=Calendar&parent=&page=&view=List&viewname=64&orderby=&sortorder=&app=MARKETING&tag_params=%5B%5D&nolistcache=0&list_headers=&tag=">
<!--<span class="fa fa-user module-icon"></span>-->
<span style="font-size: 10pt" class="module-name textOverflowEllipsis"> Réalisés</span>
</a>
</li>
<li style=" padding: 2.5% 2% !important;">
<a style=" color:#ffffff; " href="?module=PTReporting&view=PTReporting">
<!--<span class="fa fa-user module-icon"></span>-->
<span style="font-size: 10pt" class="module-name textOverflowEllipsis"> Réporting</span>
</a>
</li>
</ul>
</div>
<?php }?>
<?php if ((isMedecin($_smarty_tpl->tpl_vars['roleid']->value)&&!isDRMedical($_smarty_tpl->tpl_vars['roleid']->value))||isDG($_smarty_tpl->tpl_vars['roleid']->value)||$_smarty_tpl->tpl_vars['roleid']->value=='H33'||$_smarty_tpl->tpl_vars['roleid']->value=='H8'){?>
<div class="dropdown app-modules-dropdown-container dropdown-compact">
<div class="menu-item app-item dropdown-toggle app-item-misc" data-app-name="EVALUATION " id="EVALUATION_modules_dropdownMenu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" >
<div data-toggle="collapse" data-target="#evaluation" class="menu-items-wrapper app-menu-items-wrapper">
<span class="app-icon-list fa fa-check-square"></span>
<span class="app-name textOverflowEllipsis"> EVALUATION </span>
<span class="fa fa-chevron-down pull-right"></span>
</div>
</div>
<ul id="evaluation" class="collapse" style=" list-style-type: none;" aria-labelledby="EVALUATION_modules_dropdownMenu" data-height="0.27">
<li style=" padding: 2.5% 2% !important;">
<a style=" color:#ffffff; " href="?module=QCMGeneration&view=QCMGeneration">
<!--<span class="fa fa-cog module-icon"></span>-->
<span style="font-size: 10pt" class="module-name textOverflowEllipsis"> Passage</span>
</a>
</li>
<li style=" padding: 2.5% 2% !important;">
<a style=" color:#ffffff; " href="?module=QCMNotes&view=QCMNotes">
<!--<span class="fa fa-cog module-icon"></span>-->
<span style="font-size: 10pt" class="module-name textOverflowEllipsis"> Notes</span>
</a>
</li>
<?php if (isDG($_smarty_tpl->tpl_vars['roleid']->value)||$_smarty_tpl->tpl_vars['roleid']->value=='H33'){?>
<li style=" padding: 2.5% 2% !important;">
<a style=" color:#ffffff; " href="?module=QCMExamen&view=QCMExamen">
<!--<span class="fa fa-user module-icon"></span>-->
<span style="font-size: 10pt" class="module-name textOverflowEllipsis"> Examen</span>
</a>
</li>
<?php }?>
</ul>
</div>
<?php }?>
<?php if (isDG($_smarty_tpl->tpl_vars['roleid']->value)||$_smarty_tpl->tpl_vars['roleid']->value=='H33'||$_smarty_tpl->tpl_vars['roleid']->value=='H8'||$_smarty_tpl->tpl_vars['roleid']->value=='H12'||$_smarty_tpl->tpl_vars['roleid']->value=='H34'||$_smarty_tpl->tpl_vars['roleid']->value=='H36'||$_smarty_tpl->tpl_vars['roleid']->value=='H38'||$_smarty_tpl->tpl_vars['roleid']->value=='H42'||$_smarty_tpl->tpl_vars['roleid']->value=='H44'||$_smarty_tpl->tpl_vars['roleid']->value=='H17'||$_smarty_tpl->tpl_vars['roleid']->value=='H18'||$_smarty_tpl->tpl_vars['roleid']->value=='H20'||$_smarty_tpl->tpl_vars['roleid']->value=='H21'||$_smarty_tpl->tpl_vars['roleid']->value=='H24'||$_smarty_tpl->tpl_vars['roleid']->value=='H25'||$_smarty_tpl->tpl_vars['roleid']->value=='H26'||$_smarty_tpl->tpl_vars['roleid']->value=='H39'){?>
<div class="dropdown app-modules-dropdown-container dropdown-compact">
<div class="menu-item app-item dropdown-toggle app-item-misc" data-app-name="Reporting " id="Reporting_modules_dropdownMenu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" >
<div data-toggle="collapse" data-target="#Reporting" class="menu-items-wrapper app-menu-items-wrapper">
<span class="fa fa-line-chart"></span>
<span class="app-name textOverflowEllipsis">&nbsp;REPORTING</span>
<span class="fa fa-chevron-down pull-right"></span>
</div>
</div>
<ul id="Reporting" class="collapse" style=" list-style-type: none;" aria-labelledby="Reporting_modules_dropdownMenu" data-height="0.27">
<?php if (isDG($_smarty_tpl->tpl_vars['roleid']->value)||$_smarty_tpl->tpl_vars['roleid']->value=='H33'){?>
<li style=" padding: 2.5% 2% !important;">
<a style=" color:#ffffff; " href="?module=RapportVisitesCoaching&view=RapportVisitesCoaching">
<!--<span class="fa fa-cog module-icon"></span>-->
<span style="font-size: 10pt" class="module-name textOverflowEllipsis">Visites Coaching</span>
</a>
</li>
<li style=" padding: 2.5% 2% !important;">
<a style=" color:#ffffff; " href="?module=MonitoringPack&view=MonitoringPack">
<!--<span class="fa fa-cog module-icon"></span>-->
<span style="font-size: 10pt" class="module-name textOverflowEllipsis">Pack</span>
</a>
</li>
<li style=" padding: 2.5% 2% !important;">
<a style=" color:#ffffff; " href="?module=QuestionnaireReporting&view=QuestionnaireReporting">
<!--<span class="fa fa-cog module-icon"></span>-->
<span style="font-size: 10pt" class="module-name textOverflowEllipsis">Questionnaire</span>
</a>
</li>
<li style=" padding: 2.5% 2% !important;">
<a style=" color:#ffffff; " href="?module=EtatStockReporting&view=EtatStockReporting">
<!--<span class="fa fa-cog module-icon"></span>-->
<span style="font-size: 10pt" class="module-name textOverflowEllipsis">Stock</span>
</a>
</li>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['roleid']->value=='H8'){?>
<li style=" padding: 2.5% 2% !important;">
<a style=" color:#ffffff; " href="?module=QuestionnaireReporting&view=QuestionnaireReporting">
<!--<span class="fa fa-cog module-icon"></span>-->
<span style="font-size: 10pt" class="module-name textOverflowEllipsis">Questionnaire</span>
</a>
</li>
<li style=" padding: 2.5% 2% !important;">
<a style=" color:#ffffff; " href="?module=RapportVisitesCoaching&view=RapportVisitesCoaching">
<!--<span class="fa fa-cog module-icon"></span>-->
<span style="font-size: 10pt" class="module-name textOverflowEllipsis">Visites Coaching</span>
</a>
</li>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['roleid']->value=='H12'||$_smarty_tpl->tpl_vars['roleid']->value=='H11'||$_smarty_tpl->tpl_vars['roleid']->value=='H4'||$_smarty_tpl->tpl_vars['roleid']->value=='H34'||$_smarty_tpl->tpl_vars['roleid']->value=='H36'||$_smarty_tpl->tpl_vars['roleid']->value=='H38'||$_smarty_tpl->tpl_vars['roleid']->value=='H42'||$_smarty_tpl->tpl_vars['roleid']->value=='H44'){?>
<li style=" padding: 2.5% 2% !important;">
<a style=" color:#ffffff; " href="?module=EtatStockReporting&view=EtatStockReporting">
<!--<span class="fa fa-cog module-icon"></span>-->
<span style="font-size: 10pt" class="module-name textOverflowEllipsis">Stock</span>
</a>
</li>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['roleid']->value!='H12'&&$_smarty_tpl->tpl_vars['roleid']->value!='H11'&&$_smarty_tpl->tpl_vars['roleid']->value!='H4'&&$_smarty_tpl->tpl_vars['roleid']->value!='H34'&&$_smarty_tpl->tpl_vars['roleid']->value!='H36'&&$_smarty_tpl->tpl_vars['roleid']->value!='H38'&&$_smarty_tpl->tpl_vars['roleid']->value!='H42'&&$_smarty_tpl->tpl_vars['roleid']->value!='H44'){?>
<li style=" padding: 2.5% 2% !important;">
<a style=" color:#ffffff; " href="?module=ExportData&view=ExportData">
<span style="font-size: 10pt" class="module-name textOverflowEllipsis">Export Data</span>
</a>
</li>
<?php }?>
</ul>
</div>
<?php }?>
<div class="app-list-divider"></div>
<?php $_smarty_tpl->tpl_vars['USER_PRIVILEGES_MODEL'] = new Smarty_variable(Users_Privileges_Model::getCurrentUserPrivilegesModel(), null, 0);?>
<?php $_smarty_tpl->tpl_vars['CALENDAR_MODULE_MODEL'] = new Smarty_variable(Vtiger_Module_Model::getInstance('Calendar'), null, 0);?>
<?php if ($_smarty_tpl->tpl_vars['USER_PRIVILEGES_MODEL']->value->hasModulePermission($_smarty_tpl->tpl_vars['CALENDAR_MODULE_MODEL']->value->getId())){?>
<div class="menu-item app-item app-item-misc" data-default-url="index.php?module=Calendar&view=<?php echo $_smarty_tpl->tpl_vars['CALENDAR_MODULE_MODEL']->value->getDefaultViewName();?>
">
<div class="menu-items-wrapper">
<span class="fa fa-calendar"></span>
<span class="app-name textOverflowEllipsis"> <?php echo vtranslate('Calendar','Calendar');?>
</span>
</div>
</div>
<?php }?>
<!--sophal-->
<div class="menu-item app-item app-item-misc" data-default-url="index.php?module=Veille&view=Veille">
<div class="menu-items-wrapper">
<span class="app-icon-list fa fa-life-ring"></span>
<span class="app-name textOverflowEllipsis"> VEILLE </span>
</div>
</div>
<?php $_smarty_tpl->tpl_vars['MAILMANAGER_MODULE_MODEL'] = new Smarty_variable(Vtiger_Module_Model::getInstance('MailManager'), null, 0);?>
<?php if ($_smarty_tpl->tpl_vars['USER_PRIVILEGES_MODEL']->value->hasModulePermission($_smarty_tpl->tpl_vars['MAILMANAGER_MODULE_MODEL']->value->getId())){?>
<div class="menu-item app-item app-item-misc" data-default-url="index.php?module=MailManager&view=List">
<div class="menu-items-wrapper">
<span class="app-icon-list fa"><?php echo $_smarty_tpl->tpl_vars['MAILMANAGER_MODULE_MODEL']->value->getModuleIcon();?>
</span>
<span class="app-name textOverflowEllipsis"> <?php echo vtranslate('MailManager');?>
</span>
</div>
</div>
<?php }?>
<?php $_smarty_tpl->tpl_vars['DOCUMENTS_MODULE_MODEL'] = new Smarty_variable(Vtiger_Module_Model::getInstance('Documents'), null, 0);?>
<?php if ($_smarty_tpl->tpl_vars['USER_PRIVILEGES_MODEL']->value->hasModulePermission($_smarty_tpl->tpl_vars['DOCUMENTS_MODULE_MODEL']->value->getId())){?>
<div class="menu-item app-item app-item-misc" data-default-url="index.php?module=Documents&view=List">
<div class="menu-items-wrapper">
<span class="app-icon-list fa"><?php echo $_smarty_tpl->tpl_vars['DOCUMENTS_MODULE_MODEL']->value->getModuleIcon();?>
</span>
<span class="app-name textOverflowEllipsis"> <?php echo vtranslate('Documents');?>
</span>
</div>
</div>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['USER_MODEL']->value->isAdminUser()){?>
<?php if (vtlib_isModuleActive('ExtensionStore')){?>
<div class="menu-item app-item app-item-misc" data-default-url="index.php?module=ExtensionStore&parent=Settings&view=ExtensionStore">
<div class="menu-items-wrapper">
<span class="app-icon-list fa fa-shopping-cart"></span>
<span class="app-name textOverflowEllipsis"> <?php echo vtranslate('LBL_EXTENSION_STORE','Settings:Vtiger');?>
</span>
</div>
</div>
<?php }?>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['USER_MODEL']->value->isAdminUser()){?>
<div class="dropdown app-modules-dropdown-container dropdown-compact">
<div class="menu-item app-item dropdown-toggle app-item-misc" data-app-name="TOOLS" id="TOOLS_modules_dropdownMenu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" >
<div data-toggle="collapse" data-target="#demo" class="menu-items-wrapper app-menu-items-wrapper">
<span class="app-icon-list fa fa-cog"></span>
<span class="app-name textOverflowEllipsis"> <?php echo vtranslate('LBL_SETTINGS','Settings:Vtiger');?>
</span>
<?php if ($_smarty_tpl->tpl_vars['USER_MODEL']->value->isAdminUser()){?>
<span class="fa fa-chevron-down pull-right"></span>
<?php }?>
</div>
</div>
<ul id="demo" class="collapse" style=" list-style-type: none;" aria-labelledby="<?php echo $_smarty_tpl->tpl_vars['APP_NAME']->value;?>
_modules_dropdownMenu" data-height="0.27">
<li style=" padding: 2.5% 2% !important;">
<a style=" color:#ffffff; " href="?module=Vtiger&parent=Settings&view=Index">
<span class="fa fa-cog module-icon"></span>
<span class="module-name textOverflowEllipsis"> <?php echo vtranslate('LBL_CRM_SETTINGS','Vtiger');?>
</span>
</a>
</li>
<li style=" padding: 2.5% 2% !important;">
<a style=" color:#ffffff; " href="?module=Users&parent=Settings&view=List">
<span class="fa fa-user module-icon"></span>
<span class="module-name textOverflowEllipsis"> <?php echo vtranslate('LBL_MANAGE_USERS','Vtiger');?>
</span>
</a>
</li>
</ul>
</div>
<?php }?>
</div>
</div>
</div>
<?php }} ?>