diff --git a/htdocs/comm/fiche.php b/htdocs/comm/fiche.php
index a14453114a5..8122a7aa291 100644
--- a/htdocs/comm/fiche.php
+++ b/htdocs/comm/fiche.php
@@ -154,10 +154,6 @@ if ($socid > 0)
if ($conf->projet->enabled && $user->rights->projet->creer)
print "
[idp&action=create\">Projet] | ";
- if (defined("MAIN_MODULE_FICHEINTER") && MAIN_MODULE_FICHEINTER)
- {
- print "[idp&action=create\">Intervention] | ";
- }
print "[idp\">Notes] | ";
print "[idp&action=edit\">Editer] | ";
}
@@ -339,7 +335,12 @@ if ($socid > 0)
{
print '- | ';
}
- print '- | ';
+
+ if (defined("MAIN_MODULE_FICHEINTER") && MAIN_MODULE_FICHEINTER)
+ {
+ print 'Intervention | ';
+ }
+
print '
';
/*
@@ -370,7 +371,7 @@ if ($socid > 0)
print '| Prénom Nom | ';
print 'Poste | Tél | ';
print "Fax | Email | ";
- print "idp&action=addcontact\">Ajouter |
";
+ print "idp&action=create\">Ajouter | ";
$sql = "SELECT p.idp, p.name, p.firstname, p.poste, p.phone, p.fax, p.email, p.note FROM ".MAIN_DB_PREFIX."socpeople as p WHERE p.fk_soc = $objsoc->idp ORDER by p.datec";
$result = $db->query($sql);
@@ -394,7 +395,7 @@ if ($socid > 0)
print ''.$obj->phone.' | ';
print ''.$obj->fax.' | ';
print ''.$obj->email.' | ';
- print "idp&action=editcontact&contactid=$obj->idp\">Modifier | ";
+ print "idp\">Modifier | ";
print "\n";
$i++;
$tag = !$tag;