mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
*** empty log message ***
This commit is contained in:
parent
810402ae4e
commit
5f5719d768
|
|
@ -32,6 +32,10 @@ class Conf {
|
|||
|
||||
$this->db = new DbConf();
|
||||
|
||||
$this->societe = 1;
|
||||
$this->commercial = 0;
|
||||
$this->voyage = 0;
|
||||
|
||||
$this->propal = new PropalConf();
|
||||
$this->facture = new FactureConf();
|
||||
$this->fichinter = new FicheInterConf();
|
||||
|
|
@ -41,15 +45,11 @@ class Conf {
|
|||
$this->adherent = new AdherentConf();
|
||||
$this->domaine = new domaineConf();
|
||||
|
||||
$this->commercial = 0;
|
||||
|
||||
$this->readonly = 0;
|
||||
|
||||
$this->years = 2001;
|
||||
|
||||
$this->css = "theme/dolibarr/dolibarr.css";
|
||||
|
||||
$this->voyage = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -86,11 +86,14 @@ function top_menu($head) {
|
|||
print '<TD width="15%" class="menu" align="center"><A class="menu" href="/">Accueil</A></TD>';
|
||||
|
||||
print '<TD width="15%" class="menu" align="center">';
|
||||
if ($user->comm > 0) {
|
||||
print '<A class="menu" href="/comm/">Commercial</A></TD>';
|
||||
} else {
|
||||
print '-';
|
||||
}
|
||||
if ($user->comm > 0 && $conf->commercial )
|
||||
{
|
||||
print '<A class="menu" href="/comm/">Commercial</A></TD>';
|
||||
}
|
||||
else
|
||||
{
|
||||
print '-';
|
||||
}
|
||||
|
||||
print '<TD width="15%" class="menu" align="center">';
|
||||
if ($user->compta > 0)
|
||||
|
|
|
|||
|
|
@ -36,7 +36,10 @@ function llxHeader($head = "") {
|
|||
$menu->add("/societe.php", "Sociétés","company");
|
||||
$menu->add_submenu("../soc.php3?&action=create", "Nouvelle société");
|
||||
|
||||
$menu->add("/comm/index.php3", "Commercial");
|
||||
if ($conf->commercial )
|
||||
{
|
||||
$menu->add("/comm/index.php3", "Commercial");
|
||||
}
|
||||
|
||||
$menu->add_submenu("/comm/clients.php3", "Clients");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user