Commit 0b12e45c authored by Feu's avatar Feu
Browse files

fix

parent bfd7d9ae
......@@ -209,7 +209,7 @@ $req = new requete($site->db, "SELECT SUM(`montant_facture`), " .
while ( list($sum,$month) = $req->get_row() )
{
$report[$month]["depense"] = $sum;
$months[]=$month;
$months[$month]=$month;
}
$req = new requete($site->db, "SELECT SUM(`montant_rech`), " .
"EXTRACT(YEAR_MONTH FROM `date_rech`) as `month` " .
......@@ -221,7 +221,7 @@ $req = new requete($site->db, "SELECT SUM(`montant_rech`), " .
while ( list($sum,$month) = $req->get_row() )
{
$report[$month]["recharge"] = $sum;
$months[]=$month;
$months[$month]=$month;
}
if(!empty($report))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment