Modif calculs

This commit is contained in:
Rodolphe Quiedeville 2003-09-09 15:37:05 +00:00
parent e31911e02c
commit b871735b70

View File

@ -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)