Gnre un graphique en plus

This commit is contained in:
Rodolphe Quiedeville 2005-02-09 15:06:17 +00:00
parent 5f1608ca50
commit e2004d532e

View File

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