From 8e13696788caa12cae1548d87d1889cf41113d27 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Wed, 11 Jan 2006 11:28:27 +0000 Subject: [PATCH] Bugfix --- htdocs/telephonie/script/graph-statistiques-ca.php | 4 ++-- htdocs/telephonie/stats/factures/index.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/telephonie/script/graph-statistiques-ca.php b/htdocs/telephonie/script/graph-statistiques-ca.php index 0037cc3a2dc..e518ea6d834 100644 --- a/htdocs/telephonie/script/graph-statistiques-ca.php +++ b/htdocs/telephonie/script/graph-statistiques-ca.php @@ -165,14 +165,14 @@ else { print $db->error(); } -$file = $img_root . "/factures/ca_mensuel.png"; +$file = $img_root . "/factures/ca_mensuel.$year.png"; if ($verbose) print "Graph $file\n"; $graph = new GraphBar ($db, $file); $graph->titre = "Chiffre d'affaire par mois en euros HT"; $graph->width = 440; $graph->GraphDraw($file, $cout_vente, $short_labels); -$file = $img_root . "/factures/facture_moyenne.png"; +$file = $img_root . "/factures/facture_moyenne.$year.png"; if ($verbose) print "Graph $file\n"; $graph = new GraphBar ($db, $file, $labels); $graph->titre = "Facture moyenne"; diff --git a/htdocs/telephonie/stats/factures/index.php b/htdocs/telephonie/stats/factures/index.php index acbd84357ec..412ea4a3080 100644 --- a/htdocs/telephonie/stats/factures/index.php +++ b/htdocs/telephonie/stats/factures/index.php @@ -67,7 +67,7 @@ print ''; print '\n"; print '
'; -print 'ca_mensuel'; +print 'ca_mensuel'; print ''; _legend($db, "factures.ca_mensuel", "%11.2f"); @@ -75,7 +75,7 @@ _legend($db, "factures.ca_mensuel", "%11.2f"); print "
'; -print 'facture_moyenne'; +print 'facture_moyenne'; print ''; _legend($db, "factures.facture_moyenne","%01.1f");