Fix link to url
This commit is contained in:
parent
11904f9b8e
commit
badb9f8cbf
1 changed files with 2 additions and 2 deletions
|
|
@ -2274,7 +2274,7 @@ if ($action == 'create') {
|
|||
$arrayforbutaction = array();
|
||||
if ($object->nbofservicesclosed > 0 || $object->nbofserviceswait > 0) {
|
||||
$arrayforbutaction[] = array(
|
||||
'url' => $_SERVER["PHP_SELF"].'?id='.$object->id.'&action=activate&token='.newToken(),
|
||||
'url' => '/contrat/card.php?id='.$object->id.'&action=activate&token='.newToken(),
|
||||
'label' => $langs->trans('ActivateAllContracts'),
|
||||
'lang' => 'bills',
|
||||
'perm' => $user->hasRight('contrat', 'activer'),
|
||||
|
|
@ -2283,7 +2283,7 @@ if ($action == 'create') {
|
|||
}
|
||||
if ($object->nbofservicesclosed < $nbofservices) {
|
||||
$arrayforbutaction[] = array(
|
||||
'url' => $_SERVER["PHP_SELF"].'?id='.$object->id.'&action=close&token='.newToken(),
|
||||
'url' => '/contrat/card.php?id='.$object->id.'&action=close&token='.newToken(),
|
||||
'label' => $langs->trans('CloseAllContracts'),
|
||||
'lang' => 'bills',
|
||||
'perm' => $user->hasRight('contrat', 'desactiver'),
|
||||
|
|
|
|||
Loading…
Reference in a new issue