diff --git a/htdocs/comm/fiche.php b/htdocs/comm/fiche.php index 0b779c9cf4a..1c0c7449e61 100644 --- a/htdocs/comm/fiche.php +++ b/htdocs/comm/fiche.php @@ -48,11 +48,6 @@ if ($action == 'recontact') { $result = $db->query($sql); } -if ($action == 'note') { - $sql = "UPDATE llx_societe SET note='$note' WHERE idp=$socid"; - $result = $db->query($sql); -} - if ($action == 'stcomm') { if ($stcommid <> 'null' && $stcommid <> $oldstcomm) { $sql = "INSERT INTO socstatutlog (datel, fk_soc, fk_statut, author) "; @@ -156,7 +151,7 @@ if ($socid > 0) { { print "idp&action=create\">[Intervention]"; } - print "idp\">Notes"; + print "idp\">Notes"; print "[idp&action=edit\">Editer]"; } print ""; diff --git a/htdocs/compta/fiche.php b/htdocs/compta/fiche.php index d810413b732..10353d08ba8 100644 --- a/htdocs/compta/fiche.php +++ b/htdocs/compta/fiche.php @@ -74,12 +74,6 @@ if ($action == 'recontact') $result = $db->query($sql); } -if ($action == 'note') -{ - $sql = "UPDATE llx_societe SET note='$note' WHERE idp=$socid"; - $result = $db->query($sql); -} - if ($action == 'stcomm') { if ($stcommid <> 'null' && $stcommid <> $oldstcomm) @@ -192,7 +186,7 @@ if ($socid > 0) print "idp&action=add\">[Bookmark]"; if ($user->rights->facture->creer) print "[idp\">".translate("Facture")."]"; - print "idp\">Notes"; + print "idp\">Notes"; print "[idp&action=create\">Déplacement]"; } print "";