2004-10-19 22:35:36 +02:00
|
|
|
|
<?php
|
2003-06-29 11:23:03 +02:00
|
|
|
|
/* Copyright (C) 2001-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
2005-05-10 01:30:00 +02:00
|
|
|
|
* Copyright (C) 2004-2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
2003-06-29 11:23:03 +02:00
|
|
|
|
*
|
|
|
|
|
|
* 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$
|
|
|
|
|
|
*
|
|
|
|
|
|
*/
|
2005-05-10 01:30:00 +02:00
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
\file htdocs/compta/stats/pre.inc.php
|
|
|
|
|
|
\ingroup compta
|
|
|
|
|
|
\brief Fichier gestionnaire du menu compta/stats
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
2003-09-11 22:18:51 +02:00
|
|
|
|
require("../../main.inc.php");
|
2003-06-29 11:23:03 +02:00
|
|
|
|
|
|
|
|
|
|
function llxHeader($head = "") {
|
2005-01-30 01:50:47 +01:00
|
|
|
|
global $user, $conf, $langs;
|
2003-06-29 11:23:03 +02:00
|
|
|
|
|
2004-02-12 02:50:30 +01:00
|
|
|
|
/*
|
|
|
|
|
|
*
|
|
|
|
|
|
*
|
|
|
|
|
|
*/
|
|
|
|
|
|
top_menu($head);
|
|
|
|
|
|
|
|
|
|
|
|
$menu = new Menu();
|
|
|
|
|
|
|
|
|
|
|
|
$menu->add(DOL_URL_ROOT."/compta/resultat/","R<EFBFBD>sultat / Exercice");
|
2005-05-10 01:30:00 +02:00
|
|
|
|
$menu->add_submenu(DOL_URL_ROOT."/compta/resultat/clientfourn.php",$langs->trans("ByCompanies"));
|
2004-02-12 02:50:30 +01:00
|
|
|
|
|
2004-03-04 22:26:03 +01:00
|
|
|
|
$menu->add(DOL_URL_ROOT."/compta/stats/index.php","Chiffre d'affaire");
|
2004-02-12 02:50:30 +01:00
|
|
|
|
|
2004-03-04 22:26:03 +01:00
|
|
|
|
$menu->add_submenu(DOL_URL_ROOT."/compta/stats/cumul.php","Cumul<EFBFBD>");
|
2004-02-12 02:50:30 +01:00
|
|
|
|
if ($conf->propal->enabled) {
|
2004-03-04 22:26:03 +01:00
|
|
|
|
$menu->add_submenu(DOL_URL_ROOT."/compta/stats/prev.php","Pr<EFBFBD>visionnel");
|
|
|
|
|
|
$menu->add_submenu(DOL_URL_ROOT."/compta/stats/comp.php","Transform<EFBFBD>");
|
2004-02-12 02:50:30 +01:00
|
|
|
|
}
|
2005-01-30 01:50:47 +01:00
|
|
|
|
$menu->add_submenu(DOL_URL_ROOT."/compta/stats/casoc.php",$langs->trans("ByCompanies"));
|
|
|
|
|
|
$menu->add_submenu(DOL_URL_ROOT."/compta/stats/cabyuser.php",$langs->trans("ByUsers"));
|
2004-02-12 02:50:30 +01:00
|
|
|
|
|
|
|
|
|
|
left_menu($menu->liste);
|
2003-06-29 11:23:03 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
?>
|