Ajout graphs

This commit is contained in:
Rodolphe Quiedeville 2005-03-14 11:39:54 +00:00
parent 78dd991bfa
commit 6b418ab37e

View File

@ -116,9 +116,14 @@ if ($result)
*/ */
require_once (DOL_DOCUMENT_ROOT."/telephonie/stats/commerciaux/contrats.class.php"); require_once (DOL_DOCUMENT_ROOT."/telephonie/stats/commerciaux/contrats.class.php");
$file = $img_root . "commercials/contrats.png"; $file = $img_root . "commercials/contrats-suivis.png";
if ($verbose) print "Graph : Comemrciaux contrats $file\n"; if ($verbose) print "Graph : Commerciaux contrats $file\n";
$graph = new GraphCommerciauxContrats($db, $file); $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");
?> ?>