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