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);