Modif calculs
This commit is contained in:
parent
e31911e02c
commit
b871735b70
@ -37,7 +37,7 @@ if ($user->societe_id > 0)
|
|||||||
|
|
||||||
print_titre("Chiffres d'affaires en euros HT");
|
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";
|
$sql .= " FROM llx_facture as f WHERE f.paye = 1";
|
||||||
|
|
||||||
if ($socidp)
|
if ($socidp)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user