diff --git a/htdocs/compta/index.php b/htdocs/compta/index.php index 753d25d8e3c..f7f6a6f1022 100644 --- a/htdocs/compta/index.php +++ b/htdocs/compta/index.php @@ -22,10 +22,10 @@ */ /** - \file htdocs/compta/index.php - \ingroup compta - \brief Page accueil zone comptabilité - \version $Revision$ + \file htdocs/compta/index.php + \ingroup compta + \brief Page accueil zone comptabilité + \version $Revision$ */ require("./pre.inc.php"); @@ -89,7 +89,7 @@ print ''; print ""; print ''; print "'; +print $langs->trans("Ref").':  '; print "
'.$langs->trans("SearchABill").'
"; -print $langs->trans("Ref").' :  

"; @@ -366,23 +366,23 @@ if ($conf->facture->enabled && $user->rights->facture->lire) // \todo Mettre ici recup des actions en rapport avec la compta -$result = 0; -if ( $result ) +$resql = 0; +if ($resql) { print ''; print ''; print "\n"; $var = True; $i = 0; - while ($i < $db->num_rows() ) + while ($i < $db->num_rows($resql) ) { - $obj = $db->fetch_object(); + $obj = $db->fetch_object($resql); $var=!$var; print ""; $i++; } - $db->free(); + $db->free($resql); print "
'.$langs->trans("TasksToDo").'
".strftime("%d %b %Y",$obj->da)."$obj->libelle $obj->label

"; }