Ajoute le bouton contrat
This commit is contained in:
parent
ac5ea70fbc
commit
4fda2cdfd6
@ -36,12 +36,7 @@ $langs->load("companies");
|
|||||||
$langs->load("orders");
|
$langs->load("orders");
|
||||||
$langs->load("contracts");
|
$langs->load("contracts");
|
||||||
|
|
||||||
$user->getrights('propale');
|
$user->getrights();
|
||||||
$user->getrights('fichinter');
|
|
||||||
$user->getrights('commande');
|
|
||||||
$user->getrights('projet');
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
llxHeader();
|
llxHeader();
|
||||||
|
|
||||||
@ -390,6 +385,11 @@ if ($_socid > 0)
|
|||||||
print '<a class="tabAction" href="addpropal.php?socidp='.$objsoc->id.'&action=create">Proposition</a>';
|
print '<a class="tabAction" href="addpropal.php?socidp='.$objsoc->id.'&action=create">Proposition</a>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($user->rights->contrat->creer)
|
||||||
|
{
|
||||||
|
print '<a class="tabAction" href="'.DOL_URL_ROOT.'/contrat/fiche.php?socid='.$objsoc->id.'&action=create">Contrat</a>';
|
||||||
|
}
|
||||||
|
|
||||||
if ($conf->commande->enabled && $user->rights->commande->creer)
|
if ($conf->commande->enabled && $user->rights->commande->creer)
|
||||||
{
|
{
|
||||||
print '<a class="tabAction" href="'.DOL_URL_ROOT.'/commande/fiche.php?socidp='.$objsoc->id.'&action=create">'.$langs->trans("Order").'</a>';
|
print '<a class="tabAction" href="'.DOL_URL_ROOT.'/commande/fiche.php?socidp='.$objsoc->id.'&action=create">'.$langs->trans("Order").'</a>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user