From 6b418ab37ef31e6760296541bff2a162f739a98e Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Mon, 14 Mar 2005 11:39:54 +0000 Subject: [PATCH] Ajout graphs --- .../script/graph-statistiques-commerciaux.php | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/htdocs/telephonie/script/graph-statistiques-commerciaux.php b/htdocs/telephonie/script/graph-statistiques-commerciaux.php index 36bac752a74..3189be70592 100644 --- a/htdocs/telephonie/script/graph-statistiques-commerciaux.php +++ b/htdocs/telephonie/script/graph-statistiques-commerciaux.php @@ -116,9 +116,14 @@ if ($result) */ 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"; +$file = $img_root . "commercials/contrats-suivis.png"; +if ($verbose) print "Graph : Commerciaux contrats $file\n"; $graph = new GraphCommerciauxContrats($db, $file); -$graph->GraphMakeGraph(); +$graph->GraphMakeGraph("suivi"); + +$file = $img_root . "commercials/contrats-signes.png"; +if ($verbose) print "Graph : Commerciaux contrats $file\n"; +$graph = new GraphCommerciauxContrats($db, $file); +$graph->GraphMakeGraph("signe"); ?>