From 887f112d609a0cc5c5f5ba1cd52294e72fd3d383 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 2 Jul 2005 14:27:48 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20On=20affiche=20pas=20picto=20retard=20si?= =?UTF-8?q?=20facture=20pay=E9e.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/compta/facture.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 2f0fcf3a842..091547f7abe 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -908,9 +908,9 @@ else print "Conditions de réglement : " . $fac->cond_reglement .""; print ''.$langs->trans("Date").''; - print "".strftime("%A %d %B %Y",$fac->date)."\n"; - print "Date limite de réglement : " . strftime("%d %B %Y",$fac->date_lim_reglement); - if ($fac->date_lim_reglement < (time() - $warning_delay)) print img_warning($langs->trans("Late")); + print "".dolibarr_print_date($fac->date,"%A %d %B %Y")."\n"; + print "Date limite de réglement : " . dolibarr_print_date($fac->date_lim_reglement,"%A %d %B %Y"); + if ($fac->paye == 0 && $fac->date_lim_reglement < (time() - $warning_delay)) print img_warning($langs->trans("Late")); print ""; print '';