diff --git a/htdocs/compta/fiche.php b/htdocs/compta/fiche.php index 6e7cb3e86bb..4a247a4144a 100644 --- a/htdocs/compta/fiche.php +++ b/htdocs/compta/fiche.php @@ -427,7 +427,10 @@ if ($socid > 0) } } - print "".$langs->trans("AddContact").""; + if ($user->rights->societe->contact->creer) + { + print "".$langs->trans("AddContact").""; + } print ''; print "
\n"; @@ -497,7 +500,12 @@ if ($socid > 0) print ''.$obj->email.' '; print ''; - print "idp\">"; + + if ($user->rights->societe->contact->creer) + { + print "idp\">"; + } + print img_edit(); print '';