hooks more button function on contract card
This commit is contained in:
parent
514abcb9f6
commit
bc4e6d4c7e
@ -1715,6 +1715,9 @@ else
|
||||
{
|
||||
print '<div class="tabsAction">';
|
||||
|
||||
$parameters=array();
|
||||
$reshook=$hookmanager->executeHooks('addMoreActionsButtons',$parameters,$object,$action); // Note that $action and $object may have been modified by hook
|
||||
|
||||
if ($object->statut == 0 && $nbofservices)
|
||||
{
|
||||
if ($user->rights->contrat->creer) print '<div class="inline-block divButAction"><a class="butAction" href="'.$_SERVER["PHP_SELF"].'?id='.$object->id.'&action=valid">'.$langs->trans("Validate").'</a></div>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user