Skip to content
Snippets Groups Projects
Commit cfe2991a authored by Rodolphe Quiedeville's avatar Rodolphe Quiedeville
Browse files

Ajout nouveau graph

parent b1102e0e
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@ require_once (DOL_DOCUMENT_ROOT."/telephonie/stats/graph/joursemaine.class.php")
require_once (DOL_DOCUMENT_ROOT."/telephonie/stats/graph/camoyen.class.php");
require_once (DOL_DOCUMENT_ROOT."/telephonie/stats/graph/appelsdureemoyenne.class.php");
require_once (DOL_DOCUMENT_ROOT."/telephonie/stats/graph/comm.nbmensuel.class.php");
require_once (DOL_DOCUMENT_ROOT."/telephonie/stats/graph/comm.nbminutes.class.php");
require_once (DOL_DOCUMENT_ROOT."/telephonie/stats/graph/camenbert.class.php");
/*
......@@ -93,11 +93,15 @@ class ProcessGraphClients
while ($i < $num)
{
$obj = $this->db->fetch_object($resql);
$clients[$i] = $obj->socidp;
$i++;
}
$this->db->free($resql);
}
else
{
print $sql;
exit("Erreur recuperation des clients");
}
if (sizeof($clients))
......@@ -151,6 +155,14 @@ class ProcessGraphClients
$graphx->show_console = 0 ;
$graphx->Graph();
$file = $img_root . $client."/nb-minutes-mensuel.png";
$graphx = new GraphCommNbMinutes ($this->db, $file);
$graphx->client = $client;
$graphx->show_console = 0 ;
$graphx->Graph();
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment