From 13bc58dd17193e139144e250c14cd6994539e91d Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 21 Oct 2006 18:05:10 +0000 Subject: [PATCH] =?UTF-8?q?Am=E9lioration=20et=20traduction=20du=20rapport?= =?UTF-8?q?=20des=20paiements?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/compta/paiement/rapport.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/htdocs/compta/paiement/rapport.php b/htdocs/compta/paiement/rapport.php index 1cf69b6086c..e5b7b93753c 100644 --- a/htdocs/compta/paiement/rapport.php +++ b/htdocs/compta/paiement/rapport.php @@ -103,11 +103,11 @@ for ($formyear = $syear - 2; $formyear < $syear +1 ; $formyear++) { if ($formyear == $syear) { - print ""; } else { - print ""; } } print "\n"; @@ -152,14 +152,14 @@ if ($year) $var=true; while (($file = readdir($handle))!==false) { - if (substr($file, 0, 8) == 'paiement') + if (eregi('^payment',$file)) { $var=!$var; $tfile = $dir . '/'.$year.'/'.$file; $relativepath = $year.'/'.$file; print "".''.img_pdf().' '.$file.''; - print ''.filesize($tfile). ' bytes'; - print ''.strftime("%d %b %Y %H:%M:%S",filemtime($tfile)).''; + print ''.filesize($tfile). ' '.$langs->trans("Bytes").''; + print ''.dolibarr_print_date(filemtime($tfile),"%d %b %Y %H:%M:%S").''; } } print '';