diff --git a/gestion/lib/Db/Bdd.php b/gestion/lib/Db/Bdd.php index 5105440..9ab7710 100644 --- a/gestion/lib/Db/Bdd.php +++ b/gestion/lib/Db/Bdd.php @@ -2299,7 +2299,7 @@ class Bdd { LEFT JOIN ".$this->tableprefix."defunt as defunt on devis.id_defunt = defunt.id LEFT JOIN ".$this->tableprefix."lieu as lieu on devis.id_lieu = lieu.id LEFT JOIN ".$this->tableprefix."thanato as thanato on devis.id_thanato = thanato.id - WHERE devis.id_client IN ($clientIdsSqlPlaceholder) ? AND + WHERE devis.id_client IN ($clientIdsSqlPlaceholder) AND YEAR(facture.date_paiement) = ?"; $conditions = array_merge($clientIds,[$year]);