diff --git a/genie/bank_daily_reporting.php b/genie/bank_daily_reporting.php index d2862534..4d40301b 100644 --- a/genie/bank_daily_reporting.php +++ b/genie/bank_daily_reporting.php @@ -55,7 +55,7 @@ function genie_bank_daily_reporting_dist($t){ 'date_paiement,sum(montant_ht) as total_ht,sum(montant) as total,count(id_transaction) as nb', 'spip_transactions', 'statut='.sql_quote('ok').' AND date_paiement>='.sql_quote($jm365), - 'MONTH(date_paiement)','date_paiement DESC' + "DATE_FORMAT(date_paiement,'%Y-%m')",'date_paiement DESC' ); $lignes = ""; foreach($mois as $moi){ diff --git a/paquet.xml b/paquet.xml index 800834d2..eb56577f 100644 --- a/paquet.xml +++ b/paquet.xml @@ -1,7 +1,7 @@