Génére un graphique en plus
This commit is contained in:
parent
5f1608ca50
commit
e2004d532e
@ -126,6 +126,10 @@ $graph = new GraphLignesCommandesWeek($db, $file);
|
|||||||
$graph->width = 400;
|
$graph->width = 400;
|
||||||
$graph->GraphMakeGraph();
|
$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 = "SELECT distinct fk_commercial";
|
||||||
$sql .= " FROM ".MAIN_DB_PREFIX."telephonie_societe_ligne";
|
$sql .= " FROM ".MAIN_DB_PREFIX."telephonie_societe_ligne";
|
||||||
@ -152,7 +156,6 @@ if ($result)
|
|||||||
$graph->width = 400;
|
$graph->width = 400;
|
||||||
$graph->GraphMakeGraph($row[0]);
|
$graph->GraphMakeGraph($row[0]);
|
||||||
|
|
||||||
|
|
||||||
$file = $img_root . "commercials/".$row[0]."/clients.hebdomadaire.png";
|
$file = $img_root . "commercials/".$row[0]."/clients.hebdomadaire.png";
|
||||||
print "Graph : Lignes commandes$file\n";
|
print "Graph : Lignes commandes$file\n";
|
||||||
$graph = new GraphClientsWeek($db, $file);
|
$graph = new GraphClientsWeek($db, $file);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user