Ajout filtre sur c.isfacturbale
This commit is contained in:
parent
222e8e040f
commit
ca7a67ca13
@ -49,7 +49,7 @@ $sql .= " , ".MAIN_DB_PREFIX."telephonie_societe_ligne as l";
|
||||
|
||||
$sql .= " WHERE f.fk_ligne = l.rowid";
|
||||
$sql .= " AND l.fk_contrat = c.rowid";
|
||||
|
||||
$sql .= " AND c.isfacturable = 'oui'";
|
||||
$sql .= " GROUP BY date_format(f.date, '%Y%m'), c.mode_paiement";
|
||||
$sql .= " ORDER BY date_format(f.date, '%Y%m') DESC";
|
||||
$sql .= " LIMIT 10";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user