diff --git a/htdocs/comm/action/rapport/index.php b/htdocs/comm/action/rapport/index.php index 48f5f892883..9459373f15b 100644 --- a/htdocs/comm/action/rapport/index.php +++ b/htdocs/comm/action/rapport/index.php @@ -63,7 +63,7 @@ if ($_GET["action"] == 'builddoc') /* - * Affichage liste + * View */ llxHeader(); @@ -85,6 +85,7 @@ $sql.= " ORDER BY year DESC, month DESC, df DESC"; $sql.= $db->plimit($limit+1,$offset); //print $sql; +dol_syslog("select sql=".$sql); $resql=$db->query($sql); if ($resql) { @@ -92,6 +93,8 @@ if ($resql) print_barre_liste($langs->trans("DoneActions"), $page, "index.php",'',$sortfield,$sortorder,'',$num); + if ($mesg) print $mesg.'
'; + $i = 0; print ''; print ''; @@ -110,9 +113,9 @@ if ($resql) if ($obj) { $var=!$var; - print ""; + print ""; - print "\n"; + print "\n"; print ''; print '
$obj->df".$obj->df."'.$obj->cc.''; @@ -140,7 +143,7 @@ if ($resql) $i++; } print "
"; - $db->free(); + $db->free($resql); } else {