From e2004d532eb9feb0e175f1551d730f7462a0dfb1 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Wed, 9 Feb 2005 15:06:17 +0000 Subject: [PATCH] =?UTF-8?q?G=E9n=E9re=20un=20graphique=20en=20plus?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/telephonie/script/graph-statistiques-week.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/htdocs/telephonie/script/graph-statistiques-week.php b/htdocs/telephonie/script/graph-statistiques-week.php index c2a651ecf5c..5ae85b03a80 100644 --- a/htdocs/telephonie/script/graph-statistiques-week.php +++ b/htdocs/telephonie/script/graph-statistiques-week.php @@ -126,6 +126,10 @@ $graph = new GraphLignesCommandesWeek($db, $file); $graph->width = 400; $graph->GraphMakeGraph(); +$file = $img_root . "commercials/clients.hebdomadaire.png"; +$graph = new GraphClientsWeek($db, $file); +$graph->width = 400; +$graph->GraphMakeGraph(); $sql = "SELECT distinct fk_commercial"; $sql .= " FROM ".MAIN_DB_PREFIX."telephonie_societe_ligne"; @@ -152,7 +156,6 @@ if ($result) $graph->width = 400; $graph->GraphMakeGraph($row[0]); - $file = $img_root . "commercials/".$row[0]."/clients.hebdomadaire.png"; print "Graph : Lignes commandes$file\n"; $graph = new GraphClientsWeek($db, $file);