Task #1273 - Mettre l'OD d'ouverture -- COMPTA/ADV/OPEN -- "dans l'ordre".

#1273 : opération débit d'abord
This commit is contained in:
Dany De Bontridder 2016-02-26 21:40:37 +01:00
parent bd0595d5fb
commit 74778b2dcd

View file

@ -2369,7 +2369,7 @@ class Acc_Ledger extends jrn_def_sql
and j_poste::text not like '7%'
and j_poste::text not like '6%'
group by j_poste,j_qcode
having (sum(a.montant) != 0 )";
having (sum(a.montant) != 0 ) order by 1 desc";
$res = $this->db->get_array($sql, array($p_exercice));
return $res;
}