From b871735b7086e86c32cc85a025a7aa4a96ff0379 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Tue, 9 Sep 2003 15:37:05 +0000 Subject: [PATCH] Modif calculs --- htdocs/compta/stats/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/stats/index.php b/htdocs/compta/stats/index.php index 1de934c6260..ed7cb9d0d97 100644 --- a/htdocs/compta/stats/index.php +++ b/htdocs/compta/stats/index.php @@ -37,7 +37,7 @@ if ($user->societe_id > 0) print_titre("Chiffres d'affaires en euros HT"); -$sql = "SELECT sum(f.amount) as amount , date_format(f.datef,'%Y-%m') as dm"; +$sql = "SELECT sum(f.total) as amount , date_format(f.datef,'%Y-%m') as dm"; $sql .= " FROM llx_facture as f WHERE f.paye = 1"; if ($socidp)