diff --git a/htdocs/fourn/stats.php b/htdocs/fourn/stats.php index 8bf6c4af236..55ab6506aa1 100644 --- a/htdocs/fourn/stats.php +++ b/htdocs/fourn/stats.php @@ -1,6 +1,6 @@ - * Copyright (C) 2004-2006 Laurent Destailleur + * Copyright (C) 2004-2007 Laurent Destailleur * Copyright (C) 2005-2006 Regis Houssin * * This program is free software; you can redistribute it and/or modify @@ -18,13 +18,12 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * $Id$ - * $Source$ */ /** \file htdocs/fourn/stats.php \ingroup fournisseur - \brief Page accueil de la zone fournisseurs + \brief Page stats fournisseurs \version $Revision$ */ @@ -97,6 +96,7 @@ $sql .= " AND ca.year > (date_format(now(),'%Y') - 5)"; $sql .= " ORDER BY $sortfield $sortorder " . $db->plimit($conf->liste_limit+1, $offset); +dolibarr_syslog("fourn/stats.php sql=".$sql); $resql = $db->query($sql); if ($resql) { diff --git a/pgsql/tables/llx_fournisseur_categorie.sql b/pgsql/tables/llx_fournisseur_categorie.sql deleted file mode 100644 index c998ef4b905..00000000000 --- a/pgsql/tables/llx_fournisseur_categorie.sql +++ /dev/null @@ -1,32 +0,0 @@ --- Generated from dolibarr_mysql2pgsql --- (c) 2004, PostgreSQL Inc. --- (c) 2005, Laurent Destailleur. - --- ============================================================================ --- Copyright (C) 2006 Rodolphe Quiedeville --- --- 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$ --- --- ============================================================================ - - -create table llx_fournisseur_categorie -( - rowid SERIAL PRIMARY KEY, - "label" varchar(255) -);