Skip to content
Snippets Groups Projects
Commit f1426c80 authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: entity filter

parent 8193e8a5
No related branches found
No related tags found
No related merge requests found
......@@ -64,6 +64,7 @@ llxHeader('',$langs->trans("ListOfFees"),$help_url);
$totalnb=0;
$sql = "SELECT count(d.rowid) as nb, sum(d.km) as km, d.type";
$sql.= " FROM ".MAIN_DB_PREFIX."deplacement as d";
$sql.= " WHERE d.entity = ".$conf->entity;
$sql.= " GROUP BY d.type";
$sql.= " ORDER BY d.type";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment