From 8616ecb2fdbf105956d4c8e02c2c4979e087a60a Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Tue, 22 Feb 2005 08:38:34 +0000 Subject: [PATCH] Nouveau fichier --- .../telephonie/stats/fournisseurs/pre.inc.php | 67 +++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 htdocs/telephonie/stats/fournisseurs/pre.inc.php diff --git a/htdocs/telephonie/stats/fournisseurs/pre.inc.php b/htdocs/telephonie/stats/fournisseurs/pre.inc.php new file mode 100644 index 00000000000..171db97d2c0 --- /dev/null +++ b/htdocs/telephonie/stats/fournisseurs/pre.inc.php @@ -0,0 +1,67 @@ + + * + * 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("../../../main.inc.php"); +require(DOL_DOCUMENT_ROOT."/telephonie/lignetel.class.php"); + +$user->getrights('telephonie'); + +function llxHeader($head = "", $title="") { + global $user, $conf; + + /* + * + * + */ + top_menu($head, $title); + + $menu = new Menu(); + + $menu->add(DOL_URL_ROOT."/telephonie/index.php", "Telephonie"); + + $menu->add(DOL_URL_ROOT."/telephonie/client/index.php", "Clients"); + + $menu->add(DOL_URL_ROOT."/telephonie/contrat/index.php", "Contrats"); + + $menu->add(DOL_URL_ROOT."/telephonie/ligne/index.php", "Lignes"); + + $menu->add(DOL_URL_ROOT."/telephonie/ligne/commande/", "Commandes"); + + $menu->add(DOL_URL_ROOT."/telephonie/stats/", "Statistiques"); + $menu->add_submenu(DOL_URL_ROOT."/telephonie/stats/clients/", "Clients"); + $menu->add_submenu(DOL_URL_ROOT."/telephonie/stats/commerciaux/", "Commerciaux"); + $menu->add_submenu(DOL_URL_ROOT."/telephonie/stats/lignes/", "Lignes"); + $menu->add_submenu(DOL_URL_ROOT."/telephonie/stats/communications/", "Communications"); + $menu->add_submenu(DOL_URL_ROOT."/telephonie/stats/fournisseurs/", "Fournisseurs"); + $menu->add_submenu(DOL_URL_ROOT."/telephonie/stats/factures/", "Factures"); + + $menu->add(DOL_URL_ROOT."/telephonie/facture/", "Factures"); + + $menu->add(DOL_URL_ROOT."/telephonie/tarifs/", "Tarifs"); + + $menu->add(DOL_URL_ROOT."/telephonie/fournisseurs.php", "Fournisseurs"); + + $menu->add(DOL_URL_ROOT."/telephonie/statca/", "Chiffre d'affaire"); + + left_menu($menu->liste); +} + +?>