Ajout permissions
This commit is contained in:
parent
8edcc75731
commit
e16afc6379
@ -246,7 +246,14 @@ if ($result)
|
||||
|
||||
if ($user->societe_id == 0)
|
||||
{
|
||||
print "<TD align=\"center\"><a href=\"addpropal.php3?socidp=$obj->idp&action=create\">[Propal]</A></td>\n";
|
||||
if ($user->rights->propale->creer)
|
||||
{
|
||||
print "<TD align=\"center\"><a href=\"addpropal.php3?socidp=$obj->idp&action=create\">[Propal]</A></td>\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
print "<td> </td>\n";
|
||||
}
|
||||
if ($conf->fichinter->enabled)
|
||||
{
|
||||
print "<TD align=\"center\"><a href=\"../fichinter/fiche.php3?socidp=$obj->idp&action=create\">[Fiche Inter]</A></td>\n";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user