Fixed: [ bug #1647 ] Can't list tax payments

This commit is contained in:
Laurent Destailleur 2014-11-21 23:52:12 +01:00
parent 6bc3dd67a8
commit 5acdce0b9f

View File

@ -97,7 +97,6 @@ if ($filtre) {
if ($typeid) { if ($typeid) {
$sql .= " AND t.fk_typepayment=".$typeid; $sql .= " AND t.fk_typepayment=".$typeid;
} }
$sql.= " GROUP BY t.rowid, t.fk_typepayment, t.amount, t.datev, t.label";
$sql.= $db->order($sortfield,$sortorder); $sql.= $db->order($sortfield,$sortorder);
$sql.= $db->plimit($limit+1,$offset); $sql.= $db->plimit($limit+1,$offset);
@ -186,6 +185,6 @@ else
} }
$db->close();
llxFooter(); llxFooter();
$db->close();