From a866620a67bd05a529ff98a3d4eade2d1e580ba1 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Mon, 14 Mar 2005 11:32:20 +0000 Subject: [PATCH] Ajout graph des contrats --- .../script/graph-statistiques-commerciaux.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/htdocs/telephonie/script/graph-statistiques-commerciaux.php b/htdocs/telephonie/script/graph-statistiques-commerciaux.php index a8827564070..36bac752a74 100644 --- a/htdocs/telephonie/script/graph-statistiques-commerciaux.php +++ b/htdocs/telephonie/script/graph-statistiques-commerciaux.php @@ -110,4 +110,15 @@ if ($result) } } +/* + * Contrats + * + */ +require_once (DOL_DOCUMENT_ROOT."/telephonie/stats/commerciaux/contrats.class.php"); + +$file = $img_root . "commercials/contrats.png"; +if ($verbose) print "Graph : Comemrciaux contrats $file\n"; +$graph = new GraphCommerciauxContrats($db, $file); +$graph->GraphMakeGraph(); + ?>