Ajout permissions sur cration et suppression des contacts
This commit is contained in:
parent
576c701546
commit
276ba29b9c
@ -504,10 +504,10 @@ if ($socid > 0)
|
||||
if ($user->rights->societe->contact->creer)
|
||||
{
|
||||
print "<a href=\"../contact/fiche.php?action=edit&id=$obj->idp\">";
|
||||
print img_edit();
|
||||
}
|
||||
|
||||
print img_edit();
|
||||
print '</a></td>';
|
||||
|
||||
print '</a></td>';
|
||||
|
||||
print '<td align="center"><a href="../comm/action/fiche.php?action=create&actionid=5&contactid='.$obj->idp.'&socid='.$societe->id.'">';
|
||||
print img_object($langs->trans("Rendez-Vous"),"action");
|
||||
|
||||
@ -34,7 +34,10 @@ function llxHeader($head = "", $urlp = "")
|
||||
$menu = new Menu();
|
||||
|
||||
$menu->add(DOL_URL_ROOT."/contact/index.php", $langs->trans("Contacts"));
|
||||
$menu->add_submenu(DOL_URL_ROOT."/contact/fiche.php?action=create", $langs->trans("NewContact"));
|
||||
if ($user->rights->societe->contact->creer)
|
||||
{
|
||||
$menu->add_submenu(DOL_URL_ROOT."/contact/fiche.php?action=create", $langs->trans("NewContact"));
|
||||
}
|
||||
|
||||
$menu->add(DOL_URL_ROOT."/contact/index.php?userid=$user->id", $langs->trans("MyContacts"));
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user