mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 17:02:34 +01:00
Ajout graphique
This commit is contained in:
@@ -33,7 +33,7 @@ require_once (DOL_DOCUMENT_ROOT."/telephonie/stats/lignes/commandes.class.php");
|
||||
require_once (DOL_DOCUMENT_ROOT."/telephonie/stats/lignes/commandes.week.class.php");
|
||||
require_once (DOL_DOCUMENT_ROOT."/telephonie/stats/lignes/resiliation.week.class.php");
|
||||
require_once (DOL_DOCUMENT_ROOT."/telephonie/stats/lignes/rejet.week.class.php");
|
||||
require_once (DOL_DOCUMENT_ROOT."/telephonie/stats/clients/clients.week.class.php");
|
||||
|
||||
require_once (DOL_DOCUMENT_ROOT."/telephonie/stats/clients/clientsmoyenne.week.class.php");
|
||||
|
||||
$error = 0;
|
||||
@@ -73,6 +73,9 @@ $graph->GraphMakeGraph();
|
||||
/*
|
||||
/***********************************************************************/
|
||||
|
||||
require_once DOL_DOCUMENT_ROOT."/telephonie/stats/clients/clients.week.class.php";
|
||||
require_once DOL_DOCUMENT_ROOT."/telephonie/stats/clients/clients.month.class.php";
|
||||
|
||||
$file = $img_root . "lignes/commandes.mensuels.png";
|
||||
if ($verbose) print "Graph : Lignes commandes$file\n";
|
||||
$graph = new GraphLignesCommandes($db, $file);
|
||||
@@ -96,6 +99,11 @@ $graph = new GraphClientsWeek($db, $file);
|
||||
$graph->width = 400;
|
||||
$graph->GraphMakeGraph();
|
||||
|
||||
$file = $img_root . "commercials/clients.mensuel.png";
|
||||
$graph = new GraphClientsMonth($db, $file);
|
||||
$graph->width = 400;
|
||||
$graph->GraphMakeGraph();
|
||||
|
||||
$sql = "SELECT distinct fk_commercial";
|
||||
$sql .= " FROM ".MAIN_DB_PREFIX."telephonie_societe_ligne";
|
||||
|
||||
|
||||
@@ -121,6 +121,8 @@ print '</td><td>';
|
||||
|
||||
print '<img src="'.DOL_URL_ROOT.'/showgraph.php?graph='.DOL_DATA_ROOT.'/graph/telephonie/commercials/clients.hebdomadaire.png" alt="Nouveaux clients par semaines" title="Nouveaux clients par semaine"><br /><br />'."\n";
|
||||
|
||||
print '<img src="'.DOL_URL_ROOT.'/showgraph.php?graph='.DOL_DATA_ROOT.'/graph/telephonie/commercials/clients.mensuel.png" alt="Nouveaux clients par semaines" title="Nouveaux clients par semaine"><br /><br />'."\n";
|
||||
|
||||
print '</td></tr>';
|
||||
|
||||
print '</table>';
|
||||
|
||||
Reference in New Issue
Block a user