diff --git a/htdocs/comm/fiche.php b/htdocs/comm/fiche.php index 6f8e42f255f..1d48abbf99f 100644 --- a/htdocs/comm/fiche.php +++ b/htdocs/comm/fiche.php @@ -36,12 +36,7 @@ $langs->load("companies"); $langs->load("orders"); $langs->load("contracts"); -$user->getrights('propale'); -$user->getrights('fichinter'); -$user->getrights('commande'); -$user->getrights('projet'); - - +$user->getrights(); llxHeader(); @@ -390,6 +385,11 @@ if ($_socid > 0) print 'Proposition'; } + if ($user->rights->contrat->creer) + { + print 'Contrat'; + } + if ($conf->commande->enabled && $user->rights->commande->creer) { print ''.$langs->trans("Order").'';