/[dolibarr]/dolibarr/htdocs/compta/index.php
ViewVC logotype

Diff of /dolibarr/htdocs/compta/index.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.82 by eldy, Wed Oct 19 05:12:45 2005 UTC revision 1.83 by eldy, Sat Nov 12 21:10:01 2005 UTC
# Line 340  if ($conf->facture->enabled && $user->ri Line 340  if ($conf->facture->enabled && $user->ri
340    $sql.= " WHERE s.idp = f.fk_soc AND f.paye = 0 AND f.fk_statut = 1";    $sql.= " WHERE s.idp = f.fk_soc AND f.paye = 0 AND f.fk_statut = 1";
341    if ($socidp) $sql .= " AND f.fk_soc = $socidp";    if ($socidp) $sql .= " AND f.fk_soc = $socidp";
342    $sql.= " GROUP BY f.facnumber, f.rowid, s.nom, s.idp, f.total, f.total_ttc";    $sql.= " GROUP BY f.facnumber, f.rowid, s.nom, s.idp, f.total, f.total_ttc";
343    $sql.= " ORDER BY f.datef ASC ";    $sql.= " ORDER BY f.datef ASC, f.facnumber ASC";
344    
345    $resql = $db->query($sql);    $resql = $db->query($sql);
346    if ($resql)    if ($resql)

Legend:
Removed from v.1.82  
changed lines
  Added in v.1.83

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26