Modif permissions pour la cration d'une societe
This commit is contained in:
parent
dd95d82afb
commit
f04e49d73c
@ -72,7 +72,7 @@ if ($_POST["action"] == 'add' or $_POST["action"] == 'update')
|
|||||||
llxHeader();
|
llxHeader();
|
||||||
$form = new Form($db);
|
$form = new Form($db);
|
||||||
|
|
||||||
if ($_GET["action"] == 'create')
|
if ($_GET["action"] == 'create' && $user->rights->societe->creer)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* Fiche societe en mode création
|
* Fiche societe en mode création
|
||||||
@ -270,7 +270,7 @@ else
|
|||||||
$head[$h][0] = DOL_URL_ROOT.'/societe/notify/fiche.php?socid='.$soc->id;
|
$head[$h][0] = DOL_URL_ROOT.'/societe/notify/fiche.php?socid='.$soc->id;
|
||||||
$head[$h][1] = 'Notifications';
|
$head[$h][1] = 'Notifications';
|
||||||
|
|
||||||
dolibarr_fiche_head($head, 0);
|
dolibarr_fiche_head($head, 0, $soc->nom);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Fiche société en mode visu
|
* Fiche société en mode visu
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user