Skip to content
Snippets Groups Projects
Commit 622dc041 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: postgresl compatibility

parent d73635c3
No related branches found
No related tags found
No related merge requests found
......@@ -273,7 +273,7 @@ if ($action == 'create' || $action == 'add_paiement')
$sql .= ' WHERE f.fk_soc = '.$facture->socid;
$sql .= ' AND f.paye = 0';
$sql .= ' AND f.fk_statut = 1'; // Statut=0 => non validee, Statut=2 => annulee
$sql .= ' GROUP BY f.facnumber';
$sql .= ' GROUP BY f.rowid,f.facnumber,f.total_ttc,f.datef';
$resql = $db->query($sql);
if ($resql)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment