diff --git a/htdocs/comm/socnote.php b/htdocs/comm/socnote.php deleted file mode 100644 index 0fa4ced3237..00000000000 --- a/htdocs/comm/socnote.php +++ /dev/null @@ -1,77 +0,0 @@ - - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * $Id$ - * $Source$ - * - */ -require("./pre.inc.php"); - - -/* - * - */ -llxHeader(); - -if ($sortorder == "") { - $sortfield="lower(s.nom)"; - $sortorder="ASC"; -} - -if ($action == 'stcomm') { - $sql = "UPDATE societe SET fk_stcomm=$stcommid WHERE idp=$socid"; - $result = $db->query($sql); - - $sql = "INSERT INTO socstatutlog (datel, fk_soc, fk_statut, author) VALUES (now(),$socid,$stcommid,'" . $GLOBALS["REMOTE_USER"] . "')"; - $result = $db->query($sql); - - - if ($actioncommid) { - $sql = "INSERT INTO actioncomm (datea, fk_action, fk_soc) VALUES (now(),$actioncommid,$socid)"; - $result = $db->query($sql); - } -} - -if ($socid > 0) { - - $soc = new Societe($db, $socid); - $soc->fetch($socid); - /* - * - */ - - print_titre($soc->nom); - - - print '
| "; - print " |
| Notes actuelles |
| ".nl2br($soc->note)." |