Fix: Bad request
This commit is contained in:
parent
c944e9aa65
commit
075117f8d6
@ -90,7 +90,7 @@ if ($year > 0)
|
|||||||
$sql .= "or (s.periode is null and date_format(s.date_ech, '%Y') = $year)";
|
$sql .= "or (s.periode is null and date_format(s.date_ech, '%Y') = $year)";
|
||||||
$sql .= ")";
|
$sql .= ")";
|
||||||
}
|
}
|
||||||
$sql.= " GROUP BY c.id, c.libelle, s.rowid, s.fk_type, s.periode, s.date_ech";
|
$sql.= " GROUP BY c.id, c.libelle, s.rowid, s.fk_type, s.periode, s.date_ech, pc.rowid, pc.datep, pc.amount";
|
||||||
$sql.= " ORDER BY c.libelle ASC";
|
$sql.= " ORDER BY c.libelle ASC";
|
||||||
|
|
||||||
dol_syslog("compta/charges/index.php: select payment sql=".$sql);
|
dol_syslog("compta/charges/index.php: select payment sql=".$sql);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user