Skip to content
Snippets Groups Projects
Commit ae4eaa53 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

More option for modules

parent 0b0cf35b
No related branches found
No related tags found
No related merge requests found
......@@ -142,9 +142,9 @@ if ($user->societe_id == 0)
// Condition to be checked for each display line dashboard
$conditions=array(
! empty($conf->societe->enabled) && $user->rights->societe->lire && empty($conf->global->SOCIETE_DISABLE_CUSTOMERS),
! empty($conf->societe->enabled) && $user->rights->societe->lire && empty($conf->global->SOCIETE_DISABLE_PROSPECTS),
! empty($conf->fournisseur->enabled) && $user->rights->fournisseur->lire,
! empty($conf->societe->enabled) && $user->rights->societe->lire && empty($conf->global->SOCIETE_DISABLE_CUSTOMERS_STATS),
! empty($conf->societe->enabled) && $user->rights->societe->lire && empty($conf->global->SOCIETE_DISABLE_PROSPECTS_STATS),
! empty($conf->fournisseur->enabled) && $user->rights->fournisseur->lire && empty($conf->global->SOCIETE_DISABLE_SUPPLIERS_STATS),
! empty($conf->adherent->enabled) && $user->rights->adherent->lire,
! empty($conf->product->enabled) && $user->rights->produit->lire,
! empty($conf->service->enabled) && $user->rights->service->lire,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment