Skip to content

Commit

Permalink
fix [ bug #850 ] Dolibarr PGSQL
Browse files Browse the repository at this point in the history
  • Loading branch information
FHenry committed Apr 25, 2013
1 parent 4badcf5 commit bc7015a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion htdocs/compta/index.php
Expand Up @@ -941,7 +941,8 @@
$sql.= " AND ff.fk_statut = 1";
if (!$user->rights->societe->client->voir && !$socid) $sql.= " AND s.rowid = sc.fk_soc AND sc.fk_user = ".$user->id;
if ($socid) $sql.= " AND ff.fk_soc = ".$socid;
$sql.= " GROUP BY ff.rowid, ff.facnumber, ff.fk_statut, ff.libelle, ff.total_ht, ff.total_ttc, s.nom, s.rowid";
$sql.= " GROUP BY ff.rowid, ff.facnumber, ff.fk_statut, ff.libelle, ff.total_ht, ff.total_ttc, ff.paye,";
$sql.= " s.nom, s.rowid";

$resql=$db->query($sql);
if ($resql)
Expand Down

0 comments on commit bc7015a

Please sign in to comment.