From fa36134b066e508d54108554767d396ceb78ef6a Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Tue, 23 Sep 2003 09:56:33 +0000 Subject: [PATCH] =?UTF-8?q?Modif=20du=20syst=E8me=20d'annotage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/comm/fiche.php | 7 +------ htdocs/compta/fiche.php | 8 +------- 2 files changed, 2 insertions(+), 13 deletions(-) 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 "";